YATS

•

Indexes your codebase into a knowledge graph, enabling AI agents to query relevant symbols directly and significantly reduce token consumption.

The problem of AI agents repeatedly re-reading code, burning tokens and time, is addressed by YATS. This innovative tool parses an entire codebase into a comprehensive knowledge graph of functions, classes, and their relationships. Instead of brute-force file reading, AI agents can query this graph for precise context, dramatically cutting token spend—by 37–73% on real repos—and improving response quality. YATS seamlessly integrates with existing AI agents, automating the indexing process and ensuring data privacy by running entirely within your local infrastructure via Docker, supporting local Ollama embeddings or your own API keys.

Key Features

01Reduces AI token consumption by 37-73% on code understanding tasks.
02Compatible with popular AI agents including Claude, Copilot, Codex, Cursor, and Gemini.
030 GitHub stars
04Indexes codebases into a knowledge graph for efficient AI agent interaction.
05Automatically indexes projects upon agent connection, with support for manual indexing.
06Ensures data privacy by running locally with Docker, supporting Ollama or custom API keys.

Use Cases

01Optimizing AI coding tool budgets by reducing token usage.
02Enhancing AI agent efficiency and accuracy in understanding complex codebases.
03Benchmarking and verifying token savings for AI agents on proprietary projects.