← Market Pulse · Nov 19
aoci-code: a codebase and database schema map for coding agents to read firstGitHub · created Aug 8 (103 days ago) · original page ↗
Stars / day ×286 → 161

Write a system manual for the AI: nearly 400 stars in two days

What it isA local tool that has a coding agent write a one-line description for every file and database table in a codebase, then stores them in Git.

Why it grewTrigger not found; my inference is word-of-mouth in Chinese private channels (WeChat official accounts, WeChat groups), with star gains following Beijing waking hours.

What to takeDon't compete on more accurate retrieval. Turn the agent's understanding of the system into files that go into Git, can be reviewed and can be rolled back.

Who built itChinese team credited to Jinshi Liu and others; institution not foundHow it makes moneyFree, no pricing yet; FSL license and a login entry are already in placeStaying powerHard to say: the next morning it was still gaining around 50 stars an hour, source unknown
Homepage hero: let AI agents keep developing with awareness of the whole system, take over projects, and collaborate across sessions

Positioning and edge

Who it's forDevelopers having an agent take over a legacy system of hundreds of thousands of linesThe job it doesThe agent reads and understands the whole system before it starts, instead of re-crawling the repo for every taskWhat people did beforeHand-written AGENTS.md, or leaving the agent to search and read on the fly each timeThe wedgeTaking over a legacy system and adding a database table: code graphs don't record "what must not be changed"

How it differs from the rest

  1. Entries are semantics written by the model, made specifically to record "what must not be changed"One F/R/A/S line per file; S holds constraints you can't see from the code but must not get wrong
  2. Database table schemas and code are built into the same indexSupports table-level entries for MySQL and PostgreSQL; reads structure only, not business data
  3. The index is plain text in the repo, so a new person or a different agent can pick it upFiles like aoci.txt go into Git, can be diffed and rolled back, and when code changes it names the stale entries
  4. Backed by its own paper data (no third-party replication)Its own paper claims zero final defects across 19 industrial tasks, with competitors using 4–130x more tokens

Who else is in the space

Similar productHow it differs from this one
CodeGraphCode symbols and call graph, about 78K starsIt looks up exact code per question; AOCI feeds global semantics first. The official line is that they can be used together
codebase-memory-mcpParser-built knowledge graph, about 49K starsThe graph is computed by a parser; AOCI's entries are written by a model and carry business constraints
Aider(repo map)Terminal pair programming, about 50K starsThe repo map is recomputed every time; AOCI lives in Git and checks for stale entries

Can it hold?The format is easy to copy on sight; what can't be taken is the paper, the patent claims and the FSL license, and word of mouth hasn't formed yet.

Last two weeks · Stars / day
11-0611-0911-1211-1516111-19

How it happened

  1. Paper "AOCI" on arXiv, six authors including Jinshi Liu ↗

  2. Repo is public, and the first release candidate v0.1.0-rc1 shipped that day ↗

  3. A long Juejin article compared it side by side with CodeGraph and two other tools ↗

  4. +169 stars in a single day, #2 on Trendshift's Go daily chart; cause not found ↗

  5. The team self-submitted to HelloGitHub, still 0 replies ↗

  6. Went through 23 release candidates, then shipped the official v0.1.0; star count didn't budge, about ten a day ↗

  7. A Chinese recommendation post on X by @dapeng667, only 422 views ↗

    The only public recommendation findable before the surge: one Chinese post on X with 422 views, not enough to drive 400 stars in two days
  8. Started climbing on the 18th, recorded +161 on the 19th, 2,321 total stars at noon; didn't make any chart, trigger post not found ↗

    Stars per hour on the 19th: single digits in the small hours, jumping to 62 at 9 a.m. Beijing time, following China's daily rhythm
    Repo front page at noon on the 19th: 2.3k stars, 235 forks, commit history still updating by the minute

In detail

What using it looks like

Paste the passage from the README into Claude Code, Codex or Cursor, and it downloads the single-file program aoci, runs init and scan, and connects MCP by itself. Then say "build an index for this project", and the agent reads the source file by file and writes one line per file: F for what it does, R for who else you must check when changing it, A for what outside code depends on it, S for constraints you can't see in the code but must not get wrong. A few hundred lines of plain text travel with Git, and the agent reads the whole thing at the start of each job. When code changes, MCP names which lines are stale, and the agent updates them after finishing its work. Database tables can also be written in, one line per table.

Why it's not the same as a code graph

The biggest in this category, CodeGraph (about 78K stars) and codebase-memory-mcp (about 49K stars), both use a parser to break code into symbols and call relationships, then query when there's a question. AOCI does the opposite: it has the model write down "why this file exists and where not to touch", read in full before work starts. That is exactly what the Nov 17 recommendation post on X pointed at: "ask it whether this table's fields can be changed, and it still isn't sure" — call chains can be looked up, conventions can't.

The cost needs to be spelled out: the first index build takes about an hour per 200K lines by the official figure, and burns your agent's quota; the index for a 700K-line system is about 300K tokens, and reading it in every new conversation isn't cheap. "Zero final defects" comes from the team's own paper, with no third-party replication.

Discounting this jump

Before this it gained only five to eight stars a day. It started climbing on the 18th, the 19th snapshot recorded +161, and by noon the total was 2,321, nearly 400 in two days. But it wasn't on GitHub Trending, had zero Hacker News posts, and the only recommendation post findable on X had 422 views, which can't drive this volume. Star gains rise and fall with Beijing hours; of the 120 most recent starring accounts I sampled, 25 listed a location and 20 of those were in China, with sign-up years spread from 2011 to 2026, which doesn't look faked. Most likely a recommendation in a WeChat official account or WeChat group (inference), which can't be searched from outside. More stars doesn't mean more users: in these two days it gained only 10 new forks and two new issues.

Money, and whether to follow

It's free for now. But the license is FSL-1.1-MIT (source visible, no competing products, converts to MIT after two years), the repo carries patent and trademark statements, the website already has a login entry, and the team's other, closed-source coding agent shipped five versions in five days. The door to monetization is left open, with no price yet.

If you want to follow, don't build another code graph; that's a red ocean with tens of thousands of stars. You can copy its cut: turn "the agent's understanding of the system" into text in the repo that can be diffed, reviewed and rolled back, with install instructions written directly for the agent to read. Avoid its heaviness: nine MCP tools and a pile of self-coined terms, and many of the issues are stuck workflows. The same idea as one command that builds in ten minutes gives a small team a better shot.

A real entry from the README: one line per file, and it names its difference from CodeGraph directly