Agent Forge Core
Supervisor/worker multi-agent runtime (built-in executor; optional LangGraph and CrewAI adapters), FastAPI service with SSE streaming, per-tenant API keys and a human approval endpoint, SQLite or Postgres checkpointing, guardrails, OpenTelemetry tracing with cost tracking, YAML golden-case evals, Docker/Kubernetes/Terraform deploy files, and CI.
Product Preview
Try the interactive reader and demo tools below, or get the full product with all content unlocked.
Interactive Reader (Free Preview) Download Free SampleFile Structure 3 files
Documentation Preview README excerpt
Agent Forge Core
A production-minded runtime for multi-agent LLM apps in Python: supervisor/worker orchestration, guardrails
(injection, PII, budgets, tool allowlists, human approval), OpenTelemetry tracing, per-run cost tracking, a
multi-tenant FastAPI service with SSE streaming, checkpointed resume, and a golden-set eval harness.
Everything runs offline against a deterministic MockLLM, so tests and CI need no API keys and no network.
LangGraph, Postgres and CrewAI are optional extras; the default install uses a built-in executor and SQLite.
Quickstart
python -m venv .venv && . .venv/bin/activate
pip install -e ".[dev]"
pytest # 41 tests, offline
python examples/quickstart.py # run + approval pause/resume
agent-forge evals evals/golden.yaml --rubric evals/judge_rubric.yaml
Serve the API:
export AGENT_FORGE_ADMIN_TOKEN=change-me AGENT_FORGE_API_KEY_PEPPER=change-me-too
agent-forge serve & # http://127.0.0.1:8000
python examples/api_client.py
Real model: implement the 1-method LLM protocol or use HTTPChatLLM (OpenAI-compatible; set base URL, key, model).
Extras: .[langgraph], .[postgres], .[otlp], .[crewai]. Dependencies are pinned in pyproject.toml.
Layout
src/agent_forge (package) - tests/ - evals/ - deploy/ (Docker, compose, k8s, terraform skeleton) -
guide/ (ARCHITECTURE, GUARDRAILS, EVALS, RUNBOOK) - examples/.
What it is not
Not a hosted service, not a prompt library, not a security guarantee. The injection detector is a first layer
(see guide/GUARDRAILS.md). Deploy files are starting points to adapt.
Price table (set real prices before trusting cost numbers)
Cost tracking and USD budgets read a price table in USD per 1M tokens. The bundled one lives at
src/agent_forge/data/prices.yaml and its figures are illustrative only: they exist so cost tracking and budget
logic work offline, and they are not any provider's real prices. To use real ones, copy that file, fill in your
provider's current per-model input_per_mtok / output_per_mtok, and point AGENT_FORGE_PRICE_TABLE at your copy.
Set fallback: null so unknown models fail loudly. Until you do this, treat every dollar figure as illustrative.
License: MIT with a no-resale-as-template clause (see LICENSE).