biomcp
AGENTS.md646 starsChanged 59 days agoMITView on GitHub
BioMCP is a Rust CLI and MCP server with a Python docs/contract harness. The Rust runtime lives under src/; Python tests, docs checks, and executable contracts exercise the shipped CLI/MCP surface. BioMCP is a biomedical CLI and MCP server. For example, search from the CLI with biomcp search articles --gene BRAF. Installed packages place agent skills in share/biomcp/skills/. Packaged Markdown documentation is available locally and on the canonical site at https://biomcp.org/: Run them with make spec. The spec gates use…
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 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 repository3 other files it gives its agents.
- docs/llms-full.txtllms.txt
- docs/llms.txtllms.txt
- biomcpSkill
The file
We split this AGENTS.md into the rules it gives an agent
5 rules. About 0 are common, 2 are distinctive, and 3 are 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.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Very specific: line 35
Run them with make spec. The spec gates use the standalone mustmatch test binary through scripts/run-specs.sh.
- Distinctive: line 58
Run the standard gates directly:
- Distinctive: line 77
Use this hybrid repo rail for dispatched work:
- Very specific: line 99
Every release works the checklist at sdlc/release-checklist.md, in order, with evidence for each item.
- Very specific: line 103
Do not commit secrets, PHI, absolute local paths, planning notes, or March runtime artifacts.
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 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
AGENTS.md — BioMCP
BioMCP is a Rust CLI and MCP server with a Python docs/contract harness. The
Rust runtime lives under src/; Python tests, docs checks, and executable
contracts exercise the shipped CLI/MCP surface.
Packaged agent guide
BioMCP is a biomedical CLI and MCP server. For example, search from the CLI
with biomcp search articles --gene BRAF.
Installed packages place agent skills in share/biomcp/skills/. Packaged
Markdown documentation is available locally and on the canonical site at
https://biomcp.org/:
| Topic | Packaged documentation | Website |
| Blog | share/biomcp/docs/blog/ | https://biomcp.org/blog/ |
| Charts | share/biomcp/docs/charts/ | https://biomcp.org/charts/ |
| Concepts | share/biomcp/docs/concepts/ | https://biomcp.org/concepts/ |
| Getting started | share/biomcp/docs/getting-started/ | https://biomcp.org/getting-started/ |
| How-to | share/biomcp/docs/how-to/ | https://biomcp.org/how-to/ |
| Reference | share/biomcp/docs/reference/ | https://biomcp.org/reference/ |
| Sources | share/biomcp/docs/sources/ | https://biomcp.org/sources/ |
| User guide | share/biomcp/docs/user-guide/ | https://biomcp.org/user-guide/ |
Repository contract shape
Behavioral contracts are mustmatch executable docs at:
spec/*.mdRun them with
make spec. The spec gates use the standalonemustmatch testbinary throughscripts/run-specs.sh. Cargo artifact preparation and fixture standup belong in the runner andscripts/prepare-spec-artifacts.py, not in ad hoc docs. Specification pages execute prepared paths and must not invokecargo run,cargo build,cargo rustc,cargo test,cargo tree, orcargo metadata.- Unit/static layers run with
make test: Rust nextest first, then the Python CLI/MCP/docs contract lane.
Contract quick reference
spec/*.md make lint make test make spec rust-standards python-standards cli-design mustmatch testing-mindset
Gates
Run the standard gates directly:
make lint
make test
make specThere is intentionally no make check convention. make lint includes the
quality ratchet, make test includes both Rust and Python contract tests, and
make spec is the routine mustmatch contract gate.
Routine gates use --no-default-features so lint, test, and spec share one
small Cargo graph; that graph does not exercise AlphaGenome. Run make
full-feature-check for all shipped features and the AlphaGenome behavior tests.
make release-gate includes both lanes.
Skill rail
Use this hybrid repo rail for dispatched work:
- rust-standards
- python-standards
- cli-design
- mustmatch
- testing-mindset
Releases
docs/reference/release-process.md is the release runbook of record. A
published release builds five platform archives, publishes PyPI wheels through
the protected pypi environment, updates the Homebrew tap, and publishes
ghcr.io/genomoncology/biomcp for linux/amd64 and linux/arm64 with the
<version> and latest tags; latest moves only when the tag is the
repository's latest release and both platform smokes pass. A manual
workflow_dispatch with
container_only: true republishes only the container image for an already
published tag. Keep container publication in .github/workflows/release.yml;
spec/surface/docker-image.md and tests/test_release_workflow_provenance.py
enforce it.
Every release works the checklist at sdlc/release-checklist.md, in order, with evidence for each item. Ian cuts every release; the release bar is the tagged commit's green run.
Hygiene
Do not commit secrets, PHI, absolute local paths, planning notes, or March
runtime artifacts. Keep .march/ runtime state, .march-runtime/, local caches,
and generated build outputs out of git.
CI and merging
Push every change to a tickets/* branch first. CI runs on ticket branches; merge to main only after that branch's CI run has finished green. A started run does not count. No direct commits to main. A red main is fixed promptly, and it does not block a release by itself: the release bar is the tagged commit, which must have a finished green CI run and pass the release workflow. Ian ruled on both points on 2026-09-29.
CI skips the Rust jobs only when every file a push changes is documentation, an sdlc/ file, or a notes/ file; the classify job decides by the changed files, never by the commit message, and the repository-contract job still runs the docs and record tests plus the strict documentation build. Never rely on a commit-message prefix to skip CI.
Source licensing
State each source's terms plainly in its registry entry and on the licensing page. Label restricted terms as restricted. Users are responsible for their own licenses. BioMCP never buys a license or contacts a provider without Ian's approval.
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.

