Scythe

•

Maintains a live, auto-updating relational graph of a codebase, providing structured, zero-drift context under 10k tokens for AI agents across repositories of any scale.

Scythe (ctx) is an innovative context engine designed to provide AI agents with precise, dynamically updating codebase context. It achieves this by maintaining a local SQLite relational graph of your repository, which is kept in sync on code modifications using AI models. This ensures that AI agents always receive a structured, zero-drift context payload of under 10,000 tokens, even when working with massive, million-line codebases, significantly enhancing developer experience and AI agent accuracy by ensuring they always operate with the most relevant and up-to-date information.

주요 기능

01Active Model Sync (MCP): Enables AI models to directly update the local database via write-back API calls during code modification, ensuring real-time context freshness.
02Taint Propagation & Decay: Flags downstream callers in SQLite when core function signatures change, notifying AI agents to review affected dependents.
03Local Daemon & LLM Fallback: Includes a background file watcher and asynchronous updates using local, quantized LLMs for edits made outside MCP-enabled tools.
04Surgical Context Assembly: Organizes codebase context into four distinct zones (Focus Area, Direct Interface, Call Graph, Guardrails) using Personalized PageRank and topological directory tree folding.
05Semantic AST Hashing: Utilizes Tree-sitter parsers to generate formatting-insensitive structural hashes, preventing false synchronization flags from cosmetic changes.
060 GitHub stars

사용 사례

01Providing AI agents with dynamically updated, token-efficient codebase context for any repository size.
02Maintaining accurate and current codebase metadata through semantic parsing and active model synchronization.
03Integrating with AI development environments like Claude Code, Claude Desktop, or Cursor for enhanced developer workflows.