EveryDev.ai
Subscribe
Home
Tools

3,569+ AI tools

  • New
  • Trending
  • Featured
  • Compare
  • Arena
Categories
  • Agents2189
  • Coding1574
  • Infrastructure698
  • Marketing534
  • Projects498
  • Research456
  • Design416
  • Analytics389
  • Testing296
  • MCP290
  • Security286
  • Data262
  • Integration197
  • Prompts189
  • Communication183
  • Extensions173
  • Learning170
  • Voice151
  • Commerce135
  • DevOps123
  • Web86
  • Finance26
AI Tools by Topic
  • AI Coding Assistants
  • Agent Frameworks
  • MCP Servers
  • AI Prompt Tools
  • Vibe Coding Tools
  • AI Design Tools
  • AI Database Tools
  • AI Website Builders
  • AI Testing Tools
  • LLM Evaluations
Follow Us
  • X / Twitter
  • LinkedIn
  • Reddit
  • Discord
  • Threads
  • Bluesky
  • Mastodon
  • YouTube
  • GitHub
  • Instagram
Get Started
  • About
  • Editorial Standards
  • Corrections & Disclosures
  • Community Guidelines
  • Advertise
  • Contact Us
  • Newsletter
  • Submit a Tool
  • Start a Discussion
  • Write A Blog
  • Share A Build
  • Terms of Service
  • Privacy Policy
Explore with AI
  • ChatGPT
  • Gemini
  • Claude
  • Grok
  • Perplexity
Agent Experience
  • llms.txt
Theme
With AI, Everyone is a Dev. EveryDev.ai © 2026
    1. Home
    2. Tools
    3. Graft
    Graft icon

    Graft

    Context Engineering
    Featured

    Open-source context layer for large codebases that builds a graph of your code so AI coding agents run faster, cheaper, and more accurately.

    Visit Website

    At a Glance

    Pricing
    Open Source

    Fully free and open-source under MIT license. Install via npm and run locally with no cost.

    Engagement

    Available On

    CLI
    API
    SDK

    Resources

    WebsiteDocsGitHubllms.txt

    Topics

    Context EngineeringAI Coding AssistantsMCP Servers

    Alternatives

    Context ModeOpen IndexDraft CLI Plugin
    Developer
    NanonetsSan Francisco, CAEst. 2017$42M raised

    Listed Aug 2026

    About Graft

    Graft is an open-source CLI tool built by Nanonets that creates a persistent context graph for large codebases, enabling AI coding agents like Claude Code, Cursor, Codex, and Gemini to work faster and more accurately without re-exploring the repo from scratch on every task. It is licensed under MIT, runs 100% locally with no telemetry, and requires no vector embeddings or external database. The project is published on npm as @nanonets/graft and the source lives at github.com/NanoNets/context-graph-engine.

    What It Is

    Graft solves a specific problem: every time an AI coding agent starts a task, it re-explores the codebase from zero — grepping files, following imports, and rebuilding a mental map it already built an hour ago. Graft builds that understanding once and writes it into the repo as a folder of linked markdown files (graft/), one node per system, API, or concept. The graph is just files your agent reads, not a running server or warm index. Because it lives in git, every teammate and their agent inherits it automatically.

    How the Graph Gets Built

    Graft uses two passes to construct its context layer:

    • Structural pass (free, no model): Tree-sitter parses 20+ languages deterministically, extracting functions, classes, call edges, and imports into graft/.graph/wiring.json. This never calls an LLM and needs no API key.
    • LLM enrichment pass (--deep): A second pass summarizes each file and groups them into plain-English concept nodes with typed links (uses, produces, validates, configures, extends). Any provider works — OpenAI, Anthropic, OpenRouter, Fireworks, Groq, LiteLLM, or a local model — under your own key.

    Every pass is cached by content hash, so rebuilds only touch changed files. On the Graft repo itself (124 files), a cold build takes 0.74s; a rebuild after one edit takes 0.18s.

    Benchmark Results

    The Graft README reports a 162-run controlled benchmark comparing cold Claude Code against Claude Code with Graft, using the same agent and file tools with only the context differing:

    • 46% fewer tool calls per task
    • 42% fewer tokens consumed
    • 60% less latency per task
    • +12 correctness points on SWE-bench Verified (66% vs 54% on 50 instances)

    On popular open-source repos like PocketBase, the README claims Graft runs "up to 4× cheaper and 3× faster" while reproducing all five tested merged PRs by touching the same files the maintainers did.

    Agent Integration and MCP Server

    graft init wires Graft into whichever coding agents you use. Supported agents include Claude Code, Cursor, Codex, Gemini, Kiro, Windsurf, GitHub Copilot, and AdaL. Claude Code gets the deepest integration: a live statusline showing graph size and staleness, auto-sync after every edit, and context injection at each prompt.

    Graft also ships an MCP server with six tools available to any MCP-compatible agent:

    • graft_find_code — ranked nodes with file:line for a natural-language question
    • graft_file_api — every signature in a file without bodies
    • graft_trace_calls — blast radius for any symbol
    • graft_find_all — exhaustive regex search grouped by enclosing symbol
    • graft_repo_map — directory clusters, hubs, and hotspots
    • graft_check_freshness — drift detection between graph and working tree

    Architecture and Deployment Model

    Graft is entirely local. The graph is a folder of markdown files committed alongside your code — no daemon, no database, no embeddings server to keep warm. The structural graph (graft build) is deterministic and costs nothing to run. The LLM-enriched layer (graft build --deep) calls your chosen provider under your own key; Graft itself never sees your API key or code. There is no telemetry. The graft viz command serves an interactive local graph viewer (prebuilt, no dev server needed) showing both the architecture graph and the per-symbol code graph with directional edge highlighting.

    Update: Active Development as of Mid-2026

    The GitHub repository (NanoNets/Graft, also mirrored as context-graph-engine) was created in July 2026 and last pushed in August 2026, with 2,844 stars and 248 forks at time of indexing. The npm package is @nanonets/graft. The project is under active development; the README notes that inlining crux excerpts into markdown nodes is a planned next step, and the SWE-bench Verified results are described as provisional.

    Graft - 1

    Community Discussions

    Be the first to start a conversation about Graft

    Share your experience with Graft, ask questions, or help others learn from your insights.

    Pricing

    OPEN SOURCE

    Open Source

    Fully free and open-source under MIT license. Install via npm and run locally with no cost.

    • Full CLI access
    • Tree-sitter structural graph (no LLM, no key)
    • MCP server with 6 tools
    • Agent wiring for Claude Code, Cursor, Codex, Gemini, Kiro, Windsurf, Copilot, AdaL
    • Interactive graph visualizer (graft viz)

    Capabilities

    Key Features

    • Open-source context graph for large codebases
    • Tree-sitter parsing across 20+ languages (no LLM, no key)
    • LLM-enriched concept nodes with plain-English summaries (--deep)
    • MCP server with 6 tools for any MCP-compatible agent
    • Claude Code deep integration with live statusline and auto-sync
    • Blast radius analysis before changing any symbol
    • Interactive local graph visualizer (graft viz)
    • Monorepo and multi-repo folder support
    • Vendor-neutral LLM support (OpenAI, Anthropic, OpenRouter, Groq, local)
    • No telemetry, no embeddings, no external database
    • Runs 100% locally
    • Git-native: graph lives in graft/ folder alongside code
    • Content-hash caching for fast incremental rebuilds
    • graft grep: exhaustive regex search grouped by enclosing symbol
    • graft map: token-budgeted repo orientation
    • graft callers: transitive call/dependency tracing
    • graft skeleton: file API surface without bodies
    • Supports Claude Code, Cursor, Codex, Gemini, Kiro, Windsurf, Copilot, AdaL

    Integrations

    Claude Code
    Cursor
    Codex
    Gemini
    Kiro
    Windsurf
    GitHub Copilot
    AdaL
    OpenAI
    Anthropic
    OpenRouter
    Fireworks
    Groq
    LiteLLM
    MCP (Model Context Protocol)
    npm
    API Available
    View Docs

    Ratings & Reviews

    No ratings yet

    Be the first to rate Graft and help others make informed decisions.

    Developer

    Nanonets

    Nanonets builds AI-powered document processing and automation tools, including the open-source Graft context graph engine for coding agents. The company develops both commercial document AI products (data extraction, classification, workflow automation) and open-source developer tooling. Graft, their open-source project, targets AI coding agent efficiency by providing persistent codebase context. Nanonets publishes Graft under the MIT license with no telemetry.

    Founded 2017
    San Francisco, CA
    $42M raised
    320 employees

    Used by

    P&G
    Bayer
    Roche
    Schneider Electric
    +5 more
    Read more about Nanonets
    WebsiteGitHub
    1 tool in directory

    Similar Tools

    Context Mode icon

    Context Mode

    An MCP server that optimizes AI coding agent context windows by sandboxing tool output, achieving up to 98% context reduction across 14 platforms.

    Open Index icon

    Open Index

    Open-source structured context layer for AI agents that lets you build domain-specific, searchable knowledge graphs (brains) agents can read from and write to via MCP.

    Draft CLI Plugin icon

    Draft CLI Plugin

    Persistent shared context plugin for Claude Code, Codex CLI, and Cursor that injects your full product context into every AI session automatically.

    Browse all tools

    Related Topics

    Context Engineering

    Techniques for optimizing context windows to improve AI responses.

    54 tools

    AI Coding Assistants

    AI tools that help write, edit, and understand code with intelligent suggestions.

    760 tools

    MCP Servers

    Model Context Protocol servers that extend AI capabilities.

    193 tools
    Browse all topics
    Back to all toolsSuggest an edit
    ratings
    discussions