- Información general
- Primeros pasos con los agentes de UiPath
- Primeros pasos con los agentes de UiPath utilizando LangGraph
- Crear un agente de código bajo en Studio Web
- Añadir herramientas a tu agente de UiPath
- Introducción
- Crear el flujo de trabajo de la API
- Conéctese a su agente
- Prueba de extremo a extremo
Ejecuta el agente que utiliza la herramienta de extremo a extremo, verifica las llamadas a la API autónomas y confirma el proceso completo del agente.
Con la herramienta conectada y el contrato del agente actualizado, estás listo para probar el proceso completo.
Paso 5: prueba de extremo a extremo
To test the agent end-to-end, use the Debug button from the toolbar at the top of the agent builder. This opens up the Debug configuration dialog, then do the following:
- Open the Entrypoint arguments tab
- Enter a quest description from the code block below
- Then select Save & Debug to run it
The villagers report a massive creature has been destroying farms on the edge of the forest at night.
The villagers report a massive creature has been destroying farms on the edge of the forest at night.
After you click on Save & Debug, you can watch the Execution Trail at the bottom of the agent builder as it executes. The Execution Trail shows the agent's full decision process. For a tool-using agent, expect at least three events:
- The agent's initial analysis of the quest
- The tool call with the search term it chose
- The tool response with the candidate list
The agent then reasons over those candidates before producing its final output.
Deberías ver:
- El agente llama a Monster Query con un término de búsqueda que elige en función de la búsqueda.
- La herramienta devuelve una lista de candidatos.
- El agente selecciona la mejor coincidencia y devuelve los cinco campos de salida.
Select the HTTP Request - Open5e Monster Query span to see the request the tool actually sent: the v2/creatures/ URL, the search term the agent chose in name__icontains, and the document__key and fields values you configured in Step 1. The response below it carries the key identifier for each candidate.
Verify the output contains all five fields: monsterIndex, monsterName, monsterType, monsterCr, and monsterReasoning. monsterIndex is the API's key, so it carries the srd_ prefix - for example srd_giant-ape. The monsterReasoning field should explain why the agent chose this monster for the quest.
Lo que creaste
Has creado el primer componente de UiPathFinder:
- Built a live API connector that searches the 5e SRD: one input, one HTTP request, one output.
- Lo conectó a su agente como una herramienta con una sola selección en el Agent Builder.
- El agente ahora decide de forma autónoma cuándo llamar a la herramienta, qué buscar y qué candidato se adapta mejor a la búsqueda.
La cadena de razonamiento de dos pasos (selección de términos de búsqueda y evaluación de candidatos) es exactamente el tipo de trayectoria que produce una señal de evaluación significativa; de esto se trata el próximo lab.
Siguientes pasos
- Documentos de la API de Open5e : explora la API de búsqueda de monstruos completa para comprender qué campos están disponibles.
- UiPath Integration Service : crea herramientas que se conectan a las API de SaaS sin escribir un flujo de trabajo personalizado.
- Comunidad de UiPath : foros, tutoriales y debates para desarrolladores.