๐Ÿ“š Teach

Interactive lessons โ€” hosted on teach.zahranm.cloud

Harness Engineering โ€” Building Something Like Hermes
Lesson 01 โ€” What Is an Agent Harness?

The architecture of a tool-calling autonomous agent: the conversation loop, tool registry, system prompt assembly, session persistence, gateway pattern, and the five sacred rules.

Published June 19, 2026
Lesson 02 โ€” The Conversation Loop

How Hermes turns one user message into repeated model calls, tool dispatch, recovery, context compression, and a final answer.

Published June 22, 2026
Lesson 03 โ€” Tools, MCP, and Skills

How Hermes manages its capability surface across three layers: the tool registry (built-in tools), MCP servers (external tools), and skills (procedural knowledge).

Published June 19, 2026
Lesson 04 โ€” System Prompt Assembly

How the system prompt is built from identity, skills, memory, context files, and platform hints.

Coming soon
Lesson 05 โ€” Session Persistence with SQLite + FTS5

How conversations are stored, searched, and compressed. The parent_session_id chain pattern.

Coming soon
Lesson 06 โ€” The Gateway Pattern

How one agent core serves 20+ messaging platforms through adapter interfaces.

Coming soon
Lesson 07 โ€” Memory and Skills

The self-improvement loop: declarative memory vs procedural skills, and how an agent learns across sessions.

Coming soon
Lesson 08 โ€” Building a Minimal Agent from Scratch

Putting it all together: a working ~200-line Python agent with tools, sessions, and a CLI.

Coming soon
System Design for AI Agent Platforms
Lesson 01 โ€” System Decomposition

How Bella Enterprise currently decomposes Web, API, Worker, WhatsApp Bridge, Hindsight, external stores, and per-service deployment guarantees. Updated against MetatechID/bella-enterprise main.

Published July 5, 2026 ยท Updated July 6, 2026
Lesson 02 โ€” Action Gateway

Bella's typed action surface: how both brains share one verb catalog (9 โ†’ 227 verbs), ADR 0010 stateful invertibility, Surface adapters, browser verbs, engine parity, Composio, and external-agent delegation.

Published July 6, 2026
Case Studies
CV Search Prototype โ€” Agentic Flows

ASCII diagram mapping all six agentic flows in cv-search.zahranm.cloud: async extraction pipeline (Gemini OCR โ†’ pdftotext โ†’ LLM โ†’ regex fallback), recruiter search, JD matching, job polling, PDF dataset seeding, and CRUD/browse.

Published July 1, 2026