Agent CLI — ابنِ تطبيقات AgentUI من الطرفية
يسحب Agent CLI مشاريع AgentUI إلى جهازك كملفات عادية، فتحرّرها في VS Code أو Cursor، وتحفظها في git، وتعيد التغييرات. كل أمر يقبل --json، وهذا ما يجعله قابلاً للتشغيل من Claude Code أو Codex أو Aider، لا يدويًا فقط.
رخصة MIT. يتطلب Node 22 فأحدث. لا حاجة للتسجيل لقراءة التوثيق.
$ 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" }
]
}كل أمر يتحدث JSON، فيستطيع وكيل ذكاء اصطناعي تشغيله
أضِف --json إلى الأمر الجذر فيعيد كل أمر فرعي مخرجات قابلة للتحليل على stdout، بما فيها الأخطاء — النهج نفسه الذي تتبعه أدوات AWS وGitHub. هذا هو الفرق بين أداة يستطيع الوكيل استخدامها وأخرى عليه قراءتها من الشاشة.
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ما لا يفعله
قيم الأسرار لا تغادر الخادم أبدًا — لا في secrets list ولا ضمن حزمة sync. ويُرفض اجتياز المسارات في كل عملية قراءة وكتابة وحذف. ويتحقق كل نقطة نهاية من أن شركتك تملك سير العمل المعني، والطلب القادم من مستأجر آخر يتلقى 404 لا 403، فلا يؤكد حتى وجود المورد.
مرجع الأوامر
| 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. |
المرجع الكامل والأعلام ورموز الخروج وحل المشكلات كلها في ملف README على npm. @agentuiai/cli
هل تقرأ هذا كمساعد ذكاء اصطناعي؟ كامل مجموعة الأوامر في ملف markdown واحد: /agentui-cli.md
ثبّته وزامِن أول مشروع لك
npm install -g @agentuiai/cliرخصة MIT. يتطلب Node 22 فأحدث. لا حاجة للتسجيل لقراءة التوثيق.
ما يستطيع الوكيل فعله بهذه الأوامر، وما لا يستطيع
تستخدم ChatGPT أو Claude في المتصفح؟ اطّلع على AgentUI لوكلاء الذكاء الاصطناعي