Repository navigation
Releases
Releases · Nom-nom-hub/agentml
v0.4.0
[0.4.0] - 2026-07-02
Added
- Added experimental native AgentML syntax for
AGENT.agentand.skillfiles. - Added native syntax parser, lexer, AST, diagnostics, and conversion pipeline.
- Added
--format auto|native|yamlsupport for contract and skill validation. - Added
agentml init --syntax nativefor generating native syntax contracts. - Added
agentml convert --to nativefor converting YAML-compatible contracts to native syntax. - Added native examples under
examples/native/. - Added native syntax documentation in
docs/syntax.md.
Changed
- Improved native syntax diagnostics with line, column, and suggested fixes.
- Improved generated native contracts with canonical colon-less syntax.
- Improved safety, output, and diff policy handling in native conversion.
- Standardized validation commands to use
cargo fmt --check. - Improved risk-audit test coverage detection for Rust integration tests.
Fixed
- Fixed native boolean token parsing.
- Fixed native output final report conversion.
- Fixed native safety policy conversion.
- Fixed native stack conversion.
- Fixed risk-system handling of nested unwired test files.
Security
- Native syntax preserves forbidden paths, forbidden actions, approval requirements, and secrets policy fields.
- Native skills remain advisory and do not execute commands.
v0.3.0
Added
- Added active skill discovery with
agentml skill list. - Added skill inspection with
agentml skill inspect. - Added skill matching with
agentml skill match. - Added default maintainer skill library for repository, Rust CLI, contracts, skills, docs, release, security, MCP, diff, task closure, Next.js, Node, and Python workflows.
- Added matched skills to
agentml briefoutput. - Added matched skills to
agentml closereports. - Added MCP skill tools for listing, inspecting, matching, and retrieving skill guidance.
- Added
docs/skills.mddocumentation.
Changed
- Improved
AGENTS.mdand generatedAGENTS.mdwith skill usage guidance. - Improved agent operating briefs with relevant skill guidance.
- Improved task closure reports with skills used.
Security
- Skill inspection blocks path traversal and secret-looking files.
- Skills remain advisory and do not execute commands.
- Skills do not override
AGENT.agent.
v0.2.2
What's Changed
- fix-init-generate-valid-detected-contracts by @Nom-nom-hub in #1
New Contributors
- @Nom-nom-hub made their first contribution in #1
Full Changelog: v0.2.1...v0.2.2
v0.2.1
Fixed
- AGENT.agent meta.version now matches Cargo.toml (0.2.0)
- AGENT.agent CLI description lists all v0.2.0 commands
- AGENT.agent workflows include audit_changes (diff + close), doctor, self-check
- AGENT.agent validation section includes doctor and self-check
- docs/release.md steps updated for current v0.2.x line
v0.2.0 — AGENTS.md generation, examples, dangerous change demo
What's new in v0.2.0
AGENTS.md generation
- New
agentml agents-mdcommand generates AGENTS.md from AGENT.agent (with--writeand--force) agentml init --detectnow generates AGENTS.md alongside AGENT.agent- New flags:
--no-agents-md,--no-context,--no-brief agentml doctorchecks AGENTS.md and warns when missingagentml inspectlists recommended generated files
Real-world examples
- Rust CLI — parser/validator safety, publish prevention, fmt/clippy/test enforcement
- Next.js App — env secrets, database safety, build verification
- Node Package — npm token protection, release gates, version bump safety
- Python Package — PyPI protection, ruff/mypy/pytest enforcement, build artifact safety
Dangerous change demo
- Proof demo showing AgentML catching an AI agent attempting to:
- Read
.env(forbidden path — blocked) - Modify
src/validator.rswithout tests (risk +45) - Run
rm -rf target/(destructive action — blocked) - Report completion without validation (rejected)
- Read
- **Result: Risk score 100/100 — BLOCKED
v0.1.3
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog,
and this project adheres to Semantic Versioning.
[0.1.3] - Unreleased
Added
agentml doctorcommand for repo health checksagentml completionscommand for shell tab completion (bash, zsh, fish)agentml versioncommand for explicit version displayagentml mcpcommand for Model Context Protocol server
Changed
- Improved
--versionoutput with explicit version command - Better README documentation for crates.io release
- Added SECURITY.md for vulnerability reporting
[0.1.2] - crates.io release
Added
agentml initwith template support (generic,rust-cli,nextjs-app,python-package)agentml validatefor contract validationagentml inspectfor project informationagentml contextfor LLM context generationagentml self-checkfor dogfooding validationagentml difffor git diff audit with risk scoringagentml brieffor agent operating brief generationagentml skillsubcommands for skill managementagentml runfor task execution- Skill file support with
.skillextension - AGENT.agent contract format
- Risk scoring system (0-100)
AgentML v0.1.0 — Contract Language for AI Coding Agents
AgentML v0.1.0 — Contract Language for AI Coding Agents
AgentML is a markup language and CLI for defining how AI agents understand, modify, validate, and report on software projects.
What AgentML Is
AgentML provides:
AGENT.agent— a structured contract file that lives in your repo root.skillfiles — reusable, installable AI capabilities- CLI commands —
init,validate,inspect,run,context,skill,self-check,diff,doctor - Validation engine — 9 semantic rules with risk scoring (0-100)
- JSON Schema — machine-readable contract definition
Why It Exists
AI coding agents are powerful but need guardrails. Without contracts:
- Agents edit files they shouldn't
- Destructive commands run without confirmation
- Sensitive files are modified blindly
- Validation steps are skipped
- Reports are inconsistent
AgentML solves this by making the contract explicit, machine-readable, and enforced by the CLI.
Install from Source
git clone https://github.com/Nom-nom-hub/agentml.git
cd agentml && cargo install --path .Requirements: Rust 1.70+, Cargo.
Quickstart
# 1. Install
cargo install --path .
# 2. Initialize in your project
cd your-project
agentml init --template generic
# 3. Validate
agentml validate AGENT.agent
# 4. Self-check
agentml self-check
# 5. Export context
agentml contextThat is the entire workflow. You now have an AGENT.agent file governing your project.
Main Commands
agentml init [path] [--template <generic|rust-cli|nextjs-app|python-package>] [--force]
agentml validate <file> [--strict]
agentml inspect <file>
agentml run <task> [file]
agentml context [file] [--output <path>]
agentml skill validate <file>
agentml skill pack <folder>
agentml self-check
agentml diff
agentml doctorDogfooding Proof
AgentML uses AgentML to govern its own development.
AGENT.agent— project-level execution contractskills/*.skill— 4 validated reusable skillsagentml self-check— validates the project against its own contract.github/workflows/agentml-self-check.yml— enforces dogfooding in CI
Run it:
cargo run -- self-checkExpected result:
══ AgentML Self-Check ══
Contract: AGENT.agent
Status: valid
Skills:
agentml-validator.skill: valid
rust-cli-maintainer.skill: valid
spec-writer.skill: valid
release-auditor.skill: valid
Safety:
✔ forbidden_paths
✔ destructive_actions_policy
✔ secrets_policy
Validation:
fmt: cargo fmt -- --check
clippy: cargo clippy --all-targets -- -D warnings
test: cargo test
self_validate: cargo run -- validate AGENT.agent
Result:
Dogfood status: PASS
Risk score: 5/100
Known Limitations
- AgentML is a contract layer, not a sandbox or runtime
- The CLI does not execute arbitrary commands in MVP. It validates, inspects, and plans.
- YAML is the MVP format. Future versions may add native syntax.
- No built-in agent runtime integration yet.
- No
extendsor skill composition UI yet.
Links
- Repository: https://github.com/Nom-nom-hub/agentml
- Documentation: docs/
- Examples: examples/
- Quickstart: docs/quickstart.md
- Spec: docs/spec.md
- Security: docs/security.md
- Templates: docs/templates.md
- CI: docs/ci.md
License
MIT — see LICENSE.