Skip to content

Theory generation: plan before searching, check in after the first theories - #208

Merged
charliemcgrady merged 6 commits into
mainfrom
theory-checkin
Oct 13, 2026
Merged

charliemcgrady merged 6 commits into
mainfrom
theory-checkin

Conversation

@charliemcgrady

@charliemcgrady charliemcgrady commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

Two changes to the theory generation workflow:

  • Planning is now step 1 and the paper search step 2: the agent runs theorize plan first and searches with the plan's query, then fills any gap to the paper target with more searches. The planner writes a query aimed at papers with evidence for theories, and before this it was never used.
  • After the first theories, the agent stops and asks whether to refine them with another generation from the same findings or move on to variable discovery. The schema passes are most of a run's cost, so it's worth a check.

If it can't reach the paper target with full text, it carries on and says how many papers the theories rest on. Tried on local climate runs with the asta-flows agent.

🤖 Generated with Claude Code

https://claude.ai/code/session_01W62xHz4vGon4utJPg3a7Mg

charliemcgrady and others added 6 commits October 13, 2026 09:41
…t theories

The plan writes a search query aimed at papers with evidence for theories, so it now runs
first and Paper Finder searches with its query; other searches fill any gap to the target.
The schema passes are most of a run's cost, so the agent stops after the first theories and
lets the person steer another generation or go on. A corpus short of full text goes on with
what it has, and the report says how many papers the theories rest on.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01W62xHz4vGon4utJPg3a7Mg
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01W62xHz4vGon4utJPg3a7Mg
@charliemcgrady
charliemcgrady merged commit c153d7a into main Oct 13, 2026
8 checks passed
@charliemcgrady
charliemcgrady deleted the theory-checkin branch October 13, 2026 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant