UiPath Documentation
coding-agents
latest
false
UiPath for Coding Agents user guide
  • Get started
    • Overview
    • Install and set up
    • Choosing your agent
    • Where to run your coding agent
    • Your first build
  • Best practices
  • Capabilities
  • Skills
  • CLI
  • Examples
  • Advanced
  • Help

Recipe: build an agent

This recipe builds a small agent that reads a support ticket, classifies its urgency, and drafts a reply for a human to approve. It shows the full loop from prompt to running agent.

Prerequisites

  • The uip CLI and skills installed, and an authenticated session (see Install and set up).
  • An empty working folder.

Build the agent

  1. Open your coding agent in the empty folder.

  2. Prompt it with the goal:

    "Create a UiPath agent that takes a support ticket as input, classifies its urgency as low, medium, or high, and drafts a suggested reply. Add a human approval step before the reply is sent."

  3. Review the generated project — the agent definition, its inputs and outputs, and the approval step.

  4. Ask the agent to run it with a sample ticket.

  5. Inspect the classification and draft reply the agent produces.

  6. Refine conversationally — for example, adjust the urgency criteria or the tone of the draft.

Result: a working triage agent that classifies a ticket and produces a draft reply gated by human approval.

Note:

The generated file layout and run commands depend on your agent and prompt. Use the classification and approval behavior, not the exact files, as your signal of success.

See also

For a more detailed example of an agent built with coding agents, see Example: social sentiment agent in the Agents user guide.

  • Prerequisites
  • Build the agent
  • See also

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated