Agent Vault
The agent vault is a machine-wide library of agent templates. It ships with a set of bundled defaults (named personas and generic specialists) and lets you add your own. Templates are project-agnostic — you import a template into a project when you want to use it there.
For per-project agent CRUD (adding, editing, memory) see Concepts — Agents.
Two layers
Section titled “Two layers”| Layer | Location | Mutability |
|---|---|---|
| Bundled | <APX package>/assets/agent-vault-defaults/<slug>.md | Read-only on disk. Always visible unless tombstoned. |
| User | ~/.apx/agents/<slug>.md | Read-write. A user file with the same slug shadows the bundled one. |
Editing a bundled template is copy-on-write — APX materializes a copy in your user layer the moment you save. Deleting a bundled template tombstones it so it stays hidden until you restore it. Deleting a user-only template removes the file.
Bundled templates
Section titled “Bundled templates”Named team
Section titled “Named team”A characterful crew already used in production by Acme:
| Slug | Role | Strengths |
|---|---|---|
roby-orchestrator | Pipeline orchestrator | Autonomous task routing, multi-agent coordination |
arch-architect | Software architect | System design, tradeoffs, ADRs |
cody-developer | Senior developer | Code, refactors, technical leadership |
tessa-qa | QA / tester | Reality checks, test plans, real-user empathy |
max-marketing | Growth hacker | Content, campaigns, SEO, copy |
sid-security | Security specialist | Audits, threat models, hardening |
rocky-pm | Senior PM | Tasklists, roadmaps, stakeholder comms |
vera-ui | UI/UX reviewer | Visual audits, usability |
finn-billing | Billing / commercial ops | Stripe, invoicing, plan logic |
Generic specialists
Section titled “Generic specialists”Plain functional roles — useful when you want the capability without a persona:
| Slug | Role |
|---|---|
development | Engineering & code |
marketing | Marketing & growth |
ops | Ops, deployments & incidents |
qa | Quality assurance & testing |
support | Customer support & escalations |
List the vault
Section titled “List the vault”# All visible templates (bundled + user overrides)apx agent vault list$ apx agent vault list vault: ~/.apx/agents cody-developer developer openrouter:meta-llama/llama-3.3-70b-instruct [bundled] tessa-tester qa openrouter:meta-llama/llama-3.3-70b-instruct [bundled] rocky-architect architecture openrouter:meta-llama/llama-3.3-70b-instruct [bundled] sofia backend reviewer ollama:llama3.2:3b [user] cody-developer developer anthropic:claude-sonnet-4-5 [override]
Each entry is tagged [bundled], [user], or [override] (a user file that shadows a bundled
slug).
Import a template into a project
Section titled “Import a template into a project”# Link the vault template (reads it from ~/.apx/agents/ at runtime)apx agent import cody-developer
# Copy the file into .apc/agents/ for local editsapx agent import tessa-qa --copy
# Overwrite an existing project-local definitionapx agent import roby-orchestrator --copy --forceAfter importing, the agent appears in apx agent list and is available to the project.
Create a new template
Section titled “Create a new template”apx agent vault add reviewer \ --role "Code reviewer" \ --model ollama:llama3.2:3b \ --language es \ --skills code-review,git \ --description "Reviews PRs and pushes back on hand-wavy diffs."This writes ~/.apx/agents/reviewer.md. The new template is immediately visible in
apx agent vault list and importable into any project.
Hide and restore a bundled template
Section titled “Hide and restore a bundled template”# Hide (tombstone) a bundled default you don't want to seeapx agent vault rm tessa-qa
# Bring it backapx agent vault restore tessa-qa
# List everything including tombstoned templatesapx agent vault list --allTombstoning only affects listings and imports — the bundled file on disk is never deleted.
Template file format
Section titled “Template file format”Vault templates use the same format as project agents:
---role: Code reviewermodel: openrouter:meta-llama/llama-3.3-70b-instructdescription: Reviews PRs and pushes back on hand-wavy diffs.language: esskills: code-review, gittools: read_file, list_agentsis_master: false---
<!-- The agent's system prompt extension goes here. Plain markdown. -->Frontmatter fields
Section titled “Frontmatter fields”| Field | Effect |
|---|---|
role | Shown in CLI and web UI. Added to the agent’s system prompt as “Role: …”. |
model | Default model for engine routing. |
description | Shown in vault listings and the web Agent Defaults grid. |
language | Adds “Default language: <code>” to the system prompt. |
skills | Skill slugs loaded for this agent’s turns. |
tools | Tool hints; actual callable tools depend on the invocation surface. |
is_master | If true, marked as a master agent in the project (badge + ordering). |
Where files live
Section titled “Where files live”<APX package>/assets/agent-vault-defaults/<slug>.md ← bundled (committed to APX repo)~/.apx/agents/<slug>.md ← user vault (your overrides)<project>/.apc/agents/<slug>.md ← project-local copy (after --copy)~/.apx/agents/.removed.json ← tombstones listSee also
Section titled “See also”- Concepts — Agents — per-project agent CRUD, memory, and the
AGENT.mdformat - Capabilities — Skills — reusable instruction sets you can attach to agents