- Getting started
- UiPath Agents in Studio Web
- UiPath Agents in Agent Builder
- UiPath Coded agents
- About coded agents
- Licensing for coded agents
- Building and deploying coded agents
- Troubleshooting coded agents

Agents user guide
Building and deploying coded agents
Building coded agents with the UiPath® SDK involves writing code to define agent behavior. You unlock the full potential of your chosen programming language for building complex automation logic, and then you deploy and manage these coded agents using the familiar UiPath platform.
The lifecycle of a coded agent closely mirrors that of standard UiPath automation development. Here are the key steps in this process, drawing parallels to traditional RPA workflow development:
-
Defining your agent's logic (similar to designing a workflow in Studio):
-
Use code to outline the exact steps and decisions your agent takes, much like how you design a sequence of activities in UiPath Studio.
-
-
Establishing the connection with UiPath (similar to Studio's connection to Orchestrator):
-
Provide your code with the information it needs to communicate with your UiPath environment, such as the organization URL and a secure key (personal access token).
-
-
Deploying your agent to Orchestrator (similar to publishing from Studio):
-
The
uipath pack
command takes your code and packages it into the standard.nupkg
format that UiPath uses for automation packages. -
The
uipath publish
command uploads your packaged.nupkg
file to Orchestrator's package feed. This is similar to publishing a workflow from UiPath Studio.
-
-
Running your agent (same as executing any process in Orchestrator):
-
Once published, your coded agent appears in Orchestrator as a regular package. You can then create a process from it within a specific folder. The agent process is governed by the same principles as a standard process—ready to be scheduled, triggered, executed and integrated into your broader automation projects.
-
To quickly learn how to create your first coded agent, check out our Quickstart Guide: UiPath LangChain Agents. This comprehensive tutorial provides a step-by-step walk through for building an agent using the UiPath Langchain SDK.