I am building an agentic AI system in the open. Seven modules, one at a time, with working code and honest write-ups of what broke.
This page is the map. Start here if you are new.
The problem I am trying to solve
You read a research report. It convinces you. You buy the stock.
Six months later you still own it. But do you still believe the reason you bought it?
Most of us cannot answer that. The reason was never written down anywhere. It lived in our heads as a feeling, and feelings drift.
Plenty of tools track what you own and what it is worth. None of them track why you own it.
So I am building an open source investment thesis tracker. It writes your reason down as a claim that reality can test, then watches for evidence that the claim is breaking.
How I am learning this
I am using the module list from a university executive course on agentic AI as a syllabus. I am not enrolled. A list of topics is not a secret, and everything in it is public knowledge.
What I add is the part courses leave out. Real documents. Real failures. Real numbers. Every module ships working code you can run.

The modules
This is not a promise of seven posts on a schedule. It is the order the problems arrive in. Each module exists because the one before it hit a wall.
Module 1 — Capture
LLM Extraction: Same Document, Six Different Answers
Read a research document. Pull out the claims. Check whether each one is written in a way anyone could ever test.
What I found: the same document gave 6 to 9 claims across six runs at low temperature. Telling the model to be skeptical changed its opinions but not its facts. And the tool I built to catch errors invented two facts of its own.
Published. Code is live.
Module 2 — The nightly loop
Segment Revenue From SEC Filings: What It Takes
Because nothing checks the claims once they exist. A job that runs every morning, reads new SEC filings, and writes one short note about what changed. Most mornings it should say nothing.
What I found: one annual report tags 176 figures as revenue, and only six are the segment totals a claim needs. Finding the right one took an exact address for each claim, not a search by name. When I had an AI read the same figures from press releases, it got 33 of 33 right, three runs in a row. Every problem along the way was in my own code, not the model.
Published. Code is live. Runs every morning at 11am.
Build notes — Running it from Claude chat
Claude Custom Connector: AI Agents on a $6 Server
Modules 1 and 2 used to run on my laptop, with a lot of copying and pasting. Now they run on a small rented server that I drive from a Claude chat. This post covers the architecture, the security questions I asked, the real costs, and the open source code so you can run your own. Published. Code is live.
Module 3 — Retrieval
Headlines will not carry this. The answers sit buried in 200-page filings, so I need to chunk an annual report well enough that a search finds the right paragraph.
Module 4 — Tool use
I already have Python scripts that do the math properly. The agent should call those scripts rather than attempt arithmetic itself, which it is bad at.
Module 5 — More than one model
One model agrees with whatever you fed it. Three prompts on the same model give you three versions of one opinion. Real disagreement needs genuinely different models.
Module 6 — Measuring it
You cannot improve what you have not measured. So I label 50 news items by hand, grade the agent against my answers, and publish the score.
Module 7 — The scorecard
After a year of logging every stock idea with its source and date, I can answer a question nobody can sell me. Which sources actually helped?
The code
Everything is open source under an MIT license. It runs on your laptop. Your documents never leave your machine.
github.com/psachdev/thesis-drift-monitor holds the claims, the checks, and the morning note.
github.com/psachdev/sec_data_downloader reads company filings from the SEC’s free EDGAR service. No API key needed.
Demo data is included, built from public sources, so you can try it without paying for a research subscription. Two of the four demo claims are broken on purpose.
What is honestly true today
Modules 1 and 2 exist. The tool turns a research document into testable claims, then checks each claim against new SEC filings every morning. No claim has been settled yet: only figures filed after a claim was written count, and the first test comes with third-quarter results in early November.
It does not read the news, and some claims cannot be measured from tagged filing data. Those are marked “check by hand” rather than hidden. Module 3 is where that changes.
The later modules are not written. The order may change when I hit something I did not expect, which so far has happened in every single module.
Nothing here is investment advice. It is software, and a record of building it.