سطر الأوامر

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، فيستطيع وكيل ذكاء اصطناعي تشغيله

أضِف ‎--json‎ إلى الأمر الجذر فيعيد كل أمر فرعي مخرجات قابلة للتحليل على stdout، بما فيها الأخطاء — النهج نفسه الذي تتبعه أدوات AWS وGitHub. هذا هو الفرق بين أداة يستطيع الوكيل استخدامها وأخرى عليه قراءتها من الشاشة.

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. ويُرفض اجتياز المسارات في كل عملية قراءة وكتابة وحذف. ويتحقق كل نقطة نهاية من أن شركتك تملك سير العمل المعني، والطلب القادم من مستأجر آخر يتلقى 404 لا 403، فلا يؤكد حتى وجود المورد.

مرجع الأوامر

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.

المرجع الكامل والأعلام ورموز الخروج وحل المشكلات كلها في ملف README على npm. @agentuiai/cli

هل تقرأ هذا كمساعد ذكاء اصطناعي؟ كامل مجموعة الأوامر في ملف markdown واحد: /agentui-cli.md