Podcasts · The AWS Developers Podcast
KiroGraph: How a Local Code Graph Saves 80% of Your AI Tokens
· 1 h 07 min · Episode 213
Episode KiroGraph: How a Local Code Graph Saves 80% of Your AI Tokens
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
•
KiroGraph — Open-Source Code Knowledge Graph (GitHub)
Kiro IDE — AI-Powered Development Environment
Tree-sitter — Incremental Parsing System
Nomic Embed — Local Text Embeddings
AWS Community Builders Program
Davide's Blog — Building KiroGraph
KiroGraph-Sec — From AWS Summit Milano to a Cybersecurity Feature
Links in the notes 8
- https://www.linkedin.com/in/davidedesio/
- https://github.com/davide-desio-eleva/kirograph
- https://kiro.dev/
- https://github.com/tree-sitter/tree-sitter
- https://huggingface.co/nomic-ai/nomic-embed-text-v1
- https://aws.amazon.com/developer/community/community-builders/
- https://devs.30tools.com/aws-builders/building-kirograph-a-100-local-semantic-code-knowledge-graph-for-kiro-2ja4
- https://devs.30tools.com/aws-builders/kirograph-sec-from-aws-summit-milano-slides-through-kiro-specs-to-a-cybersecurity-feature-12ch
Shows are listed from Apple Podcasts' charts and directory, and Podcast Index where it is used. Every show and episode belongs to its publisher and plays from the publisher's own feed; this site hosts none of them. Explicit shows are for adult profiles only, and children’s profiles hear only children’s shows. More about this list.