Recipes

Updated

Agora Recipes is a growing catalog of runnable examples, integration patterns, and end-to-end references across Agora products.

29 recipes

Quickstart

7

Integration pattern

14

Content Filtering

Filter and redact the agent's output through a custom LLM endpoint before it reaches the user.

Python, TypeScriptIntermediate

Cross-Session Memory

Capture conversation history before the agent stops and re-inject it next time so it remembers a returning user.

Python, TypeScriptIntermediate

Custom LLM

Drive the voice agent with a custom OpenAI-compatible LLM you host, keeping the full voice flow intact.

Python, TypeScriptIntermediate

Custom Modalities

Customize both the reasoning (LLM) and the spoken output (TTS) of the voice agent with your own providers.

Python, TypeScriptIntermediate

Dynamic Instructions

Use template variables and a live update endpoint to change the agent's instructions without restarting.

Python, TypeScriptBeginner

Dynamic Tool Sets

A smart-home agent whose available device tools change with the active room mode, plus keyword-triggered scenes.

Python, TypeScriptAdvanced

Event Observability

Consume the built-in RTM event surface (state, metrics, errors, transcript) into a unified web timeline.

Python, TypeScriptBeginner

Filler Words & Graceful Exit

Configure static filler words to cover thinking latency and a graceful farewell before the agent leaves.

Python, TypeScriptBeginner

Interruption Handling

Configure VAD-based interruption handling so the agent stops and listens when the user speaks over it.

Python, TypeScriptBeginner

MCP Tools

Expose tools over a streamable-HTTP MCP server that Agora's managed LLM invokes during the conversation.

Python, TypeScriptIntermediate

Retrieval-Augmented Generation

Retrieve from an in-app corpus and inject context so the voice agent answers from your documents.

Python, TypeScriptIntermediate

Server-side Webhooks

A receiver for Agora's server-side notification callbacks with a live SSE timeline of agent lifecycle events.

Python, TypeScriptIntermediate

Speaker Lock

Use Agora Speaker Lock so the agent focuses on the first clear speaker and suppresses background voices.

Python, TypeScriptIntermediate

Tool Calling

A voice agent that invokes internal function tools and persists results to SQLite, then recalls them in later turns.

Python, TypeScriptIntermediate

Use case

8