Show HN: Rig – Local-first code graph for coding agents, in one npx command
Rig is a local-first tool that creates a semantic knowledge graph of a codebase, allowing AI agents to navigate it effectively. It operates entirely on the user's machine without requiring API keys or uploads. The tool provides a visual map of files and dependencies, enhancing the way coding agents interact with the code.
- ▪Rig builds an interactive map of a project, enabling AI agents to navigate by structure and meaning.
- ▪The tool runs locally, ensuring privacy as no data is uploaded or shared externally.
- ▪Users can initiate Rig with a single command, making it easy to set up and use.
Opening excerpt (first ~120 words) tap to expand
Rig Watch your codebase become a constellation — and give your AI agent a map of it. ▶ Watch the full demo with audio Rig builds a local-first semantic knowledge graph of your project, renders it as an interactive map you can fly through, and exposes it to coding agents (Claude Code, Cursor, Codex, …) over MCP. Your agent stops grepping blindly and starts navigating — by structure, by meaning, and by what it's touched before. Everything runs on your machine. No API key, no upload, nothing leaves your laptop. Quickstart In any project directory: npx rig-constellation (Have Bun? bunx rig-constellation works too.) That's the whole thing.
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at GitHub.