agents
latest
false
  • Getting started
    • About this guide
    • About agents
    • Agent capabilities in the UiPath Platform™
  • 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
UiPath logo, featuring letters U and I in white

Agents user guide

Last updated May 14, 2025

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:

  1. 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.

  2. 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).

  3. 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.
  4. 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.

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2025 UiPath. All rights reserved.