Your First Agent
Create an AI assistant that can take actions.
What We're Building
A customer support agent that:
- Answers questions about your company
- Looks up order information
- Escalates when needed
Step 1: Create the Agent
- Click Agents in the sidebar
- Click New Agent
- Configure:
- Name: "Support Assistant"
- Model: GPT-4
Step 2: Write the System Prompt
You are a helpful customer support agent for Acme Inc.
Your responsibilities:
- Answer questions about products and services
- Help customers track their orders
- Handle basic inquiries professionally
Guidelines:
- Be friendly and professional
- If you don't know something, say so honestly
- For complex issues, offer to escalate to a human
Step 3: Add Tools
- Click the Tools tab
- Add an order lookup tool:
- Name:
lookup_order - Description: "Look up order details by order ID"
- Parameters:
orderId(string, required)
- Name:
Step 4: Test
Use the built-in chat:
User: Hi, I need help with order #12345
Agent: I'd be happy to help! Let me look that up for you.
[Agent uses lookup_order tool]
Your order was placed on December 20th and is being shipped.
Step 5: Deploy
- Chat Widget — Add to your website
- API — Integrate into your app
- Slack — Connect to a channel