create-agent
Skill4 starsChanged 34 days agoMITView on GitHub
Create a Bolna Voice AI agent with the current v2 API, including system prompt, welcome message, LLM, voice, transcriber, telephony input and output, latency tuning, guardrails, knowledge bases, and function tools. Use when the user wants to build, deploy, or clone a Bolna voice agent.
- Reads credentials
42 other projects use a version of this.
Adopted by
Most recently taken up by
- Napster/omniagent-api-skillstheir own version, first seen Nov 29, 2026
- JunnDung/cursor-agent-starter-kittheir own version, first seen Nov 29, 2026
- lalulali/vespyrtheir own version, first seen Nov 22, 2026
- agno-agi/agentos-azuretheir own version, first seen Nov 22, 2026
- nitaybz/ginnie-agentstheir own version, first seen Nov 16, 2026
- microsoft/AgentHosting.Clitheir own version, first seen Nov 15, 2026
Used with
Projects with it also use deploy-platform, setup-platform and 9 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
agno-agiSkilldeploy-platform
Deploy this AgentOS using its own provider instructions, configure JWT verification, and verify the public service. Use for first deployment, redeployment, or production configuration changes.
Also in 6 projects that use this
agno-agiSkillsetup-platform
Set up this AgentOS from a fresh clone — confirm Docker, configure .env, boot the containers, prove the MCP endpoint live, connect the AgentOS UI, then build the user's first agent. Use when the user asks to set up the platform, get started, or bring this repo up on a new machine.
Also in 6 projects that use this
ElasticSkillcreate-integration
Use when creating a new Elastic integration package, scaffolding data streams, answering package layout or structure questions, or running the end-to-end integration build workflow. Covers package topology, scaffold commands, post-scaffold edits, and full orchestration of CEL/pipeline/test subagents.
Also in 3 projects that use this
dwiziSkillcreate-tool
Expertise in designing, scaffolding, and implementing new MCP tools using dzx conventions. Use when the user asks to "create a tool", "add a tool", "wire up a tool", or similar for MCP servers built with dzx.
Also in 3 projects that use this
MicrosoftSkillcreate-hook
Create a hook (.json) to enforce policy or automate agent lifecycle events.
Also in 5 projects that use this
AnasX7Skillimprove
Survey any codebase as a senior advisor and produce prioritized, self-contained implementation plans for OTHER models/agents to execute. Strictly read-only on source code — never implements, fixes, or refactors anything itself. Use when asked to audit a codebase, find improvement opportunities (bugs, security, performance, test coverage, tech debt, migrations, DX), suggest features or where to take the project next (roadmap, product direction), or generate handoff plans for another agent to implement.
Also in 7 projects that use this
- +3 more from agno-agi
Other versions42 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 42
- microsoft/vscode★ 196ksame name
- gnekt/My-Brain-Is-Full-Crew★ 3.9ksame name
- EvolutionAPI/evo-nexus★ 545same name
- evolution-foundation/evo-nexus★ 535same name
- openma-ai/open-managed-agents★ 375same name
- luanmorenommaciel/agentspec★ 261same name
- harness/harness-skills★ 138same name
- microsoft/copilot-studio-plugin★ 82same name
- Azure-Samples/art-voice-agent-accelerator★ 74same name
- TOKTOKHAN-DEV/agent-company★ 74same name
32 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository20 other files it gives its agents.
- add-providerSkill
- bolna-extraction-designerSkill
- bolna-graph-agentsSkill
- create-batchSkill
- create-dispositionSkill
- create-knowledgebaseSkill
- debug-bolna-callsSkill
- get-executionsSkill
- make-callSkill
- manage-agentsSkill
- manage-phone-numbersSkill
- manage-subaccountsSkill
- manage-violationsSkill
- migrate-call-to-workflowSkill
- prompt-writingSkill
- setup-api-keySkill
- setup-inboundSkill
- setup-sip-trunkSkill
- setup-toolsSkill
- setup-webhookSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. 0 are common, 2 are distinctive, and 11 are very specific to this project.
0
Common
Most of the 39 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
11
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 22
Do not use deprecated /agent v1 endpoints for new agents.
- Very specific: line 29
Put dynamic variables in prompts with braces, for example {customer_name}.
- Very specific: line 30
Add matching values later through user_data when making calls.
- Very specific: line 86
Create or list knowledge bases with the create-knowledgebase skill.
- Very specific: line 87
Wait until status is processed.
- Very specific: line 88
Use the returned vector_id in the agent LLM vector store config.
- Distinctive: line 89
Use a knowledgebase agent only when the voice agent must answer from documents, FAQs, URLs, policies, or product docs.
- Very specific: line 93
Use setup-tools when the agent must transfer calls, call external HTTP APIs, fetch or book calendar slots, or write to CRM systems.
- Very specific: line 97
Read references/agent-config-fields.md for full field guidance, provider choices, dynamic variables, RAG wiring, and gotchas.
- Very specific: line 159
When you want one agent to take a call that may switch between languages mid-conversation — not one agent per language — enable …
- Distinctive: line 253
When the agent must answer from documents (FAQs, policies, product docs):
- Very specific: line 274
Create the knowledge base first via create-knowledgebase and wait for status == "processed".
- Very specific: line 275
Use vector_ids[] (array) to attach multiple knowledge bases to one agent.
“Common” is measured: kept by at least 6 in 10 of the 39 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Create Bolna Agent
Use the current API
- Endpoint:
POST https://api.bolna.ai/v2/agent - Auth:
Authorization: Bearer $BOLNA_API_KEY - Body root:
agent_configandagent_prompts - Response:
agent_idandstatus: created - Do not use deprecated
/agentv1 endpoints for new agents.
Minimum creation flow
- Confirm the user has
BOLNA_API_KEYset. - Gather: agent name, use case, language, welcome message, system prompt, LLM provider/model, voice/TTS provider, transcriber/STT provider, telephony provider, webhook URL if needed.
- Build one
conversationtask unless the user explicitly asks for extraction, summarization, or advanced flows. - Put dynamic variables in prompts with braces, for example
{customer_name}. - Add matching values later through
user_datawhen making calls. - Include conservative call controls: silence hangup, interruption words, max duration, voicemail behavior, inbound limits.
- POST the payload, then save the returned
agent_id.
Request shape
{
"agent_config": {
"agent_name": "Support Agent",
"agent_welcome_message": "Hi {customer_name}, this is Tara from Acme.",
"webhook_url": null,
"agent_type": "other",
"tasks": [
{
"task_type": "conversation",
"tools_config": {
"llm_agent": {},
"synthesizer": {},
"transcriber": {},
"input": {},
"output": {},
"api_tools": null
},
"toolchain": {
"execution": "parallel",
"pipelines": [["transcriber", "llm", "synthesizer"]]
},
"task_config": {}
}
],
"ingest_source_config": null,
"calling_guardrails": {
"call_start_hour": 9,
"call_end_hour": 18
}
},
"agent_prompts": {
"task_1": {
"system_prompt": "You are a concise, helpful voice agent..."
}
}
}Required task blocks
llm_agent: usesimple_llm_agentfor normal prompting orknowledgebase_agentwhen attaching RAG. Useagent_flow_type: streamingfor live calls.synthesizer: TTS provider, voice, model, streaming, buffer size, audio format.transcriber: STT provider, model, language, streaming, sampling rate, encoding, endpointing.inputandoutput: telephony provider and audio format.toolchain: usually one pipeline:transcriber -> llm -> synthesizer.task_config: human conversation controls such as silence timeout, interruption threshold, backchanneling, voicemail, call max duration, whitelist, and unknown caller behavior.
Knowledge bases
- Create or list knowledge bases with the
create-knowledgebaseskill. - Wait until status is
processed. - Use the returned
vector_idin the agent LLM vector store config. - Use a knowledgebase agent only when the voice agent must answer from documents, FAQs, URLs, policies, or product docs.
Function tools
Use setup-tools when the agent must transfer calls, call external HTTP APIs, fetch or book calendar slots, or write to CRM systems. Keep function schemas narrow, with clear descriptions and JSON parameters.
Details to read before complex agents
Read references/agent-config-fields.md for full field guidance, provider choices, dynamic variables, RAG wiring, and gotchas.
Script
python3 create-agent/scripts/create_minimal_agent.py \
--name "Demo Support Agent" \
--welcome "Hi {customer_name}, how can I help?" \
--prompt "You are a helpful support agent. Keep answers brief."Hindi / Indian-language agent
For an agent serving Indian callers in Hindi:
{
"agent_config": {
"agent_name": "Hindi Support Agent",
"agent_welcome_message": "नमस्ते {customer_name}, मैं Acme से तारा बोल रही हूँ।",
"tasks": [{
"task_type": "conversation",
"tools_config": {
"llm_agent": {
"agent_type": "simple_llm_agent",
"agent_flow_type": "streaming",
"llm_config": {
"provider": "openai", "family": "openai", "model": "gpt-4.1-mini",
"max_tokens": 200, "temperature": 0.2
}
},
"synthesizer": {
"provider": "sarvam",
"provider_config": { "voice": "meera", "model": "bulbul-v2" },
"stream": true, "audio_format": "wav"
},
"transcriber": {
"provider": "deepgram", "model": "nova-3",
"language": "multi-hi", "stream": true,
"encoding": "linear16", "sampling_rate": 16000, "endpointing": 700
},
"input": { "provider": "plivo", "format": "wav" },
"output": { "provider": "plivo", "format": "wav" }
},
"toolchain": { "execution": "parallel", "pipelines": [["transcriber","llm","synthesizer"]] }
}]
},
"agent_prompts": { "task_1": { "system_prompt": "आप तारा हैं, Acme की Voice AI सहायक। एक बार में 2 से अधिक वाक्य न बोलें। ग्राहक की भाषा में जवाब दें।" } }
}Key choices:
- Deepgram
multi-hiSTT handles Hindi-English code-switching (Hinglish) cleanly. - Sarvam TTS for native Hindi pronunciation.
- Plivo telephony for Indian 160-series numbers (160 = transactional). Use Vobiz for 140-series promotional.
- Native Devanagari in the system prompt — never phonetic English.
endpointing: 700accommodates the longer pauses common in Hindi calls.
See ../prompt-writing/references/multilingual.md for the full multilingual playbook.
Multilingual agents (one agent, many languages on one call)
When you want one agent to take a call that may switch between languages mid-conversation — not one agent per language — enable multilingual_config. Bolna routes each user turn through the right STT/TTS based on which language is being spoken.
{
"tools_config": {
"llm_agent": { /* shared LLM across languages */ },
"synthesizer": { /* default TTS — used when no per-language override fires */ },
"transcriber": { /* default STT */ },
"multilingual_config": {
"enabled": true,
"active_language": "hi", // language the call OPENS in
"switch_tool_description": "Respond in the language the user is currently speaking. Default to Hindi.",
"languages": {
"hi": {
"agent_name": "Vidya", // optional, advanced
"system_prompt": "आप विद्या हैं... <full Hindi prompt>",
"synthesizer": {
"provider": "sarvam",
"buffer_size": 220,
"provider_config": { "model": "bulbul:v3", "voice": "Ashutosh", "voice_id": "ashutosh" }
},
"transcriber": { "provider": "elevenlabs", "model": "scribe_v2_realtime", "language": "hi" },
"handoff_message": "एक मिनट, मैं {agent_name} से connect करती हूँ जो {language} बोलती हैं।"
},
"en": {
"agent_name": "Vidya (English)",
"system_prompt": "You are Vidya, a calm, warm voice agent... <full English prompt>",
"synthesizer": {
"provider": "cartesia",
"buffer_size": 40,
"provider_config": { "model": "sonic-3.5", "voice": "Callie - Encourager", "voice_id": "00a77add-48d5-4ef6-8157-71e5437b282d" }
},
"transcriber": { "provider": "deepgram", "model": "nova-3", "language": "en" },
"handoff_message": "One moment, connecting you with {agent_name} who speaks {language}."
}
}
}
}
}Non-obvious rules:
| Rule | Why |
languages.<code>.system_prompt is a complete prompt, not a translation. | Each language can have its own persona, objection table, and persuasion logic. |
You can mix providers across languages — Deepgram+Cartesia for en, ElevenLabs+Sarvam for hi, Azure+ElevenLabs for nl. | One STT/TTS pair per agent is the wrong mental model. Pick the best per language. |
handoff_message supports placeholders {agent_name} and {language}. | Played when the agent switches languages mid-call. |
switch_tool_description is the Language Switching Instructions field in the dashboard. | This is the rule the LLM follows to decide whether to flip languages. Be explicit: "Respond in the language the user is currently using. Default to Hindi." |
active_language decides which language the call opens in. | Pick the highest-confidence default; let switch_tool_description handle the rest. |
task_config.call_hangup_message and task_config.check_user_online_message can be dicts keyed by language code ({"en": "...", "hi": "..."}). agent_welcome_message is str only — write it in the active_language. | For a per-language welcome, rely on each language's system_prompt opening and the per-language handoff_message for switches. |
agent_name and handoff_message ship to callers verbatim. | Set real values — empty or garbage strings ("qwegf iqghyf") reach production. |
For the full worked example (Snabbit-style, three languages, per-language STT/TTS), see references/multilingual-config.md.
Second task: post-call extraction (summarization)
The tasks[] array can carry a second task that runs after the call ends, against the transcript. This is the underlying mechanism behind create-disposition.
{
"tasks": [
{ "task_type": "conversation", /* the live call */ },
{
"task_type": "summarization",
"toolchain": { "execution": "parallel", "pipelines": [["llm"]] },
"tools_config": {
"llm_agent": {
"agent_type": "simple_llm_agent",
"llm_config": {
"provider": "openai",
"model": "gpt-4o-mini",
"max_tokens": 100,
"temperature": 0.1,
"request_json": true // emit structured JSON instead of free text
}
}
},
"task_config": { "call_terminate": 90 }
}
]
}request_json: true is the flag that produces structured extracted_data for the webhook / GET /executions/{id}. Dispositions (create-disposition) and legacy gpt_assistants.custom_questions both ride on this task.
All the task_config knobs
The task_config block has ~25 fields covering latency, interruption, voicemail, silence handling, inbound limits, and noise suppression. Most defaults are sensible. Tune deliberately.
Full reference: references/task-config-fields.md.
Knowledge-base agent (RAG)
When the agent must answer from documents (FAQs, policies, product docs):
{
"tools_config": {
"llm_agent": {
"agent_type": "knowledgebase_agent",
"agent_flow_type": "streaming",
"llm_config": { "provider": "openai", "model": "gpt-4o", "max_tokens": 200, "temperature": 0.3 },
"vector_store": {
"provider": "lancedb",
"provider_config": {
"vector_ids": ["<rag_id_1>", "<rag_id_2>"],
"similarity_top_k": 8
}
}
}
}
}- Create the knowledge base first via
create-knowledgebaseand wait forstatus == "processed". - Use
vector_ids[](array) to attach multiple knowledge bases to one agent. gpt-4ois recommended for KB agents — better at synthesising across retrieved chunks thangpt-4.1-mini.
Semantic routes (FAQ short-circuits)
For high-volume FAQs and policy refusals, llm_agent.routes short-circuits common questions with a pre-defined answer — zero LLM cost, near-zero latency:
{
"llm_agent": {
"agent_type": "simple_llm_agent",
"agent_flow_type": "streaming",
"llm_config": { "provider": "openai", "model": "gpt-4.1-mini", "max_tokens": 200 },
"routes": [
{
"name": "refund_policy",
"utterances": ["what's your refund policy", "can I get a refund", "how do returns work"],
"response": "We offer full refunds within 30 days of purchase. I can email you the policy document — want that?",
"similarity_threshold": 0.85
},
{
"name": "business_hours",
"utterances": ["what are your hours", "when are you open", "operating hours"],
"response": "We're open 9 AM to 7 PM IST, Monday through Saturday.",
"similarity_threshold": 0.85
}
]
}
}Routes fire before the LLM runs. Use for FAQs, hard refusals (pricing, competitor questions), and stable policy answers. Don't use for anything that needs to be dynamic per caller.
See also
references/agent-config-fields.md— full field reference.references/multilingual-config.md— one agent, many languages, full worked example.references/task-config-fields.md— everytask_configknob with default and use case.make-call— how to actually dial after creation.bolna-graph-agents— switch from a single prompt to a node-based flow.setup-tools— addtransfer_call, custom HTTP, Cal.com booking.create-knowledgebase— generate thevector_idused by knowledgebase agents.https://raw.githubusercontent.com/bolna-ai/skills/main/references/providers-matrix.md— picking LLM × STT × TTS × telephony combos.../prompt-writing— how to write thesystem_prompt.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

