Informatique & Réseaux

Informatique & Réseaux Providing expert software engineering and IT consulting services. Contact us for tailored tech solutions to help your business grow.

02/11/2026

AI Harness : 🇲🇦 العربية

AI Harness Engineering:
علاش LLM بوحدو ما كافيش باش نبنيو AI Agent موثوق؟

التطور اللي وصلو ليه Large Language Models (LLMs) كبير بزاف.

دابا يقدرو يكتبو Code، يحللو Documents، يجاوبو على أسئلة معقدة ويتعاملو مع External Tools.

ولكن كاين واحد السؤال مهم:

شنو اللي كيخلي AI Model يقدر ينفذ Task حقيقية بنجاح وبطريقة موثوقة، ماشي غير يعطيك Response؟

هنا كيدخل مفهوم AI Harness Engineering.

الـ AI Harness هو مجموعة ديال المكونات التقنية اللي كتحيط بالـ AI Model أو Agent، وكتسمح ليه ينفذ Tasks، يتواصل مع External Systems، يدبر Context ديالو ويتأكد من النتائج.

بمعنى آخر، هو الـ Infrastructure والـ Environment اللي كيحول LLM من مجرد Model كيعطيك أجوبة لـ System قادر ينفذ مهام حقيقية.

شنو كيتضمن AI Harness؟

1. Instructions and Context Management

كنعطيو للـ Agent التعليمات، المعلومات المهمة، Context ديال المشروع والقيود الخاصة بالـ Task.

2. Tools and Integrations

كنسمحو للـ Agent يتعامل مع External Systems باستعمال APIs، Terminal، Databases، Browsers وأدوات بحال MCP.

3. Ex*****on Environment

الـ Environment اللي كيخدم فيه الـ Agent، بحال File System Access، Code Ex*****on و Sandboxing.

4. Memory and State Management

كيفاش الـ Agent يحتافظ بالمعلومات المهمة والـ State ديال Task ديالو عبر مراحل مختلفة.

5. Feedback and Verification

كيشغل Tests، كيتأكد من النتائج، كيكتاشف Errors وكيستعمل Feedback باش يصلح الأخطاء ديالو.

6. Security and Observability

كنتحكمو فـ Permissions، كنحميّو Sensitive Information وكنتبعو Activities، Errors، Latency و Costs.

ناخدو مثال عملي:

طلبتي من AI Coding Agent يطور REST API Endpoint.

الـ LLM كيولد Implementation، ولكن الـ Harness هو اللي كيمكن الـ Agent من أنه:

- يكتاشف Structure ديال Codebase.
- يفهم Conventions ديال المشروع.
- يبدل Files المعنيين.
- يشغل Application.
- ينفذ Automated Tests.
- يحلل Errors ويصلح Implementation ديالو.
- يقدم التغييرات باش Developer يدير ليها Review.

الـ Model كيوفر Intelligence.

أما الـ Harness كيوفر Infrastructure و Ex*****on Mechanisms.

الفكرة الأساسية:

بناء AI Agent موثوق ماشي غير تختار LLM أقوى ولا تكتب Prompt أحسن.

المهم هو كيفاش كتصمم وكتطور النظام كامل اللي داير بالـ Model.

سؤال للـ Software Engineers:

فاش كتبنيو AI Agents، فين كتشوفو أن المجهود الهندسي خاصو يكون أكبر؟

Model Selection، Context Management، Tool Integration، Ex*****on ولا Evaluation?

02/11/2026

AI Harness : 🇫🇷 Français

AI Harness Engineering : pourquoi un LLM ne suffit-il pas pour construire un agent IA fiable ?

Les progrès des Large Language Models (LLM) sont impressionnants.

Ils peuvent générer du code, analyser des documents, répondre à des questions complexes et utiliser des outils externes.

Mais voici une question essentielle :

Qu'est-ce qui permet à un modèle d'IA d'exécuter réellement une tâche de manière fiable, au-delà de la simple génération d'une réponse ?

C'est là qu'intervient le AI Harness Engineering.

Un AI Harness désigne l'ensemble des composants techniques qui entourent un modèle ou un agent IA et lui permettent d'exécuter des tâches, d'interagir avec des systèmes externes, de gérer son contexte et de vérifier ses résultats.

On peut le considérer comme l'environnement opérationnel qui transforme un LLM en un système exploitable et maîtrisé.

Quels sont les composants d'un AI Harness ?

1. Instructions et gestion du contexte

Fournir à l'agent des instructions système, les informations pertinentes, le contexte du projet et les contraintes propres à la tâche.

2. Outils et intégrations

Permettre à l'agent d'interagir avec des systèmes externes via des API, des terminaux, des bases de données, des navigateurs ou des outils comme MCP.

3. Environnement d'exécution

Fournir l'environnement nécessaire à l'exécution des actions : accès au système de fichiers, exécution de code et sandboxing.

4. Mémoire et gestion de l'état

Conserver les informations pertinentes et l'état d'avancement pendant les différentes étapes d'un workflow.

5. Feedback et vérification

Exécuter des tests, contrôler les résultats, détecter les erreurs et fournir un retour permettant à l'agent de corriger son travail.

6. Sécurité et observabilité

Contrôler les permissions, protéger les informations sensibles et suivre les activités, les erreurs, la latence et les coûts.

Prenons un exemple :

Vous demandez à un agent IA de développer un endpoint REST API.

Le LLM génère l'implémentation, mais le harness lui permet de :

- Explorer le code existant.
- Comprendre les conventions du projet.
- Modifier les fichiers concernés.
- Exécuter l'application.
- Lancer les tests automatisés.
- Analyser les erreurs et corriger son implémentation.
- Présenter les modifications pour une revue humaine.

Le modèle apporte l'intelligence. Le harness fournit l'infrastructure et les mécanismes d'exécution.

L'idée essentielle :

Construire un agent IA fiable ne consiste pas simplement à choisir un LLM plus puissant ou à rédiger un meilleur prompt.

Il s'agit de concevoir et d'ingénier l'ensemble du système autour du modèle.

Question aux Software Engineers :

Lors de la conception d'un agent IA, où pensez-vous que l'effort d'ingénierie doit être le plus important : le choix du modèle, la gestion du contexte, les intégrations, l'exécution ou l'évaluation ?

02/11/2026

AI Harness : 🇺🇸 English

AI Harness Engineering: Why an LLM Alone Isn't Enough to Build a Reliable AI Agent

We've seen impressive progress in Large Language Models (LLMs).

They can write code, analyze documents, answer complex questions and use external tools.

But here's an important question:

What makes an AI model capable of completing an actual task reliably, rather than simply generating a response?

This is where AI Harness Engineering comes in.

An AI harness is the engineering infrastructure surrounding an AI model or agent that enables it to execute tasks, interact with external systems, manage context and verify its results.

Think of it as the operational environment that turns an LLM into a useful and controlled system.

What does an AI harness typically include?

1. Instructions and Context Management

Provides the agent with system instructions, relevant information, repository context and task-specific constraints.

2. Tools and Integrations

Allows the agent to interact with external systems through APIs, terminals, databases, browsers and tools such as MCP.

3. Ex*****on Environment

Provides the environment where actions are performed, including filesystem access, code ex*****on and sandboxing.

4. Memory and State Management

Maintains relevant information and task state across multiple steps or longer-running workflows.

5. Feedback and Verification

Executes tests, checks outputs, detects failures and provides feedback so the agent can correct its work.

6. Security and Observability

Controls permissions, manages sensitive information and tracks agent activities, errors, latency and costs.

Let's take an example:

You ask an AI coding agent to implement a REST API endpoint.

The LLM generates the implementation, but the harness enables the agent to:

- Explore the existing codebase.
- Understand project conventions.
- Modify the relevant files.
- Execute the application.
- Run automated tests.
- Analyze errors and fix its implementation.
- Present the final changes for human review.

The model provides the intelligence. The harness provides the infrastructure and ex*****on mechanisms.

The bigger picture:

Building a reliable AI agent is not just about selecting a more powerful LLM or writing a better prompt.

It's about engineering the complete system around the model.

Question for software engineers:

When building AI agents, where do you think most engineering effort should go: model selection, context management, tool integration, ex*****on or evaluation?

02/11/2026

Databases - ACID : 🇲🇦 العربية

ACID Properties:
واحد من أهم المفاهيم فـ Database Engineering

تخيلو بغينا نديرو تحويل ديال 500 درهم من الحساب البنكي A للحساب B.

الـ Database خاصها تدير جوج عمليات:

- تنقص 500 درهم من الحساب A.
- تزيد 500 درهم للحساب B.

ولكن شنو يقدر يوقع إلا طاح الـ Database Server بين هاد الجوج عمليات؟

واش ممكن الفلوس تنقص من الحساب الأول وما توصلش للثاني؟

هنا كيبان الدور ديال ACID Properties.

ACID
كتمثل أربعة ديال الخصائص الأساسية اللي كتحافظ على موثوقية الـ Database Transactions.

1. Atomicity - All or Nothing

الـ Transaction خاصها تتعامل معاها بحال وحدة وحدة.

يا إما جميع العمليات ينجحو، يا إما حتى عملية ما تتحسبش.

مثلاً، إلا نقصنا الفلوس من الحساب A ولكن فشلنا نزيدوها للحساب B، خاص الـ Transaction تدير ROLLBACK.

2. Consistency - Valid State to Valid State

كل Transaction خاصها تحافظ على القواعد والـ Constraints ديال الـ Database.

مثلاً، إلا كان النظام البنكي كيمنع الحساب يوصل لـ Negative Balance، ما خاصش شي Transaction تخرق هاد القاعدة.

الـ Database خاصها تنتاقل من حالة صحيحة لحالة صحيحة أخرى.

3. Isolation - Transactions Should Not Interfere Incorrectly

ممكن يكونو بزاف ديال Transactions خدامين فنفس الوقت.

الـ Isolation كتضمن أن هاد العمليات المتزامنة تحترم الـ Isolation Level اللي محدد فالـ Database.

مثلاً، ما خاصش جوج Transactions يصرفو نفس الـ Available Balance بطريقة كتسبب نتائج خاطئة.

4. Durability - Committed Means Persistent

ملي كتنجح Transaction وكتدير COMMIT، التغييرات ديالها خاصها تبقى محفوظة حتى إلا وقع Crash ولا Restart للـ Database، حسب الـ Durability Configuration.

يعني حتى إلا تقطع الضو ولا طاح الـ Server، البيانات اللي تأكدات ما خاصهاش تضيع.

علاش كل Software Engineer خاصو يفهم ACID؟

حيت هاد الخصائص أساسية فـ:

- Banking Systems و Electronic Payments.
- E-commerce و Order Processing.
- Inventory Management.
- Financial Applications.
- Enterprise Software.
- Concurrent و Distributed Systems.

فهم ACID ماشي غير تحفظ أربعة ديال التعاريف.

هو أنك تفهم كيفاش الـ Database كتحافظ على Data Integrity ملي كتوقع المشاكل.

سؤال للنقاش:

فـ رأيكم، شنو هي أصعب خاصية من ACID باش نضمنوها فـ System فيه بزاف ديال Transactions خدامين فنفس الوقت؟

02/11/2026

Databases - ACID : 🇫🇷 Français

Les propriétés ACID : un concept fondamental de l'ingénierie des bases de données

Imaginons un transfert de 500 € entre deux comptes bancaires : A et B.

La base de données doit effectuer deux opérations :

- Débiter 500 € du compte A.
- Créditer 500 € sur le compte B.

Mais que se passe-t-il si le serveur tombe en panne entre ces deux opérations ?

Est-il possible que l'argent disparaisse ?

C'est précisément le type de problème que les propriétés ACID permettent d'éviter.

ACID représente quatre propriétés fondamentales qui garantissent la fiabilité des transactions dans une base de données.

1. Atomicity - Atomicité

Une transaction doit être considérée comme une seule unité indivisible.

Soit toutes les opérations réussissent, soit aucune n'est validée.

Si le débit est effectué mais que le crédit échoue, la transaction doit être annulée (ROLLBACK).

2. Consistency - Cohérence

Chaque transaction doit préserver les règles et les contraintes définies dans la base de données.

Par exemple, si un système bancaire interdit les soldes négatifs, une transaction ne doit pas violer cette règle.

La base de données doit passer d'un état valide à un autre état valide.

3. Isolation - Isolation

Plusieurs transactions peuvent être exécutées simultanément.

L'isolation garantit que leurs interactions respectent le niveau d'isolation configuré dans la base de données.

Par exemple, deux transactions ne doivent pas pouvoir dépenser incorrectement le même solde disponible.

4. Durability - Durabilité

Une fois qu'une transaction est validée (COMMIT), ses modifications doivent survivre aux pannes et aux redémarrages, conformément aux garanties de durabilité configurées.

Même en cas de coupure électrique, les données validées ne doivent pas disparaître.

Pourquoi chaque Software Engineer devrait-il comprendre ACID ?

Parce que ces propriétés sont essentielles dans :

- Les systèmes bancaires et les paiements électroniques.
- Le commerce électronique et le traitement des commandes.
- La gestion des stocks.
- Les applications financières.
- Les systèmes d'information d'entreprise.
- Les systèmes concurrents et distribués.

Comprendre ACID ne consiste pas simplement à mémoriser quatre définitions.

C'est comprendre comment une base de données protège l'intégrité des données lorsque des incidents surviennent.

Question : Selon vous, quelle propriété ACID est la plus difficile à garantir dans un système fortement concurrent ?

02/11/2026

Databases - ACID : 🇺🇸 English

ACID Properties: One of the Most Fundamental Concepts in Database Engineering

Imagine transferring $500 from Bank Account A to Bank Account B.

The database performs two operations:

- Debit $500 from Account A.
- Credit $500 to Account B.

But what happens if the database crashes between these two operations?

Could the money disappear?

This is exactly the kind of problem that ACID properties are designed to prevent.

ACID represents four fundamental properties of reliable database transactions:

1. Atomicity - All or Nothing

A transaction must be treated as a single unit.

Either all its operations succeed, or none of them are committed.

If the debit succeeds but the credit fails, the transaction must be rolled back.

2. Consistency - Valid State to Valid State

A transaction must preserve database rules and constraints.

For example, if a banking system prohibits negative balances, a transaction must not violate that rule.

The database moves from one valid state to another.

3. Isolation - Transactions Should Not Interfere Incorrectly

Multiple transactions can execute concurrently.

Isolation ensures that concurrent operations respect the database's configured isolation guarantees.

For example, two transactions should not incorrectly spend the same available balance.

4. Durability - Committed Means Persistent

Once a transaction is successfully committed, its changes should survive database crashes and restarts, according to the configured durability guarantees.

Even if the server loses power, committed data should not simply disappear.

Why should every software engineer understand ACID?

Because these properties are at the heart of:

- Banking and electronic payment systems.
- E-commerce and order processing.
- Inventory management.
- Financial applications.
- Enterprise software.
- Concurrent and distributed systems.

Understanding ACID is not just about knowing four definitions.

It means understanding how databases protect data integrity when things go wrong.

Question: Which ACID property do you think is the most challenging to implement correctly in a high-concurrency system?

31/10/2026

Docker and Containers : 🇲🇦 العربية

Docker:
علاش ولى مهم بزاف فـ Software Engineering؟

"راه خدام عندي فـ Machine ديالي!"

هاد الجملة كيعرفوها بزاف ديال Developers.

كتطور Application فالـ Laptop ديالك وكلشي خدام مزيان.

ولكن ملي كتعطي المشروع لشي Developer آخر، ولا كتدير ليه Deployment فالـ Server، كتبدا المشاكل.

علاش؟

حيت ممكن يكون اختلاف فـ:

- Operating System
- Dependencies و Versions
- Libraries
- Runtime
- Environment Configuration

وهنا كيجي الدور ديال Docker.

شنو هو Docker؟

Docker
هو Platform كيمكنك تجمع Application ديالك مع Dependencies والـ Configuration ديالها داخل Environment معزول وقابل للنقل، كنسميّوه Container.

بمعنى أنك كتحدد Environment مرة وحدة، وتقدر تشغل نفس Application بنفس الظروف فـ Machines مختلفة.

علاش Docker مهم؟

Consistency

كتقلل الاختلافات بين Development و Testing و Production.

Portability

نفس Container تقدر تشغلو فـ Laptop ديالك، فـ CI/CD Pipeline أو فـ Cloud Platform.

Isolation

كل Application تقدر تخدم بالـ Dependencies ديالها بلا ما تدخل فـ Conflicts مع Applications أخرى.

Faster Deployment

إنشاء وتشغيل وتعويض Containers كيكون سريع نسبياً.

Scalability

كتقدر تشغل عدة Instances من نفس Application بسهولة أكبر.

شنو الفرق بين Docker و Virtual Machines؟

الـ Virtual Machine عندها Guest Operating System خاص بها.

أما Docker Container كيتشارك Kernel ديال Host Operating System، مع Isolation ديال Application والـ Environment ديالها.

لهذا السبب Containers غالباً كيكونو أخف وأسرع فـ Startup.

كيفاش كيكون Workflow عادي؟

Developer → Dockerfile → Docker Image → Container Registry → Deployment → Running Container

وDocker ماشي غير أداة باش تشغل Application فالـ Local Machine.

راه داخل فـ:

- CI/CD Pipelines
- Kubernetes
- Azure Container Apps
- Amazon ECS
- Google Kubernetes Engine

سؤال للـ Developers و DevOps Engineers:

واش كتستعملو Docker غير فـ Local Development، ولا حتى فـ CI/CD و Production Deployment؟

31/10/2026

Docker and Containers : 🇫🇷 Français

Docker : pourquoi est-il devenu incontournable dans le développement logiciel ?

« Ça fonctionne sur ma machine ! »

Une phrase bien connue des développeurs.

Une application fonctionne parfaitement sur l'ordinateur de son créateur, mais rencontre des problèmes lorsqu'un autre développeur l'exécute ou lorsqu'elle est déployée en production.

Pourquoi ?

Des différences au niveau des systèmes d'exploitation, des versions des dépendances, des bibliothèques, des runtimes et des configurations.

Docker permet notamment de résoudre ce problème.

Qu'est-ce que Docker ?

Docker est une plateforme qui permet de regrouper une application, ses dépendances et sa configuration dans un environnement isolé et portable appelé container.

L'environnement est défini une seule fois, puis peut être reproduit sur différentes machines.

Pourquoi Docker est-il important ?

Cohérence : réduire les différences entre les environnements de développement, de test et de production.

Portabilité : exécuter le même container sur un poste développeur, dans une pipeline CI/CD ou sur une plateforme Cloud.

Isolation : éviter les conflits entre les dépendances de différentes applications.

Déploiement rapide : créer, démarrer et remplacer des containers rapidement.

Scalabilité : faciliter le déploiement de plusieurs instances d'une application.

Docker vs Machines virtuelles

Une machine virtuelle dispose de son propre système d'exploitation invité.

Un container Docker partage le noyau du système d'exploitation hôte, tout en isolant l'application et son environnement d'exécution.

C'est pourquoi les containers sont généralement plus légers et démarrent plus rapidement.

Workflow classique :

Développeur → Dockerfile → Docker Image → Container Registry → Déploiement → Container en exécution.

Docker est aujourd'hui largement utilisé avec Kubernetes, les pipelines CI/CD, Azure Container Apps, Amazon ECS et Google Kubernetes Engine.

Et vous ?

Utilisez-vous Docker uniquement en développement local ou également dans vos pipelines CI/CD et vos environnements de production ?

31/10/2026

Docker and Containers : 🇺🇸 English

Docker: Why Does It Matter in Modern Software Engineering?

"It works on my machine!"

This is one of the most familiar problems in software development.

A developer builds an application on their laptop. Everything works perfectly.

But when another developer runs it, or when the application is deployed to a server, things suddenly break.

Why?

Different operating systems, dependency versions, runtime configurations, libraries and environment settings.

This is one of the problems Docker helps solve.

What is Docker?

Docker is a platform that allows you to package an application together with its dependencies and configuration into an isolated, portable environment called a container.

Instead of manually configuring every machine, you define the environment once and run it consistently across different systems.

Why does Docker matter?

Consistency: Reduce differences between development, testing and production environments.

Portability: Run the same container across a developer's laptop, a CI/CD pipeline or a cloud platform.

Isolation: Applications can run with their own dependencies without conflicting with other applications.

Faster deployment: Containers can be created, started and replaced quickly.

Scalability: Containers make it easier to deploy multiple instances of an application.

Docker vs Virtual Machines

A virtual machine runs its own guest operating system on virtualized hardware.

A Docker container shares the host operating system's kernel while isolating the application and its environment.

This generally makes containers lighter and faster to start.

A typical workflow:

Developer → Dockerfile → Docker Image → Container Registry → Deployment → Running Container

And Docker doesn't stop there.

It is widely used with:

- CI/CD pipelines
- Kubernetes
- Azure Container Apps
- Amazon ECS
- Google Kubernetes Engine

Question for developers and DevOps engineers:

Do you use Docker only for local development, or is it part of your complete CI/CD and production deployment workflow?

31/10/2026

AI News : 🇲🇦 العربية

واش ممكن الـ AI Coding Assistant اللي كيساعدك فالبرمجة يولي أكبر خطر أمني على الجهاز ديالك؟

تخيل معايا:

كتأنسطالي واحد الأداة ديال الذكاء الاصطناعي باش تعاونك تكتب الكود وتسرّع الخدمة ديالك، ولكن من بعد كتكتاشف أن الـ Extension ديالها حاولات تثبّت Backdoor فالجهاز ديالك!

هادشي وقع فعلاً مع نسخة خبيثة من Claude Code ديال Anthropic، اللي توزعات عبر متجر الإضافات ديال Cursor المتوافق مع VS Code.

شنو وقع بالضبط؟

نهار 29 أكتوبر 2026، شركة Cursor اكتاشفات جوج نسخ خبيثة من Extension ديال Claude Code:

- Version 2.1.312
- Version 2.1.313

النسخ المتضررة كانت موجهة لأجهزة Windows وmacOS.

شنو كانت كتحاول تدير هاد الـ Extension الخبيثة؟

SSH Backdoor:
حاولات تزيد SSH Public Key تابع للمهاجم فالجهاز ديال الضحية.

Persistence:
حاولات تنشئ آليات باش تبقى خدامة حتى من بعد ما تعاود تشعل الجهاز.

Information Collection:
جمعات معلومات على الجهاز والمستخدم، بحال Hostname وUsername ونظام التشغيل والـ Public IP.

Remote Access:
حاولات تنشئ Reverse SSH Tunnel باش تسمح بالاتصال عن بُعد بالجهاز.

Credential Exposure:
الجهاز المتضرر يقدر يعرّض معلومات الدخول والـ Sessions اللي عندو الولوج ليها للخطر.

شنو خاص المطورين يتعلمو من هاد الحادث؟

1. ما تثقش بشكل أعمى فحتى Extension، حتى إلا كان عندها اسم ناشر معروف.
2. تأكد من Version والمصدر اللي حملتي منو الإضافة.
3. تعامل مع Extensions ديال IDE بحال أي Software كتخدم بصلاحيات المستخدم ديالك.
4. راقب أي SSH Keys غريبة أو Processes خدامين فالخلفية بلا سبب واضح.
5. إلا كنت متضرر، تبع تعليمات Cursor الرسمية للتنظيف والمعالجة، حيث غير حذف الـ Extension ممكن ما يكونش كافي.

الدرس الأهم:

الـ AI Coding Assistants ولات كتعاون المطورين بزاف، ولكن فنفس الوقت كتزيد توسّع المساحة اللي ممكن يستهدفها المهاجمين فـ Software Supply Chain.

حنا أصلاً كنراجعو Dependencies وPackages وContainer Images من الناحية الأمنية.

واش ما خاصناش حتى Extensions ديال الذكاء الاصطناعي تخضع لنفس المستوى ديال المراقبة والحماية؟

شنو رأيكم؟ واش المطورين كيعطيو أهمية كافية للأمن المعلوماتي ديال الأدوات اللي كيستعملوها فالتطوير بمساعدة الذكاء الاصطناعي؟

#البرمجة

Address

Rabat
10120

Opening Hours

Monday 09:00 - 18:00
Tuesday 09:00 - 18:00
Wednesday 09:00 - 18:00
Thursday 09:00 - 18:00
Friday 09:00 - 18:00
Saturday 09:00 - 18:00
Sunday 09:00 - 18:00

Website

Alerts

Be the first to know and let us send you an email when Informatique & Réseaux posts news and promotions. Your email address will not be used for any other purpose, and you can unsubscribe at any time.

Contact The Business

Send a message to Informatique & Réseaux:

Shortcuts

Share