Skip to content

Releases

v0.4.0

Choose a tag to compare

@Nom-nom-hub Nom-nom-hub released this 02 Jul 23:02

[0.4.0] - 2026-07-02

Added

  • Added experimental native AgentML syntax for AGENT.agent and .skill files.
  • Added native syntax parser, lexer, AST, diagnostics, and conversion pipeline.
  • Added --format auto|native|yaml support for contract and skill validation.
  • Added agentml init --syntax native for generating native syntax contracts.
  • Added agentml convert --to native for 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

Choose a tag to compare

@Nom-nom-hub Nom-nom-hub released this 30 Jun 22:09

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 brief output.
  • Added matched skills to agentml close reports.
  • Added MCP skill tools for listing, inspecting, matching, and retrieving skill guidance.
  • Added docs/skills.md documentation.

Changed

  • Improved AGENTS.md and generated AGENTS.md with 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

Choose a tag to compare

@Nom-nom-hub Nom-nom-hub released this 30 Jun 21:05
93f0aaa

What's Changed

New Contributors

Full Changelog: v0.2.1...v0.2.2

v0.2.1

Choose a tag to compare

@Nom-nom-hub Nom-nom-hub released this 30 Jun 20:19

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

Choose a tag to compare

@Nom-nom-hub Nom-nom-hub released this 30 Jun 02:28

What's new in v0.2.0

AGENTS.md generation

  • New agentml agents-md command generates AGENTS.md from AGENT.agent (with --write and --force)
  • agentml init --detect now generates AGENTS.md alongside AGENT.agent
  • New flags: --no-agents-md, --no-context, --no-brief
  • agentml doctor checks AGENTS.md and warns when missing
  • agentml inspect lists 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.rs without tests (risk +45)
    • Run rm -rf target/ (destructive action — blocked)
    • Report completion without validation (rejected)
  • **Result: Risk score 100/100 — BLOCKED

v0.1.3

Choose a tag to compare

@Nom-nom-hub Nom-nom-hub released this 30 Jun 01:27

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 doctor command for repo health checks
  • agentml completions command for shell tab completion (bash, zsh, fish)
  • agentml version command for explicit version display
  • agentml mcp command for Model Context Protocol server

Changed

  • Improved --version output 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 init with template support (generic, rust-cli, nextjs-app, python-package)
  • agentml validate for contract validation
  • agentml inspect for project information
  • agentml context for LLM context generation
  • agentml self-check for dogfooding validation
  • agentml diff for git diff audit with risk scoring
  • agentml brief for agent operating brief generation
  • agentml skill subcommands for skill management
  • agentml run for task execution
  • Skill file support with .skill extension
  • AGENT.agent contract format
  • Risk scoring system (0-100)

AgentML v0.1.0 — Contract Language for AI Coding Agents

Choose a tag to compare

@Nom-nom-hub Nom-nom-hub released this 29 Jun 00:59

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
  • .skill files — 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 context

That 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 doctor

Dogfooding Proof

AgentML uses AgentML to govern its own development.

  • AGENT.agent — project-level execution contract
  • skills/*.skill — 4 validated reusable skills
  • agentml self-check — validates the project against its own contract
  • .github/workflows/agentml-self-check.yml — enforces dogfooding in CI

Run it:

cargo run -- self-check

Expected 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 extends or skill composition UI yet.

Links

License

MIT — see LICENSE.