a research project · 2026● in active development

autopitch.

An autoresearch loop for equity research. It writes a stock pitch, checks every claim, attacks its own thesis, and keeps a revision only when it is better.

$ autopitch research <ticker>
1 · ~/overview

What this is

A stock pitch is an argument that the market has something wrong. Most of the work is not writing it. It is gathering evidence, checking that the numbers are true, and finding the reason you are mistaken before someone else does. autopitch is my attempt to make that work systematic.

Give it a ticker and it reads the filings and calls, takes a side against consensus, builds a model, and then tries to break what it built. What comes out is a pitch with its whole research trail attached: each claim beside the quoted passage behind it, the checks it passed, the red team's attack, and what is still unknown.

5
published pitches
182
claims fact-checked
389
sources read
2 · ~/method

The research process

The design borrows Andrej Karpathy's autoresearch pattern: let an agent change something, score the change with a test it cannot edit, and keep it only if the score improves. Karpathy applied it to machine-learning code. Here the thing being changed is an investment thesis.

The agent may rewrite the pitch. It may not rewrite the tests.
1. readprimary sources first
Separate agents each take one job in a fresh context: the business and its KPI tree, eight quarters of earnings calls, what the price already implies, positioning, alternative data, incentives, competitors and recent events. Every page fetched is cached under a fingerprint. A claim can only cite something in that cache.
2. argueseveral theses, both directions
Agents with different instructions (long only, short only, contradict consensus, alternative data only) propose theses. A ranker keeps the one that differs most from consensus and can be evidenced. A theory that is already widely published is demoted.
3. writeone pitch with a model
The writer states what is priced in, why that is wrong and what will close the gap. It builds a bridge to consensus, a model, bear, base and bull prices with probabilities, dated catalysts and the results that would prove it wrong.
4. gatearithmetic checked by code
Before any model judges the pitch, ordinary code recomputes it: market cap from the share count, the consensus bridge, the earnings-per-share chain, and whether the scenarios match the model. A bear case must exist and lose money.
5. checkevery claim against its source
A different model reopens each cited document and rules each claim supported, partial or not supported. Unsupported claims are struck from the pitch.
6. attacka red team that does research
An adversary searches for evidence against the thesis and names the single question that would end it.
7. reviseanswer, or concede
The writer must answer that question with new evidence or withdraw the idea. A judge compares the new version with the old one. Only an improvement survives. Then the loop returns to the gates.

Figure 1. The inner loop, run once per company. Steps 4 to 7 repeat until the budget is spent or revisions stop helping. Open a step to read it.

1
funnel · what deserves research?

A free quantitative screen over any set of US stocks measures how live the disagreement is and which way the evidence leans. No AI is used. A cheap model then triages the top names into a short queue.

2
outer loop · which idea is best?

Each experiment is one new company. Finished ideas are compared head to head and placed on a leaderboard.

3
inner loop · can this idea get better?

The seven steps above.

Figure 2. Three nested loops.

3 · ~/results

What it has produced

These pitches are real output, published with their flaws. Open one to see the thesis, consensus bridge, scenarios, model, red team, fact-check and sources.

Table 1. Hand-picked pitches from an earlier version of the engine. The percentage is the direction-adjusted price move since the pitch date: 4 of 5 are positive. A small chosen sample over a few weeks is not a track record. That version also required a 20% expected return, which made its estimates optimistic. The requirement is gone.

4 · ~/who it helps

Where it is useful

It does in hours the reading and checking that takes days, and it shows its work, so you can disagree with it at a specific line.

→
analysts

A first pass with an audit trail: the debate, the variant view against consensus, the model and the questions that still need a phone call.

→
funds

Cheap breadth. Screen a universe for free, then spend research only where the disagreement is live.

→
students

A worked example of how a pitch is built and broken, including the claims that failed. Check your competition's AI rules first.

→
individual investors

Both sides before a decision: the bear case, the odds assigned to it, and what would show the thesis is wrong.

5 · ~/limits

What it cannot do yet

!

The judge is unproven. On real competition decks it agreed with human placings 39% of the time across 18 pairs. That is no better than chance, so a ranking here is only a reading order.

!

There is no backtest. The screen's weights are my own priors. Outcome tracking has only started.

!

The data is free data. US companies that file 10-Ks only. Consensus can rest on very few analysts. Borrow cost is often unknown. Banks and insurers fit the model badly.

!

It never talks to anyone. Expert calls and channel checks, often where the real edge is, are listed for a person to do.

!

Models check models. The fact-checker catches many errors, not all. An audit of earlier output found a stale share count and numbers that did not recompute. Both now have code checks.

I keep working on it. Next: a better judge, a backtest of the screen, and a way to feed primary research, such as call notes and channel checks, back into the loop.

6 · ~/run it

Try it on a company you know

The research runs on your computer, with your own Claude login. The site queues the job and shows progress. The screen is free and uses no AI.

7 · ~/author

Who made it

I am Hamza Usman, a student at UT Austin working across finance and code. I pitch stocks, and I built this to find out how much of good research can be turned into a process that checks itself. If you work in research or investing and think it is wrong somewhere, I would like to hear it.

hamzau.xyz ↗ hamzausman@utexas.edu