Gravitas
AGENTS.md445 starsChanged 56 days agoMITView on GitHub
Model-agnostic reliability runtime for coding agents. Invariants live in skills/gravitas/SKILL.md; enforcement lives in plugins/gravitas-antigravity/scripts/. Planning is conditional: gravitas decide --signals '{...}' → direct / compact / deep / replan with reason codes. No universal ceremony. Run before claiming done: python -m unittest discover -s tests (venv: .venv/bin/python). CI equivalent adds audit, validate, compile, doctor, skill structure, bundle drift, and claims checks.
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 35,196 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository5 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- gravitas-highstakesSkill
- gravitas-pythonSkill
- gravitasSkill
- gravitas-typescriptSkill
The file
We split this AGENTS.md into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Read target + tests + callers before editing.
- Distinctive: line 11
Never exact-retry a failure.
- Very specific: line 45
Run before claiming done: python -m unittest discover -s tests (venv: .venv/bin/python).
≈ “Common” is an estimate: at least 1 in 5 of the 45,344 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
GRAVITAS — Repository Guide for Agents
Model-agnostic reliability runtime for coding agents. Invariants live in
skills/gravitas/SKILL.md; enforcement lives in plugins/gravitas-antigravity/scripts/.
Kernel (always true)
- Read target + tests + callers before editing.
- Writes stay inside declared scope (
gravitas guard/ hooks deny the rest). - Completion needs fresh Gravitas-owned validator evidence (stale evidence blocks).
- Never exact-retry a failure; change diagnosis, context, or strategy.
- Contract criteria + required validators gate completion.
- Mark unverifiable claims explicitly.
Planning is conditional: gravitas decide --signals '{...}' →
direct / compact / deep / replan with reason codes. No universal ceremony.
Layout
├── skills/gravitas/ # Portable skill (kernel + references + resources)
├── skills/gravitas-highstakes/ # High-stakes checkpoint skill
├── plugins/gravitas-antigravity/ # Native runtime: scripts/, rules/, agents/, hooks.json
├── adapters/opencode/ # OpenCode agents, plugin shim, permission profiles
├── schemas/ # contract.json, evidence.schema.json, episode.schema.json
├── benchmarks/ # GravitasBench runner, manifest.yaml, cli.py
├── eval/tasks/ # 30+ task specs (registry)
├── tests/ # unittest suite (run: python -m unittest discover -s tests)
├── docs/adr/ # Architecture decision records (read these first)
├── dist/gravitas-antigravity/ # Generated bundle (scripts/build-native-bundle.sh; do not hand-edit)
├── gravitas_cli.py / gravitas_init.py # `gravitas` console scriptCommands
gravitas doctor— runtime/project checks (checkout, installed, project scopes)gravitas init [--host auto|opencode|antigravity]— scaffold host configgravitas decide/validators/context/summarize/explain— policy, retrieval, stategravitas validator/repro— owned evidence executiongravitas bench ...— benchmark plumbing (synthetic fixtures; not publishable evidence)gravitas migrate/gc/verify— maintenance
Verification
Run before claiming done: python -m unittest discover -s tests
(venv: .venv/bin/python). CI equivalent adds audit, validate, compile,
doctor, skill structure, bundle drift, and claims checks.
Docs
docs/quickstart.md,docs/concepts.md,docs/hosts.md,docs/configuration.mddocs/benchmark.md(methodology + honesty gates),docs/troubleshooting.mddocs/contributing.md(architecture + test expectations),SECURITY.md(enforcement limits)docs/adr/— why things are the way they are
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

