mirror of
https://github.com/x1xhlol/system-prompts-and-models-of-ai-tools.git
synced 2026-06-17 23:09:35 +00:00
- API routers, ACA modules, integrations (draft operators) - Docs, landing pages, scripts (launch readiness, scorecard) - Tests and CI workflow updates for Dealix Co-authored-by: Cursor <cursoragent@cursor.com>
2.2 KiB
2.2 KiB
Agent workflow architecture — Dealix (conceptual)
Scope: تصميم مفاهيمي لمسارات وكلاء متينة بدون إضافة
langgraphأو تبعيات تنفيذ معقدة إلىrequirements.txtحتى موافقة صريحة على التكلفة والصيانة.
الأهداف التشغيلية
- Durable execution: إعادة تشغيل آمنة بعد انقطاع؛ حالة الخطوة محفوظة خارج الذاكرة فقط.
- Human-in-the-loop: نقاط توقف عند الموافقة على إرسال خارجي، دفع، أو رسائل واتساب.
- Tracing: ربط كل إجراء بـ
tenant_id،correlation_id، ومسار القرار فيaction_policy/ سجلات المنصة.
طبقات حالية في الريبو
- Innovation: مسارات عرض و Kill features deterministic تحت
/api/v1/innovation/*. - Platform Services: سياسة + inbox + بوابة أدوات بدون live تحت
/api/v1/platform/*. - Intelligence layer: مخرجات JSON خفيفة تحت
/api/v1/intelligence/*.
مسار مقترح (مستقبلي)
flowchart LR
subgraph ingest [Ingest]
W[Webhook]
end
subgraph platform [Platform]
EB[event_bus]
UI[unified_inbox]
AP[action_policy]
TG[tool_gateway]
end
subgraph human [Human]
H[Approval UI]
end
W --> EB --> UI --> AP
AP -->|approved draft| TG
AP -->|needs approval| H
H --> TG
ماذا يضيف LangGraph لاحقاً (إن وُفقت)
- بيان حالة آلة صريح (nodes/edges) بدل سلاسل if طويلة.
- استئناف من عقدة بعد موافقة بشرية.
- دمج أدوات خارجية خلف نفس
tool_gatewayمع سياسات موحّدة.
مخاطر التبني المبكر
- ازدواج مع منطق الـ API الحالي.
- تعقيد التشغيل والمراقبة قبل إثبات الـ MVP مع العملاء.