Agents Overview
STELLA supports multiple agent types, each designed for different use cases. All agents connect to LiveKit rooms for real-time voice and data communication.
Agent Typesβ
| Agent | Description | Best For |
|---|---|---|
| stella-v2 | Streamlined 5-stage pipeline with deterministic arbitration and configurable pipeline | Configurable deployments, lower latency, predictable behavior |
| stella-agent | Full-featured agent with LLM-based aggregation pipeline | Production conversations requiring high quality |
| stella-light-agent | β οΈ Deprecated β superseded by stella-v2 | Nothing new. Use stella-v2 with a lean expert configuration |
| echo-agent | Simple test agent that echoes back messages | Testing and development |
Architectureβ
All STELLA agents follow a similar pipeline architecture and can be configured with Plans β JSON-based conversation blueprints that define states, tasks, and data collection. See the Plan Structure documentation for details.
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Agent Pipeline β
β β
β ββββββββββββ ββββββββββββ ββββββββββββ ββββββββββββ β
β β Audio β -> β STT β -> β LLM β -> β TTS β β
β β Input β β (Speech β β(Response β β (Text β β
β β(LiveKit) β β to Text)β βGenerationβ β to Speechβ β
β ββββββββββββ ββββββββββββ ββββββββββββ ββββββββββββ β
β β β
β βΌ β
β ββββββββββββββββ β
β β Audio Output β β
β β (LiveKit) β β
β ββββββββββββββββ β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Choosing an Agentβ
stella-v2β
Use stella-v2 when you need:
- Configurable pipeline with visual Pipeline Configurator
- Lower response latency (deterministic arbitration instead of LLM synthesis)
- Predictable, debuggable expert conflict resolution
- Reusable pipeline configurations across deployments
- Bridge generation for reduced perceived latency in voice conversations
stella-agentβ
Use the full-featured stella-agent when you need:
- High-quality speech recognition
- Advanced conversation capabilities
- Custom tool integration
- Complex dialogue flows
- Production deployments
stella-light-agent (deprecated)β
Do not choose this for new work. It is superseded by stella-v2 and no longer developed; existing deployments keep running.
If you wanted it for lower cost, use stella-v2 with only the experts you need enabled β the Expert Pool node has a per-expert on/off switch. You get comparable per-turn cost and keep the bridge (so the agent starts speaking immediately instead of waiting in silence), analytics, and companion mode. See stella-light-agent for the full rationale and a migration table.
echo-agentβ
Use echo-agent for:
- Testing LiveKit connectivity
- Verifying audio pipeline
- Development debugging
Common Configurationβ
All agents support these common environment variables:
| Variable | Description | Required |
|---|---|---|
LIVEKIT_URL | LiveKit server URL | Yes |
LIVEKIT_API_KEY | LiveKit API key | Yes |
LIVEKIT_API_SECRET | LiveKit API secret | Yes |
OPENAI_API_KEY | OpenAI API key for LLM | Yes |
ROOM_NAME | LiveKit room to join | Yes |
PARTICIPANT_IDENTITY | Agent's identity in the room | Yes |
Resource Requirementsβ
| Agent | CPU Request | CPU Limit | Memory Request | Memory Limit |
|---|---|---|---|---|
| stella-v2 | 500m | 2000m | 512Mi | 2Gi |
| stella-agent | 250m | 1000m | 512Mi | 2Gi |
| stella-light-agent | 100m | 500m | 256Mi | 1Gi |
| echo-agent | 50m | 200m | 128Mi | 512Mi |
Lifecycleβ
- Created: Backend creates a Kubernetes pod with agent configuration
- Starting: Agent initializes and connects to LiveKit room
- Running: Agent processes audio and responds to participants
- Stopping: Graceful shutdown when session ends or agent is stopped
- Terminated: Pod is deleted, resources freed
Next Stepsβ
- stella-v2 - Streamlined pipeline with configurator
- stella-agent - Full-featured agent details
- stella-light-agent - β οΈ Deprecated; migration guidance
- echo-agent - Test agent details
- Agent SDK - Build custom agents