Overview
Agents are the core execution units in Kubiya. They can operate individually or collaborate as teams to accomplish complex tasks. This section covers creating, configuring, and executing agents.Agents
Individual AI agents that can execute tasks, interact with tools, and respond to prompts. Each agent has:- A configured runtime environment
- Access to specific tools and integrations
- Associated policies for governance
- LLM model configuration
- Execute tasks synchronously or asynchronously
- Stream execution results in real-time
- Access context from projects and environments
- Use skills and integrations
Teams
Multi-agent teams coordinate multiple specialized agents to handle complex workflows. Teams enable:- Agent specialization and role assignment
- Parallel task execution
- Collaborative problem-solving
- Shared context and knowledge
Task Planning
AI-powered analysis and planning for complex tasks. The task planner:- Breaks down complex requests into steps
- Identifies required tools and resources
- Suggests optimal execution strategies
- Estimates task complexity
Common Workflows
Creating an Agent
name
Note: Use model_id (not model) and runtime should be "claude_code" or "default" (Agno)
Executing a Task
prompt, worker_queue_id
Note: worker_queue_id must be a valid UUID of an existing worker queue
Creating a Team
name
Note: Teams use the Agno framework for multi-agent coordination
Executing a Team Task
Best Practices
- Agent Design: Create focused agents with specific responsibilities
- Team Composition: Use 2-4 agents per team for optimal coordination
- Task Streaming: Enable streaming for long-running tasks
- Context Management: Provide relevant context through projects and environments