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

Revenue-cycle optimization

A denial workflow that creates one task per claim, folds the work back together, and remembers signed fixes.

What this example teachesDynamic fan-out and typed reducers

The processing graph expands at runtime, then joins results deterministically.

Reference agent / keylessCI asserted
Before

A remittance can contain an unknown number of denied claims, and recurring causes keep consuming biller attention because each fix remains tribal knowledge.

With Areev

The graph spawns a screening task per denial at runtime and folds every result back deterministically. The resulting run can still be replayed byte-for-byte.

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 Remittance An unknown number of denials
02 Dynamic send Spawn one task per denial
03 Screen in parallel Apply payer and learned rules
04 Biller review Decide unresolved causes
05 Typed reduce Join every task deterministically
06 Promote the rule Signed fixes shape the next batch
Where it becomes adaptive

Production history changes the next run—after review.

One signed classification rule means the same denial cause is recognized next week, allowing routine cases to bypass human attention while ambiguous cases still carry a written decision.

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

    Six graph nodes expand into eleven runtime tasks.

  2. 02

    Dynamic fan-out remains replayable through declared reducers.

  3. 03

    A learned rule lets three of five later denials avoid human attention.

Use it as a pattern

What you will learn by rebuilding it.

  • How `$send` creates runtime work without mutating the stored plan.
  • How typed reducers make parallel joins deterministic and verifiable.
  • How reviewed denial knowledge enters the next run’s context.
Run the two actsno API key required
$ git clone https://github.com/AreevAI/areev
$ cd areev/examples/agents/rcm-optimization
$ python/smoke.sh
$ python/improve.sh
committed fixtures deterministic floor human gates asserted
Read the complete README