Templates
Templates are pre-built agent configurations for common business use cases. Starting from a template gives you sensible instructions, tools, and skills that you can customise.
Built-in Templates
Xagent ships templates across five categories. A few are marked featured and appear first when you browse.
Support
| Template | What it does |
|---|---|
| AI Chatbot Agent ★ | Responds to live chat enquiries instantly. See Xagent Powered Support Bot. |
| Inbox Manager ★ | Keeps your inbox triaged — sorts new mail, drafts replies in your voice, and flags what you should handle yourself. |
| Email Agent (Support) | Monitors the support inbox, triages and responds to enquiries, and follows up on open tickets. |
| KB Writer | Turns your Google Drive and uploaded files into a support knowledge base of Markdown articles and FAQs that feed the AI Chatbot. |
Marketing
| Template | What it does |
|---|---|
| Social Media Content Manager ★ | Turns one brief into ready-to-publish posts and visuals for several platforms. |
| Content Agent | Produces research-backed, long-form content such as blogs. |
| Collateral Agent | Generates on-brand sales and marketing collateral. |
| LinkedIn Content Manager | Transforms a single brief into platform-native content. |
| SEO Brief Writer | Researches target keywords and produces ready-to-write SEO briefs. |
| Google Analytics Analyzer | Pulls data from your connected GA4 account and reports on performance. |
| Google Ads Recommendation | Reviews Google Ads performance against on-site conversions and recommends changes. |
| Growth Marketing Workforce | A workforce, not a single agent — a Growth Marketing Manager orchestrating specialist sub-agents. |
Sales
| Template | What it does |
|---|---|
| Email Agent (Sales) | Drafts personalised outreach and replies for your prospect list. |
| Email Lead Response Agent | Captures inbound leads from email, qualifies them, and books meetings. |
| Meeting Agent | Turns a meeting — from Zoom, Granola notes, or a transcript — into follow-up work. |
| Research & Enricher | Researches target accounts and contacts from public sources. |
Operations & General
| Template | What it does |
|---|---|
| Doc Summarizer & Action Extractor ★ | Upload any document and get back a clean, organised summary with the actions pulled out. |
| DevOps AI Agent | Monitors your AWS environment and triages alerts and incidents. |
One template creates a workforce, not an agent
Growth Marketing Workforce provisions a multi-agent workforce. Use it from the Templates page — it cannot be created through the single-agent endpoints, which reject it with a message telling you to use the Templates page instead.
What a Template Gives You
Each template arrives configured, so it works before you customise anything:
- Instructions written for the role, including how to behave and what not to do
- Tool access already scoped to what the job needs
- Suggested connections — the outside services it expects, such as Gmail, Google Drive, or Zoom
- Sample prompts — a few worked starting points you can run straight away, with the parts you should replace highlighted
- An estimated setup time, typically around five minutes
Descriptions and sample prompts are available in English and Chinese; you see whichever matches your language.
Browse & Use Templates
GET /api/templates # list templates
GET /api/templates/{template_id} # template detail
POST /api/templates/{template_id}/use # create an agent from it
POST /api/templates/{template_id}/likeCreating an agent from a template copies its configuration into your workspace, where you can edit instructions, models, knowledge bases, and tools.
Marketplace Persona
Every built-in agent-type template (not workforce-type ones like Growth Marketing Workforce) carries a marketplace persona: a display name and avatar, plus a localized intro message and a short list of kickoff questions the agent asks you right after you hire it. GET /api/templates and GET /api/templates/{template_id} include this under persona when present.
The template listing also reports whether you already have a quick-access agent for that template:
{
"id": "marketing-content-agent",
"persona": {
"name": "Maya",
"role": "Content Agent",
"avatar": "/marketplace/avatars/maya.png",
"intro": "Hi, I'm Maya...",
"kickoff_questions": ["What's the first piece we should write?"]
},
"hired": true,
"hired_agent_id": 42
}hired is true when calling POST /api/agents/from-template/resolve for this template would reuse an existing agent rather than create one — see Create from a Template for the resolve flow itself.
From the Workspace API
Templates are also available through the SDK so you can provision agents programmatically:
GET /v1/templates
GET /v1/templates/{template_id}
POST /v1/agents/from-templateNext Steps
- Creating Templates → — author and contribute your own
- Workforces →
- Managing Agents →