Favicon of ripwire

ripwire

Local code context tool for coding agents. Runs offline as a CLI or MCP server, with call graphs, affected-test lookup and Apache 2.0 licensing.

ripwire helps AI coding agents find relevant code and assess changes without filling their context with whole files. It runs offline on your machine as a self-contained binary, with a CLI and an optional MCP server. It's for developers who want their agents to spend less context on repository research and check the effects of their edits.

Its ranked, deterministic call graph connects definitions with callers, dependencies and tests. Task-focused queries return relevant signatures or complete function bodies, while document recall finds sections of repository documentation. Context bundles can combine code, callers and tests within a requested token budget.

Change checks identify affected code and tests, flag incompatible callers after a contract edit, and report code-quality measures that got worse. ripwire also spots files that usually change together but were left out of a diff. Stack-trace lookup connects frames to definitions, and persistent notes attached to symbols give later agent sessions access to earlier findings.

The output distinguishes confirmed relationships from uncertain matches and discloses truncation. That matters when an agent treats a search result as evidence: an empty result means nothing was found, rather than proving nothing exists.

ripwire is open source under Apache 2.0 and uses C++ with no external runtime dependencies. It works with shell-capable agents including Claude Code, Codex, Cursor, Windsurf, Gemini, opencode and aider. Language support includes C++, Python, Rust, Swift, TypeScript and JavaScript.

Similar to ripwire