This guide walks you through creating and configuring a new Duckie agent from scratch.Documentation Index
Fetch the complete documentation index at: https://docs.duckie.ai/llms.txt
Use this file to discover all available pages before exploring further.
Before You Start
For the best experience, have these ready before creating your agent:| Preparation | Why |
|---|---|
| Knowledge sources connected | So your agent has information to work with |
| Guidelines created | So your agent knows how to communicate |
| Runbooks, workflows, or agent instructions | So your agent knows what to do |
| Tools configured | So autonomous agents can take the right actions |
You can create an agent without these and add them later, but your agent won’t be very useful until configured.
Creating a New Agent
Enter Basic Information
Fill in the basics:
- Name — A descriptive name (e.g., “Support Agent”, “Billing Bot”, “Technical Help”)
- Description — What this agent does (optional but helpful for your team)
Select a Mode
Choose how the agent should operate:
- Autonomous — Write instructions and let the agent decide which resources and tools to use
- Workflow — Select a workflow for deterministic, step-by-step execution
- Runbook — Select a runbook for one flexible procedure
Configure the Mode
For autonomous agents, add instructions, choose model settings, and configure access to tools, runbooks, and workflows.For workflow or runbook agents, select the workflow or runbook the agent should start with.
Configuring Your Agent
After creating, configure these sections in the agent detail view:Instructions
Autonomous agents include an Instructions editor. Use it to define the agent’s job, boundaries, escalation expectations, and how it should choose between available resources. Learn more about Autonomous Agents →Knowledge
Select which knowledge the agent can access:- Go to the Knowledge tab
- Leave Knowledge Tags empty to allow all knowledge, OR
- Select knowledge tags to filter available content
Guidelines
Assign communication guidelines:- Go to the Guidelines tab
- Select which guideline sections apply to this agent
- Guidelines are additive — select multiple sections to combine them
Guardrails
Set up safety constraints:- Go to the Guardrails tab
- Select Escalation Rules that should trigger handoff to humans
- Select Restrictions that define hard limits on agent behavior
Classification
Configure how conversations are tagged:- Go to the Classification tab
- Select which Categories the agent should assign
- Select which Attributes to extract
Tools
For autonomous agents, use the Tools section to control which Duckie tools, app tools, custom tools, and MCP tools the agent can call.Testing Your Agent
Before deploying, always test in the playground:Send Test Messages
Try various scenarios:
- Common questions your customers ask
- Edge cases and unusual requests
- Messages that should trigger escalation
Best Practices
Naming
- Use clear, descriptive names: “Billing Support Agent” not “Agent 1”
- Include the purpose or team in the name
- Add descriptions explaining what the agent handles
Configuration
- Start simple — Begin with basic configuration and add complexity as needed
- Test thoroughly — Use the playground before every deployment
- Iterate — Refine based on real results, not assumptions
- Limit powerful tools — Give autonomous agents only the write actions they need
Deployment
- Testing first — Start new agents in testing mode before live traffic
- Review responses — Check test runs before going live
- Monitor closely — Watch performance metrics after going live
Common Patterns
General Support Agent
- Autonomous mode for broad triage and research
- Broad knowledge access (all sources)
- Friendly, helpful guidelines
- Escalation rules for angry customers and complex issues
- Categories: Billing, Technical, Account, General
Specialized Agent
- Autonomous mode with allowlisted runbooks, workflows, and tools
- Narrow knowledge access (tagged sources only)
- Domain-specific guidelines
- Strict guardrails for the domain
- Specific categories and attributes
Triage Agent
- Autonomous mode or a deterministic workflow, depending on how fixed the triage process is
- Minimal knowledge (just enough to categorize)
- Short, clarifying responses
- Quick escalation to specialized agents or humans
- Focus on classification over resolution
Next Steps
Agent Configuration
Deep dive into all settings
Autonomous Agents
Configure flexible agents for open-ended conversations
Test in Playground
Validate before deploying
Create a Deployment
Connect to a customer channel