Agent blueprints
An agent blueprint defines one agent: its instructions, the expert agents it can call, the tools it uses, and its default model settings. It is a folder of Markdown files with a small amount of frontmatter, so you can read it, copy it, and edit it with any text editor.
Each session runs exactly one blueprint. Starting a session with a different blueprint replaces the agent for that session; it does not stack on top of another one. The default “Standard agent” is itself a blueprint.
Folder layout
Section titled “Folder layout”Directoryearthscope-single-agent/
- AGENT.md the blueprint’s root definition
Directoryexperts/
- main.md the root expert
Directoryskills/
Directoryacquire-earthscope-gnss/
- SKILL.md a procedure the agent loads when it needs it
Directorycatalogs/ optional interactive views the agent may produce
- …
- README.md
Other optional folders are prompts/, profiles/, and commands/. A marketplace repository holds one or more of these folders at its top level.
AGENT.mdis the root definition. Its frontmatter is read by CLIO, and its body is documentation for people.experts/holds one Markdown file per expert. An expert is one agent loop with its own prompt, tools, and optional model settings.skills/holds procedures. A skill is a folder with aSKILL.mdfile. The agent sees each skill’s name and description, and loads the full text only when the task calls for it.
AGENT.md
Section titled “AGENT.md”This is a minimal blueprint, modeled on the Base Agent in the marketplace:
---id: my-agenttitle: My Agentversion: 0.1.0description: A general-purpose agent for the files in this workspace.root_expert: baseblueprint: format: agent-blueprint-v1experts: - experts/base.md---
# My Agent
Notes for people: what this agent is for and how to try it.The fields that matter most:
| Field | Meaning |
|---|---|
id |
A stable identifier, unique among installed blueprints. |
title, description, version |
What the interface shows. |
root_expert |
The id of the expert that receives your messages. |
blueprint.format |
agent-blueprint-v1. |
experts |
The expert files, as paths relative to the blueprint folder. |
mcp_servers |
Tool servers the blueprint needs. See Tools and MCP servers. |
defaults |
Default settings, for example prompt_profile, and optionally a provider and model. |
requires |
A minimum CLIO version, for example clio_agent: ">=0.9.4.17". |
Experts
Section titled “Experts”Each file in experts/ has its own frontmatter. The root expert from the example above:
---id: basetitle: Base Agenttier: 1role: orchestratormodule: kind: reactsignature: inputs: question: description: The user's request. type: string outputs: answer: description: The final answer to the user's request. type: stringtools: - shell_bash - fs_read_file - fs_propose_edit - fs_apply_edit_write---
You are a careful assistant working in the user's workspace. Inspect filesbefore answering questions about them.The body of an expert file is its system prompt. The tools list names the tools the expert may use.
Declared experts become child sessions
Section titled “Declared experts become child sessions”A root expert can name the experts it may call. The marketplace’s EarthScope blueprint does it like this:
---id: maintier: 1module: kind: reactchildren: - geospatial - data - analysis - visualization---Each child file names its parent with parent: main. When the agent decides to use an expert, CLIO starts it as a real child session with its own transcript, tools, and evidence. Several children can run in parallel.
An agent can only call experts its blueprint declares. CLIO checks every parent-to-child call against the declared tree, and it rejects the rest. Invalid blueprints are caught when you validate or install them: duplicate expert ids, missing parents, cycles, and references to tools that do not exist. A broken expert shows as disabled with a diagnostic instead of failing silently.
Install, update, and remove
Section titled “Install, update, and remove”Use Marketplaces and blueprints for the illustrated browsing guide, and Add, reload, and remove for installation and update workflows.
An installed blueprint is a recorded snapshot with its source, revision, and checksum. Reloading is an explicit update operation. CLIO validates the staged copy before replacing the existing installation; validation may start declared services to check their tools. Normal permissions still apply when the agent runs.
Write your own
Section titled “Write your own”-
Copy a small blueprint, such as
base-agentfrom the marketplace repository, into a new folder. -
Change
id,title, and the expert prompt. Add the tools the expert needs, and anymcp_serversit depends on. -
Add the folder as a marketplace: put it in a Git repository or a local folder that has one blueprint folder at its top level, and use Add marketplace with that location.
-
Install it, then start a session with it.
If you work from the HTTP API, the blueprint routes are POST /v1/agent-blueprints/validate, POST /v1/agent-blueprints/install, POST /v1/agent-blueprints/{id}/update, and DELETE /v1/agent-blueprints/{id}.