Skip to content
Governed learning loop Context Graph Processing Graph Governed corpus How To? 10 reference agents Proof Documentation GitHub Open source Get started
08 / Research

Due diligence

An open-ended research agent that stops cleanly at its ceiling and gets more useful from the same spend.

What this example teachesHard budgets, resumable stops, and forks

A ceiling preserves useful work; an authorized fork can continue under a new budget.

Reference agent / keylessCI asserted
Before

Research is open-ended and expensive. Most frameworks treat a spend cap as an exception, losing context or leaving a half-written report that cannot be verified.

With Areev

Budget exhaustion becomes a resumable run state with every finding intact. An analyst can ship the partial report or fork the journal under a deliberately raised ceiling.

The processing graph

The job, the gate, and the learning path.

The plan is content-addressed. Each run becomes a journal. The person is an explicit node—not an optimistic note in the system prompt.

01 Research brief Open-ended questions and sources
02 Gather evidence Journal findings as they arrive
03 Budget stop Ceiling ends the run cleanly
04 Partner sign-off Ship partial or authorize a fork
05 Verified report Replay and shadow the result
06 Improve allocation Signed rules focus the next run
Where it becomes adaptive

Production history changes the next run—after review.

A signed desk rule changes how the next run allocates effort, producing three times the material findings under the same ceiling in the reference fixture.

History→Evidence→Proposal→Person→Next run↺
What the example proves

Assertions, not a happy-path demo.

The repository runs the keyless floor on every release. The exact fixtures and expected outcomes are committed beside the agent.

  1. 01

    Every finding survives budget exhaustion.

  2. 02

    The person who raises a ceiling cannot sign out the resulting report.

  3. 03

    A governed allocation rule yields three times the material findings under the same fixture budget.

Use it as a pattern

What you will learn by rebuilding it.

  • How budgets become graph state rather than catchable exceptions.
  • How time-travel forks preserve the original run while exploring a higher ceiling.
  • How verify and shadow compare execution without mutating the record.
Run the two actsno API key required
$ git clone https://github.com/AreevAI/areev
$ cd areev/examples/agents/due-diligence
$ python/smoke.sh
$ python/improve.sh
committed fixtures deterministic floor human gates asserted
Read the complete README