AGENTKIT
Structural intelligence. Zero data leakage.
AgentKit is a local daemon that gives AI coding CLIs deep knowledge of your codebase structure and compresses dev tool output. Everything runs on your machine.
AgentKit — Code Knowledge Graph visualization with node connections and community detection
CAPABILITIES
Two capabilities. One daemon.
CODE KNOWLEDGE GRAPH
Structural codebase intelligence
AgentKit extracts an AST-based knowledge graph from your codebase — functions, classes, methods, imports, call graphs, module communities. Structural queries respond in < 300ms without reading any files.
Code Knowledge Graph
TOKEN COMPRESSION
30–90% fewer tokens from dev commands
AgentKit wraps 30+ dev tools and returns compressed summaries instead of raw output. Full logs are saved to disk — agents can retrieve them when needed, but Claude’s context stays clean.
Command Output Compression
9 MCP TOOLS
A complete graph query API.
AgentKit exposes 9 MCP tools that give Claude structured access to your code graph. Every tool responds in milliseconds, no file reads required.
query_graph
Semantic search across the full code graph
get_node
Get details on a specific node by ID
get_neighbors
Find all nodes connected to a given node
graph_stats
Overview statistics of the full graph
shortest_path
Find the shortest path between two nodes
affected_nodes
Nodes affected by changes to a given node
god_nodes
Identify highly-connected hub nodes
get_community
Get all nodes in a detected module community
explain_node
Natural language explanation of a node's role
30+ TOOLS WRAPPED
Works with your whole dev stack.
Runs entirely on your machine.
AgentKit processes your code locally. No telemetry. No cloud sync. No data leaves your network. Self-hosted, forever.
Zero network calls
The daemon never phones home. All graph queries run locally.
No telemetry
We collect nothing. No usage data, no crash reports, nothing.
Air-gap compatible
Works in fully isolated environments with no internet access.
SETUP
One config line.
Add to .claude/mcp.json. AgentKit starts automatically with every Claude session.
{
"mcpServers": {
"agentkit": {
"command": "npx",
"args": ["@origins-ai/agentkit", "--project", "."]
}
}
}Add to .claude/mcp.json. AgentKit starts automatically with every Claude session.
Structural intelligence, zero footprint.
Install AgentKit in two minutes. Your code knowledge graph is built locally — no data ever leaves your machine.