Open
Add agentict CLI: one-time PESTLE signal monitoring for market watchlists#6
Conversation
…ial analyst agent, report) Co-authored-by: olileger <13554171+olileger@users.noreply.github.com>
Co-authored-by: olileger <13554171+olileger@users.noreply.github.com>
Co-authored-by: olileger <13554171+olileger@users.noreply.github.com>
…gories Co-authored-by: olileger <13554171+olileger@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Enable one-time PESTLE signal monitoring for market watchlists via CLI
Add agentict CLI: one-time PESTLE signal monitoring for market watchlists
Aug 21, 2026
Owner
|
@copilot update the prject's README file to explain how to use that new feature (installation, run example) |
Co-authored-by: olileger <13554171+olileger@users.noreply.github.com>
Contributor
Author
Added a " |
olileger
marked this pull request as ready for review
August 21, 2026 18:24
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Investors monitoring a watchlist currently have to manually crawl news/financial sites for PESTLE signals before deciding whether to invest. This adds a Python CLI (
agentict) that runs once, reads a Markdown watchlist, gathers signals per (ticker, exchange), and emits a single tabular report ending in anInvest/Not/no data availableverdict.Watchlist parsing
parser.pyvalidates a# Stock exchange/# Tickersgrammar; missing or misordered headings hard-fail the whole run (no partial report).no data availablewith a "duplicate across exchanges" reason, and skips signal collection entirely.Signal collection
sources/defines aSignalSourceprotocol with two collectors (web-search style, Yahoo-Finance style) built onrequests, each wrapping every failure (network, timeout, parse) intoSourceErrorso one source's failure never aborts a ticker's processing.no data availablewhen all sources fail for a ticker.Verdict via pluggable Financial Analyst agent
agents/base.pydefines aFinancialAnalystinterface (assess(ticker, exchange, signals) -> VerdictResult) so the verdict is judgment-based rather than a fixed scoring formula.HeuristicFinancialAnalystis deterministic and network-free (documented as an illustrative stand-in, not a certified model); it discretionarily returnsno data availablewhen fewer than 2 of 6 PESTLE categories have usable signal or the signal is materially conflicting.agents/llm.pyextension point is selectable via--analyst llm/AGENTICT_ANALYST=llm, with lazy SDK import so it's never a hard dependency.Report and CLI
report.pyrenders a plain-text Ticker/Exchange/Verdict/Reason table and always prepends a mandatory AI-generated/informational-only disclaimer.agentict monitor --file <path>.md [--output <path>] [--analyst heuristic|llm]; exit codes:0success,2usage/malformed-watchlist error (no report emitted),1unexpected error.Packaging and CI
pyproject.toml(hatchling,src/layout,requires-python>=3.10, only runtime dependency isrequests), console scriptagentict..github/workflows/python-ci.ymlrunspytestonubuntu-latestandwindows-latest.Includes unit test coverage for the parser grammar, dedup/cross-exchange handling, orchestrator failure modes, heuristic agent branches, and report rendering.