Trace

•

Empower AI agents with structured access to codebase architecture, offering real-time indexing, constraint validation, architectural decision tracking, and execution memory.

Trace functions as an architectural memory engine and Model Context Protocol (MCP) server, meticulously crafted to provide AI agents with a deep, structured understanding of Rust project codebases. It streamlines agent operations by offering directly queryable, indexed data, thus eliminating the need for agents to laboriously parse entire files. The server maintains a persistent, SQLite-backed knowledge graph that encompasses structural analysis, automated guardrail enforcement, comprehensive architectural decision records (ADRs), and cross-session execution history, ensuring AI agents have real-time, context-rich access to project details and operational memory for enhanced productivity and reliability.

Key Features

01Architecture Decision Record (ADR) Management and Full-text Search
02Real-time, Incremental Codebase Indexing with Tree-sitter parsers
03Shared Daemon MCP Server Architecture for Concurrent Agent Access
04Declarative Architectural Constraint Validation and Plan Evaluation
05Persistent AI Agent Execution Memory and Session Recovery
060 GitHub stars

Use Cases

01Enabling AI agents to efficiently understand and navigate complex codebase architectures.
02Enforcing architectural constraints and guardrails within development workflows to maintain code quality.
03Providing persistent memory and session recovery for AI agent operations, ensuring continuity and context.