What are AI Agents?
AI Agents are intelligent assistants that can answer customer questions using your knowledge base. They use Retrieval-Augmented Generation (RAG) to provide accurate, context-aware responses.How Agents Work
- Customer asks a question via widget, SMS, Slack, or Zendesk
- Agent searches knowledge base using vector similarity search
- Relevant context is retrieved from your data sources
- AI generates response using OpenAI with the retrieved context
- Response is sent to the customer
Agent Components
Knowledge Base
Agents use data sources to build their knowledge:- Files: PDFs, Word docs, text files (processed via Unstructured.io)
- Q&A Pairs: Question-answer pairs for common queries
- Text Content: Custom text snippets
- Websites: Scraped website content
Configuration
Each agent has configuration settings:- AI Mode:
rag(with knowledge base) orchat(simple chat) - Timeout: Response timeout in seconds
- Temperature: AI creativity level (0-1)
- Max Tokens: Maximum response length
Procedures
Agents can use procedures for structured workflows:- Conditional logic:
{{if:condition}}blocks - Actions:
{{action:action_name}}for data fetching - Escalations:
{{escalate:path_id}}for human handoff
Creating an Agent
Step 1: Create Agent
- Navigate to Agents in the main menu
- Click “Create Agent”
- Fill in the agent details:
- Name: Customer Support Agent
- Description: Helps customers with common questions
- Click “Save”
Step 2: Add Data Sources
- Navigate to your agent’s Data Sources tab
- Click “Add Data Source”
- Choose the type of data source:
- File Upload: Upload PDFs, documents, or other files
- Q&A Pairs: Add frequently asked questions and answers
- Text: Add custom text content
- Website: Import content from URLs
- Configure and save each data source
Step 3: Configure Agent Settings
- Navigate to your agent’s Settings tab
- Configure the following:
- AI Mode: Choose RAG (Retrieval-Augmented Generation)
- Timeout: Set response timeout (default: 30 seconds)
- System Prompt: Customize agent behavior (optional)
- Click “Save Changes”
Step 4: Link to Channel
- Navigate to your agent’s Channels tab
- Create a new channel (Live Chat, SMS, or WhatsApp)
- Configure channel settings and link to your agent
- Activate the channel
Agent Features
Vector Search
Vector Search
Uses Turbopuffer for semantic search to find relevant context from your knowledge base.
Multi-Source Knowledge
Multi-Source Knowledge
Combines information from files, Q&As, texts, and websites.
Procedures
Procedures
Execute structured workflows with conditional logic and actions.
Escalations
Escalations
Seamlessly hand off to human agents when needed.
Credit Tracking
Credit Tracking
Tracks AI usage for billing purposes.
Next Steps
Data Sources
Learn how to build your knowledge base
Procedures
Create structured workflows
Workflows
Build automation workflows