Memorize the rules, then debug the agents. embabel-v1-learning is a study repo for the Embabel Agent Framework: Java and Kotlin side by side, guided unit tests, and a cheat sheet extracted from the official User Guide and Cookbook — not a second copy of the cookbook travel recipes.
The important constraint is one branch. Default Maven pins Embabel 1.0 (lessons 01–15). -Pembabel-15 compiles the 1.5 extras (thinking traces, streaming objects, message lists, tool-call inspectors) without turning main into a 1.5-only fork.
./mvnw test # Embabel 1.0 — lessons 01–15
./mvnw test -Pembabel-15 # plus thinking / streaming extras
The mental model in 30 seconds
input → blackboard types
→ planner picks next @Action
→ action may call LLM / code / tools / subagents
→ return value posts new types → REPLAN
→ @AchievesGoal return type → DONE
GOAP does not run your methods top-to-bottom. Types are the wiring. After every action Embabel reassesses the world (OODA). Returning a new object, null, or flipping a condition changes the next step. That is the first thing the top 10 asks you to internalize.
What the curriculum now includes
The study path is built so you can spend 60–90 minutes and actually remember something:
- Cheat sheet + printable PDF — extracted API and planner rules. Keep it next to the debugger.
- Lessons 01–15 — injected
Ai, annotation agents, DICE tools, HITL, conditions/bindings, subagents, RepeatUntil, planner choice,@Stateloops, guardrails, stuck recovery,AgentInvocation, Kotlin DSL. - 1.5 extras — action cost,
createObjectIfPossible, thinking, streaming,fromMessages, tool-call inspectors. Same@Actionstyle; extra PromptRunner surface. - Review circuit — checkbox path: orient → debug Write/Review → tools/conditions/guardrails → planners.
- Templates + snippets — copy-paste Java/Kotlin skeletons under
templates/; typeemb-in the editor (emb-agent,emb-hitl,emb-subagent,emb-dsl…).
FakeOperationContext: prompt contents, temperature, tool attachment, condition predicates. Live LLM judgment stays in the optional shells.
New: a filmed cheat sheet
The latest work is a Memory OS palace for the cheat sheet itself — not a narrated walkthrough of cookbook recipes. Two floors, twelve loci, one bronze type-ingot creature walking guessable body slots. Each organ is absurd and is the concept.
| Floor | What you walk |
|---|---|
| 1 — 1.0 mental model | Types as wiring, replan/OODA, mix code + LLM, tools attach per call, named bindings, four planner hats |
| 2 — PromptRunner + 1.5 | createObject, soft-fail null, message envelopes, thinking traces, streaming JSON bricks, tool inspectors |
Published lengths: full film about 12 minutes; each floor about 5.5–5.7. The player is on GitHub Pages. Overlay labels and Q/A are stamped by the engine — stills are not allowed to paint lettering — so a rebuild on a newer Memory OS contract stays honest.
How to study it: skim the cheat sheet, watch a floor, then debug the matching *GuidedTest. The film is the retrieval hook; the test is the proof you understood the rule.
Source: github.com/jmjava/embabel-v1-learning
Player: jmjava.github.io/embabel-v1-learning
Related: Embabel Guide · memory-os
No comments:
Post a Comment