{
 "schema_version": 1,
 "generated": "2026-10-20",
 "repo": "aoci-spec/aoci-code",
 "name": "aoci-code",
 "owner": "aoci-spec",
 "slug": "aoci-spec-aoci-code",
 "github": "https://github.com/aoci-spec/aoci-code",
 "what": "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.",
 "why": "",
 "language": "Go",
 "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"
 ],
 "audience_note": "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.",
 "risk": "none",
 "section": "earlier",
 "weekly_rank": null,
 "category": "Software and DevOps",
 "url": "https://dedupedai.com/use-cases/aoci-spec-aoci-code/",
 "use_case_count": 4,
 "use_cases": [
  {
   "id": "aoci-spec-aoci-code--take-over-existing-codebase-in-one-step",
   "title": "Take over an existing codebase with an agent in one pass",
   "best": true,
   "url": "https://dedupedai.com/use-cases/aoci-spec-aoci-code/take-over-existing-codebase-in-one-step/",
   "json": "https://dedupedai.com/use-cases/u/aoci-spec-aoci-code/take-over-existing-codebase-in-one-step.json"
  },
  {
   "id": "aoci-spec-aoci-code--hand-off-project-to-new-agent-or-session",
   "title": "Resume a project in a new agent or chat without starting over",
   "best": false,
   "url": "https://dedupedai.com/use-cases/aoci-spec-aoci-code/hand-off-project-to-new-agent-or-session/",
   "json": "https://dedupedai.com/use-cases/u/aoci-spec-aoci-code/hand-off-project-to-new-agent-or-session.json"
  },
  {
   "id": "aoci-spec-aoci-code--index-database-schema-alongside-code",
   "title": "Index PostgreSQL or MySQL table structures next to the code",
   "best": false,
   "url": "https://dedupedai.com/use-cases/aoci-spec-aoci-code/index-database-schema-alongside-code/",
   "json": "https://dedupedai.com/use-cases/u/aoci-spec-aoci-code/index-database-schema-alongside-code.json"
  },
  {
   "id": "aoci-spec-aoci-code--keep-index-aligned-after-each-change",
   "title": "Keep the codebase index current as the agent changes code",
   "best": false,
   "url": "https://dedupedai.com/use-cases/aoci-spec-aoci-code/keep-index-aligned-after-each-change/",
   "json": "https://dedupedai.com/use-cases/u/aoci-spec-aoci-code/keep-index-aligned-after-each-change.json"
  }
 ],
 "disclaimer": "Third-party repos we don't own or vouch for. AI-generated use cases can be wrong: review everything and run at your own risk."
}
