Overview
A practical goal loop can be designed as follows.
- State the outcome.
Example: Produce a working keyword research web application.
- State the required properties.
The application must accept a niche, generate relevant real keywords, use the supplied context, and expose a front end that a person can operate.
- Allow the agent to plan and execute.
The agent may create files, run tools, inspect the result, and revise its work.
- Evaluate against the properties.
The judging process asks whether the required artifact exists and whether each required property is satisfied.
- Continue or stop.
If a condition is not met, return to execution. If all conditions are met, declare completion. The operator must still perform final validation, which is covered later.
For a recurring workflow, add scheduling information:
- The job name.
- The requirement.
- The frequency.
- The execution time.
- The expiration date, when applicable.