-
Notifications
You must be signed in to change notification settings - Fork 0
Installation and LLM Setup
pip install git+https://github.com/arunsoman/atomic-forge.git # one line, no checkout needed
atomic-forge --help # sanity check the CLIOr from a checkout: pip install -e ".[dev]" (also installs pytest for the suite).
Requires Python ≥3.10. At runtime forge needs an OpenAI-compatible LLM endpoint — point it at OpenAI, or a local Ollama model that supports tool-calling.
default_llm() resolves, in order:
-
FORGE_MOCK=1— use your own zero-network mock (register one viaatomic_forge.llm.set_mock_factory(...)), useful for demos and CI. -
FORGE_API_KEY/FORGE_BASE_URL/FORGE_MODEL— any OpenAI-compatible endpoint: OpenAI itself, a local vLLM/llama.cpp/Ollama proxy, OpenRouter, a corporate gateway. -
OPENAI_API_KEY(+ optionalOPENAI_BASE_URL/OPENAI_MODEL) — the common case where you already have this set. - Otherwise: raises with a message naming exactly what to set. Never
silently falls back to a fake key against real
api.openai.com.
# OpenAI
export FORGE_API_KEY=sk-... FORGE_BASE_URL=https://api.openai.com/v1 FORGE_MODEL=gpt-4o-mini
# Local Ollama (tool-calling model required)
export FORGE_MODEL=qwen3.5:cloud FORGE_BASE_URL=http://localhost:11434/v1 FORGE_API_KEY=ollama--local-only refuses to run against a non-loopback/private LLM endpoint —
it enforces the "nothing leaves this machine" claim instead of merely
permitting it. See Data-Privacy-No-Training. Forge never trains on
your code; there is no telemetry.
forge's repair loop can use CIE — the Code Insight Engine as its code-graph backend, served as a real MCP server over stdio (the same surface Claude Code / Cursor consume):
pip install git+https://github.com/arunsoman/cie.git pytestCIE is required for the fix pipeline (Issue-to-PR) and optional everywhere else (CIE-Integration).
atomic-forge — an agentic generate → test → repair loop with a machine-checked task contract, crash-safe checkpointing, and execution-selected repairs. BSL 1.1 licensed.
Start here
Workflows
Reference
Background
Requirements (R1–R16)
- Requirements-and-Roadmap
- Agent-Computer-Interface
- Critic-Verification-Gate
- Planner-Executor-Split
- Repo-Scale-Context
- Auto-Commit-Messages
- Persistent-Sandbox
- Multi-Channel-Intake
- Review-Comment-Driven-Fix
- Zero-Friction-Integration
- Self-Review-Issue-Resolution
- Enterprise-Scale-Indexing
- CLI-CI-Native
- Parallel-Execution
- Execution-Guided-Repair
- Data-Privacy-No-Training
- Environment-Bootstrap