Skip to main content
In this tutorial you take the agent from the Quickstart to production: you check your knowledge, write the agent’s instructions, add tools, test the agent, put it in front of users and monitor it. Plan about 30 minutes.

Prerequisites

  • A working AGO agent from the Quickstart (knowledge source connected, agent created, permissions set)
  • Admin access

1

Plan Your Agent's Scope

Before refining your agent, define clear boundaries:
An agent that covers one area gives more accurate answers and is easier to test. Start narrow; you can add specialist agents behind a Router Agent later.
2

Check Knowledge Quality

Good answers depend on good source content.
  1. In Knowledge, expand Advanced and select Quality Overview
  2. Open your source to see each document’s score. If documents show Not analyzed, click Run Quality Analysis
  3. Fix the documents scored Poor first (missing titles, thin content, outdated information)
The agent can only answer as well as the documents it finds.For details, see Knowledge Quality.
3

Write a System Prompt

The instructions tell the agent who it is, what it covers and when to escalate. Open your agent in Agents, and on the General tab, edit the Instructions.Example prompt:
Put your writing style in the Tone of Voice rather than in each agent’s instructions. For writing techniques, see Prompt Engineering.
4

Add Tools

Tools let your agent take actions beyond answering questions.Every agent gets a ticketing tool for human escalation by default. To add more:
  1. Create the tool in Agents > Tools (click Create Tool), for example:
    • HTTP Request — fetch data from your APIs
    • Send Email — send an email
    • Parameterized Search — search your knowledge base with filters
  2. Open your agent, go to the Capabilities tab, and select the tool under Available Tools
  3. Click Save (or Publish if the agent has a draft)
For each tool, write a clear description of when the agent should use it. The agent relies on this description to decide. See Writing Tool Descriptions.See Tools for all available options.
5

Test with Simulation

Before deploying to real users, validate your agent with automated tests.
  1. In the admin sidebar, select Agents, then Agent Lab
  2. Open Datasets, click Create Dataset, and add test cases: a question and the expected answer or tool call
  3. Click Start New Run, select your agent, and start the run
  4. Review the results — check for accuracy, tone, and correct tool usage
  5. Fix issues in your prompt or knowledge, then re-run
Include edge cases — off-topic questions, adversarial inputs, and questions the agent should escalate.
See Simulation Testing for the full testing workflow.
6

Deploy

Choose how your users will interact with the agent:
7

Monitor and Improve

Your agent is live — now keep it performing well.
  1. Use the Thread Evaluator — scores every conversation on five quality dimensions. Contact AGO if it is not enabled for your workspace. See Thread Evaluator.
  2. Review the Dashboard — track volume, ticket rate, evaluations, and trends. See Performance Dashboard.
  3. Browse Conversations — spot issues by reading real interactions. See Conversations List.
  4. Act on Feedback — use satisfaction data to identify improvement areas. See Feedback Analytics.
Set up a review cadence:

Checklist

  • Agent scope and boundaries defined
  • Knowledge quality reviewed and issues fixed
  • System prompt written with clear rules and escalation criteria
  • Escalation rules in the instructions
  • Simulation tests passing
  • Deployed to at least one channel
  • Thread Evaluator scores reviewed

What’s Next