- Introduction
- Getting started
- Build on any canvas
- Build with Case
- Reference
- Defining case keys (system vs. external)
- Establishing task I/O and write-back contracts
- Modeling primary and secondary stages
- Triggering a case from Data Fabric
- Implementing stage-level personas and permissions
- Setting SLAs and automated escalation rules
- Configuring a rework loop (re-entry)
- Configuring and testing the Case Manager Agent (preview)
- Build with Flow
- Build with BPMN
- Operating
- Monitoring
- Optimizing
- Reference information
Coded agent
Call an AI agent that a developer wrote in code, such as Python, and deployed to UiPath, as a step in a workflow.
A coded agent is an AI agent that a developer writes in code, for example in Python with a framework such as LangGraph, and deploys to UiPath. A workflow can call it as a step, pass it data, and continue with its answer. Unlike the Autonomous Agent, a coded agent isn't built on the canvas: you call one that already exists.
When to use it
| Your situation | Use |
|---|---|
| You need full control over how the agent works, such as its reasoning pattern and the actions it takes, and a developer has built it in code | Coded agent |
| You want to build the agent on the canvas, with a prompt, tools, and escalations | Autonomous Agent |
| The decision follows fixed rules, with no reasoning | Decision or Switch |
Add a coded agent
- Select + on the handle of the node it follows, then select Agent.
- Pick the agent:
- In this solution lists coded agent projects in the same solution as the workflow.
- Published lists agents deployed in your organization, with their folder and version.
Coded agents appear in these lists together with other agents, so look for the agent by its name.
Set its inputs in the properties panel, like any other node. When you test the workflow, the coded agent runs as part of the debug run.
About coded agents describes coded agents, and Building and deploying coded agents describes how a developer creates one.
Next steps
- Autonomous Agent: build an agent on the canvas instead.
- Third-party agent: call an agent that runs outside UiPath.
- Agent: the other agent nodes.