Observed since 20 Oct, 21:25 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
AgensFlow MCP — learned coordination substrate for coding-agent loops
Learned coordination substrate for coding-agent and MAS loops. Apache-2.0. Self-host, or use the hosted service.
AgensFlow MCP is a policy server. For each task signature your agent sees, it learns which sub-agent, model, and effort setting produces the best outcome — where "best" is a weighted trade-off of quality, cost, latency, and token budget you configure.
Under the hood: a per-signature UCB1 bandit with Welford-online variance, Anthropic cache-aware pricing, tenant isolation, and BYOK judge orchestration.
Two integration paths cover essentially every agent shape:
agensflow-langgraph:
one decorator per node, per-node model pool, one line to record reward. The
adapter owns judge orchestration; the server records decisions and updates
the policy.POST /judge/relative.pip install agensflow-mcp
Requires Python ≥ 3.11. Postgres is recommended for production; SQLite works out-of-the-box for local dev.
# Local dev (in-process SQLite, no external deps)
agensflow-mcp serve
# → http://localhost:8000/health
# → http://localhost:8000/docs (OpenAPI schema explorer)
# → http://localhost:8000/mcp/sse (FastMCP endpoint)
# Full stack with Postgres via Docker
docker run -d --name agensflow-postgres \
-e POSTGRES_PASSWORD=agf -p 5432:5432 postgres:16
AGF_DATABASE_URL=postgresql+psycopg://postgres:agf@localhost:5432/agensflow \
agensflow-mcp serve
Once up, verify:
curl -s http://localhost:8000/health
# → {"status":"ok","version":"..."}
Framework Claude Code
adapter / codex hooks
(LangGraph, CrewAI, ...) │
│ │
└─────────┬────────────────┘
▼
┌──────────────────────────────────────────┐
│ HTTP + MCP surface │
│ │
│ /route /judge/relative │
│ /record /policy/{me,id} │
│ /auth/anonymous /auth/byok │
│ /langgraph/policy/{select,import, │
│ export} │
│ /langgraph/decision/execute │
│ /langgraph/reward/submit │
│ /langgraph/decisions │
│ │
│ /mcp/sse (FastMCP tools) │
└────────────────────┬─────────────────────┘
▼
┌───────────────────┐
│ Substrate engine │
│ folding · UCB1 │
│ Welford │
│ reward · pricing│
└─────────┬─────────┘
▼
Postgres / SQLite
| Tier | Package | What you get |
|---|---|---|
| Free | agensflow-mcp (public, PyPI) | UCB1 substrate, reward formula w_q·quality − w_c·cost − w_t·tokens − w_l·latency, tenant isolation, all HTTP endpoints (/route, /record, /judge/relative, /langgraph/*, /auth/*, /policy/*), 3-judge cross-family panel over OpenRouter (BYOK), extension plugin discovery for overlays |
| Enterprise | Private overlay (not on PyPI) | Everything above + private-tier observability signals and reward extensions. Auto-loaded via importlib entry-point when installed |
The free tier is fully functional standalone. Enterprise is an overlay you install alongside; the server auto-discovers it at boot and mounts the additional routes + companion tables. Nothing on the free tier depends on the enterprise package being present.
agensflow-langgraph docshttp://localhost:8000/docsApache-2.0
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.1.0 | 18 Jul 2026 | 24 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 21:25 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:579c5800382b3863ed9f72987a2a203931a2da78665bf4e4ab950634e43af07b