Notes from the build.ملاحظات من الميدان.
What we learn deploying self-hosted agentic workflows across MENA. Real projects, real documents, written by the team that ships them.ما نتعلمه من نشر وكلاء الذكاء الاصطناعي على خوادم عملائنا في الشرق الأوسط وشمال أفريقيا. مشاريع حقيقية ومستندات حقيقية، يكتبها الفريق الذي ينفّذها.
Self-hostingالاستضافة الذاتية
The high tier of open-weight models, June 2026الفئة العليا من النماذج مفتوحة الأوزان، يونيو 2026
The best models you can run on your own servers are now six points behind the proprietary frontier. We map the high tier, what it costs to run, and how to choose for an enterprise deployment.أفضل النماذج التي يمكن تشغيلها على خوادمكم الخاصة صارت على بعد ست نقاط فقط من أفضل النماذج المغلقة. نعرض هنا أقوى النماذج المفتوحة، وتكلفة تشغيلها، وكيف تختارون المناسب لشركتكم.
Read the note · 8 min readاقرأ الملاحظة · ٨ دقائق June 2026يونيو ٢٠٢٦ · Tutorialشرح عملي Self-hostingالاستضافة الذاتية Getting startedالبدايةRun AI models on your own machine: the stupid-simple guideشغّل نماذج الذكاء الاصطناعي على جهازك: دليل بسيط جداً
From zero to a working local AI in under an hour: install Ollama, pick a model that fits your memory, test it, call it from code, then read your first Arabic document with OCR. Every command included.من الصفر إلى ذكاء اصطناعي يعمل على جهازك في أقل من ساعة: ثبّت Ollama، اختر نموذجاً يناسب ذاكرة جهازك، جربه، استدعه من برنامجك، ثم اقرأ أول مستند عربي بتقنية OCR. كل الأوامر موجودة هنا.
Read the note · 10 min readاقرأ الملاحظة · ١٠ دقائق June 2026يونيو ٢٠٢٦ · Deploymentالنشر DockerDocker GuideدليلDeploying agents on a server, the simple wayنشر الوكلاء على خادم، بالطريقة البسيطة
Your agent works on your laptop. Now it needs to run on a server, all day, and survive restarts. One tool matters most: Docker. This guide explains it in plain words and ships a full agent stack with one command.وكيلك يعمل على حاسوبك. الآن يجب أن يعمل على خادم، طوال اليوم، وينجو من إعادة التشغيل. أداة واحدة هي الأهم: Docker. هذا الدليل يشرحها بكلمات بسيطة وينشر منظومة وكلاء كاملة بأمر واحد.
Read the note · 8 min readاقرأ الملاحظة · ٨ دقائق June 2026يونيو ٢٠٢٦ · Vector databasesقواعد بيانات المتجهات Searchالبحث Deep diveتعمقSearch that finds what you meant: vector databases, explained properlyبحث يجد ما قصدته: قواعد بيانات المتجهات بشرح صحيح
You searched the archive for 'termination clause' and got nothing, because the contract says 'cancellation terms'. Keyword search matches letters, not meaning. Vector databases fix this, and this post explains exactly how, down to the index.بحثت في الأرشيف عن 'بند الإنهاء' فلم تجد شيئاً، لأن العقد يقول 'شروط الإلغاء'. البحث بالكلمات يطابق الحروف لا المعنى. قواعد بيانات المتجهات تحل هذا، وهذا المقال يشرح كيف بالضبط، حتى مستوى الفهرس.
Read the note · 10 min readاقرأ الملاحظة · ١٠ دقائق June 2026يونيو ٢٠٢٦ · Databasesقواعد البيانات Storageالتخزين GuideدليلYour data is in the wrong place: a plain guide to storage and databasesبياناتك في المكان الخطأ: دليل بسيط للتخزين وقواعد البيانات
Contracts in email attachments, customer records in a spreadsheet that four people edit, scans in a folder called 'final-FINAL'. The problem is not messiness; it is that each kind of data needs a different home. Here is the map.عقود في مرفقات البريد، وسجلات عملاء في جدول يعدله أربعة أشخاص، وصور ممسوحة في مجلد اسمه 'نهائي-النهائي'. المشكلة ليست الفوضى، بل أن كل نوع بيانات يحتاج بيتاً مختلفاً. هذه هي الخريطة.
Read the note · 8 min readاقرأ الملاحظة · ٨ دقائق June 2026يونيو ٢٠٢٦ · On-premمحلي ArchitectureالبنيةOn-prem vs cloud AI: when self-hosting winsالذكاء الاصطناعي محليًا أم سحابيًا: متى تكون الاستضافة الذاتية الأصوب
Cloud AI is faster to start. On-prem AI is the only option for data that cannot leave your network. An honest comparison, and the line where self-hosting becomes the right call.البدء بالذكاء الاصطناعي السحابي أسرع، لكن المحلي هو الخيار الوحيد للبيانات التي لا يمكن أن تغادر شبكتكم. مقارنة صادقة، والحدّ الذي تصبح عنده الاستضافة الذاتية القرار الصحيح.
Read the note · 6 min readاقرأ الملاحظة · ٦ دقائق May 2026مايو ٢٠٢٦ · Open modelsالنماذج المفتوحة On-premمحليRunning open-weight models on your own GPUsتشغيل النماذج مفتوحة الأوزان على معالجاتكم
GPT-OSS, Gemma, and Qwen put frontier-class capability on hardware you own. What self-hosting open models actually takes, and why staying model-agnostic beats betting on one vendor.تضع GPT-OSS وGemma وQwen قدرةً من الطراز الأول على عتاد تملكونه. ما الذي تتطلّبه الاستضافة الذاتية للنماذج المفتوحة فعلًا، ولماذا يتفوّق عدم الارتباط بنموذج بعينه على المراهنة على مورّد واحد.
Read the note · 6 min readاقرأ الملاحظة · ٦ دقائق April 2026أبريل ٢٠٢٦ · Costالتكلفة StrategyالاستراتيجيةThe real cost of cloud AI APIs at scaleالتكلفة الحقيقية لواجهات الذكاء الاصطناعي السحابية عند التوسّع
Per-token pricing looks cheap in a demo and expensive in production. A clear look at where cloud AI costs explode at scale, and when owning your inference starts to pay off.التسعير بالرمز يبدو رخيصًا في العرض وباهظًا في الإنتاج. نظرة واضحة إلى أين تنفجر تكاليف الذكاء الاصطناعي السحابي عند التوسّع، ومتى يبدأ امتلاك الاستدلال يؤتي ثماره.
Read the note · 5 min readاقرأ الملاحظة · ٥ دقائقDocuments and OCRالمستندات والتعرف الضوئي
The state of Arabic OCR in 2026: what actually worksواقع التعرف الضوئي على النصوص العربية في 2026: ما الذي ينجح فعلاً
OCR has been rebuilt around vision-language models, and the gap is widest in Arabic. We walk through how modern OCR works, what the KITAB-Bench numbers say, and which open models you can run on your own servers.تغيرت تقنية OCR كثيراً مع النماذج الذكية الجديدة، والفرق يظهر في العربية أكثر من أي لغة أخرى. نشرح هنا كيف تعمل التقنية، وماذا تقول الأرقام، وأي النماذج المفتوحة يمكنكم تشغيلها على خوادمكم.
Read the note · 9 min readاقرأ الملاحظة · ٩ دقائق May 2026مايو ٢٠٢٦ · OCRقراءة آلية Arabicالعربية On-premمحليWhy Arabic OCR still fails, and how we fixed itلماذا يفشل التعرّف الضوئي على العربية، وكيف عالجناه
Ligatures, diacritics, and mixed-direction documents break almost every off-the-shelf engine. The three changes that took us from 71% to 99.2% field-level accuracy on real Gulf documents.الحروف المتصلة والتشكيل والمستندات ثنائية الاتجاه تُربك معظم المحركات الجاهزة. التغييرات الثلاثة التي نقلتنا من ٧١٪ إلى ٩٩٫٢٪ على مستندات خليجية حقيقية.
Read the note · 6 min readاقرأ الملاحظة · ٦ دقائقCompliance and dataالامتثال والبيانات
The deadly security mistakes when deploying AI agentsالأخطاء الأمنية القاتلة عند نشر الوكلاء الأذكياء
An agent is a model with hands. Give it tools and credentials carelessly and a single poisoned email can move money, leak records, or rewrite its own instructions. The seven mistakes that cause real incidents, and the fix for each.الوكيل هو نموذج له يدان. أعطه أدوات وصلاحيات بلا حذر، وبريد واحد مسموم يكفي لتحويل مال أو تسريب سجلات أو إعادة كتابة تعليماته. هذه الأخطاء السبعة التي تسبب حوادث حقيقية، وعلاج كل واحد منها.
Read the note · 9 min readاقرأ الملاحظة · ٩ دقائق May 2026مايو ٢٠٢٦ · Complianceالامتثال Data residencyإقامة البيانات MENAالشرق الأوسطData residency in MENA: a plain guide for regulated enterprisesتوطين البيانات في الشرق الأوسط وشمال أفريقيا: دليل مبسط للمؤسسات الخاضعة للتشريعات التنظيمية
Across the region, more data is legally required to stay in-country, and the obligation often falls on you, not just your cloud vendor. What residency means, and why it favors on-prem AI.في أنحاء المنطقة، يزداد ما يُلزَم قانونًا بأن يبقى داخل البلد، وغالبًا ما تقع المسؤولية عليكم لا على مورّد السحابة وحده. ما معنى الإقامة، ولماذا تميل لصالح الذكاء الاصطناعي المحلي.
Read the note · 6 min readاقرأ الملاحظة · ٦ دقائق April 2026أبريل ٢٠٢٦ · Auditالتدقيق ComplianceالامتثالAn audit trail your regulator will accept for AIسجلّ تدقيق يقبله المنظّم لقرارات الذكاء الاصطناعي
For regulated AI, it works is not enough. You must prove what it did and why. A practical guide to building an audit trail an auditor will actually accept.في الذكاء الاصطناعي الخاضع للتنظيم، لا يكفي أنه يعمل. عليكم إثبات ما فعله ولماذا. دليل عملي لبناء سجلّ تدقيق يقبله المدقّق فعلًا.
Read the note · 5 min readاقرأ الملاحظة · ٥ دقائقAgents in productionوكلاء في بيئة الإنتاج
How to build an agentic workflow that runs on its ownكيف تبني مسار عمل بالوكلاء الأذكياء يعمل وحده
An agent is a model with tools, memory, and a goal. This guide explains the idea in plain words, then matches you to the right tool: n8n if you do not code, CrewAI if you want Python fast, LangGraph if you need full control.الوكيل هو نموذج معه أدوات وذاكرة وهدف. هذا الدليل يشرح الفكرة بكلمات بسيطة، ثم يدلك على الأداة المناسبة لك: n8n إن كنت لا تبرمج، وCrewAI إن أردت Python بسرعة، وLangGraph إن احتجت تحكماً كاملاً.
Read the note · 9 min readاقرأ الملاحظة · ٩ دقائق June 2026يونيو ٢٠٢٦ · MCPMCP APIsواجهات برمجية GuideدليلYour AI can think but cannot act: APIs, MCP, and how to fix itذكاؤك الاصطناعي يفكر لكنه لا يعمل: واجهات API وبروتوكول MCP والحل
The assistant writes a perfect answer about your inventory, but it cannot actually open your inventory. The missing piece is a connection layer: APIs, and now MCP, the standard that connects AI to your systems once instead of integration by integration.المساعد يكتب جواباً ممتازاً عن مخزونك، لكنه لا يستطيع فتح نظام المخزون فعلاً. القطعة الناقصة هي طبقة الاتصال: واجهات API، والآن بروتوكول MCP، المعيار الذي يوصل الذكاء الاصطناعي بأنظمتك مرة واحدة بدل تكامل لكل نظام.
Read the note · 8 min readاقرأ الملاحظة · ٨ دقائق June 2026يونيو ٢٠٢٦ · Deploymentالنشر StrategyالاستراتيجيةWhy most AI pilots never reach productionلماذا لا تصل معظم تجارب الذكاء الاصطناعي إلى الإنتاج
Most enterprise AI never leaves the pilot. The gap is rarely the model. It is data access, approvals, and trust. Here is what actually blocks production, and how to clear it.معظم مشاريع الذكاء الاصطناعي في المؤسسات لا تتجاوز مرحلة التجربة. والفجوة نادرًا ما تكون في النموذج، بل في الوصول إلى البيانات والاعتمادات والثقة. هنا ما يعيق الإنتاج فعلًا، وكيف نتجاوزه.
Read the note · 5 min readاقرأ الملاحظة · ٥ دقائق May 2026مايو ٢٠٢٦ · Agentsالوكلاء FundamentalsالأساسياتAgentic workflows, explained for regulated enterprisesسير العمل الوكيلي، مشروحًا للمؤسسات الخاضعة للتنظيم
An AI agent is not a chatbot. It reads, decides, and acts across your systems, within limits you set. What agentic workflows are, and what makes them safe enough for a bank.وكيل الذكاء الاصطناعي ليس روبوت دردشة. إنه يقرأ ويقرّر ويتصرّف عبر أنظمتكم، ضمن حدود تضعونها. ما هو سير العمل الوكيلي، وما الذي يجعله آمنًا بما يكفي لبنك.
Read the note · 5 min readاقرأ الملاحظة · ٥ دقائق May 2026مايو ٢٠٢٦ · Agentsالوكلاء ControlsالضوابطLetting agents act without losing controlأن تدع الوكلاء يتصرّفون دون أن تفقد السيطرة
Autonomy is not all-or-nothing. The right design lets an agent do the work and a human own the decision. How approval gates, not blind trust, make agents deployable in regulated settings.الاستقلالية ليست كل شيء أو لا شيء. التصميم الصحيح يدع الوكيل ينجز العمل ويدع الإنسان يملك القرار. كيف تجعل بوابات الاعتماد، لا الثقة العمياء، الوكلاء قابلين للنشر في البيئات الخاضعة للتنظيم.
Read the note · 5 min readاقرأ الملاحظة · ٥ دقائق April 2026أبريل ٢٠٢٦ · ERPأنظمة الموارد IntegrationالتكاملConnecting agents to SAP and Oracle behind the firewallربط الوكلاء بـ SAP وOracle خلف الجدار الناري
An agent is only useful if it can touch your real systems. How we wire agents into on-prem ERP like SAP, Oracle, and Dynamics without opening a hole to the public cloud.الوكيل لا يكون مفيدًا إلا إذا استطاع لمس أنظمتكم الحقيقية. كيف نربط الوكلاء بأنظمة الموارد المحلية مثل SAP وOracle وDynamics دون فتح ثغرة إلى السحابة العامة.
Read the note · 6 min readاقرأ الملاحظة · ٦ دقائق