retellai-hello-world
Provides a quickstart to build and test a basic Retell AI voice agent and outbound phone call.
Install
mkdir -p .claude/skills/retellai-hello-world && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/8432" && unzip -o skill.zip -d .claude/skills/retellai-hello-world && rm skill.zipInstalls to .claude/skills/retellai-hello-world
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Retell AI hello world \u2014 AI voice agent and phone call automation.\n\Key capabilities
- →Create an LLM configuration with a custom prompt
- →Create a voice agent with a selected voice
- →Initiate a test phone call to a destination number
- →Initiate a web call for testing without a phone number
- →Retrieve the status and transcript of a call
How it works
This skill creates an LLM configuration and a voice agent, then initiates either a phone call or a web call using the configured agent. It then retrieves the call status and transcript.
Inputs & outputs
When to use retellai-hello-world
- →Setting up a first voice agent
- →Testing Retell AI API patterns
- →Creating a simple receptionist agent
About this skill
Retell AI Hello World
Overview
Create your first Retell AI voice agent and make a test phone call.
Prerequisites
- Completed
retellai-install-auth - A phone number registered in Retell AI Dashboard (or use web call for testing)
Instructions
Step 1: Create an LLM Configuration
import Retell from 'retell-sdk';
const retell = new Retell({ apiKey: process.env.RETELL_API_KEY! });
// Create LLM configuration (what the agent says)
const llm = await retell.llm.create({
model: 'gpt-4o',
general_prompt: `You are a friendly receptionist for Acme Corp.
- Greet callers warmly
- Ask how you can help
- Take messages if needed
- Be concise and professional`,
});
console.log(`LLM created: ${llm.llm_id}`);
Step 2: Create a Voice Agent
const agent = await retell.agent.create({
response_engine: {
type: 'retell-llm',
llm_id: llm.llm_id,
},
voice_id: '11labs-Adrian', // Choose from available voices
agent_name: 'Acme Receptionist',
});
console.log(`Agent created: ${agent.agent_id}`);
Step 3: Make a Test Phone Call
// Outbound call (requires a registered phone number)
const call = await retell.call.createPhoneCall({
from_number: '+14155551234', // Your Retell number
to_number: '+14155555678', // Destination
override_agent_id: agent.agent_id,
});
console.log(`Call initiated: ${call.call_id}`);
Step 4: Or Test with Web Call
// Web call (no phone number needed — great for testing)
const webCall = await retell.call.createWebCall({
agent_id: agent.agent_id,
});
console.log(`Web call URL: ${webCall.call_id}`);
// Use retell-client-js-sdk to connect from browser
Step 5: Check Call Status
const callDetail = await retell.call.retrieve(call.call_id);
console.log(`Status: ${callDetail.call_status}`);
console.log(`Duration: ${callDetail.end_timestamp - callDetail.start_timestamp}ms`);
if (callDetail.transcript) {
console.log(`Transcript: ${callDetail.transcript}`);
}
Output
- LLM configuration with custom prompt
- Voice agent with selected voice
- Test call initiated (phone or web)
- Call status and transcript retrieved
Error Handling
| Error | Cause | Solution |
|---|---|---|
422 Invalid voice_id | Unknown voice | List available voices in Dashboard |
400 No phone number | Number not registered | Register number in Dashboard first |
| Call not connecting | Destination unreachable | Try web call for testing |
Resources
Next Steps
Configure agent behavior: retellai-core-workflow-a
Prerequisites
Limitations
- →Requires a registered phone number for outbound phone calls
- →Requires a valid voice_id from the Retell AI Dashboard
How it compares
This skill automates the setup and testing of a Retell AI voice agent and call, unlike manually configuring each component and initiating calls.
Compared to similar skills
retellai-hello-world side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| retellai-hello-world (this skill) | 3 | 27d | Caution | Beginner |
| mcp-builder | 136 | 3mo | Review | Advanced |
| copilot-sdk | 7 | 4mo | Review | Intermediate |
| chatgpt-app-builder | 5 | 2mo | Review | Advanced |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by jeremylongshore
View all by jeremylongshore →You might also like
mcp-builder
anthropics
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).
copilot-sdk
github
Build agentic applications with GitHub Copilot SDK. Use when embedding AI agents in apps, creating custom tools, implementing streaming responses, managing sessions, connecting to MCP servers, or creating custom agents. Triggers on Copilot SDK, GitHub SDK, agentic app, embed Copilot, programmable agent, MCP server, custom agent.
chatgpt-app-builder
mcp-use
Build ChatGPT apps with interactive widgets using mcp-use and OpenAI Apps SDK. Use when creating ChatGPT apps, building MCP servers with widgets, defining React widgets, working with Apps SDK, or when user mentions ChatGPT widgets, mcp-use widgets, or Apps SDK development.
create-mcp-app
modelcontextprotocol
This skill should be used when the user asks to "create an MCP App", "add a UI to an MCP tool", "build an interactive MCP View", "scaffold an MCP App", or needs guidance on MCP Apps SDK patterns, UI-resource registration, MCP App lifecycle, or host integration. Provides comprehensive guidance for building MCP Apps with interactive UIs.
m365-agents-ts
T-Sunm
Microsoft 365 Agents SDK for TypeScript/Node.js.
mcp-builder
UnderUndreGH
MCP (Model Context Protocol) server building principles. Tool design, resource patterns, best practices.