Riga di comando

Agent CLI — crea app AgentUI dal terminale

L'Agent CLI porta i tuoi progetti AgentUI sul computer come file normali: li modifichi in VS Code o Cursor, li versioni in git e rimandi indietro le modifiche. Ogni comando accetta --json, ed è questo che la rende pilotabile da Claude Code, Codex o Aider, non solo a mano.

Licenza MIT. Node 22+. Nessuna registrazione per leggere la doc.

Terminal
@agentuiai/cli
$ npm install -g @agentuiai/cli
$ agentui auth login
$ agentui project create --name "Ops Dashboard"
  → ./ops-dashboard  (AGENTS.md + skeleton)

$ agentui --json project list
{
  "total": 2,
  "projects": [
    { "name": "Ops Dashboard", "type": "APP_V2" },
    { "name": "Nightly Report", "type": "AUTOMATION" }
  ]
}
01

Ogni comando parla JSON, quindi un agente IA può pilotarlo

Aggiungi --json al comando radice e ogni sottocomando restituisce output analizzabile su stdout, errori inclusi — lo stesso approccio delle CLI di AWS e GitHub. È la differenza tra uno strumento che un agente può usare e uno che deve leggere a schermo.

02

sync, edit, push — il tuo progetto come file tuoi

sync scrive pagine, componenti, funzioni e schemi delle entità su disco come .jsx e .schema.json. push confronta l'albero di lavoro con un manifest locale e invia solo la differenza — e --dry-run ti mostra esattamente cosa invierebbe, prima di inviare qualcosa.

$ agentui project sync <workflowId>
  components/   pages/   functions/   entities/

$ code .                          # edit with anything
$ agentui project push --dry-run  # see the diff first
$ agentui project push
03

Cosa non fa

I valori dei segreti non lasciano mai il server — né in secrets list, né in un bundle di sync. Il path traversal viene rifiutato a ogni lettura, scrittura ed eliminazione. Ogni endpoint verifica che la tua azienda sia proprietaria del workflow toccato, e una richiesta da un altro tenant riceve 404 invece di 403: non conferma nemmeno che la risorsa esista.

Riferimento dei comandi

agentui authLog in with an emailed 6-digit code; check or clear the session.
agentui workspaceList the workspaces you belong to and select the active one.
agentui projectcreate, list, sync, init, status, push — the core loop.
agentui envRead and switch the environment a project is pointed at.
agentui secretsList and request secrets. Values stay server-side.
agentui validateCheck a project for errors before you push it.
agentui buildBuild the project bundle.
agentui deployShip a built project.
agentui skillsManage the skills available to a project.
agentui packagesManage npm packages a project depends on.
agentui blueprintsWork with prebuilt app blueprints.
agentui promptsManage the prompts a project uses.
agentui functionsInspect and manage server functions.
agentui integrationsList and configure third-party integrations.
agentui reportReport something broken or missing, from the terminal.

Riferimento completo, flag, exit code e troubleshooting stanno nel README su npm. @agentuiai/cli

Stai leggendo come assistente IA? Tutta la superficie dei comandi è in un unico file markdown: /agentui-cli.md

Installalo e sincronizza il primo progetto

npm install -g @agentuiai/cli

Licenza MIT. Node 22+. Nessuna registrazione per leggere la doc.

Cosa può fare un agente con questi comandi, e cosa no

Usi ChatGPT o Claude nel browser? Guarda AgentUI per gli agenti IA