Skip to main content

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​

AgentDescriptionBest For
stella-v2Streamlined 5-stage pipeline with deterministic arbitration and configurable pipelineConfigurable deployments, lower latency, predictable behavior
stella-agentFull-featured agent with LLM-based aggregation pipelineProduction conversations requiring high quality
stella-light-agentLightweight agent with simplified pipelineQuick responses, lower resource usage
echo-agentSimple test agent that echoes back messagesTesting 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​

Use stella-light-agent when you need:

  • Faster response times
  • Lower resource consumption
  • Simpler conversations
  • Development and testing

echo-agent​

Use echo-agent for:

  • Testing LiveKit connectivity
  • Verifying audio pipeline
  • Development debugging

Common Configuration​

All agents support these common environment variables:

VariableDescriptionRequired
LIVEKIT_URLLiveKit server URLYes
LIVEKIT_API_KEYLiveKit API keyYes
LIVEKIT_API_SECRETLiveKit API secretYes
OPENAI_API_KEYOpenAI API key for LLMYes
ROOM_NAMELiveKit room to joinYes
PARTICIPANT_IDENTITYAgent's identity in the roomYes

Resource Requirements​

AgentCPU RequestCPU LimitMemory RequestMemory Limit
stella-v2500m2000m512Mi2Gi
stella-agent250m1000m512Mi2Gi
stella-light-agent100m500m256Mi1Gi
echo-agent50m200m128Mi512Mi

Lifecycle​

  1. Created: Backend creates a Kubernetes pod with agent configuration
  2. Starting: Agent initializes and connects to LiveKit room
  3. Running: Agent processes audio and responds to participants
  4. Stopping: Graceful shutdown when session ends or agent is stopped
  5. Terminated: Pod is deleted, resources freed

Next Steps​