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

Incident response

An incident desk where the next identical page arrives with the last cause—and still stops at a human gate.

What this example teachesWebhook triggers and remembered causes

Push events start governed workflows directly; deduplication and history are part of the record.

Reference agent / keylessCI asserted
Before

Every page starts from zero, vendor retries can restart remediation, and prior causes live in postmortems nobody opens at 3 a.m.

With Areev

Redelivered alerts start nothing. The next matching alert arrives with its history attached, and every production action carries the engineer who approved it and their written reason.

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 Alert webhook Your existing TLS-authenticated listener
02 Classify Attach service and signal context
03 Recall causes Bring forward relevant prior incidents
04 Engineer gate Apply, override, or record only
05 Production action Journaled before effect
06 Record cause The next page starts better informed
Where it becomes adaptive

Production history changes the next run—after review.

Failed remediation attempts cluster into an evidence-cited recommendation. Accepted causes are assembled into the next alert’s context, improving the proposal without removing the on-call engineer.

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

    Duplicate webhooks start zero additional runs.

  2. 02

    Malformed alerts are journaled loudly instead of disappearing.

  3. 03

    Manual replay uses the same plan but remains a new governed run.

Use it as a pattern

What you will learn by rebuilding it.

  • How webhook and manual triggers can address the same content-addressed workflow.
  • How to preserve a human gate while improving the proposal placed in front of it.
  • How saved CAL queries turn the desk’s own record into the next run’s briefing.
Run the two actsno API key required
$ git clone https://github.com/AreevAI/areev
$ cd areev/examples/agents/incident-response
$ python/smoke.sh
$ python/improve.sh
committed fixtures deterministic floor human gates asserted
Read the complete README