Architecture

7 articles in Architecture

Single Agent or Multi-Agent? How I Decide
Architecture ArchitectureAI Agents

Single Agent or Multi-Agent? How I Decide

Multi-agent systems are trendy right now, but most tasks do not need them. Here's the decision framework I use before splitting a workflow into multiple agents.

· Hichem Refes
Read
Context Windows Are the Bottleneck Nobody Talks About
Architecture Context WindowsLLM

Context Windows Are the Bottleneck Nobody Talks About

Context window limits shape every decision in multi-agent AI systems. Here's why this constraint matters more than model choice.

· Hichem Refes
Read
Vector Search for Agent Memory: Why It Matters
Architecture Vector SearchMemory

Vector Search for Agent Memory: Why It Matters

Keyword search fails when AI agents need to recall context. Vector search finds what matters even when the words do not match. Here's how I use it.

· Hichem Refes
Read
The Orchestrator Pattern: One Agent to Rule Them All
Architecture OrchestrationAI Agents

The Orchestrator Pattern: One Agent to Rule Them All

When you have dozens of AI agents, someone needs to be in charge. Here's how the orchestrator pattern keeps everything coordinated without chaos.

· Hichem Refes
Read
Factory Patterns for AI Agents: Stop Rebuilding the Same Thing
Architecture Factory PatternsAI Architecture

Factory Patterns for AI Agents: Stop Rebuilding the Same Thing

Every new AI agent I built started from scratch until I implemented factory patterns. Here's how reusable templates changed my entire agent architecture.

· Hichem Refes
Read
How PRISM Gives Every AI Agent a Consistent Personality
Architecture PRISMAI Agents

How PRISM Gives Every AI Agent a Consistent Personality

AI agents sound generic by default. PRISM is the framework I use to give each agent a distinct, consistent voice across every interaction.

· Hichem Refes
Read
The 6-Layer Memory System That Makes AI Agents Actually Useful
Architecture Memory SystemsAI Architecture

The 6-Layer Memory System That Makes AI Agents Actually Useful

AI agents forget everything between sessions. Here's the 6-layer memory architecture I built to fix that, and why it changes everything.

· Hichem Refes
Read