Planning & Control Flow

Passive Goal Creator

Analyse the user's articulated prompts and accompanying context to derive a precise, actionable goal before any planning or tool use begins.

Problem

If the planner reads the raw user prompt directly it inherits all of that under-specification. It then either guesses (producing confidently wrong work the user has to correct) or fails on a missing field. Pushing the clarification work into every downstream component spreads the same problem across many places. The team needs one early step that turns a thin dialogue prompt plus retrieved memory into a precise, structured goal that the planner can act on.

Solution

A dedicated component receives the user's prompt via the dialogue interface, retrieves related context from memory (recent tasks, conversation history, positive/negative examples), and produces a refined goal handed to the planner. In multi-agent setups, the same component can receive goals via API from a coordinator instead of directly from a user.

When to use

  • Users interact with the agent through free-form dialogue and prompts are often under-specified.
  • Goal context lives in memory or recent history that the planner does not naturally see.
  • A single early step can replace many downstream clarifications.

Open the full interactive page

Diagram, neighbourhood map, code examples, related patterns and full provenance.

Related