Deterministic first
Known questions never burn tokens. Provenance stays in the repository.
Human ↔ agent documentation bridge
Doc Bridge turns ownership into deterministic handoffs, MCP tools, freshness gates, and reviewable memory promotions — before any model burns tokens on the wrong files.
pnpm add -D @agentskit/doc-bridge
# or: npm i -D @agentskit/doc-bridge$ npx ak-docs demo --text
# 60s: handoff · gate red→green · MCP snippet
$ ak-docs index
✓ 29 knowledge sources indexed
$ ak-docs query package doc-bridge --agent
{
"startHere": "docs/POSITIONING.md",
"editRoots": ["src"],
"checks": ["pnpm test", "pnpm typecheck"]
}
backend calls: 0Live corpus · 29 indexed public sources · copy any command
Why it wins
Known questions never burn tokens. Provenance stays in the repository.
CI refuses drift. Agents inherit the same truth as humans.
Cursor, Claude, Codex — same handoffs as the CLI, not a second corpus.
Digest agent notes, classify, promote as reviewable drafts — never silent merge.
The proof
Known questions stay local and fast. Ambiguity surfaces with provenance. Only an unresolved miss earns a backend call.
Full CLI mapak-docs indexBuild a deterministic knowledge map from source docs — offline.
ak-docs query package auth --agentExact handoff JSON: startHere, editRoots, checks.
ak-docs gate runFail stale context before incomplete prompts hit a model.
Human ↔ agent loop
Explain intent and operation.
Source, checks, edit roots.
Compact deterministic context.
Draft PR from durable learnings.
Continue with context
Choose the next constraint you actually have. Every product remains optional and links back into the same workflow.