
Getting started
·
Install
·
Docs
·
Agents
·
Commands
Superopen is not another coding agent. It builds the open source harness around Claude Code, Cursor, Codex, and similar agents so every coding session improves the next with less token waste and lower cost.
- It builds a Tree-sitter graph into SQLite. Agents query a scoped subgraph instead of grepping files. No embeddings, no similarity search, no index to keep warm. The graph is a local so.db your agent reads via so graph query.
- Session hooks run in the background so every turn is recorded to .so/sessions/. Follow-ups skip re-exploration because the context is already there.
- Distill compresses what mattered into a short index (at most about 350 tokens) so the next session starts with signal, not noise (90.8% / 82% recall@10).
- Harvest proposes playbook patches from the session with reusable guidance you apply only when you want it.
In one small SWE-bench Verified run (5 tasks), Claude Code with Superopen used fewer tokens, cost less, and finished faster, with the same number of tasks passed. Results varied by task; this is an early, small-sample benchmark, not a general accuracy claim:
| Metric | Cold Claude Code | Claude Code with Superopen | Improvement |
|---|
| Correctness | 4 / 5 (80%) | 4 / 5 (80%) | Same pass count |
| Tokens | 61.4M | 36.9M | 40% fewer |
| Cost | $4.31 | $2.70 | 37% lower |
| Tool calls | 249 | 161 | 35% fewer |
| API requests | 254 | 166 | 35% fewer |
| Wall-clock | 1,429s | 933s | 35% faster |
Source: BENCHMARKS.md
Getting Started
Full walkthrough: docs/installation.md.
1. Install so
macOS
brew install ishanjainn/superopen/so
so install
Linux (curl)
The installer downloads the latest release, puts so on your PATH, and runs so install.
curl -fsSL https://raw.githubusercontent.com/ishanjainn/superopen/main/scripts/install.sh | sh
Open a new terminal if so is not found, or run export PATH="$HOME/.superopen/bin:$PATH".
Windows (PowerShell)
Same installer path as curl, via PowerShell. It places so.exe on your user PATH and runs so install.
iwr -useb https://raw.githubusercontent.com/ishanjainn/superopen/main/scripts/install.ps1 | iex
Open a new PowerShell window after install. In a terminal, run so init with no leading slash. PowerShell treats /so as a path.
2. Initialize the repository
From the repo root, or /so init in agent chat:
so init
That creates .so/ in the repository along with the repository knowledge graph:
.so/
.gitignore # sessions/, db/, harvest/ (do not commit)
sessions/ # session events, transcripts, checkpoints
db/so.db # SQLite store: graph + memory
Reopen Claude Code, Cursor, Codex, or any other supported harness and keep working as you were.
Superopen automatically tracks sessions and provides local graph and memory tools. In the five-task SWE-bench run above, Claude Code used 40% fewer tokens and passed the same number of tasks as the baseline.
3. Open the UI (optional)
Needs Node.js 20+. -d starts the UI in the background and opens it when ready.
so dev -d
The Problem
Every session, your coding agent starts from zero. It greps, opens files, follows imports, backtracks, tries again, rebuilding a mental map of the codebase it already navigated yesterday and threw away. That rediscovery burns most of a run's tokens, tool calls, and latency, and it is pure overhead:
- Repeated: Every task pays the exploration cost again, from scratch.
- Discarded: Whatever the agent figured out dies with the session.
- Unshared: The next teammate (or your own next session) starts cold too.
Humans onboard to a codebase once. Agents onboard every single time.
See it in action
Run the agent
↓
Record the session
↓
Answer from the graph
↓
Distill what mattered
↓
Review harvest
↓
Reuse it next time
After so init, agents ask these four surfaces instead of grepping and re-reading transcripts: