What do you want to do?
4 use cases
-
Take over an existing codebase with an agent in one pass
Build a Git-versioned index of a codebase of up to about 500,000 lines so the agent can start working from known context.
- Aoci Code
- Codex
- Claude Code
- Cursor
- Software and DevOps
- Intermediate
View prompt
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.
-
Resume a project in a new agent or chat without starting over
Use the committed index so a new agent, host, or conversation picks up the system context in one read.
View prompt
Using only the AOCI index in <project-path>, describe the system, report your mastery of each area as a percentage, and say whether you can take over development. List any area below 80 percent and the source files you would read first.
-
Index PostgreSQL or MySQL table structures next to the code
Add a table-level database index so the agent sees both code and schema before it changes either.
View prompt
In the repo <project-path>, using the declared PostgreSQL or MySQL source and its connection-string environment variable, build the AOCI database index. Confirm that aoci.database.txt was written and that no credential value appears in any AOCI file.
-
Keep the codebase index current as the agent changes code
Let the MCP workflow flag changed files and have the agent update their entries after each verified task.
- Aoci Code
- Codex
- Claude Code
- Cursor
- Software and DevOps
- Intermediate
View prompt
In the repo <project-path>, make the requested change, run the tests, then update the AOCI entries for every changed managed file so the index is aligned. Report the list of updated entries and confirm the index is aligned.
How to use Aoci Code
- Check you have what it needs: 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.
- Open aoci-spec/aoci-code on GitHub and read the README and license.
- 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.
These steps come from our top use case, Take over an existing codebase with an agent in one pass, which also has a copy-paste agent prompt.
Get 5 new use cases every morning. Free, one short email, unsubscribe anytime.
Get them freeAoci Code alternatives · Best AI repos for Software and DevOps
About this repo
- Who it is forDevelopers and teams who use Codex, Claude Code, Cursor, or OpenCode on large existing codebases and want agents to keep system context across tasks and sessions.
- Why it is hot
- LanguageGo
- Sourcegithub.com/aoci-spec/aoci-code · Back to Hot repos
Requirements
- 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
Maintain Aoci Code? Add the Featured on Deduped badge
Paste this into your README:
[](https://dedupedai.com/use-cases/aoci-spec-aoci-code/?ref=badge)
Questions about Aoci Code
What is Aoci Code?
AOCI-CODE is a local-first MCP server and Go CLI that has your coding agent write a Git-versioned index of your codebase and optional database schema, which agents read before they change anything. It is an open-source project on GitHub: https://github.com/aoci-spec/aoci-code.
Who is Aoci Code for?
Developers and teams who use Codex, Claude Code, Cursor, or OpenCode on large existing codebases and want agents to keep system context across tasks and sessions.
What can I do with Aoci Code?
4 use cases so far, for example: Take over an existing codebase with an agent in one pass; Resume a project in a new agent or chat without starting over; Index PostgreSQL or MySQL table structures next to the code. Each has steps and a copy-paste agent prompt.
What do I need to run Aoci Code?
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.
What are alternatives to Aoci Code?
Other hot AI repos in Software and DevOps: Harness2, iFixAi, Orca, Diagram Design, AI Memory.
Is Aoci Code safe to run?
Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.