agents
latest
false
Wichtig :
Es kann 1–2 Wochen dauern, bis die Lokalisierung neu veröffentlichter Inhalte verfügbar ist.
UiPath logo, featuring letters U and I in white

Benutzerhandbuch zu Agents

Letzte Aktualisierung 18. Feb. 2026

Entwerfen von Konversations-Agents

This page covers the design-time configuration options for conversational agents in Studio Web. Use these settings to define your agent's behavior, capabilities, and integration with enterprise systems.

Creating a conversational agent

  1. Gehen Sie zu studio.uipath.com.
  2. Wählen Sie Neuen erstellen, dann Agent.
  3. Wählen Sie Konversations aus.
  4. Describe your agent to Autopilot to generate a starter configuration or select Start fresh.

Creating a conversational agent

Systemprompt

The system prompt is the foundation of your agent's behavior. It defines the agent's persona, goals, constraints, and instructions for handling different scenarios.

What to include

A comprehensive system prompt should address:

  • Identity and persona: Who is the agent? What tone should it use?
  • Scope and boundaries: What topics should the agent handle? What should it decline?
  • Tool usage guidelines: When should the agent use specific tools?
  • Escalation criteria: When should the agent hand off to a human?
  • Response format: How should the agent structure its answers?

Example system prompt

You are an HR assistant for Contoso Corporation. Your role is to help employees with questions about company policies, benefits, and HR procedures.

## Guidelines
- Be professional, friendly, and concise
- Always search the knowledge base before answering policy questions
- Cite specific documents when referencing policies
- If you cannot find an answer, offer to escalate to an HR representative

## Boundaries
- Do not discuss individual employee performance or compensation
- Do not make promises about policy exceptions
- Redirect legal questions to the legal department
You are an HR assistant for Contoso Corporation. Your role is to help employees with questions about company policies, benefits, and HR procedures.

## Guidelines
- Be professional, friendly, and concise
- Always search the knowledge base before answering policy questions
- Cite specific documents when referencing policies
- If you cannot find an answer, offer to escalate to an HR representative

## Boundaries
- Do not discuss individual employee performance or compensation
- Do not make promises about policy exceptions
- Redirect legal questions to the legal department

Using Autopilot to generate prompts

Autopilot can help you create effective system prompts:

  1. In the system prompt section, describe your use case in natural language.
  2. Autopilot generates a structured prompt based on your description.
  3. Review and refine the generated prompt to match your specific requirements.
Tipp:

Start with Autopilot's generated prompt, then iterate based on testing. The Debug chat helps you identify gaps in your prompt that need addressing.

Using Agent score

The Agent score analyzes your agent's configuration and provides recommendations for improvement. The score evaluates:

  • System prompt quality: Clarity, completeness, consistency, chain of thought, and demos.
  • Tool configuration: Quantity, context clarity, and completeness.

To view your agent's score:

  1. In the agent designer, look for the Open health score indicator.
  2. Select it to see detailed recommendations.
  3. Address the suggestions to improve your agent's effectiveness.

Agent Health Score

For details, refer to Agent score.

Model selection

Conversational agents support multiple large language models (LLMs). Select a model based on your requirements for capability, latency, and cost.

Model selection

For guidance on choosing the right model, refer to Choosing the best model for your agent.

Hinweis:

Currently, conversational agents are available with UiPath-managed models and support LLM Configurations so you can use your own LLM subscriptions.

Tools

Tools extend your agent's capabilities beyond conversation. Conversational agents support the same tools as autonomous agents.

Supported tool types

Tool typeBeschreibungUse case
KontextgrundlageSearch knowledge base indexesRAG-based Q&A on documents
Dateien analysierenProcess uploaded files with LLMDocument analysis, form extraction
Integration Service-AktivitätenPre-built connectors to external systemsCalendar, email, CRM operations
API-WorkflowsCustom API-based automationsBackend integrations
RPA-WorkflowsCross-platform and Window-based automationsLegacy system interactions
Autonomous agentsNested agent executionComplex, multi-step tasks
MCP-ServerModel Context Protocol integrationsExternal tool ecosystems
IXP modelsIntelligent Document ProcessingStructured document extraction

Adding tools

  1. In the agent designer, select Add tool.
  2. Choose the tool type and configure its parameters.
  3. Provide a clear description of when and how the agent should use the tool.

Adding tools

Tipp:

For workflows that perform API calls exclusively, use API workflows instead of RPA workflows for better performance in real-time chat scenarios.

Tool descriptions

Tool descriptions guide the agent on when to use each tool. Write descriptions that clearly state:

  • What the tool does
  • When to use it (optional)

Example tool description:

Search HR Policies: Use this tool to find information about company policies,
benefits, and HR procedures. Always use this tool before answering questions
about policies.
Search HR Policies: Use this tool to find information about company policies,
benefits, and HR procedures. Always use this tool before answering questions
about policies.

Tool guardrails

Apply guardrails to tools to enforce runtime policies. Guardrails can:

  • Restrict when a tool can be executed.
  • Validate inputs before execution.
  • Filter or transform outputs.

For details, refer to Guardrails.

Context

Context connects your agent to Context Grounding knowledge base indexes, enabling retrieval-augmented generation (RAG) for accurate, citation-backed responses.

Adding a context

  1. Wählen Sie Kontext hinzufügen.
  2. Choose a Context Grounding index from your available indexes.
  3. Configure search parameters (optional).

Context Grounding setup

The agent automatically queries the index when relevant to the user's question and includes citations in its responses.

For details on creating and managing indexes, refer to Contexts.

File handling

Conversational agents can process files uploaded during chat. This enables use cases like document analysis, form processing, and image interpretation.

Enabling file uploads

To enable file analysis, add a tool capable of processing files:

  • Analyze files: Built-in tool for general file analysis using LLMs.
  • IXP models: For structured document extraction.

Unterstützte Dateitypen

DateitypRecommended tool
Images (GIF, JPE, JPEG, PNG, WEBP)Dateien analysieren
PDF documentsAnalyze files, IXP
Wichtig:

File uploads are currently limited to 5MB.

Eskalationen

Escalations allow the agent to hand off conversations to a human when it cannot confidently resolve a request.

How escalations work

  1. The agent determines it needs human assistance (based on your system prompt criteria).
  2. The agent creates an escalation task in Action Center.
  3. The conversation pauses until a human resolves the escalation.
  4. Once resolved, the agent continues with the human's input.

Konfiguration von Eskalationen

  1. In the agent designer, select Add escalation.
  2. Configure the escalation type.
  3. Remember to define escalation criteria in your system prompt.
Hinweis:

Conversations run synchronously during escalation. The agent pauses all interaction until the escalation is resolved.

Best Practices für den Entwurf

Start with a clear persona

Define a specific identity for your agent rather than leaving it generic. A clear persona helps the agent maintain consistent tone and behavior.

Less effective: "You are a helpful assistant." More effective: "You are a friendly HR assistant for Contoso Corporation who specializes in helping employees understand company policies and benefits."

Design for unpredictability

Users may provide incomplete, ambiguous, or incorrect information. Your system prompt should instruct the agent to:

  • Ask clarifying questions when needed.
  • Handle partial information gracefully.
  • Recover from misunderstandings.

Guide tool usage explicitly

Don't assume the agent knows when to use tools. Include explicit instructions:

## Tool usage
- ALWAYS search the knowledge base before answering policy questions
- Use the calendar tool when the user asks about scheduling
- NEVER create calendar events without explicit user confirmation
## Tool usage
- ALWAYS search the knowledge base before answering policy questions
- Use the calendar tool when the user asks about scheduling
- NEVER create calendar events without explicit user confirmation

Iterate with evaluations

Create test cases for both expected (happy path) and unexpected (edge case) scenarios. Update your agent's configuration based on evaluation results.

Nächste Schritte

War diese Seite hilfreich?

Hilfe erhalten
RPA lernen – Automatisierungskurse
UiPath Community-Forum
Uipath Logo
Vertrauen und Sicherheit
© 2005–2026 UiPath. Alle Rechte vorbehalten