Save the setup you want to repeat

An agent file packages a model choice, tools, rules, knowledge, and a default goal. A mode preset switches on a bundle of options. A plugin distributes skills and MCP server definitions together.

mini-a --agent > reviewer.agent.md

Edit the template to describe your reviewer, then run:

mini-a agent=reviewer.agent.md knowledge=README.md goal="Review the README for unclear installation steps."

The explicit goal overrides the file’s default goal. Explicit CLI options override profile settings. Keep credentials out of profiles you share; inherit your model configuration from the environment.

Choose a Toolkit agent as a starting point, or read the complete agent-file format. Use mode presets for shorter configuration bundles and Agent Plugins for distribution.

Agent Files and Plugins

mini-a lets you package an entire agent configuration — model, capabilities, tools, rules, knowledge, and persona — into a single markdown file with YAML frontmatter. Reuse and share agent profiles across your team or project without repeating command-line flags.

mini-a agent=examples/changelog-gen.agent.md goal="generate changelog"

See the Agent Files page for the complete reference: frontmatter keys, tool entry types, mini-a: overrides, relative file paths, precedence rules, and a full annotated example.

For portable bundles of skills and MCP servers, use Agent Plugins. For skill collections too large to list eagerly, store them as wiki pages and use the Virtual Skill Library (useskillswiki=true), which searches, previews, and reads one section at a time.


Agent Config Overrides

The mini-a: section in an agent file can now override parameter values that were not explicitly set on the CLI, including defaults previously applied by mode presets. Explicit CLI flags always win; agent-file values only affect unset defaults.

---
name: my-agent
mini-a:
  maxsteps: 30        # overrides default of 15 unless user passed maxsteps= explicitly
  useplanning: true   # enables planning unless user explicitly set useplanning=false
---

This lets agent authors set sensible defaults for parameters like maxsteps, useplanning, or planstyle without risking a conflict with intentional CLI flags.


Ready to Try It?

Get mini-a running in under a minute and explore these features yourself.