@livepeer/agent abstracts LLM access behind a provider interface. The AgentRunner accepts any provider that implements the common interface; switching from Gemini to Claude or OpenAI requires changing one import and one constructor argument.
Available providers
The Livepeer provider routes all LLM calls through Livepeer infrastructure with a single Daydream API key from daydream.live. This is the simplest configuration: one key, one provider, all LLM backends available.
Swapping providers
The AgentRunner calls provider.complete() internally. Each provider translates the common message format to its backend’s native API shape. Tool calls, working memory, and session memory work identically across all providers.
CLI provider selection
The CLI reads the provider from environment variables. Set the API key for the provider you want to use:
If multiple API keys are set, the CLI uses this precedence: DAYDREAM_API_KEY > GEMINI_API_KEY > ANTHROPIC_API_KEY > OPENAI_API_KEY.
Source: livepeer/storyboard packages/agent/README.md.
The Agent SDK page covers the full AgentRunner API, MCP server mode, and CLI verb reference. Last modified on May 22, 2026