Report · marked 26 Aug 2026
pingcap/tidb
Ready for an agent to work in without hand-holding.
Go · 40,472 stars · 7,604 files · branch master
Higher is better. Accent marks what is costing you most.
Fix these first
The full marking
Every deduction below names the file or setting it came from.
Instructions 27/27 A+
Whether the repo tells an agent how to behave before it starts guessing.
Setup 16/20 A-
Whether an agent can install the project and get it running without a human.
Verification loop 22/22 A+
Whether an agent can check its own work. This is the category that most decides whether agent output is trustworthy.
Context economy 9/20 C
Whether the repo fits in a context window, or fights it.
Here is your AGENTS.md
Drafted from what is actually in this repository: the install
command from your lockfile, the commands you already declare, your real directory layout. Anything
marked TODO needs a person. Save it at the root as AGENTS.md.
# AGENTS.md TiDB is built for agentic workloads that grow unpredictably, with ACID guarantees and native support for transactions, analytics, and vector search. No data silos. No noisy neighbors. No infrastructure ceiling. ## Setup ``` go mod download ``` ## Commands ``` make help make help make default make server-admin-check make buildsucc make dev # run locally ``` ## Layout - `pkg/` 3684 source files - `lightning/` 631 source files - `br/` 485 source files - `tests/` 128 source files - `dumpling/` 116 source files - `build/` 53 source files ## Conventions - Tests live alongside the code they cover, following `br/COMPATIBILITY_TEST.md`. - CI defines what passing means. See `.github/workflows/bazel-build-crossbuild.yml`, and keep it green. - TODO: add the two or three conventions a newcomer always gets wrong here. ## Gotchas - Generated output is committed (`build/`). Search will return the compiled copy, so edit the source, not that. - `pkg/parser/parser.go` is 8001KB. It will not fit comfortably in context, so read it in parts. --- Drafted by agentreadme.com from what is in this repository. Everything marked TODO needs a human. Check it in as AGENTS.md at the root.
Open the raw markdown
or
curl -o AGENTS.md agentreadme.com/draft/pingcap/tidb.md
Show the mark
The badge re-checks daily, so it keeps up as the repository changes. Use mark again to force it now.
[](https://agentreadme.com/pingcap/tidb)Other Go repositories, marked
Think this mark is wrong?
Every deduction above names the file it came from, so this can be settled by looking. If a check missed something, that is a rule worth fixing.