Loom is a powerful tool designed to enhance AI coding agents' efficiency by creating a persistent, local code graph. It leverages Tree-sitter to index functions, classes, methods, and call relationships across multiple programming languages into an SQLite database. This eliminates the need for AI agents to repeatedly re-explore codebases, as they can query Loom for instant insights and existing summaries. As agents work, they can store their understanding of functions, enriching the cache for future sessions and leading to massive token savings—up to 1,500 times fewer tokens for code understanding. Loom integrates seamlessly with AI platforms like Claude Code, providing an ever-growing knowledge base without requiring Docker, embeddings, or additional LLM calls from its side.