Finding the code
The agent searches broadly before it knows where to work.
- grep "resource" .
- 142 matches
- rg "resourceManager"
- 17 matches
- cat src/runtime/manager.ts
- rg "session" src/
- read session.ts
- inspect related files
- finally code
Local context for coding agents
Let your coding agent spend tokens writing code, not finding it.
Measured in our three-turn coding-agent test.
Avg. across our coding-agent test
In our three-turn experiment
Index, retrieval, and source code
Apache 2.0 on GitHub
Before your agent can write code, it spends context searching, opening files, and following connections.
The agent searches broadly before it knows where to work.
One useful file leads to the related code the change depends on.
session.ts
createSession()
middleware.ts
requireAuth()
user.ts
type User
token.ts
verify(jwt)
store.ts
readSession()
auth.ts
no references
Scubiee gives coding agents focused repository context before they start writing.
Search by meaning and surface the files that matter to the task.
Follow relationships between files without opening the whole repository.
Return focused context instead of large, token-heavy file dumps.
Refresh changed files incrementally as your codebase evolves.
Keep your repository index and source code on your machine.
Connect to the coding tools you already use through MCP.
MCP tools
Scubiee exposes one tool, map, with two configs. Pick by what you know; act on the first good answer and stop. map partners with your agent's native Grep/Read — a known literal or exact path stays with the native tool.
map find
Where is X handled?
You don't know where the code is. One query → ranked locations with the relevant code inline. Also orients a wide/unknown area and pulls code near a chunk you already hold.
map focus
Show me this handler and how it's wired.
You know the symbol name. Returns its full body + callers/callees + sibling symbols in one unit — edit straight from it.
gate / status
Is this repo ready?
One health check at session start — managed, warming, or needs init/connect.
Recommended agent flow
status → map find | map focus → edit → scubiee sync .
Give your agent a shorter path from a question to the code it needs.
7 → 4 steps
Fewer retrieval steps
60–70%
Fewer context tokens used
More room
Left for actual coding
Scubiee builds and uses its repository index locally, so your source code does not need to leave your computer.
Keep the repository, index, and retrieval loop inside your local environment.
Local repository index
Connect Scubiee to compatible coding agents through the Model Context Protocol.
Cursor
via MCP server
Claude Code
via MCP server
Codex
via MCP server
OpenCode
via MCP server
Any MCP tool
if it supports MCP
Compatibility is provided through MCP and does not imply endorsement by, or partnership with, any agent provider.
A focused retrieval loop gives your coding agent the context it needs.
Build a local repository index — Scubiee scans your codebase and stores embeddings and relationships on your machine.
Query the index by meaning. Scubiee surfaces the files and functions most relevant to the task, not the whole codebase.
Return focused, ranked context to the agent. Less noise, fewer tokens, and more room to actually write code.
Incremental refresh — changed files update in under a second.
Your index stays current without re-indexing the entire codebase.
A measured experiment shows how focused retrieval can leave more of the context window available for coding.
Three-turn experiment
60–70% fewer context tokens
In our three-turn coding-agent experiment, Scubiee used about 60–70% fewer context tokens than the comparison workflow. Results vary by repository and task.
Ready when you are
Takes about 2 minutes to set up end-to-end.