Skip to content

About

A registry for *Mechs

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

MechRegistry

A registry of Mechs: AI agent-curated, ontology-grounded, evidence-backed knowledge bases.

Visit the registry

A Mech keeps one validated record per entity, with a LinkML schema, ontology-grounded identifiers, cited evidence and an append-only curation history. AI agents write most of it and people review it. The canonical Mech is DisMech. The fourteen Mechs of the X-Mech suite follow its pattern, and so does SOMAMech, which extracts environmental health papers. The registry also lists Mech-like resources such as ai-gene-review, which reviews existing GO annotations with the same practices, and KG-Registry itself.

MechRegistry is modeled on KG-Registry: every entry is a Markdown file with a YAML header, one LinkML schema governs the entries, and a Jekyll site on GitHub Pages renders them.

Layout

Path What it is
mech/<id>/<id>.md One entry per Mech. The YAML front matter is a Mech object.
src/mechregistry/schema/mechregistry.yaml The LinkML schema.
src/mechregistry/cli.py mechregistry validate, prettify, concat, config.
registry/ Generated: mechs.yml, mechs.json, mechs-summary.json.
_layouts/, _includes/, index.html, docs/ The Jekyll site.
_config_header.yml Site settings. _config.yml is generated from it plus the registry.
docs/schema/ Generated schema documentation.
tests/ Pytest suite.

Build

uv sync --dev
make all       # validate entries, write registry/, _config.yml, _data/schema.yaml, docs/schema/
make test
make lint
make site      # jekyll build via docker, into _site/
make serve     # jekyll serve on http://localhost:4000/mechregistry/

Validate one entry:

uv run mechregistry validate mech/dismech/dismech.md

Validation is closed: an unknown field or an unrecognized enum value fails. Product ids must start with the Mech id and a dot. Cross-reference targets must be Mech ids in the registry. make check-prefixes confirms every ontology prefix resolves at the Bioregistry, which the site links each one to.

Adding a Mech

Open a new Mech issue, or copy an existing entry to mech/<id>/<id>.md, fill it in, validate, and open a pull request. See Contributing.

Deployment

.github/workflows/pages.yml runs make all, builds the site with the GitHub Pages Jekyll action and deploys it. The repository's Pages source must be set to GitHub Actions. .github/workflows/qc.yml runs lint, validation, tests and a site build on every push and pull request.

Licensing

Registry data are released under CC0 1.0. Code is released under the BSD 3-Clause license in LICENSE. Each Mech carries its own license, recorded in its entry.

About

A registry for *Mechs

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages