Agents
Create specialized agents with different capabilities and permissions for various tasks.
Creating Agents
Define multiple agents with distinct personalities:
agents:
dev_agent:
name: "DevBot"
model: "gpt-4-turbo"
system_prompt: "You are a senior developer focused on code quality."
tools:
- file_operations
- code_execution
- git_operations
research_agent:
name: "Researcher"
model: "claude-3-opus"
system_prompt: "You are a research assistant focused on accuracy."
tools:
- web_search
- browser_control
- summarization
Tool Permissions
Control what each agent can access:
tools:
file_operations:
allowed_paths:
- "/workspace/*"
denied_paths:
- "/workspace/secrets/*"
max_file_size: 10485760 # 10MB
code_execution:
timeout: 30000 # 30 seconds
allowed_languages:
- python
- javascript
- bash
Memory Configuration
Configure how agents remember context:
memory:
type: "vector" # or "simple"
max_tokens: 8000
summarization_threshold: 6000
persistence: true
Multi-Agent Routing
Route conversations to specialized agents:
agent_router:
rules:
- trigger: "/code"
agent: "dev_agent"
- trigger: "/research"
agent: "research_agent"
default_agent: "dev_agent"