MoFlo — an opinionated, local-first AI agent orchestration toolkit for Claude Code: semantic memory, learned routing, gates, and spells. No API keys, no cloud, works out of the box.
Runs before the agent uses a tool for ^(Write, Edit, MultiEdit)$, ^(Glob, Grep)$, ^Read$, ^(Bash, PowerShell)$ and ^Agent$ tool calls, executing gate-hook.mjs and hook-handler.cjs via node (9 commands). From eric-cielo/moflo.
Runs when you submit a prompt, before the agent sees it, executing prompt-hook.mjs, gate-hook.mjs and meditate-capture.mjs via node (3 commands). From eric-cielo/moflo.
Runs when the agent finishes a response, executing hook-handler.cjs, auto-memory-hook.mjs, session-continuity.mjs and meditate-capture.mjs via node (4 commands). From eric-cielo/moflo.