Agent Templates
UseBelha includes 13 pre-built agent templates across 6 categories. Use them directly or as starting points for custom agents.
Categories
GeneralProductivitySupportCommerceIntegrationVoice
All Templates
Basic Assistant
GeneralSimple conversational assistant
tpl_basicWeb Search Agent
ProductivityResearch with web search
tpl_searchgoogleSearch
Code Executor
ProductivityWrite and run Python code
tpl_codercodeExecution
Deep Researcher
ProductivityResearch with search + URL reading
tpl_researchergoogleSearchurlContext
Data Analyst
ProductivityData analysis and visualization
tpl_analystcodeExecution
Full-Stack Assistant
ProductivityWeb search + URL reading
tpl_fullstackgoogleSearchurlContext
Support Agent
SupportCustomer support assistant
tpl_supportSupport Agent (Search)
SupportSupport with web search fallback
tpl_support_searchgoogleSearch
Onboarding Guide
SupportHelp new users get started
tpl_onboardingSales Agent
CommerceProduct recommendations
tpl_salesgoogleSearch
API Integration Agent
IntegrationCustom HTTP API calls
tpl_api_agenthttpActions
Voice Assistant
VoiceReal-time voice conversations
tpl_voiceVoice Support Agent
VoiceVoice-enabled support
tpl_voice_supportUsing Templates
List all templates
bash
curl https://dev.usebelha.com/api/agents/templatesGet a single template
bash
curl "https://dev.usebelha.com/api/agents/templates?id=tpl_search"Filter by category
bash
curl "https://dev.usebelha.com/api/agents/templates?category=voice"Chat directly with a template (no agent creation)
bash
curl -X POST "https://dev.usebelha.com/api/agents?template=tpl_search&action=chat" \
-H "Content-Type: application/json" \
-H "x-tenant-id: tenant_demo" \
-d '{"sessionId": "test", "message": "Latest AI news?"}'Create an agent from a template
bash
curl -X POST "https://dev.usebelha.com/api/agents?template=tpl_search" \
-H "Content-Type: application/json" \
-H "x-api-key: your-api-key" \
-d '{"name": "My Research Bot"}'Template Structure
json
{
"id": "tpl_search",
"name": "Web Search Agent",
"description": "Research assistant with web search",
"category": "productivity",
"icon": "search",
"systemPrompt": "You are a research assistant...",
"testPrompt": "What are the latest developments in AI?",
"model": "default",
"temperature": 0.5,
"tools": {
"googleSearch": { "enabled": true }
},
"channels": {
"api": true,
"widget": { "enabled": true, "greeting": "..." }
}
}Test Prompts
Each template includes a testPrompt that auto-populates in the dashboard. Use these for quick testing:
| Template | Test Prompt |
|---|---|
| Basic Assistant | "Hello! What can you help me with?" |
| Web Search Agent | "What are the latest developments in AI this week?" |
| Code Executor | "Calculate the first 10 Fibonacci numbers" |
| Deep Researcher | "Research the pros and cons of remote work in 2024" |
| API Integration | "What's the weather in Nairobi?" |