npx skills add https://github.com/microsoft/ai-agents-for-beginners --skill deploying-scalable-agents
> مهارة مرافق لدروس الدرس 16 – نشر عوامل قابلة للتوسع.
> استخدمها لمساعدة المتعلم على نقل وكيل من النموذج الأولي إلى نشر إنتاجي قابل للتوسع وقابل للملاحظة.
> استند إلى كل توصية على محتوى الدرس ودفتر الملاحظات القابل للتشغيل؛ لا تخترع واجهات برمجة تطبيقات Foundry.
فعّل هذه المهارة عندما يرغب المتعلم في:
الوكيل الإنتاجي هو في الغالب الهيكل التشغيلي *حول* النموذج (~80%),
وليس النموذج نفسه. اربط كل توصية بأحد هذه المخاوف:
| القلق | من النموذج الأولي → الإنتاج |
|---------|------------------------|
| الاستضافة | دفتر ملاحظات → خدمة مستضافة ومُصدّرة |
| الهوية | تسجيل دخول az الخاص بك → هوية مُدارة + التحكم في الوصول المبني على الدور (RBAC) محدد النطاق |
| الحالة | في الذاكرة → تخزين الموضوع/الذاكرة خارجي |
| الفشل | تتبع الأخطاء → إعادة المحاولة، الارتداد، التنبيهات |
| التكلفة | "بضع سنتات" → تتبع، توجيه، تخزين مؤقت، ميزانية |
| الجودة | التحقق البصري → بوابة تقييم آلية |
| الثقة | أنت توافق → سياسة + بشري في الحلقة |
إنشاء → إصدار → تقييم (بوابة) → نشر مستضاف → الملاحظة عبر الإنترنت → جمع حالات الفشل → تكرار.
التقييم غير المتصل بوابة، وليس فكرة لاحقة — لا يتم شحن نسخة
ما لم تتجاوز العتبة. تغذي الملاحظة عبر الإنترنت حالات الفشل الحقيقية
مرة أخرى في مجموعة الاختبار غير المتصلة.
وجه المتعلم إلى ما يلي من دفتر الملاحظات
16-python-agent-framework.ipynb:
pass_rate >= threshold ولا تنشر إلا إذا كان صحيحًا.@tool(approval_mode="always_require") لإجراءات مثل استرداد مبالغ كبيرة.tracer.start_as_current_span(...) واضبط الخصائص مثل routed.model، customer.id.بعد النشر، تحقق من أن نقطة النهاية تجيب فعليًا (قد يكون نشر أخضر
صامتًا). استخدم إجراء اختبار دخان AI
عبر .github/workflows/smoke-test.yml
مع الكتالوج في tests/. يرسل المشغل كل
مطالبة إلى POST {project_endpoint}/agents/{agent_name}/endpoint/protocols/openai/responses
ويتحقق من نص الرد. تحتاج الهوية إلى دور مستخدم AI لـ Azure في
نطاق مشروع Foundry؛ يجب أن يكون جمهور الرمز https://ai.azure.com/.
قم بتراكب البوابات: اختبار دخان (الوصول/الاستجابة، في كل نشر) → تقييم غير متصل
(جيد بما يكفي للشحن، قبل الترقية) → تقييم عبر الإنترنت (كيف
يعمل في الميدان، مستمر).
FoundryChatClient(...) + provider.as_agent(...) المستخدم في جميع أنحاء الدورة.<!-- CO-OP TRANSLATOR DISCLAIMER START -->
تنويه:
تمت ترجمة هذا المستند باستخدام خدمة الترجمة بالذكاء الاصطناعي Co-op Translator. بينما نسعى للدقة، يرجى العلم أن الترجمات الآلية قد تحتوي على أخطاء أو عدم دقة. يجب اعتبار المستند الأصلي بلغته الأصلية المصدر الرسمي والمعتمد. للمعلومات الهامة، يُنصح بالاستعانة بترجمة بشرية محترفة. نحن غير مسؤولين عن أي سوء فهم أو تفسير ناتج عن استخدام هذه الترجمة.
<!-- CO-OP TRANSLATOR DISCLAIMER END -->
This skill should be used when working with LaminDB, an open-source data framework for biology that makes data queryable, traceable, reproducible, and FAIR. Use when managing biological datasets (scRNA-seq, spatial, flow cytometry, etc.), tracking computational workflows, curating and validating data with biological ontologies, building data lakehouses, or ensuring data lineage and reproducibility in biological research. Covers data management, annotation, ontologies (genes, cell types, diseases, tissues), schema validation, integrations with workflow managers (Nextflow, Snakemake) and MLOps platforms (W&B, MLflow), and deployment strategies.
Latch platform for bioinformatics workflows. Build pipelines with Latch SDK, @workflow/@task decorators, deploy serverless workflows, LatchFile/LatchDir, Nextflow/Snakemake integration.
Run Python code in the cloud with serverless containers, GPUs, and autoscaling. Use when deploying ML models, running batch processing jobs, scheduling compute-intensive tasks, or serving APIs that require GPU acceleration or dynamic scaling.
Comprehensive healthcare AI toolkit for developing, testing, and deploying machine learning models with clinical data. This skill should be used when working with electronic health records (EHR), clinical prediction tasks (mortality, readmission, drug recommendation), medical coding systems (ICD, NDC, ATC), physiological signals (EEG, ECG), healthcare datasets (MIMIC-III/IV, eICU, OMOP), or implementing deep learning models for healthcare applications (RETAIN, SafeDrug, Transformer, GNN).
Advanced GitHub Actions workflow automation with AI swarm coordination, intelligent CI/CD pipelines, and comprehensive repository management
This skill should be used when working with LaminDB, an open-source data framework for biology that makes data queryable, traceable, reproducible, and FAIR. Use when managing biological datasets (scRNA-seq, spatial, flow cytometry, etc.), tracking computational workflows, curating and validating data with biological ontologies, building data lakehouses, or ensuring data lineage and reproducibility in biological research. Covers data management, annotation, ontologies (genes, cell types, diseases, tissues), schema validation, integrations with workflow managers (Nextflow, Snakemake) and MLOps platforms (W&B, MLflow), and deployment strategies.
Build end-to-end MLOps pipelines from data preparation through model training, validation, and production deployment. Use when creating ML pipelines, implementing MLOps practices, or automating model training and deployment workflows.
Comprehensive healthcare AI toolkit for developing, testing, and deploying machine learning models with clinical data. This skill should be used when working with electronic health records (EHR), clinical prediction tasks (mortality, readmission, drug recommendation), medical coding systems (ICD, NDC, ATC), physiological signals (EEG, ECG), healthcare datasets (MIMIC-III/IV, eICU, OMOP), or implementing deep learning models for healthcare applications (RETAIN, SafeDrug, Transformer, GNN).
Take microsoft/ai-agents-for-beginners-deploying-scalable-agents from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.