Ripwire

•
2.6k
•

Maps any codebase into a ranked, deterministic call graph, providing orientation, blast radius, and quality metrics for coding agents with ripgrep-fast retrieval and verifiable claims.

Ripwire is a high-performance, zero-dependency C++23 command-line interface designed to be the 'ripgrep of AI context' for coding agents. It rapidly analyzes any codebase, generating a ranked, deterministic call graph that provides critical insights like codebase orientation, potential blast radius for changes, recommended tests to run, and quality metrics. Operating without an index server, embeddings, or API keys, Ripwire offers ripgrep-fast retrieval and upholds an 'honesty contract' by explicitly labeling all inferred data, ensuring transparency and reliability for AI-driven development workflows. It also includes an MCP server for seamless integration with coding agents.

Key Features

01Includes an MCP server for real-time integration and querying by AI coding agents.
02Implements an 'honesty contract' by explicitly labeling inferred data and disclosing truncations.
03Zero-dependency C++23 CLI offering ripgrep-fast code retrieval and analysis.
04Provides diverse querying capabilities for codebase understanding, navigation, and quality assessment.
050 GitHub stars
06Generates ranked, deterministic call graphs using Tree-sitter and Personalized PageRank.

Use Cases

01Providing AI coding agents with accurate, ranked codebase context for task execution.
02Assessing code quality, identifying the impact of changes, and determining necessary test runs before commits or merges.
03Quickly understanding an unfamiliar codebase and identifying its critical components and structure.