Who it is forA developer or team lead who inherits a large existing system and needs an agent to learn it quickly before making changes.
The problemAgents re-read and re-search the repository for every task, and a new project owner has no written map of what each file does or what must not break.
The outcomeAn index with one entry per managed file, a coverage report of how well the agent knows each area, and a link to the AOCI panel for review.
What you need first
- A verified AOCI-CODE release package for your operating system and CPU, or a checkout of the canonical source repository (source builds also need the Go toolchain declared by go.mod and make)
- A supported MCP host such as Codex, Claude Code, Cursor, or OpenCode
- Normal read and write access to the target repository
- For database indexing: a PostgreSQL or MySQL 5.7.6+ database (or openGauss 6.0.5 with constraints) and a connection-string environment variable set in the host environment
Steps
- Download the latest release package for your operating system and CPU from https://github.com/aoci-spec/aoci-code/releases and verify it using the installation guide.
- Place aoci (aoci.exe on Windows) at a stable absolute path, then run (inferred)
aoci initin the project to set up AOCI and MCP for your host. (inferred, check the README) - Run (inferred)
aoci scanand make sure the AOCI cognition files are not ignored by .gitignore or .git/info/exclude. (inferred, check the README) - Restart the agent so the new MCP server loads, then send the build instruction to build the index.
- Run
aoci ui --detach --json(or ask the agent to) to open the AOCI panel and review coverage by area.
Prompt for your agent
In the repo <project-path>, confirm the AOCI MCP server is connected, then build the AOCI index for the whole project. Report the coverage level for each area and give me the AOCI panel link. Verify that aoci.txt and aoci.code.txt exist after the build.
Caveat. The first index takes about an hour per 200,000 lines of code, depending on the model and agent speed, and the index quality depends on what the agent writes.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for aoci-spec/aoci-code and "Take over an existing codebase with an agent in one pass"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer