agentsml-impl
agentsml-impl is the reference compiler and implementation surface for AgentsML.
It ingests AgentsML definitions (YAML or JSON) and compiles them into functioning code, export artifacts, and standard configurations for various target AI agent runtimes and protocols.
This repository is distinct from the core spec repository. While agentsml/ contains the standard definitions and schemas, agentsml-impl/ brings them to life via a Design 2 IR-first compilation approach.
Supported Targets
See Target Support Matrix for the current registry coverage, grouped by target category and maturity. The registry lists 31 targets: 22 runnable generators, 9 export generators, and 0 scaffolds. Certification: 15 external-runtime, 16 offline-behavioral, 0 structural. Registry level is retained for compatibility but does not imply runtime maturity.
Quickstart
Installation
# Clone the repository
git clone https://github.com/indoos/agentsml-impl.git
cd agentsml-impl
# Install locally
pip install -e .
Usage
The CLI is available as both agentsml and agentsml-impl.
1. Validate an AgentsML document:
agentsml validate path/to/agent.yaml
2. Compile to a Target Framework:
agentsml generate path/to/agent.yaml --target pydantic-ai --out my_project
3. Run Diagnostic Checks:
agentsml doctor path/to/agent.yaml --target crewai
4. Compile (alias of generate):
agentsml compile path/to/agent.yaml -t langgraph -o my_project
5. Render the execution graph:
agentsml graph path/to/agent.yaml --format mermaid
6. List registered targets with maturity and certification:
agentsml list-targets
Development & Testing
Run the complete structural, golden, conformance, and behavioral suite:
pip install -e ".[dev]"
pytest
Run offline behavioral and external-runtime certification:
python scripts/run_certification.py
uv run --python 3.12 --with pytest --with 'pydantic-ai==1.107.0' --with 'langchain>=1.0,<2' --with 'langgraph==1.2.20' --with 'langchain-openai==1.7.4' --with 'google-adk==2.14.0' --with 'a2a-sdk[http-server]>=1.3.0' --with 'git+https://github.com/openai/swarm.git' --with 'smolagents[openai]>=1.0.0' --with 'anthropic>=0.30.0' --with 'crewai>=0.80.0' --with 'llama-index-core>=0.11.0' --with 'llama-index-llms-openai>=0.1.0' --with 'agno>=1.0.0' --with 'ag2==1.3.1' --with 'uvicorn>=0.30' --with 'strands-agents==1.65.0' --with 'semantic-kernel==1.47.0' --with 'protobuf' python scripts/run_external_certification.py --suite a
Structural tests prove artifact shape and syntax. Offline behavioral tests execute generated helpers or validate generated protocol artifacts against semantic contracts. External-runtime tests install and exercise the real target SDK or runtime against deterministic fixtures. Fifteen targets are external-runtime certified and the remaining sixteen are offline-behavioral certified; see the support matrix for per-target evidence.
Changelog
See CHANGELOG.md.
Adding a Target
Please refer to the Adapter Authoring Guide for instructions on creating a new target generator.
License
MIT. See LICENSE.
Metadata
Release files for agentsml-impl 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 | Provenance | Actions |
|---|---|---|---|---|
| agentsml_impl-0.2.0.tar.gz | 136.8 kB | Without provenance | Details for agentsml_impl-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| agentsml_impl-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for agentsml_impl-0.2.0-py3-none-any.whl |
Total release size: 328.9 kB
Release files / agentsml_impl-0.2.0.tar.gz
| Download URL | agentsml_impl-0.2.0.tar.gz |
|---|---|
| Size | 136.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
56cb55b2035a828aae4a2cc9305ef3fe05a0ac94e4d2895460090f68044e6ef1
|
|
BLAKE2b-256 checksum How to use checksums |
44662a8a1197d75aeac73740819f56a65613a9d430775be74a2c99f5469f258f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / agentsml_impl-0.2.0-py3-none-any.whl
| Download URL | agentsml_impl-0.2.0-py3-none-any.whl |
|---|---|
| Size | 192.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6bd560ada2d84ba11b8d4f438655cb184ba6fd927fe6623fdcba70971a2e00c8
|
|
BLAKE2b-256 checksum How to use checksums |
13636dc40c0676d8b38381462fb70aeb8ce2032e4877068cc19624a2e0f51b1f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for agentsml-impl 0.2.0
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.