UiPath Documentation
coding-agents
latest
false
Guia do usuário do UiPath para Coding Agents
Importante :
Este conteúdo foi traduzido com auxílio de tradução automática. A localização de um conteúdo recém-publicado pode levar de 1 a 2 semanas para ficar disponível.

Abrir código

Set up OpenCode with the uip CLI and UiPath skills, then install, check, and remove the skills.

OpenCode logoAn open-source coding agent for the terminal and desktop.

Quick start​

  1. Install OpenCode. For other install methods, see the OpenCode docs.

    npm install -g opencode-ai
    npm install -g opencode-ai
    
  2. Install the uip CLI and sign in. For options, see Install and set up.

    irm https://download.uipath.com/uipath-cli/install.ps1 | iex
    irm https://download.uipath.com/uipath-cli/install.ps1 | iex
    

    Open a new terminal, then sign in:

    uip login
    uip login
    
  3. Install the UiPath skills. The installer adds them for agents it detects. If you installed OpenCode afterwards, run:

    uip skills install --agent opencode
    uip skills install --agent opencode
    
  4. Start OpenCode in your project folder.

    opencode
    opencode
    
  5. Check that the skills loaded. Ask: "What UiPath skills do you have installed?" If OpenCode lists none, restart it.

  6. Try a prompt. For example:

    Create a sample input.csv with five rows. Then create a cross-platform UiPath RPA project that reads each row of input.csv, counts the rows, and writes the total to output.txt. Then run it.

Install scope and paths​

The install is global by default. For one project, add --local:

uip skills install --agent opencode --local
uip skills install --agent opencode --local

The global and local folder names differ.

EscopoPath
Global~/.config/opencode/skills/<skill>/
Local (--local)<project>/.opencode/skills/<skill>/

Project context file​

AGENTS.md, or CLAUDE.md when the project has no AGENTS.md. See Give your agent project context.

Remove the skills​

uip skills uninstall --agent opencode
uip skills uninstall --agent opencode

Add --local for a project-scoped install.

  • Quick start​
  • Install scope and paths​
  • Project context file​
  • Remove the skills​

Esta página foi útil?

Conectar

Precisa de ajuda? Suporte(opens in new window)

Quer aprender? Academia UiPath(opens in new window)

Tem perguntas? Fórum do UiPath(opens in new window)

Fique por dentro das novidades