Wassim Chegham

@wassim.dev

JavaScript and AI at Microsoft · AX · UX · DX • Comp sc • Dad 🏠 https://wassim.dev · 🐙 https://wassim.dev/github · 🛒 https://wassim.dev/shop

Without structure, Agents logic is ad-hoc, and impossible to debug. And as your workflows grow, more tools, steps, branching, the problems compound fast. Agents get stuck in loops, burning tokens while accomplishing nothing. Here is how you can fix it: dev.to/wassimchegha...

4 Design Patterns That Make AI Agents Actually Reliable

Router, Specialist Agents, Plan-Execute-Summarize, and Supervisor Loop — four patterns that make multi-step agents predictable and debuggable.

dev.to

AI agents are distributed systems. When you design your agents that require multiple steps to solve a problem, every step is a chance for something to go wrong: timeouts, partial failures, flaky APIs, etc., exactly like any other distributed system.

This weeken, with my 5-year-old daughter, we turned chestnuts into little works of art. Simple moments, but so precious. Nothing better for creating colorful memories!

This weeken, with my 5-year-old daughter, we turned chestnuts into little works of art. Simple moments, but so precious.

Nothing better for creating colorful memories!

If you're building #MCP developers in TS and are setting a `outputSchema` to your tools, then you MUST provide a `structuredContent` to your CallToolResult (unless it's an error). You're Welcome!

Bild

Repeat after me: I must ALWAYS secure my MCP servers. I must ALWAYS secure my MCP servers. I must ALWAYS secure my MCP servers. I must ALWAYS secure my MCP servers. I must ALWAYS secure my MCP servers. I must ALWAYS secure my MCP servers. I must ALWAYS secure my MCP servers.

Bild

This #EarthDay, go green with your AI apps! Boost OpenAI Embeddings perf by 4x with ONE simple tweak. Cut response sizes by 75%—that's terabytes of bandwidth saved at scale! Less data = faster apps + lower carbon footprint 🌱 Read my whole research techcommunity.microsoft.com/blog/azurede...

Speed Up OpenAI Embedding By 4x With This Simple Trick! | Microsoft Community Hub

In today’s fast-paced world of AI applications, optimizing performance should be one of your top priorities. This guide walks you through a simple yet...

techcommunity.microsoft.com