Guarapo

Back to the guide

Agent processes guide

Planner, Generator and Evaluator: cycle, retries, blockers and records.

How to read this guide

The team will find three levels of rules: Core with no exceptions, Rule with an approved exception, and Default that the profile can adjust. The team can adopt, change or omit the Practice steps.

Prepare the first task

Default Before the first task, the team records the backlog, the client QA environment, the isolated environment, the channel, the permissions, the harness, the references and the acceptance criteria.

  1. Practice The client selects a representative request and supplies the material that the team can use. The specialist identifies the accesses that are necessary and checks that they can deliver a sample to the client through the agreed channel.
  2. Practice The specialist compares the start conditions with the profile. They record each pending decision as a blocker, with its responsible person and the activity that depends on it. The organization applies the maximum duration of the initial sprint that the profile sets.

Version the harness

Default The harness contains context, knowledge, authorized tools, rules, reviewed memory, test scenarios, orchestration, observability, security and recovery. Changes are versioned and tested with references.

  1. Practice The specialist prepares an input reference, its expected result, and the versions of the instructions and the permissions. They give Planner the authorized context for the task. To select specific mechanisms, see the tools guide.
  2. Practice Evaluator compares a reference run before and after a configuration change. The organization links the enabled version to the events and costs of the tasks that use it.

Go from the agreement to the plan

Default The client and the specialist agree on scope, criteria, HP and date. Without an agreement, the task is not committed.

  1. Practice Planner breaks the request down into a deliverable, observable criteria and dependencies. The specialist sends ambiguous interpretations back to the client and freezes the agreed version.
  2. Practice The specialist checks permissions, capacity, balance and work in progress limits. They identify the recipient of each handoff before they mark the task as ready.

Practice The team can use this map to tell apart the place where the agent runs and the destination of the deliverable.

Function State Input Output Who receives it Environment
Planner Backlog → Ready Request and priorities Plan with criteria, dependencies and estimate Specialist, to agree with the client Isolated environment
Generator Ready → Executing Approved plan and permissions Identified revision of the deliverable Evaluator Isolated environment, with write access to the client QA environment
Evaluator Evaluating Protected reference and exact revision Evidence and result for each criterion Specialist, also when there is a rejection Isolated environment with separate context, on the client QA environment
Specialist Internal acceptance Evaluated deliverable and report Recorded internal approval and delivery Client, for the verdict Client QA environment

Produce and verify

Rule Before work starts, the criteria, the tests and the verification configuration are protected. Generator does not change the protected version.

Core Evaluator is always an agent different from Generator.

  1. Practice Generator receives the plan reference and produces an identifiable version within the assigned permissions. It gives the location of the version and records the attempt that produced it.
  2. Practice Evaluator gets the inputs and the protected criteria separately. It reproduces the scenarios, compares results and sends evidence with identity, version, steps and observations. If the result cannot be reproduced, it reports the impediment to the specialist.

Tell an internal rejection apart from the verdict

Rule If Evaluator or the specialist rejects before the internal approval, the task goes back to execution, within the retry limit of the profile. If the rejection comes in the client verdict, a new task is created that references the previous one.

  1. Practice The specialist identifies the stage of the rejection in the history. For an internal failure, they keep the same identifier, communicate the criterion that failed, and compare the attempts used and the remaining budget with the profile.
  2. Practice Generator prepares another revision if one authorized attempt remains. Evaluator examines the correction and the criterion that passed before. If the maximum number of retries is reached or the budget is used up, the specialist stops the execution, blocks the task and escalates it to the designated person.
  3. Practice If the client declines in the verdict, the specialist records the result in the original task and opens the linked task. They identify the cause and the payer before they commit the correction.

Resolve a blocker or a service failure

Default A blocker keeps its state, responsible person, date and next action, and it counts in the work in progress until it is resolved. The evaluation and acceptance queues also count.

  1. Practice If the agent fails, Generator or Evaluator gives the specialist the last attempt and the confirmed effects. If the service is not available, the specialist blocks or replans with an authorized alternative after they review capacity and permissions.
  2. Practice When access, authorization or a critical definition is missing, the specialist sends the blocker to the escalation person of the profile. If there is a dispute about the cause or the payer, they refer it to the designated arbiter and record the deadline that the profile sets.
  3. Practice While they wait, the agents keep the dependent action stopped. Only independent work that already started and is authorized continues, within the work in progress limit. The specialist resolves blockers before they start new work. When they receive the resolution, they record who decided, which condition changed and from which state the work continues.

Review the memory

Default A person reviews the changes to memory.

  1. Practice Planner proposes a note with the source, the task and the scope that it belongs to. It tells apart a verified fact from an interpretation that still needs confirmation.
  2. Practice The specialist checks that the note contains no secrets, verifies the source and documents its acceptance or rejection. Later, the team can reconstruct which memory revision the agent received.

Reconstruct a task, also if it is canceled

Default Each task records identifier, scope, criteria, DRIVE version and notes, estimated and debited HP, human times, agent hours for each function, models and accounts, costs, blockers, attempts, evidence, acceptance and rework. Failed and canceled tasks are included.

  1. Practice The specialist opens a task record and links the runs by attempt identifier. Generator and Evaluator supply their activity and cost, also if the deliverable is rejected.
  2. Practice The organization records dated events for start, state change, attempt, rejection, blocker, internal approval, verdict, cancellation and end. For a cancellation, it keeps the last state, the consumption and the resolution of the reservation.
  3. Practice The specialist reconciles calendar duration with human and agent activity. They count each active parallel instance separately and identify the time spent waiting for human approval.

Practice Fields that let the team join the task record and its events.

Group Fields of the record or the event
Agreement Task and project identifier, scope, criteria, agreed date
Estimate and balance DRIVE version, justified notes, estimated, reserved and debited HP
Execution Event, date, previous and next state, function, attempt, model, account and harness version
Consumption Human time for planning, intervention and acceptance, agent hours for each function, AI and infrastructure cost
Waiting and correction Blocker, responsible person, next action, rejection, cause, rework resources
Evidence and closure Deliverable version, report reference, internal acceptance, verdict, final result or cancellation

End-to-end example

Core The final responsibility for the work belongs to the people and to the service provider organization, not to the agents.

Practice The client asks for a confirmation that shows the covered period and keeps the document reference. The record below shows how the specialist tells apart two internal attempts from one single task presented to the client.

Step Actor and action Record that remains
Agreement Planner proposes to verify the dates and the reference. The specialist agrees the plan with the client Ready, frozen plan and estimate, criteria and date
First execution Generator prepares the confirmation in the client QA environment Executing, first attempt, revision and consumption
Rejection Evaluator reproduces the input and sees that the reference is missing Evaluating, evidence of the failure, return to execution
Retry The specialist checks the limit and the budget. Generator corrects the output Same identifier, second attempt, new revision and rework cost
Evaluation Evaluator compares the dates and the reference with the protected input Reproducible report with both criteria met
Internal approval The specialist accepts the evaluated version and delivers it through the agreed channel Human decision and delivery date for review
Verdict The client confirms that they received the agreed result Explicit verdict linked to the version, and closure as the profile specifies

Project profile decisions

  • Which conditions enable the first cycle, and who resolves what is missing?
  • Which work in progress, retry and budget limits stop the task?
  • Who handles escalations, who arbitrates, and which deadline applies to each case?
  • Who reviews the memory, and which references let the team reconstruct a run?

License

© 2026 Guarapo Labs. This guide is offered under the Creative Commons Attribution-ShareAlike 4.0 International license (CC BY-SA 4.0): https://creativecommons.org/licenses/by-sa/4.0/