UiPath Documentation
agents
latest
false
Important :
La localisation du contenu nouvellement publié peut prendre 1 à 2 semaines avant d’être disponible.

Guide de l'utilisateur des Agents

Agents in Flow (Preview)

UiPath Agents in Flow lets you embed low-code agents directly inside a Maestro Flow project as inline agent nodes. Instead of building an agent separately in Agent Builder and invoking it through a process call, you configure the agent's system prompt, model, input/output schema, and tools from the same Studio Web canvas where you design the flow.

Inline agent nodes are first-class nodes on the flow canvas. They appear alongside connectors, script nodes, and other flow components. Flow variables pass to and from inline agents natively, and you can chain multiple agents in series within a single flow.

Inline agents vs. standalone agents

Inline agents in FlowStandalone agents
Configuration spaceFlow canvas in Studio WebAgent Builder in Studio Web
DéploiementNo separate publish step — the agent is part of the flowMust be published as a standalone agent process before use in a flow
Variable exchangeFlow variables referenced natively in the agent prompt and outputVariables passed through process invocation parameters
ChainingMultiple agents in series in a single flowInvoke one agent from another using the Agent tool
Variable insertion in promptsUses $ conventions ($vars, $metadata)Uses @ conventions from Studio Web

Agent types

  • Autonomous — The agent selects and executes tools to complete a task.

Outils

Inline agents support the following tool categories:

Catégorie d'outilDisponibilité
RPA processesDisponible
Workflows d’APIDisponible
ActivitésDisponible
Other flows (Maestro)Disponible
Agent (invoke a published standalone agent)Disponible
Integration Service connectorsDisponible
Built-in tools (Analyze Files, Summarize, Batch Transform)Disponible
EscaladesDisponible
MCP toolsNon disponible
A2A (Agent-to-Agent)Non disponible
IXP (document extraction)Non disponible

Context

Context grounding is available for inline agents at parity with Agent Builder.

Garde-fous

You can add guardrails at the agent level, LLM level, or individual tool level. Guardrails evaluate agent inputs and outputs against defined policies and trigger an action on a match.

Built-in guardrails detect specific content categories automatically:

  • PII detection
  • Contenus malveillants
  • Intellectual Property detection
  • User prompt attacks

Escalades

Escalations are available for inline agents at parity with Agent Builder.

Output variables

Every inline agent returns an output object. The default field is content, which holds the agent's response text. Additional output variables can be declared in the Variables tab to return structured data — each variable requires a name and type, and the system prompt should direct the agent to populate them.

Output from upstream nodes is referenced in downstream nodes using $vars.<node>.output.<field>, for example $vars.agent1.output.content.

Debugging and evaluations

Débogage

You can debug individual inline agent nodes in isolation from Studio Web using breakpoints, step-by-step execution, and execution traces. Individual agent nodes can be debugged in isolation by selecting the node and using the Debug step-by-step option.

Full flow runs appear as jobs in Orchestrator, where you can monitor execution status. After a run completes, the execution trace is available in the Execution tab of the bottom panel, showing a step-by-step breakdown with timing for each node including LLM calls and outputs.

Évaluations

You can evaluate inline agents per-node from the canvas using the Evaluate button in the toolbar. The Datasets and Evaluators tabs in the bottom panel manage evaluation datasets and evaluators and add evaluators to a dataset run. The Runs tab shows evaluation run history.

Evaluation for inline agents is broadly at parity with Agent Builder, although the experience for creating evaluations differs. Some Agent Builder capabilities are not yet available for inline Flow agents. For details, see Limitations.

Three evaluator categories are available:

CatégorieSaisie de texteDescription
Output ValidationContains TextPasses when the agent output contains the specified text
Output ValidationExact MatchChecks whether the agent output exactly matches the expected output
Output ValidationJSON SimilarityCompares the structural similarity of JSON objects or values
LLM JudgeLLM Judge OutputUses a language model to score how closely the output matches the expected output in meaning and intent
LLM JudgeLLM Judge Strict JSONUses a language model to judge strict JSON structural match
LLM JudgeLLM Judge TrajectoryUses a language model to judge whether the agent followed expected behavior
LLM JudgeLLM Judge SimulationUses a language model to judge the simulated agent execution path
Tool CallTool Call ArgumentsChecks that tools were called with correct arguments
Tool CallTool Call CountChecks the number of times each tool was called
Tool CallTool Call OrderChecks that tools were called in the expected sequence
Tool CallTool Call OutputChecks that tool outputs match expected values

Cette page vous a-t-elle été utile ?

Connecter

Besoin d'aide ? Assistance

Vous souhaitez apprendre ? UiPath Academy

Vous avez des questions ? UiPath Forum

Rester à jour