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.
$ 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" }
]
}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.
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 pushCosa 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 auth | Log in with an emailed 6-digit code; check or clear the session. |
|---|---|
| agentui workspace | List the workspaces you belong to and select the active one. |
| agentui project | create, list, sync, init, status, push — the core loop. |
| agentui env | Read and switch the environment a project is pointed at. |
| agentui secrets | List and request secrets. Values stay server-side. |
| agentui validate | Check a project for errors before you push it. |
| agentui build | Build the project bundle. |
| agentui deploy | Ship a built project. |
| agentui skills | Manage the skills available to a project. |
| agentui packages | Manage npm packages a project depends on. |
| agentui blueprints | Work with prebuilt app blueprints. |
| agentui prompts | Manage the prompts a project uses. |
| agentui functions | Inspect and manage server functions. |
| agentui integrations | List and configure third-party integrations. |
| agentui report | Report 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/cliLicenza 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