Revenue-cycle optimization
A denial workflow that creates one task per claim, folds the work back together, and remembers signed fixes.
The processing graph expands at runtime, then joins results deterministically.
CI assertedA remittance can contain an unknown number of denied claims, and recurring causes keep consuming biller attention because each fix remains tribal knowledge.
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 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.
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.
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.
- 01
Six graph nodes expand into eleven runtime tasks.
- 02
Dynamic fan-out remains replayable through declared reducers.
- 03
A learned rule lets three of five later denials avoid human attention.
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.
no API key required$ git clone https://github.com/AreevAI/areev
$ cd areev/examples/agents/rcm-optimization
$ python/smoke.sh
$ python/improve.sh