Skip to main content
Anthropic provides the Claude family of LLMs via the Messages API. Pass anthropic.LLM() to your agent for streaming responses and function calling.
Vision Agents uses Stream Video for real-time WebRTC transport by default. External WebRTC transports are supported as well. Most AI providers offer free tiers to get started.
Get an Anthropic API key from the Anthropic Console.

Installation

Quick Start

Set ANTHROPIC_API_KEY in your environment, or pass api_key directly to anthropic.LLM(...).

Parameters

Function Calling

Register Python functions with llm.register_function and Claude will call them when the model decides they’re needed:
Anthropic does not currently offer a realtime speech-to-speech model — pair anthropic.LLM() with a separate STT and TTS plugin for voice.

Next Steps

Build a Voice Agent

Get started with voice

Tools & Knowledge

Add function calling and RAG