Agentic Engineering

  • An agent runs tools in a loop to achieve a goal.
  • Agents are systems where LLMs dynamically direct their own processes and tool usage, maintaining control over how they accomplish tasks.
  • Agents help decouple programming, the craft of physically typing code, from engineering, the architecture of your system, the goals, the “why” of what you’re building.

Workflow

Tools and Feedback

Codebase Design

Agent Platforms

  • Agents are actors. Like actors, agents receive messages, update their internal state, spawn other agents, and send messages back. Multi-agent systems can borrow from the actor model.
    • Actors never share state. They talk only through messages and process their inbox one message at a time. With no shared mutable state, agents can run in parallel on one computer or across many.
    • Reuse actor patterns such as supervisor trees, scatter-gather, routers with worker pools, and aggregators.
  • Let agents define listeners and monitors over external event streams (webhooks, Kafka, CDC, …). They turn events into signals to act on, instead of waking up on hourly cron jobs. Agents can build new listeners on the fly, in code or as other agents.

Skills

  • Automate everything that’s easy. To spend more time on the hard stuff, minimize the time you spend on easy things. Distill learnings into skills, build loops, automate code reviews, and let your tools compound.
    • If it doesn’t land, make a SKILL.
  • Write skills for your product so agents know how to use it properly. Distribute them.
  • Good skills optimize predictability.
    • Write checkable steps with explicit completion criteria, front-load the trigger words that should invoke them, and use progressive disclosure for reference material.
    • Prune duplication, no-ops, and stale sediment so each meaning has a single source of truth.
  • Shared skills are a step toward factories.

Examples

Factories