Quick Overview
In this technical tutorial, Krish Naik and co-presenter Sourangshu Paul demonstrate how AI coding agents can troubleshoot and operate enterprise automations built on UiPath. The video builds upon a previous workflow creation guide by focusing on debugging broken automations, running local testing consoles, and managing Orchestrator deployments.
Key Points
- 1.UiPath for Coding Agents enables developers to connect AI coding agents like Devin, Claude Code, or Codex directly to UiPath automation workflows and infrastructure.
- 2.API keys and external credentials should not be hardcoded in agent scripts; instead, UiPath Orchestrator stores them as credential assets accessed securely through the UiPath LLM Gateway.
- 3.A coding agent can inspect execution logs and traces from failed UiPath Studio runs to diagnose root causes such as a Tavily 401 unauthorized authentication error.
- 4.Local testing of LangGraph agent workflows can be executed and visualized outside the cloud using UiPath CLI commands like uipath dev web.
- 5.Platform operations such as building packages, deploying versions to Orchestrator folders, and assigning folder-level user permissions can be automated via natural language prompts using UiPath skills.
Summary
The video serves as an advanced companion tutorial to building enterprise automations with UiPath and AI coding agents. Krish Naik introduces the session by reviewing a previously developed invoice and company research workflow built with LangGraph. He explains that while the prior tutorial focused on agent construction from scratch, this installment specifically addresses debugging broken automations and managing broader platform operations using coding agents.
Demonstrator Sourangshu Paul opens UiPath Studio Web with a company research agent implemented in LangGraph and executed via GPT-4.1-mini through the UiPath LLM Gateway. To simulate an operational failure, an invalid Tavily search API key is configured in Orchestrator assets. When debugging is executed in Studio Web, the graph halts at the research sub-graph with an authentication failure. The developer turns to Devin, an AI coding agent equipped with UiPath skills. Given only a high-level troubleshooting prompt, Devin investigates the workspace, inspects the error trace, and confirms that the execution failed due to an HTTP 401 Unauthorized error from the Tavily API. Devin outlines a targeted resolution instructing the user to update the Tavily API key in Orchestrator without modifying code.
The valid Tavily API key is retrieved from the Tavily developer dashboard and saved into the Shared asset store in UiPath Orchestrator. Rerunning the workflow in UiPath Studio Web confirms the fix, as the agent successfully executes planning queries, performs live Tavily web searches, and compiles a structured multi-section company profile for UiPath. To illustrate developer workflow flexibility, the presenter transitions to the terminal and executes uipath dev web. This command launches the local UiPath Developer Console on port 8000, allowing autonomous execution and trace inspection of the identical LangGraph pipeline against Krish Naik Academy.
The final segment focuses on platform operations conducted via natural language instructions. Devin is prompted to deploy the verified workflow to Orchestrator. The agent checks Git status, bumps the project version in pyproject.toml to 1.0.2, publishes the package to the tenant feed using the uip CLI, and registers the runnable process in the Shared folder. After triggering and validating a test run on Nvidia directly from Orchestrator, Devin is instructed to grant access permissions to a second user account, paul.visionai@gmail.com. Devin assigns the account to the Automation Users and Automation Developers groups and verifies folder inheritance. Switching to the second user account in Orchestrator confirms that the user can immediately access the Shared folder, launch a research run for Udemy, and review the resulting company intelligence report.
Diagnosing Automation Failures with Coding Agents
The tutorial opens with an intentional execution failure in UiPath Studio Web for a LangGraph company research agent. Rather than manually parsing stack traces, the developer prompts Devin to troubleshoot the job. The coding agent accesses UiPath agent skills, inspects the execution trail, and identifies a 401 unauthorized response caused by an invalid Tavily API key stored in Orchestrator assets.
Credential Management and Local Graph Execution
After diagnosing the missing or bad credential, the Tavily API key is updated directly within the Shared folder assets in UiPath Orchestrator to ensure sensitive keys stay out of plaintext code. The workflow is re-run and verified in UiPath Studio Web. The demonstration then illustrates local testing using the uipath dev web CLI tool, which serves the interactive LangGraph developer console locally on port 8000.
Automating Package Deployment and User Access Control
In the operating phase, Devin is instructed through plain text prompts to increment the package version to 1.0.2 and publish it to the tenant feed and Shared folder. Once deployed, the agent configures access rights for a secondary user account, paul.visionai@gmail.com, granting Automation User and Automation Developer roles so that team members can trigger the research agent across different tenants.
The Bottom Line
The demonstration shows that coding agents can resolve operational errors and manage infrastructure tasks across UiPath Studio and Orchestrator without manual script reconfiguration. It confirms that credential security is preserved through Orchestrator assets while routine operations like version bumps, deployments, and access provisioning can be driven through conversational commands. The workflow remains dependent on correct initial configuration of environment bindings and user directories.
FAQ
What is UiPath for Coding Agents and how does it manage enterprise automations?
UiPath for Coding Agents is an integration layer that connects AI coding assistants like Devin to UiPath development and orchestration tools. It allows agents to inspect execution logs, modify project files, run local debugging servers, deploy packages, and manage platform permissions using natural language.
How does UiPath Orchestrator secure third party API keys during automated agent execution?
UiPath Orchestrator stores sensitive credentials, such as Tavily search keys, as encrypted credential assets within designated folders. Scripts retrieve these credentials at runtime via the UiPath LLM Gateway, ensuring no API keys are hardcoded in plaintext within the repository.
How did the Devin coding agent troubleshoot the Tavily API key execution failure?
Devin invoked installed UiPath skill tools to inspect execution traces and configuration files, identified an HTTP 401 Unauthorized response from the Tavily search node, and outputted a targeted recommendation explaining that the Tavily credential asset in Orchestrator needed to be updated.
What command is used to launch the local UiPath developer console for testing?
Developers can execute uipath dev web from the project directory in their terminal after authenticating with uip login. This launches a local web server on port 8000 displaying an interactive LangGraph developer console for running and tracing automations.
How can a coding agent publish a new version of an automation to UiPath Orchestrator?
The coding agent updates the package version in configuration files such as pyproject.toml, publishes the build to the tenant feed using the uip CLI, and provisions the process within the target Orchestrator folder according to user prompts.
How did the presenter grant another user permission to run the deployed automation in UiPath Orchestrator?
The presenter instructed Devin in natural language to add paul.visionai@gmail.com with Automation User and Automation Developer privileges, and Devin executed the appropriate uip CLI commands to assign group memberships and confirm inherited folder access.
Worth watching for
Automation engineers, Python developers, and RPA architects looking to integrate generative AI coding assistants into UiPath automation lifecycle management.
- uipath
- langgraph
- coding-agents
- devin
- orchestrator
- rpa