Many coding agents still rely on stale model memory or a single unchecked pass. ForgeGod adds current web research, adversarial review, bounded automation, optional human-readable memory projection, and first-party bridges into external chat runtimes.
🔎
Researches Before It Codes
The built-in research agent gathers current docs, library guidance, release notes, and security context before code-changing tasks, then retries with targeted troubleshooting if a bad review or stuck turn blocks progress.
ResearchAgent in runtime
⚖
Adversarial Plan Review
A second model attacks the plan like a hostile reviewer. Security gaps, deprecated deps, missing edge cases, and weak abstractions surface before coding starts. Actor-critic review is a durable agent pattern because it catches issues single-pass generation misses.
3 rounds, 6 dimensions
🧠
Remembers and Learns From Every Task
Most AI tools forget everything the moment you close them. ForgeGod remembers. It stores what happened on each task, what principles work best, which code patterns succeed, how things connect to each other, and which errors it has solved before. Old memories fade, new ones get stronger. Runtime recall stays in SQLite, and stable memories can also be projected into an optional Obsidian vault.
5 tiers + optional vault projection
🤖
Dedicated Memory Agent
After every task, a specialized AI analyzes what happened and extracts reusable learnings into 5 structured memory tiers. Not heuristic pattern matching - an actual LLM that understands context, identifies principles, catalogs error fixes, and maps causal relationships. It can also export clean human-readable summaries into an optional Obsidian vault.
LLM-powered extraction + vault summaries
⚙
Picks the Best AI for Each Job
Connects to 9 provider families and 10 route surfaces, including native OpenAI Codex subscription auth, OpenAI API, Z.AI, and MiniMax. You can run the recommended adversarial split harness, force a single-model profile, choose explicit OpenAI surfaces, or set MiniMax `auto` / `cn` / `global` routing and verify it live before a run.
9 provider families + auth surface controls
∞
Structured Loops and Hive Execution
Run work sequentially through the Ralph loop, dispatch ready stories through the local hive with isolated worktrees, or prepend bounded subagent analysis before coding. Loop and hive can refresh native audit artifacts first, so blocked repos stop before planning instead of after damage.
Audit-gated loop + hive + subagents
📈
Checks Its Own Work
Every piece of code gets up to 3 attempts. Starts with free local AI, escalates to smarter cloud AI if needed. Validates correctness at every step before moving on.
3 attempts, escalating quality
💰
You Control the Spending
Set a daily budget and ForgeGod respects it. As you approach your limit, it shifts to cheaper models. Hit the limit? It switches to free local AI or pauses. Run 100% free forever.
Never an unexpected bill
⚡
Self-Improving Harness
ForgeGod records outcomes, learns from them, and refines prompts, routing, and execution strategy under explicit safety policy. Improvement is part of the harness, not an undocumented habit.
Outcome-driven refinement
🦬
Terse Mode
Use shorter internal instructions when you want lower token overhead without changing the core workflow. Available across chat, run, plan, and loop surfaces via --terse.
Lower token overhead
🛡
Built-In Security
Workspace-scoped file access, prompt-injection scanning, secret redaction, and two execution tiers. Standard mode stays local with guardrails. Strict mode runs commands in a real Docker sandbox with no network and blocks if Docker or the required image is missing. `forgegod doctor` now checks those prerequisites directly.
Real strict sandbox
🔌
MCP Tool Server
Connect any external tool via the Model Context Protocol. Databases, APIs, Slack, GitHub - ForgeGod can use them all mid-task. Extend its capabilities without forking the code.
Infinitely extensible
📚
Loadable Skills
Pre-built instruction sets for common tasks - Django, FastAPI, React, testing, deployment. Load a skill and the agent follows battle-tested patterns instead of improvising.
Reusable expertise
🎨
Native Audit and Specialist Agents
audit-agent is wired into ForgeGod as a native preflight gate. `forgegod audit`, `forgegod loop`, and `forgegod hive` can refresh audit artifacts, halt on blockers, and expose security, architecture, and plan-risk specialist passes before planning continues. ResearchAgent grounds implementation with current-source briefs. TasteAgent adds optional design review after code review. EffortGate blocks one-pass "good enough" exits without verification.
Native audit + grounding + taste + max-effort
💬
Hermes and OpenClaw Runtime Bridges
ForgeGod now exposes a machine-friendly bridge for external chat runtimes. Export first-party Hermes and OpenClaw adapters, keep stable session IDs, and let Telegram, WhatsApp, Discord, or thread-bound conversations delegate repo work into ForgeGod without prompt-only glue.
External chat runtimes -> ForgeGod