React for Agents: Astro Creator Brings Hooks to his Meta-Harness, Flue
- Source
- latent.space
- Author
- Richard MacManus
- Date

Context
Flue 2 is an framework that lets developers change an agent's available tools as work progresses. Its agent function runs again before each model call, and reusable functions called hooks attach capabilities according to the current state. The creator interview explains why this matters for workflows that cannot be configured entirely in advance.
A support workflow, for example, can make account-management tools available after customer verification. The release also demonstrates assigning different tools to successive workflow steps. Developers can encode those transitions in the agent's configuration, so the model receives capabilities appropriate to the current stage.
- AI agent — An AI system that doesn't just answer once but works toward a goal in a loop — taking actions, reading the results, and deciding what to do next.
“Schott is the creator of the web framework Astro, which led to his company being acquired by Cloudflare in January.”
Richard MacManus
“There are 16 built-in hooks in Flue 2, including useSkill(), useTool(), useSubagent(). You can also add custom hooks.”
Richard MacManus
“What hooks open up for developers is that they make an agent much more dynamic, by allowing its configuration to change as a conversation or workflow progresses.”
Richard MacManus
“The Flue project began earlier this year within the Astro repository, as an issue-triage system. At first, it was an LLM-driven script or workflow reviewing issues.”
Richard MacManus
“Building on Pi meant committing to having a built-in agent harness.”
Richard MacManus
articleCrossing the Threshold: How OpenAI and Anthropic Approach Autonomy and Safety in Financial Agents
articleHow Anthropic’s Dynamic Workflows Coordinate Claude Agents
articleCan a Cloud-Native Harness Make Agents Reliable Beyond the Desktop?
articleInside-Out AI: Rebuilding Airbnb Behind the Scenes and Across the Guest Experience
Checking sign-in…
Loading comments…

