Every AI platform invents its own way to define agents - CLAUDE.md,
AGENTS.md, cursor-rules.md, copilot-instructions.md, declarative
manifests... The concepts are always the same; only the files differ.
AgentDef is an open specification that captures what an agent IS -
identity, instructions, skills, workflows, tools - in one canonical,
human-readable directory. Adapters generate the file each platform
wants; importers convert your existing files back into the canonical
form (505 real community agents imported with zero failures).
Quick Start
An AgentDef agent is just a directory. The spec defines canonical
components - agent.md (identity), manifest.yaml (composition),
instructions/, and optionally skills/, workflows/, tools/,
knowledge/, memory/, runtime/, evals/ - everything is plain
markdown and YAML, made to live in git.
The smallest valid agent:
my-agent/
├── agent.md # Who is this agent?
├── manifest.yaml # What does it use?
└── instructions/
└── core.md # How does it behave?
Copy the starter template and fill in your content -
or let agentdef init do it for you:
CLI
Install AgentDef:
pip install agentdef
8 adapters (Claude, OpenAI AGENTS.md, Cursor, GitHub Copilot, LangGraph, M365 Copilot, OpenAI Assistants, CrewAI). 9 importers (those plus Copilot Studio, Letta .af, and any markdown prompt file).
agentdef init my-agent --yes # scaffold a valid agent
agentdef validate ./my-agent/
agentdef adapt claude ./my-agent/ --output CLAUDE.md
agentdef import copilotstudio agent-doc.md --output ./my-agent/
agentdef sync ./my-agent/ # regenerate all configured framework files
agentdef list # every adapter/importer framework
Every import writes an
IMPORT_REPORT.md: what mapped, what was inferred, what was dropped -
nothing is dropped silently.
Take the tour
Explore this repo's own architecture as an interactive knowledge graph, with a guided 10-step walkthrough of the codebase:
▶ Open the live dashboard - generated from the code itself with the understand-anything plugin, so it can't silently go stale.
Documentation
Full docs: https://agentdef.github.io/agentdef/
- Getting started - first agent, validate, adapt, sync
- Migrate in 5 minutes - from CLAUDE.md, Copilot, Cursor, AGENTS.md, or any prompt file
- Examples - including a real end-to-end demo (Claude subagent → AgentDef → Copilot)
- Importer scorecard - Comparisons - FAQ
- Specification - spec 0.5, with a public conformance corpus
Status
Spec 0.5.0 - tooling 0.2.0 - see STATUS and the ROADMAP. The format is stable enough for experimentation and feedback; breaking changes are possible before 1.0.
Contributing
See CONTRIBUTING.md. Want a framework we don't cover? Open a framework request.
License
Apache 2.0 - see LICENSE.
Metadata
Release files for agentdef 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| agentdef-0.2.0.tar.gz | 54.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| agentdef-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 119.4 kB
Release files / agentdef-0.2.0.tar.gz
| Download URL | agentdef-0.2.0.tar.gz |
|---|---|
| Size | 54.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1e37416fbe9b81e54af0dc193b5194a10d6f02cc108badcb8fd354cc74bae669
|
|
BLAKE2b-256 checksum How to use checksums |
7e60bcba8dc751293ea86b7be000b1e1b17883101109d42d8fc63985371ab215
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 4, 2026.
Transparency logRelease files / agentdef-0.2.0-py3-none-any.whl
| Download URL | agentdef-0.2.0-py3-none-any.whl |
|---|---|
| Size | 65.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3e8280abad12f52e3c814cccc179462cf0e76931db45185c459c6a05b91efc6b
|
|
BLAKE2b-256 checksum How to use checksums |
a2bec2b4b3ff72f29a564bb26fed8467cb4e85b355c2e929c90a0f57d8098ecc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 4, 2026.
Transparency log