Recipes

Updated

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

30 recipes

Quickstart

8

Add features

14

Content Filtering

Hear blocked sentences redacted by a custom LLM endpoint before they reach TTS.

Python, TypeScriptIntermediate

Cross-Session Memory

Give the agent memory of prior conversations so it recognizes returning users.

Python, TypeScriptIntermediate

Custom LLM

Swap the managed LLM for your own OpenAI-compatible endpoint while keeping managed STT and TTS.

Python, TypeScriptIntermediate

Custom Modalities

Return audio from a custom endpoint so the agent skips the separate TTS step.

Python, TypeScriptIntermediate

Dynamic Instructions

Change prompts, injected context, and runtime instructions without running a separate LLM service.

Python, TypeScriptBeginner

Dynamic Tool Sets

Run a smart-home agent whose available tools change by room and keyword scene.

Python, TypeScriptAdvanced

Event Observability

Watch agent state, metrics, errors, and transcript events update in a live web timeline.

Python, TypeScriptBeginner

Filler Words & Graceful Exit

Add natural filler phrases during LLM latency and a graceful goodbye at session end.

Python, TypeScriptBeginner

Interruption Handling

Compare interruptible, locked, and keyword-triggered barge-in behavior for voice turns.

Python, TypeScriptBeginner

MCP Tools

Expose a FastMCP tool server that Agora invokes from a managed LLM conversation.

Python, TypeScriptIntermediate

Retrieval-Augmented Generation

Ground replies in a small document corpus through a custom RAG endpoint.

Python, TypeScriptIntermediate

Server-side Webhooks

Receive Agora server callbacks, verify them, store them, and stream them to a live timeline.

Python, TypeScriptIntermediate

Speaker Lock

Focus the agent on the primary speaker and suppress background voices without enrollment.

Python, TypeScriptIntermediate

Tool Calling

Run tools inside a custom LLM endpoint and persist note-taking results in SQLite.

Python, TypeScriptIntermediate

Explore scenarios

8