Templates are versioned and tagged for discoverability. Each template is independent of the agents deployed from it — changes to a template do not affect existing deployments.
Template Structure
| Field | Description |
|---|---|
name | Human-readable template name |
description | What this template produces and its intended use case |
baseAgent | Base agent definition: purpose, identity, execution model |
skills | Pre-attached skill IDs with configuration |
model | Default model binding and override constraints |
prompt | Core identity prompt and extension prompt |
constraints | Timeout, max tool calls, token limits, sandbox mode |
tags | Discovery tags: code-review, data-analysis, devops, etc. |
Deploy Flow
ThecreateFromTemplate flow takes a template from gallery to live agent:
- Browse gallery — filter by category, search by tag. Templates display usage counts showing adoption.
- Select template — review the bundled definition: purpose, skills, model config, governance defaults.
- Customize (optional) — override the extension prompt, swap the model (within constraints), toggle optional tools, tighten governance limits.
- Deploy to gateway — Convex creates a new agent definition from the template contents and binds it to the selected gateway.

