v0.4.0
agentforge-graph 0.4.0 — framework awareness goes wide, retrieval gets measured, config gets simpler.
Highlights
- SurrealDB storage backend (ENH-010) — graph + vectors in one server, conformance-verified.
- Cross-file framework resolution (ENH-011) —
include_routerprefix composition + DI grounding (FastAPI). - Four new route packs (ENH-012) — Gin (Go), ASP.NET (C#), Laravel (PHP), Rails (Ruby) → 11 packs across 6 languages, plus generic cross-file route-handler grounding.
- Bedrock-native reranker + measured benchmark (ENH-013) — torch-free Bedrock Rerank; an objective NL→code benchmark (388 queries / 4 OSS repos) shows base retrieval MRR 0.95 / recall@1 0.92 and a statistically-significant rerank lift (ΔMRR +0.019, p<0.001). See the README "Retrieval quality (measured)".
- One config file — engine config consolidated into
agentforge.yamlunderapp:(auto-discovered; plain pyyaml, ADR-0001);ckg.yamlstandalone still supported. - HTTP MCP auth now rides the framework's
from_http(middleware=)seam (no reimplemented runner). - Developer guides (numbered learning path + TL;DRs) incl. a Getting-started walkthrough, a demo GIF, community health, and the AgentForge pin bumped to
>=0.3,<0.4.
Full detail: CHANGELOG.
Verification: 724 tests / 95% coverage / ruff + mypy clean; live Bedrock embed + rerank, live MCP HTTP auth, and Neo4j/pgvector/SurrealDB conformance all green. PyPI publish to follow after manual validation.