Skip to main content

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.

Deployment modes control whether an agent responds directly to customers or runs with testing safeguards.

Available Modes

Live Mode

The agent responds directly to customers.
AspectBehavior
ResponsesSent immediately to customers
ActionsExecuted in real systems
VisibilityCustomers see agent responses
Use when:
  • Agent has been validated in testing mode
  • You’re confident in response quality
  • Ready for production traffic

Testing Mode

The agent processes matching deployment events with testing safeguards.
AspectBehavior
ResponsesCan be forced to internal notes instead of public replies
ActionsWrite actions can be skipped during execution
VisibilityRuns are visible in Duckie run history
Use when:
  • Testing a new agent or deployment
  • Validating on real traffic before going live
  • Debugging a specific channel, trigger, or filter
  • Checking behavior after major configuration changes

Testing Options

When a deployment is in testing mode, you can enable additional safeguards.

Internal Notes Only

Duckie response tools use internal notes instead of public responses. Use this when you want the agent to process real messages without sending public customer replies.

No Write Actions

Tools marked as write actions are skipped during execution. Use this when you want to validate reasoning, retrieval, and response quality without modifying external systems.

Choosing the Right Mode

New Deployment

Playground Testing → Testing Mode → Live Mode
  1. Test in the playground until confident
  2. Deploy in testing mode
  3. Review test runs and internal notes
  4. Switch to live when quality is consistent

Existing Deployment with Major Changes

Pause → Update → Testing → Validate → Live
  1. Pause the deployment
  2. Make configuration changes
  3. Switch to testing mode
  4. Validate the changes
  5. Return to live

Minor Change

For minor, low-risk changes:
  • Update directly in live mode
  • Monitor closely afterward

Change Modes

1

Open Deployment

Go to Deploy and click on your deployment.
2

Edit Deployment

Click Edit to modify settings.
3

Change Mode

Select Live or Testing.
4

Save

Save to apply the change.

Review Testing Runs

In Run History

  1. Go to Analyze > Runs
  2. Filter by deployment
  3. Review agent responses
  4. Check execution steps and tool calls

In the Source System

When Internal Notes Only is enabled, responses are written as internal notes on channels that support them.

Quality Checks

When reviewing testing runs, ask:
  • Is the response accurate?
  • Is the tone appropriate?
  • Did the agent find the right knowledge?
  • Did guardrails work correctly?
  • Would you send this to a customer?

Go Live

Before switching from testing to live:
1

Review Sample

Review a representative sample of testing runs.
2

Check Metrics

Verify escalation rate and response quality are acceptable.
3

Address Issues

Fix any problems found in review.
4

Switch Mode

Change mode to Live.
5

Monitor Closely

Watch performance for the first few hours or days.

Best Practices

Start in Testing

New deployments and major changes should go through testing mode:
  • Catches issues before public customer responses
  • Builds confidence in the configuration
  • Provides run data for validation

Set Review Expectations

In testing mode:
  • Decide how many runs to review before going live
  • Set a timeline, such as testing for a few days
  • Define quality criteria for switching to live

Keep a Testing Deployment

Consider maintaining a testing deployment for ongoing validation:
  • Test new configurations safely
  • Catch regressions
  • Compare behavior before updating a live deployment

Next Steps

Create Deployment

Set up a deployment

Monitor Runs

Review agent activity