إطار عمل وكيل Microsoft هو SDK جديد مفتوح المصدر ووقت تشغيل مصمم لتبسيط تطوير ونشر وإدارة أنظمة الوكلاء المتعددة المتطورة. يهدف إلى سد الفجوة بين أبحاث وكلاء الذكاء الاصطناعي التجريبية والإنتاج على مستوى المؤسسات من خلال الجمع بين نقاط قوة SDK الثابت لـ Semantic Kernel وأنماط التنسيق المبتكرة لـ AutoGen. يمكّن هذا الإطار المطورين من بناء وكلاء ذكاء اصطناعي قويين وقابلين للتطوير وقابلين للتشغيل البيني دون المساس بالابتكار أو الاستعداد للمؤسسات.
لماذا إطار عمل وكيل Microsoft؟
-
معالجة التجزئة: يحل الإطار مشكلة أطر عمل وكلاء الذكاء الاصطناعي مفتوحة المصدر المجزأة، ولكل منها واجهات برمجة التطبيقات (APIs) الخاصة بها والتجريدات، مما يعيق الانتقال السلس من النموذج الأولي إلى الإنتاج.
-
توحيد نقاط القوة: يوحد أنماط تنسيق الوكلاء المبتكرة التي رائدة AutoGen مع ميزات الجاهزية للمؤسسات و SDK الثابت لـ Semantic Kernel. لم يعد يتعين على المطورين الاختيار بين التجريب والإنتاج.
الميزات والقدرات الرئيسية
-
المعايير المفتوحة وقابلية التشغيل البيني:
- MCP (بروتوكول سياق النموذج): يمكّن الاكتشاف الديناميكي واستدعاء الأدوات وخوادم البيانات الخارجية، مما يسهل التكامل مع نظام بيئي متنامي من الخدمات المتوافقة مع MCP.
- Agent-to-Agent (A2A): يسمح للوكلاء بالتعاون عبر أوقات التشغيل باستخدام المراسلة المنظمة القائمة على البروتوكول، مما يتيح مهام سير عمل معقدة عبر أطر عمل وبيئات مختلفة.
- تصميم OpenAPI أولاً: يبسط تكامل واجهات برمجة تطبيقات REST (REST APIs) مع مواصفات OpenAPI كأدوات قابلة للاستدعاء.
- وقت التشغيل المستقل عن السحابة: يمكن تشغيل الوكلاء في حاويات أو في أماكن العمل أو عبر سحب متعددة.
-
خط أنابيب من البحث إلى الإنتاج:
- يدعم أنماط التنسيق المتسلسلة والمتزامنة ومحادثة المجموعة والتسليم والتنسيق المغناطيسي.
- يوفر حزمة تمديد للميزات التجريبية، مما يسمح للمستخدمين المتقدمين باستكشاف القدرات المتطورة من Microsoft Research ومجتمع المصادر المفتوحة.
-
قابل للتوسيع حسب التصميم ومدفوع بالمجتمع:
- يوفر موصلات لأنظمة المؤسسات مثل Azure AI Foundry و Microsoft Graph و Microsoft Fabric و SharePoint و Oracle و Amazon Bedrock و MongoDB.
- يقدم وحدات ذاكرة قابلة للتوصيل تدعم Redis و Pinecone و Qdrant و Weaviate و Elasticsearch و Postgres والمخازن المخصصة.
- يسمح بتعريفات الوكيل التصريحية باستخدام YAML أو JSON.
-
جاهز للإنتاج:
- المراقبة: دعم OpenTelemetry المتكامل لتصور إجراءات الوكيل واستدعاءات الأدوات وخطوات التنسيق.
- الاستضافة السحابية الآمنة: تكامل أصلي مع Azure AI Foundry للاستضافة الآمنة مع عناصر تحكم المؤسسة.
- الأمان والامتثال: يتكامل مع Azure AI Content Safety ومصادقة Entra ID وتسجيل منظم.
- متانة طويلة الأمد: يدعم إيقاف واستئناف واستعادة سلاسل عمليات ومهام سير عمل الوكيل.
- الإنسان في الحلقة: يسمح بتمييز الأدوات على أنها تتطلب موافقة بشرية.
- تكامل CI/CD: يتكامل مع خطوط أنابيب GitHub Actions و Azure DevOps.
التكامل مع نظام Microsoft البيئي
- تكامل Microsoft 365 Agents SDK: سيتكامل الإطار مع Microsoft 365 Agents SDK، مما يمكّن المطورين من إنشاء وكلاء كاملين ومتعددي القنوات لـ Microsoft 365 Copilot و Teams والويب.
- Azure AI Foundry Agent Service: سيوفر وقت تشغيل مشترك مع Azure AI Foundry Agent Service مجموعة موحدة من التجريدات لإنشاء وتشغيل وتوسيع نطاق الوكلاء.
مسار الترحيل للمستخدمين الحاليين
-
مستخدمو Semantic Kernel: يتضمن الترحيل استبدال أنماط Kernel والمكونات الإضافية بتجريدات الوكيل والأداة. سينتقل مطورو .NET إلى مساحات أسماء Microsoft.Extensions.AI.*، بينما يمكن لمطوري Python تثبيت الحزمة الكاملة أو مكونات معينة.
-
مستخدمو AutoGen: يتم تعيين AssistantAgent إلى ChatAgent الجديد، وتتم هجرة أغلفة FunctionTool إلى مُزين @ai_function، ويتم تبسيط المراسلة بنوع ChatMessage موحد. ينتقل التنسيق إلى واجهة برمجة تطبيقات سير عمل قائمة على الرسم البياني.
اعتماد العملاء والزخم
تقوم المؤسسات الرائدة مثل KPMG و Commerzbank و BMW و Fujitsu و Citrix و Fractal و TCS و Sitecore و NTT DATA و MTech Systems و TeamViewer و Weights & Biases و Elastic بالفعل باختبار واعتماد إطار عمل وكيل Microsoft لمجموعة واسعة من حالات الاستخدام، من أتمتة عمليات التدقيق ودعم العملاء إلى تسريع دورات تصميم المركبات وتعزيز دعم تكنولوجيا المعلومات.
خاتمة
يمثل إطار عمل وكيل Microsoft خطوة كبيرة إلى الأمام في تطوير وكلاء الذكاء الاصطناعي. من خلال توحيد الابتكار والاستعداد للمؤسسات، وتوفير ميزات قوية، وتعزيز مجتمع قوي، تمكّن Microsoft المطورين من بناء الجيل التالي من التطبيقات الذكية والمستقلة. إن تكامل الإطار مع نظام Microsoft البيئي ومسارات الترحيل الواضحة للمستخدمين الحاليين يجعله خيارًا جذابًا للمؤسسات التي تتطلع إلى الاستفادة من قوة وكلاء الذكاء الاصطناعي.
المصدر: Microsoft Azure Dev Blogs
The Microsoft Agent Framework is a new open-source SDK and runtime designed to streamline the development, deployment, and management of sophisticated multi-agent systems. It aims to bridge the gap between experimental AI agent research and enterprise-grade production by combining the strengths of Semantic Kernel’s stable SDK and AutoGen’s innovative orchestration patterns. This framework empowers developers to build robust, scalable, and interoperable AI agents without compromising on innovation or enterprise readiness.
Why Microsoft Agent Framework?
-
Addressing the Fragmentation: The Framework solves the issue of fragmented open-source AI agent frameworks, each with its own APIs and abstractions, hindering seamless transition from prototype to production.
-
Unifying Strengths: It unifies the innovative agent orchestration patterns pioneered by AutoGen with the enterprise-ready features and stable SDK of Semantic Kernel. Developers no longer have to choose between experimentation and production.
Key Features and Capabilities
-
Open Standards & Interoperability:
- MCP (Model Context Protocol): Enables dynamic discovery and invocation of external tools and data servers, facilitating integration with a growing ecosystem of MCP-compliant services.
- Agent-to-Agent (A2A): Allows agents to collaborate across runtimes using structured, protocol-driven messaging, enabling complex workflows across different frameworks and environments.
- OpenAPI-first design: Simplifies the integration of REST APIs with OpenAPI specifications as callable tools.
- Cloud-agnostic runtime: Agents can run in containers, on-premises, or across multiple clouds.
-
Pipeline for Research to Production:
- Supports sequential, concurrent, group chat, handoff, and magentic orchestration patterns.
- Provides an extension package for experimental features, allowing advanced users to explore cutting-edge capabilities from Microsoft Research and the open-source community.
-
Extensible by Design & Community-Driven:
- Provides connectors to enterprise systems like Azure AI Foundry, Microsoft Graph, Microsoft Fabric, SharePoint, Oracle, Amazon Bedrock, and MongoDB.
- Offers pluggable memory modules supporting Redis, Pinecone, Qdrant, Weaviate, Elasticsearch, Postgres, and custom stores.
- Allows declarative agent definitions using YAML or JSON.
-
Ready for Production:
- Observability: Integrated OpenTelemetry support for visualizing agent actions, tool invocations, and orchestration steps.
- Secure Cloud Hosting: Native integration with Azure AI Foundry for secure hosting with enterprise controls.
- Security & Compliance: Integrates with Azure AI Content Safety, Entra ID authentication, and structured logging.
- Long-Running Durability: Supports pausing, resuming, and recovering agent threads and workflows.
- Human in the Loop: Allows marking tools as requiring human approval.
- CI/CD Integration: Integrates with GitHub Actions and Azure DevOps pipelines.
Integration with Microsoft Ecosystem
- Microsoft 365 Agents SDK Integration: The Framework will integrate with the Microsoft 365 Agents SDK, enabling developers to build full-stack, multi-channel agents for Microsoft 365 Copilot, Teams, and the web.
- Azure AI Foundry Agent Service: A shared runtime with Azure AI Foundry Agent Service will provide a unified set of abstractions for creating, running, and scaling agents.
Migration Path for Existing Users
-
Semantic Kernel Users: Migration involves replacing Kernel and plugin patterns with Agent and Tool abstractions. .NET developers will move to the Microsoft.Extensions.AI.* namespaces, while Python developers can install the full package or specific components.
-
AutoGen Users: AssistantAgent maps to the new ChatAgent, FunctionTool wrappers migrate to the @ai_function decorator, and messaging is simplified with a unified ChatMessage type. Orchestration shifts to a graph-based Workflow API.
Customer Adoption and Momentum
Leading organizations like KPMG, Commerzbank, BMW, Fujitsu, Citrix, Fractal, TCS, Sitecore, NTT DATA, MTech Systems, TeamViewer, Weights & Biases, and Elastic are already testing and adopting Microsoft Agent Framework for a wide range of use cases, from automating audits and customer support to accelerating vehicle design cycles and enhancing IT support.
Conclusion
The Microsoft Agent Framework represents a significant step forward in the development of AI agents. By unifying innovation and enterprise readiness, providing robust features, and fostering a strong community, Microsoft is empowering developers to build the next generation of intelligent, autonomous applications. The framework’s integration with the Microsoft ecosystem and clear migration paths for existing users make it an attractive choice for organizations looking to leverage the power of AI agents.
Source: Microsoft Azure Dev Blogs
جاري تحميل التعليقات...