v0.6.2 — ckg setup (agent auto-configuration)
agentforge-graph 0.6.2 — one command to wire the graph into your agent
Theme: adoption. 0.6 made it easy to build an org-scale code graph; 0.6.2
makes it easy to connect one. New ckg setup writes your coding agent's
MCP config for you — no hand-editing JSON — and (with --hooks) nudges the agent
to actually use the graph.
Highlights
ckg setup — agent auto-configuration (feat-013)
ckg setup # detect agent → show a diff → confirm → write .mcp.json → connection check
ckg setup --print # dry-run
ckg setup --hooks # also add the "prefer the graph" nudge to AGENTS.md/CLAUDE.md
ckg setup --undo # reverse everything it wrote- Repo-level by default — writes a committable
<repo>/.mcp.json(the
portable MCP standard, read by Claude Code and other clients). Commit it and
the whole team's agents are wired.--scope userwrites the global
~/.claude.jsoninstead. - Safe on files you didn't author — edits are structural (never text
splicing), marked (_managed_by: agentforge-graph), idempotent, and
conflict-safe: ackgentry you wrote is never clobbered without
--force. Everything is reversible with--undo. - Connection check — after writing, it spawns the server and confirms the
agent can reach it (connected ✓). --hooks— appends a short, non-blocking nudge block to
AGENTS.md/CLAUDE.mdso the agent prefers theckg_*tools over grep/glob.- Extensible — new agents register via the
agentforge_graph.agent_adaptersentry-point group (Claude Code built in).
Frictionless first run (FA-001 Phase 1)
- Try it with zero install:
uvx agentforge-graph index ./
pipx run agentforge-graph serve-mcp --repo .. ckg --versionnow reports how it was launched, e.g.ckg 0.6.2 (uvx).
See the new guide: Agent auto-configuration.
Validation
- Gate:
ruff+ruff format+mypy --strictclean; 903 passed / 45
skipped, 94.71% coverage. - Live end-to-end: a real MCP client (
mcpSDK) connected to a spawned
ckg serve-mcp→ 10 tools; project/user scope,--hooks, conflict/--force,
idempotency, and--undoexercised against a real repo; theuvxtrial path
verified from a built wheel.
Install / upgrade
pip install -U agentforge-graph # 0.6.2
ckg --version # ckg 0.6.2 (pip)No index-schema change — existing .ckg/ indexes are unaffected.
Full changelog
See CHANGELOG.md.