Getting Started
Choose a source
Section titled “Choose a source”Install the latest published package for normal use:
python -m pip install agentic-thesisThe published package can trail development on main. To evaluate the current repository implementation:
git clone https://github.com/suvimatt/agentic-thesis.gitcd agentic-thesispython3 -m venv .venv.venv/bin/python -m pip install -e '.[test]'Do not copy an old version number from a tutorial. Use PyPI for the latest published version and the repository history for unreleased behavior.
Configure model endpoints
Section titled “Configure model endpoints”Create ~/.agentic-thesis/.env or a .env file in the directory where you start the application:
# Reasoning and rerankingOPENAI_API_KEY=your-keyOPENAI_BASE_URL=https://api.openai.com/v1AGENTIC_THESIS_MODEL=gpt-5-mini
# EmbeddingsEMBEDDING_API_KEY=your-keyEMBEDDING_BASE_URL=https://api.openai.com/v1AGENTIC_THESIS_EMBEDDING_MODEL=text-embedding-3-smallAGENTIC_THESIS_EMBEDDING_BATCH_SIZE=1AGENTIC_THESIS_EMBEDDING_MAX_TOKENS=256
# Required only for SEC monitoringAGENTIC_THESIS_SEC_USER_AGENT="AgenticThesis your-email@example.com"OPENAI_BASE_URL is optional when using the default OpenAI API. The other model and embedding credentials are required by the packaged CLI. The conservative embedding batch and token defaults work with providers that expose smaller OpenAI-compatible limits; raise them only after verifying your provider. SEC automated clients must identify themselves; use a real product/name and contact email.
Start the application
Section titled “Start the application”For the published package:
agentic-thesis serveOpen http://127.0.0.1:8000. The default data directory is ~/.agentic-thesis; the selected directory contains thesis state, run history, checkpoints, artifacts, and the embedded vector index.
v1.1 intentionally starts with a clean schema. Use a new data directory rather than a directory created by an earlier or prerelease version.
First evidence cycle
Section titled “First evidence cycle”- Create a company thesis in the browser.
- Write one specific claim and at least one fact that would falsify it.
- Add a disclosure manually, or configure an SEC/issuer IR monitor.
- Open the Radar Inbox after a new event is collected.
- Inspect the exact source evidence and approve, edit, or reject the proposed update.
- Confirm that only an approved update appears in revision history.
Verify the checkout without external APIs
Section titled “Verify the checkout without external APIs”.venv/bin/pytest -q -p no:cacheproviderThe deterministic suite replaces external retrieval and model calls where appropriate. It verifies the engine’s state and evidence contracts; it does not measure live model accuracy.