Turn chaotic markdown and tribal codebase knowledge into a sub-400-token deterministic index for Cursor and Claude Code. Zero hallucinations. Sub-5ms retrieval.
LLM context windows degrade rapidly when flooded with raw markdown and entire documentation files. AgentWiki compiles and extracts only high-value semantic nodes.
Bloated context, prose filler, and redundant boilerplate injected into every prompt.
Exact typed entities, constraints, and deterministic function signatures only.
Three crisp mechanisms make AgentWiki the most reliable knowledge engine for autonomous coding agents.
Store documentation in human-readable markdown inside .agentwiki/. AgentWiki parses frontmatter, extracts relational links, and builds an optimized SQLite database in milliseconds.
Runs as a standard I/O process compliant with the Model Context Protocol. Seamlessly works with Cursor, Claude Code, and Windsurf without network overhead or cloud tokens.
When agents discover architecture updates, they submit proposals via agentwiki_propose_diff. Review changes via the Obsidian CLI with confidence scores before accepting.
AgentWiki provides a minimal, non-overlapping tool surface for AI models. Click any tool below to inspect its schema and JSON-RPC payload.
Zero installation footprint. Compatible with all modern LLM IDEs and terminals.
Creates the .agentwiki/ directory with starter documentation templates and schema validation.
Builds the local SQLite full-text search index and verifies Markdown frontmatter integrity.
Add the following block to your .cursor/mcp.json or Claude Code configuration:
{
"mcpServers": {
"agentwiki": {
"command": "npx",
"args": ["-y", "@hamidshahid/agentwiki", "serve"]
}
}
}