Agents
Agents are the autonomous workers that power your agentic apps.Overview
An agent is a specialized AI entity with:- A defined scope of responsibilities
- Instructions that guide behavior
- Access to tools for taking actions
- Connected knowledge for context
In This Section
Create an Agent
Step-by-step guide to building agents.Agent Profile
Configure name, description, model, and context.Instructions
Write effective agent instructions.Best Practices
Design patterns for reliable agents.Quick Example
Agent Lifecycle
1. Create
Define the agent’s identity, scope, and purpose.2. Configure
Add instructions, connect tools, and link knowledge sources.3. Test
Validate behavior with test conversations and edge cases.4. Validate
Run diagnostics to ensure all dependencies are properly configured.5. Deploy
Publish the agent as part of your agentic app.6. Monitor
Track performance, review conversations, and iterate.Agent Types by Use Case
Customer Service Agents
Handle inquiries, process requests, and resolve issues.Sales Agents
Qualify leads, answer questions, and guide purchases.HR/Employee Agents
Support internal employees with HR and IT tasks.Process Agents
Execute business workflows and automate tasks.Key Concepts
Agent Selection
The orchestrator selects agents based on:- Description matching: How well the agent’s description matches user intent
- Scope alignment: Whether the task falls within the agent’s defined scope
- Tool availability: Whether the agent has tools needed for the task
Agent Handoffs
Agents can transfer control to other agents when:- The task falls outside their scope
- A specialized agent is better suited
- The user explicitly requests a different capability
Stateless Execution
Each agent interaction is stateless by default. Agents receive:- The conversation history (within context window)
- User profile data (if configured)
- Tool and knowledge access