计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
retellai-install-auth【效率与协作】Retell AI install auth — AI voice agent and phone call automation. Use when working with Retell AI for voice agents, phone calls, or telephony. Trigger with phrases like "retell install auth", "retellai-install-auth", "voice agent".
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
name: retellai-install-auth
description: "Retell AI install auth \u2014 AI voice agent and phone call automation.\n
Use when working with Retell AI for voice agents, phone calls, or telephony.\nTrigger
\ with phrases like "retell install auth", "retellai-install-auth", "voice
\ agent".\n"
allowed-tools: Read, Write, Edit, Bash(npm:), Bash(curl:), Grep
version: 1.9.0
license: MIT
author: Jeremy Longshore jeremy@intentsolutions.io
tags:
Install the Retell AI SDK and configure API key authentication for building voice agents.
set -euo pipefail
# Node.js
npm install retell-sdk
# Python
pip install retell-sdk
# .env
RETELL_API_KEY=key_xxxxxxxxxxxxxxxxxxxxxxxx
import Retell from 'retell-sdk';
const retell = new Retell({ apiKey: process.env.RETELL_API_KEY! });
// Verify connection — list agents
const agents = await retell.agent.list();
console.log(`Connected! ${agents.length} agent(s) configured.`);
from retell import Retell
import os
retell = Retell(api_key=os.environ["RETELL_API_KEY"])
agents = retell.agent.list()
print(f"Connected! {len(agents)} agent(s) configured.")
retell-sdk installed| Error | Cause | Solution |
|---|---|---|
401 Unauthorized | Invalid API key | Verify key in Retell Dashboard |
ModuleNotFoundError | SDK not installed | npm install retell-sdk |
| Connection timeout | Network issue | Check firewall allows HTTPS |
Store a non-production API key in the local secret manager or CI secret store, not in source control or a command history. Verify it by listing development agents and record only the account, environment, and verification time. If the test returns an authorization error, revoke the invalid credential rather than trying alternate keys in logs; use a separate production credential only in a protected deployment environment.
Create your first agent: retellai-hello-world