← Back to Leaderboard
Aaoci-spec

aoci-spec/aoci-code

Local Go MCP server and CLI for Git-versioned code and schema context

Engineering Health (Methodology)
A · 79/100
Maintenance Activity
● Updated today
Latest Release
v0.1.1
Commercial License Check
Custom / Check Repo

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption18/25
Release Cadence20/20
License Clarity6/20
CLIMCPSelf-Hosted
Total Stars
★ 3,193
24h Growth
+11
7d Growth
+108
Forks
286

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

aoci-spec/aoci-code Star History (2026-08-07 - 2026-12-04) ALL-TIME STAR HISTORY (2026-08 – 2026-12) +3.2k in 119d · avg +27/day 3.4k 1.7k 0 2026-08-07: ★ 12026-08-15: ★ 222026-08-29: ★ 1922026-09-12: ★ 2652026-09-26: ★ 6122026-10-10: ★ 1,4312026-10-24: ★ 1,7092026-11-02: ★ 1,8282026-11-10: ★ 1,8822026-11-18: ★ 2,4182026-11-26: ★ 3,0662026-12-04: ★ 3,193 ★ 3.2k 08-07 10-05 12-04

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

AOCI-CODE splits semantic authorship from index governance. The Go aoci CLI initializes the repository and inventories managed files through Git. The coding agent reads the relevant evidence and authors semantic entries through a local stdio MCP server. The runtime does not infer business meaning from paths or an AST; it governs how entries are written and updated.

The state is plain text under Git: aoci.txt declares and activates the index, alongside assets such as aoci.meta.txt and aoci.code.txt. The manifest pairs Cobra with the official Go MCP SDK. The integration boundary is the host’s MCP support and ability to follow the tool contract, not the model provider’s API. That keeps the index portable across compatible hosts without moving model inference into the server.

Key Capabilities & Differentiators

A file entry records FRAS: responsibility, strongly related objects, exposed contracts, and constraints that may not be obvious from structure alone. Entries can capture transaction boundaries or compatibility requirements alongside public interfaces. The initial scan establishes the managed Baseline. After managed objects change, the server identifies entries that need updates and the agent supplies the new text. Git provides a way to review and roll back those changes.

Database cognition adds a separate table-level index from catalog metadata, without reading business rows. PostgreSQL and MySQL 5.7.6 or later are supported; openGauss 6.0.5 and SQLite have constraints, and MariaDB is not supported. The manifest includes pgx/v5, go-sql-driver/mysql, ncruces/go-sqlite3, and a local replacement for the openGauss connector. The combined code and schema index is useful when changes cross application and database boundaries.

Trade-offs & Limitations

Unlike CodeGraph, which resolves specific symbols and call paths, AOCI-CODE front-loads system context: it gives the agent a compact account of what the system does and what must not change before it starts searching. The two are complementary. AOCI-CODE does not replace exact source lookup, and an accepted entry is not proof of semantic correctness. Because entries are model-authored, review consequential contract or constraint changes against source and tests.

The first build reads every managed file in resumable batches. The planning example is about an hour per 200,000 lines, dependent on model and host speed rather than a throughput guarantee. The resulting index size matters more than line count: one 700,000-line example produced roughly 300,000 index tokens, which may not fit the host’s usable context budget. Evaluate build cost and index size together. The v0.2.0-rc8 release uses the source-available FSL-1.1-MIT license; review the terms rather than treating it as MIT-only.

Hardware & Deployment Guide

Install a verified signed package or build from canonical source with the Go toolchain declared in go.mod and make build. Put the binary at a stable absolute path and run init and scan against a writable Git checkout. Keep generated index assets out of Git ignore rules so the scan can see them. Load or restart the MCP host before asking it to build the index; Cursor may require manual configuration. For a server database, supply the connection string through the declared environment variable rather than storing credentials in the index.

The binary needs no model runtime of its own. Its documented network connections are limited to the declared database and the loopback status panel; the coding host still follows its own model and data-handling setup. In the 0.2.0 candidate series, a Claude Code build on rc7 completed a MySQL-backed first index after accepting database Evidence before any Code Entry, a sequence that deadlocked on rc6. The rc8 milestone is still a release candidate, so verify and pin the build you pilot.

Index layout: aoci.txt activates the index; aoci.meta.txt and aoci.code.txt are separate Git-reviewable assets.
Entry format: FRAS separates responsibility, related objects, public contracts, and constraints in a single file entry.
Scope governance: Git supplies the scan inventory; an established Baseline changes through Scope Change, not scan --force.
Host integration: Standard stdio MCP connects to Codex, Claude Code, Cursor, or OpenCode without a separate model-provider integration.
Database coverage: Catalog-only indexing supports PostgreSQL and MySQL 5.7.6+, with constrained openGauss 6.0.5 and SQLite support; MariaDB is excluded.
Operational visibility: aoci ui --detach --json starts the local status panel in the background.
Best For

Teams maintaining a long-lived Git repository across coding-agent sessions, especially when changes span code and database schemas and architectural context needs to be reviewable in Git.

Skip If

You mainly need exact symbol lookup, cannot allocate host time and context for an agent-authored index, or require an unrestricted permissive license.

Reviewed on 2026-12-02 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

CLIMCPSelf-Hosted
gh auth login
gh release download v0.2.0-rc8 --repo aoci-spec/aoci-code

Comparison vs. Top Coding, Skills & MCP Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
aoci-code ★3.2k+108Go—Local Go MCP server and CLI for Git-versioned code and schema context
codebase-memory-mcp49.6k+335CMITA local code graph for tracing code, docs, and infrastructure via MCP.
graphify156.8k+2.4kPythonApache-2.0Local AST graphs for dependency tracing, with CLI and MCP access.
taste-skill125.3k+2.9kJavaScriptMITAn agent skill for directing company website design and checking builds in a bro

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/aoci-spec/aoci-code.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

aoci-spec/aoci-code Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about aoci-code

Who builds the index, and how does the MCP host connect?

The coding agent reads source and writes semantic entries through the local stdio MCP server. The Go CLI initializes the project and scans the Git-based inventory; the server governs index updates. After initialization, confirm the host has loaded the server before starting the first build. A restart is usually needed unless the host can load the server dynamically.

Does it need a GPU, and what should I size for?

AOCI-CODE is a Go CLI and MCP server and does not run model inference itself, so it has no dedicated GPU or VRAM requirement. If your host runs a local model, size hardware for that model separately. To plan the rollout, measure first-build time and token use on a representative repository, then check how much of the host’s context window the resulting index occupies.

What should a commercial team check before self-hosting?

The v0.2.0-rc8 release is source-available under FSL-1.1-MIT. Self-hosting does not by itself establish that a particular commercial use is permitted. Review the LICENSE at the exact tag you intend to deploy, particularly for redistribution or use in a potentially competing offering.

Can it replace CodeGraph?

They solve different problems. CodeGraph is better suited to exact symbol and call-path lookup. AOCI-CODE gives an agent a repository-level view of responsibilities, contracts, and constraints that syntax alone may not reveal. Use them together if agents need both orientation and precise source navigation.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining aoci-spec/aoci-code? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature aoci-spec/aoci-code on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare