Build AI Agents That Take Actionsابنِ وكلاء ذكاء اصطناعي ينفّذون الإجراءات

A hands-on course where you build an AI agent in n8n that reads staff requests, looks up and updates records with clear permissions, logs every change and sends risky actions to a supervisor for approval. You also test it against misuse and share tools safely over MCP.دورة تطبيقية تبني فيها وكيل ذكاء اصطناعي في n8n يقرأ طلبات الموظفين ويبحث في السجلات ويحدّثها بصلاحيات واضحة ويسجّل كل تغيير ويرسل الإجراءات الخطِرة إلى المشرف للموافقة، وتختبره ضد إساءة الاستخدام وتشارك أدواته بأمان عبر MCP.

▶ Try the first lesson free▶ جرّب الدرس الأول مجاناً

8 hours (about one hour a day over a week and a half)8 ساعات (نحو ساعة يومياً على مدى أسبوع ونصف)Study timeمدة الدراسة
8Lessonsدروس
15 questions15 سؤالاًFinal exam, pass mark 70%الاختبار النهائي، درجة النجاح 70%
90 days90 يوماًCourse accessمدة الوصول

About this courseعن الدورة

Agents are AI systems that do more than answer: they decide which tools to use and then act on your data. That makes them valuable, and it makes design and safety essential. This hands-on course teaches you to build an agent that a team can trust.

You build a delivery assistant for Al-Mansour Furniture, an example company in Baghdad whose customer service team handles about 60 delivery change requests a week. You learn when to use an agent rather than a chatbot or a workflow, how the think-tool-look loop works, and how to set permissions before you build: what the agent may do alone, what needs the staff member's confirmation, what needs a supervisor, and what it may never do. In n8n you build the agent with a chat trigger, a Gemini model, memory and a careful system message. You add read tools that look up orders and delivery slots, and write tools that change only four allowed columns and log every change. Cancellations go through a separate approval workflow that emails the supervisor and waits, with a time limit. You then test the agent with twelve scenarios, including prompt injection, missing information and forbidden requests, read the executions, set iteration limits and error alerts, and learn how to share read-only tools with other AI apps through MCP. The last lesson covers rollout, costs, ownership and change control.

Every lesson has illustrated step-by-step screens, copy-ready prompts, tool settings and expressions, short narrated videos and knowledge checks. Starter files include the data template, system message, tool descriptions, all expressions and the test scenarios. The course ends with a 15-question final exam.

الوكلاء أنظمة ذكاء اصطناعي تفعل أكثر من الإجابة: تقرر الأدوات التي تستخدمها ثم تنفّذ على بياناتك، وهذا يجعلها قيّمة ويجعل التصميم والأمان أمرين أساسيين. تعلّمك هذه الدورة التطبيقية بناء وكيل يثق به الفريق.

تبني مساعد توصيل لشركة «المنصور للأثاث»، وهي شركة مثال في بغداد يتعامل فريق خدمة العملاء فيها مع نحو 60 طلب تغيير توصيل أسبوعياً. تتعلم متى تستخدم وكيلاً بدل روبوت محادثة أو سير عمل، وكيف تعمل حلقة فكّر ثم أداة ثم انظر، وكيف تضع الصلاحيات قبل البناء: ما يفعله الوكيل وحده، وما يحتاج تأكيد الموظف، وما يحتاج المشرف، وما لا يفعله أبداً. وفي n8n تبني الوكيل بمُشغِّل محادثة ونموذج Gemini وذاكرة ورسالة نظام مدروسة، وتضيف أدوات قراءة تبحث في الطلبات ومواعيد التوصيل، وأدوات كتابة لا تغيّر إلا أربعة أعمدة مسموحة وتسجّل كل تغيير. وتمر الإلغاءات عبر سير عمل موافقة منفصل يراسل المشرف وينتظر مع مهلة محددة. ثم تختبر الوكيل باثني عشر سيناريو منها حقن الأوامر والمعلومات الناقصة والطلبات الممنوعة، وتقرأ التنفيذات وتضبط حدود التكرار وتنبيهات الأخطاء، وتتعلم مشاركة أدوات القراءة مع تطبيقات ذكاء أخرى عبر MCP. ويتناول الدرس الأخير الإطلاق والتكاليف والمسؤولية وضبط التغيير.

في كل درس شاشات توضيحية خطوة بخطوة، وتعليمات وإعدادات أدوات وتعابير جاهزة للنسخ، وفيديوهات قصيرة مع تعليق صوتي، وأسئلة للتحقق من الفهم. وتشمل ملفات البداية قالب البيانات ورسالة النظام وأوصاف الأدوات وكل التعابير وسيناريوهات الاختبار، وتنتهي الدورة باختبار نهائي من 15 سؤالاً.

Who it's forالفئة المستهدفة

Operations and customer service leads, automation builders, IT staff and managers who want AI to take routine actions safely. Completing an n8n course first (such as H-1 or H-2) is recommended. You need an n8n workspace, a Gemini API key and a Google account.

قادة العمليات وخدمة العملاء وبُناة الأتمتة وموظفو تقنية المعلومات والمديرون الذين يريدون أن ينفّذ الذكاء الاصطناعي الإجراءات الروتينية بأمان. يُنصح بإنهاء دورة في n8n أولاً (مثل H-1 أو H-2)، وتحتاج إلى مساحة n8n ومفتاح Gemini API وحساب Google.

What you'll gainما ستكتسبه

  • Tell when to use an agent, a workflow or a chatbot
  • Explain the agent loop and how agents choose tools
  • Design permission levels before building
  • Build an n8n AI Agent with a model, memory and a system message
  • Create read tools and write tools with $fromAI parameters
  • Limit what tools can change and log every action
  • Add human approval with a send-and-wait sub-workflow
  • Test agents against prompt injection and forbidden requests
  • Read executions, set iteration limits and error alerts
  • Share tools safely with other AI apps through MCP
  • Receive a certificate on passing the final exam
  • التمييز متى تستخدم وكيلاً أو سير عمل أو روبوت محادثة
  • شرح حلقة الوكيل وكيف يختار الأدوات
  • تصميم مستويات الصلاحيات قبل البناء
  • بناء AI Agent في n8n بنموذج وذاكرة ورسالة نظام
  • إنشاء أدوات قراءة وكتابة بمعاملات ‎$fromAI
  • تقييد ما تغيّره الأدوات وتسجيل كل إجراء
  • إضافة موافقة بشرية بسير عمل فرعي يرسل وينتظر
  • اختبار الوكلاء ضد حقن الأوامر والطلبات الممنوعة
  • قراءة التنفيذات وضبط حدود التكرار وتنبيهات الأخطاء
  • مشاركة الأدوات بأمان مع تطبيقات ذكاء أخرى عبر MCP
  • الحصول على شهادة عند اجتياز الاختبار النهائي

Course outlineمحتوى الدورة

  1. What agents are, and when to use oneما الوكلاء ومتى تستخدمها Free previewمعاينة مجانية4 screens4 شاشات
  2. Design and permissionsالتصميم والصلاحيات4 screens4 شاشات
  3. Build the agentابنِ الوكيل3 screens3 شاشات
  4. Read toolsأدوات القراءة4 screens4 شاشات
  5. Write tools with guardrailsأدوات الكتابة مع الضوابط3 screens3 شاشات
  6. Human approvalالموافقة البشرية4 screens4 شاشات
  7. Test like an attacker, and MCPاختبر كمهاجم وMCP4 screens4 شاشات
  8. Go live carefullyأطلقه بحذر3 screens3 شاشات

Course materialsمواد الدورة

  • 1 supporting document to download, for enrolled studentsوثائق داعمة للتنزيل للمتدربين المسجلين: 1
  • The full course as a PDF for offline studyالدورة كاملة بصيغة PDF للدراسة دون اتصال

How it worksكيف تعمل الدورة

  1. Pay by SuperQi, FIB or Zain Cash and upload your receipt below.ادفع عبر سوبر كي أو FIB أو زين كاش وارفع الإيصال أدناه.
  2. We verify the payment and email your login details.نتحقق من الدفع ونرسل لك بيانات الدخول بالبريد الإلكتروني.
  3. Study each lesson at your own pace. Your progress is saved automatically.ادرس كل درس وفق وتيرتك، ويُحفظ تقدمك تلقائياً.
  4. When every lesson is complete, the final exam unlocks.عند إكمال جميع الدروس يُفتح الاختبار النهائي.
  5. Prefer to study offline? Download the course PDF. When you confirm you've studied it, the exam unlocks.تفضّل الدراسة دون اتصال؟ نزّل الدورة بصيغة PDF، وعندما تؤكد أنك درستها يُفتح الاختبار.
  6. Pass the exam and we issue your certificate.اجتز الاختبار وسنصدر لك الشهادة.