AI Agent Design Patterns. Part 2: Plan-and-Execute Pattern

Plan-and-Execute separates strategic planning from tactical execution. I break down the Planner+Executor+Reviser architecture, ReWOO and LLMCompiler variants with numbers from original papers, prompt injection defense via control-flow integrity, and a minimal working Go example with Eino.

June 7, 2026 · 14 min · 2930 words · Sebastian PE

AI Agent Design Patterns. Part 3: Reflexion Pattern

Reflexion is a pattern where an agent learns from its own mistakes through verbal reinforcement and episodic memory. I trace the evolution of self-critique from Constitutional AI to Reflexion, honestly show its limitations (doesn’t work without an external verifier), and implement a working example in Go using Eino compose.Graph with an Actor → Evaluator → Reflector → retry loop.

June 7, 2026 · 16 min · 3345 words · Sebastian PE

AI Agent Design Patterns. Part 1: ReAct Pattern

ReAct (Reasoning + Acting) — the foundational AI agent design pattern that interleaves reasoning and action in a single loop. I break down the architecture, numbers from Yao et al. 2022, framework landscape, and a minimal working Go example via Eino.

June 6, 2026 · 10 min · 1984 words · Sebastian PE
Hugo + PaperMod blog setup

Getting Started with Hugo + PaperMod

How this blog was born — Hugo, PaperMod theme, Mermaid diagrams, KaTeX math, custom dark styling, and fully automated CI/CD via GitHub Actions.

June 5, 2026 · 3 min · 538 words · Sebastian PE