Agent skill · software engineering · jeremylongshore

retellai-sdk-patterns

Production-ready Retell AI SDK patterns for voice agent applications.

Why this skill is useful

Provides specific implementation patterns and error handling strategies for the Retell AI SDK that the AI wouldn't reliably generate on its own.

What it needs

Requires retell-sdk installed locally. Requires retellai account access. About 2k tokens when loaded. Last updated 2026-08-07. 2,604 stars on the source repository.

What this skill does

Retell AI SDK Patterns Overview Production-ready patterns for Retell AI: client singletons, typed agent configurations, call management, and error handling. Prerequisites Completed retellai-install-auth retell-sdk installed Instructions Step 1: Singleton Client Step 2: Typed Agent Configuration Step 3: Call Manager with Retry Step 4: Batch Call Campaign Output Singleton Retell client Typed agent creation with LLM configuration Retry logic for call creation Concurrent call campaign manager Error Handling Pattern Use Case Benefit --------- ---------- --------- Singleton All SDK calls One client instance Typed config Agent creation Type safety, defaults Retry wrapper Call failures Automatic recovery Campaign manager Outbound calls Rate-limited concurrency Examples Use an idempotency boundary around call creation Generate a request identifier at the application edge and persist its state before invoking the Retell SDK. If the network response is lost, retrieve the existing result by that identifier or operator-visible correlation data before attempting another call. Keep retries bounded and limited to operations whose outcome can be established; this prevents a transient client failure from creating multiple customer calls. Resources retell-sdk npm Retell AI Documentation Next Steps Apply in retellai-core-workflow-a for agent building.

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills jeremylongshore/retellai-sdk-patterns

View the source on GitHub

Browse the @skills marketplace