कमांड लाइन

Agent CLI — अपने टर्मिनल से AgentUI ऐप्स बनाएँ

Agent CLI आपके AgentUI प्रोजेक्ट्स को सामान्य फ़ाइलों की तरह आपकी मशीन पर ले आता है — VS Code या Cursor में एडिट कीजिए, git में रखिए, बदलाव वापस भेजिए। हर कमांड --json लेता है, इसीलिए इसे Claude Code, Codex या Aider भी चला सकते हैं, सिर्फ़ इंसान नहीं।

MIT लाइसेंस. Node 22+. डॉक्यूमेंटेशन पढ़ने के लिए साइन अप ज़रूरी नहीं।

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

हर कमांड JSON देता है, इसलिए कोई AI एजेंट इसे चला सकता है

रूट कमांड पर --json दीजिए और हर सबकमांड stdout पर मशीन-पठनीय आउटपुट देगा, एरर समेत — वही तरीका जो AWS और GitHub के CLI अपनाते हैं। यही फ़र्क़ है उस टूल में जिसे एजेंट इस्तेमाल कर सकता है और उसमें जिसे स्क्रीन से पढ़ना पड़ता है।

02

sync, edit, push — आपका प्रोजेक्ट, आपकी अपनी फ़ाइलों में

sync आपके पेज, कंपोनेंट, फ़ंक्शन और एंटिटी स्कीमा को .jsx और .schema.json के रूप में डिस्क पर लिखता है। push वर्किंग ट्री की तुलना लोकल मैनिफ़ेस्ट से करके सिर्फ़ फ़र्क़ भेजता है — और --dry-run कुछ भी भेजने से पहले दिखा देता है कि क्या जाएगा।

$ 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

यह क्या नहीं करता

सीक्रेट की वैल्यू कभी सर्वर से बाहर नहीं जाती — न secrets list में, न sync बंडल में। हर रीड, राइट और डिलीट पर path traversal अस्वीकार होता है। हर एंडपॉइंट जाँचता है कि जिस workflow को छुआ जा रहा है वह आपकी कंपनी का है, और दूसरे टेनेंट की रिक्वेस्ट को 403 नहीं, 404 मिलता है — यानी रिसोर्स के होने की पुष्टि तक नहीं होती।

कमांड रेफ़रेंस

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.

पूरा रेफ़रेंस, फ़्लैग्स, exit codes और troubleshooting npm के README में हैं। @agentuiai/cli

AI असिस्टेंट के रूप में पढ़ रहे हैं? पूरी कमांड सूची एक ही markdown फ़ाइल में है: /agentui-cli.md

इंस्टॉल कीजिए और अपना पहला प्रोजेक्ट sync कीजिए

npm install -g @agentuiai/cli

MIT लाइसेंस. Node 22+. डॉक्यूमेंटेशन पढ़ने के लिए साइन अप ज़रूरी नहीं।

इन कमांड्स से एजेंट क्या कर सकता है — और क्या नहीं

ब्राउज़र में ChatGPT या Claude इस्तेमाल करते हैं? AI एजेंट्स के लिए AgentUI देखिए