Show HN: Rig – Local-first code graph for coding agents, in one npx command (github.com)

🤖 AI Summary
A new tool named Rig has been introduced, allowing developers to create a local-first semantic knowledge graph of their codebase with just a single command: `npx rig-constellation`. This innovative approach transforms a traditional project directory into an interactive and navigable map—allowing AI coding agents like Claude Code and Codex to understand project structures and their relationships more intuitively. The tool runs entirely on the user's machine, eliminating the need for API keys or data uploads, which enhances privacy and security during development. The significance of Rig lies in its ability to improve how coding agents interact with codebases. Instead of merely searching through files with keyword-based searches, agents can now navigate using semantic relationships and contextual markers established within the graph. Key features include a magnetic pull for retrieving related code, dependency intelligence, and the ability to drop waypoints that persist across sessions. By organizing code files, symbols, and relationships in a comprehensible way, Rig not only aids in debugging and development tasks but also enhances overall productivity and understanding within software projects. The tool is compatible across major operating systems and utilizes on-device models for embedding, ensuring efficient performance without requiring external resources.
Loading comments...
loading comments...