Skip to content

KiroGraph: How a Local Code Graph Saves 80% of Your AI Tokens

June 17, 2026 · 1 h 7 min

Show notes

Davide de Sio built KiroGraph as a personal side project to stop his AI agent from burning through credits just searching files. It turned into a community-driven, open-source MCP server that gives Kiro (and other AI agents) a semantic map of your codebase — reducing token usage by up to 80%. We dive into the architecture, security, and modules, how everything runs 100% locally, and how the AWS Community shaped the project's roadmap. Key takeaways: • Code graphs vs. grep — Tree-sitter and AST-based graph generation give AI agents a smarter navigation model, eliminating wasteful file searches. • Architecture module — Detects patterns and prevents drift by validating your codebase against its own structural rules. • Security module — Finds exposed secrets and vulnerabilities by tracing the call graph, born from an AWS Summit Milano talk. • Watchman module — Auto-generates Kiro skills from repetitive patterns, building persistent memory for your agent. • 100% local execution — Embeddings run with Nomic and summarization with Gemma 3, no data leaves your machine. • Spec-driven development — Davide built KiroGraph with Kiro itself, using specs to drive the entire development lifecycle. • Portability — Commit the graph to Git and share it across machines and team members. • Community-driven roadmap — CI/CD integration, validation hooks, and container deployment are next.

With Davide de Sio, Head of Software Engineering at Eleva

  • All episodes of The AWS Developers Podcast

    Settings

    Display

    Language

    Decides which stations you see first on the home page.

    History

    Recently played stations and episodes and your latest searches are only stored in this browser.

    Notifications

    A short notice when a podcast you follow has a new episode. Turn off single podcasts with the bell on their page.

    Account

    Save favorites – in the app and on the website.

    Keyboard shortcuts

    /
    Open search
    Space
    Play or pause
    ← →
    In the player: back 15 s, forward 30 s (episodes) · in a row: next tile
    ↑ ↓
    In a row: target within the tile
    Home / End
    In a row: first or last tile
    Esc
    Close window or menu
    ?
    This overview
    Now playing

    Go to station page

    Play next

      Add episodes with “Play next” – they play after the current episode.