UiPath Documentation
coding-agents
latest
false
UiPath for Coding Agents user guide

Recipe: build an agent

Build a support-triage agent end to end by prompting your coding agent, then run it.

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.
  • For the approval step, an Action Center app of kind Workflow Action deployed in Orchestrator, or provisioned by the agent in the same solution.

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. The run is real: the agent calls its tools and escalations, and when the approval step is reached, it creates an Action Center task. The coding agent asks for your consent before it starts the run.

  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(opens in new window)

Want to learn? UiPath Academy(opens in new window)

Have questions? UiPath Forum(opens in new window)

Stay updated