← All writing

· 3 min read

In a multi-agent pipeline, the human approves a hash

Two small decisions from InvestigIA that keep a six-agent pipeline honest: bounded retries and approvals tied to content.

InvestigIA turns a master's student's profile into a research protocol using six agents, and a human approves the plan before the rest runs. Two decisions keep that pipeline trustworthy.

Retries need a ceiling

Agents fail, and retrying is reasonable. Retrying forever is not. Each stage gets at most 3 attempts, and the counter is saved with the run, so resuming a paused run does not quietly reset it.

Approve the content, not the click

Saying yes to a plan is only meaningful if the plan is the one that was shown. The approval is tied to a hash of the outline, so any edit invalidates it and the human has to approve again.

Try it

Illustration, not live data.

Max 3 retries per stage

  1. Guardrail

    Is the topic about a graduate thesis?

  2. Profile

    Interview until 5 required fields are filled.

  3. Matching

    Top-5 from the vector store, top-1 researcher.

  4. Methodology

    Proposes an outline and waits for a human.

  5. Bloom gate

    Objectives must reach analyze, evaluate or create.

    Confidence

    • 0.86
    • 0.79
    • 0.93

    Needs confidence of 0.70 or more, and one objective at analyze or above

  6. Research

    Retrieves evidence for the protocol.

    Queries arXiv, CrossRef, bioRxiv and Europe PMC in parallel

  7. Writing

    Drafts the research protocol.

  8. Review

    Scores the draft against the rules.

    Review score0.90

    Score = 1 minus penalties, approve at 0.70 or more

One place to call the model

Every call to the model goes through a single function. Failures there become controlled errors that the pipeline understands, instead of crashes that surface three stages later.

None of this is glamorous, but it is what turns a demo with agents into something a team can rely on.

Read the case study →