Cover Package // Hybrid Build
Palette // Weasel Yellow #FFFF42
Assets // Base64 Embedded
Executive technical field brief

Learn Agentic AI with Lavigne

Building a Weasel Orchestrator Agent — a serious, high-end technical book about transparent agent systems, grounded in one complete working implementation.

03embedded cover assets
06framework roles
13chapter argument
#FFFF42locked weasel yellow
OFFLINEsingle self-contained HTML
SEC-01
FULL WRAP

Continuous cover spread

Full wraparound cover showing boardroom back, spine, and front cover.
Full cover spread: back cover left, spine center, front cover right. Back cover text intentionally removed from the artwork.
SEC-02
PORTRAITS

Front and back plates

Portrait front cover for Learn Agentic AI with Lavigne.
Front cover portrait: approved title stack, subtitle, subtle six-role motif, and Weasel Orchestrator Agent.
Portrait boardroom back cover background with no text.
Back cover portrait: text-free boardroom background for controlled copy placement.
SEC-03
BACK COPY

No magic. Just mechanics you can trace.

Back cover body

There is no shortage of writing about AI agents. There is, however, a shortage of writing that shows you one — whole, running, and small enough to hold in your head.

Learn Agentic AI with Lavigne teaches agentic AI through a single, complete, working artifact: braagle_weasel.py, a single-file, standard-library-only skills orchestrator — the Weasel Orchestrator Agent — that runs a full agent loop, loads procedural knowledge on demand, records every decision it makes, and tests itself offline.

This is not a book about imaginary architecture. It is a guided walk through a working system: skills, tools, state, stop logic, loop mechanics, tracing, regression, and the boundary between model judgment and guarantees.

By the end, the agent is no longer magic. It is mechanics you can read, run, trace, and understand.

Inside you’ll learn

  • how skills package procedural judgment
  • how tools expose capabilities safely
  • why state needs one writer
  • how stop logic keeps the loop honest
  • how traces become regression tests
  • where model judgment ends and guarantees begin
SEC-04
GROUNDING

No hidden machinery

Dominant promise

This is not an agent imagined in prose. It is a working machine the reader can read, run, trace, and understand.

Grounding statement

This book is grounded in a single running artifact: braagle_weasel.py, version 1.0.0, an 838-line, single-file, standard-library-only Weasel Orchestrator Agent with a passing self-test. Every technical claim in the book traces to that artifact, its teaching primer, or its complete operating manual, the context pack.

The book does not describe an imagined framework, a diagram-only architecture, or a vendor abstraction. It explains the actual code that runs: the skill loader, tool contract, state chokepoint, stop logic, loop mechanics, trace emitter, regression harness, mock model, fixture skills, business tools, and self-test.

Where the book expands beyond the source, it does so pedagogically, not inventively. Analogies, walkthroughs, exercises, and chapter compressions are used to make the mechanics legible, but they do not add capabilities the framework lacks.

The result is a book about agentic AI with a narrow promise: no hidden machinery, no ungrounded claims, and no component that exists only in prose.

SEC-05
SIX ROLES

The book’s compass

LayerRoleOne-liner
Skillprocedurewhen to act, what steps, what gates, where deep knowledge lives
Toolcapabilitythe external action itself, fn(**args)
Statetruthsingle-writer dict; everything reads/writes through one chokepoint
Stopjudgein-skill completion criteria first; external guards as backstop
LoopengineReason → Act → Observe → Update → Check
Tracememorydecision events + state diffs; replayable as regression evals
A skill is a procedure. A tool is a capability. State is the truth. The stop logic is the judge. The loop is the engine. The trace is the memory.
SEC-06
BOOK MAP

Thirteen-chapter argument

CH-01The problem the framework exists to solve
CH-02The model as a pure function, and the two shapes that steer everything
CH-03Tool calls: the hands, the contract, and errors as conversation
CH-04Skills: packaged judgment and the economics of attention
CH-05The loop: one revolution, examined
CH-06Termination: the judge, the two endings, and the real enemy
CH-07State: one writer, or your diffs lie
CH-08Tracing: recording decision surfaces, not minds
CH-09Regression and evaluation: traces as frozen tests
CH-10The economics: where the money goes and how the design fights it
CH-11The honest mechanics: what the model decides versus what you guarantee
CH-12One run through every concept: the Acme story, retold
CH-13What to keep: the compressions