Skip to content
Governed learning loop Context Graph Processing Graph Governed corpus How To? 10 reference agents Proof Documentation GitHub Open source Get started
Open-source adaptive agent infrastructure GitHub

Agents that learn. Humans stay in control.

Areev turns real outcomes into better context, better workflows, and training-ready data—without letting an agent silently rewrite itself.

$pip install areev
Areev learning loop

Production history becomes a governed, measurable improvement.

13 deterministic analyzers · 0 model calls required
  1. Propose From cited history
  2. Human gate Review A named person decides
  3. Apply With its inverse stored
  4. Verify Re-measure the result
Measured outcome Feeds the next run keep · revise · propose a revert
Human authorityNothing applies itself. Every decision has a name, reason, and rollback.
ImprovesContextWorkflowRulesCorpus
01Open sourceMIT or Apache-2.0
02Local firstSQLite to PostgreSQL
03Model agnosticKeep your framework and provider
04ReversibleApply, verify, roll back
Memory is table stakes

Recall the last run.
Improve the next one.

Most agent stacks preserve conversations. Areev preserves the relationship between what the agent knew, what it did, what happened, what a person corrected, and what should change next.

That turns production from a stream of traces into a compounding asset.

Repeated failureEvidence-backed lesson

The same tool or workflow mistake becomes a reviewable recommendation instead of another incident.

Ever-growing promptContext shaped for now

Graph, vector, state, and run history compete inside one deterministic budget.

Brittle static chainWorkflow that adapts

Fan out, pause for a person, resume, fork, and replay without losing proof.

Opaque training setGoverned corpus

Export on-policy trajectories with lineage, loss weights, evaluation, and promotion gates.

Proof before platform diagrams

The gain follows the learning.

One frozen model, 300 held-out tasks, and temperature zero. The only changed condition was whether learned lessons were present in live context.

+22.3percentage points with lessons applied
Read the method and caveats
A / B / A / Bn = 300
46.3%A0before
68.7%Blessons on
47.0%A1rolled back
67.0%B2re-applied
lessons absent lessons presentEvery transition p < 0.0001
One compounding system

Connect what the agent knows, does, and learns.

Areev replaces a pile of disconnected memory, workflow, feedback, and training plumbing with one provenance-aware adaptive record.

01 / CONTEXT GRAPH

Give the agent the right context for this moment.

Combine knowledge-graph relationships, vector and lexical recall, keyed state, policies, and live run history. CAL packs the useful material into a deterministic token budget.

Builder benefitFewer retrieval services, smaller prompts, and context you can replay.
KGrelationships
Vsemantic + BM25
KVcurrent state
Rrun history
CAL packet1,982 / 2,400full · summary · omit
02 / PROCESSING GRAPH

Let real work change the shape of the workflow.

Create tasks from data discovered at runtime, join them with typed reducers, pause on people, resume after budgets, and verify the journal byte for byte.

Builder benefitDynamic orchestration without sacrificing replay or human control.
01Trigger
02Dynamic send3 tasks
claim / 1 doneclaim / 2 doneclaim / 3 wait
03Human gate
04Effect
03 / GOVERNED LEARNING

Turn outcomes into changes people can trust.

Deterministic analyzers propose lessons, rules, plans, and context recipes. Every proposal cites evidence, waits at a named gate, stores an inverse, and is measured after release.

Builder benefitImprovement becomes an inspectable release process—not hidden agent behavior.
Pattern found12 rate-limit failures38 related tool calls
Proposed lessonRetry with bounded backoff.
12 cited runsinverse ready
Named authorityPriya approvedevidence + eval reviewed
measuring at 1, 7, and 30 days
04 / GOVERNED CORPUS

Train from experience without losing the chain of custody.

Export on-policy trajectories with step-level loss weights and source lineage. Bring back an adapter from your own trainer, evaluate it on a pinned set, then approve or roll it back like any other change.

Builder benefitUseful training data with provenance, retention, evaluation, and promotion built in.
run tool outcome / 8f2edit reviewer correction / 61afact verified policy / b09run successful trajectory / 3dc
→
corpus.manifest1,204 trajectorieslineage: intact
loss_weights: step
status: approved
What changes for the builder

Spend less time rebuilding yesterday’s fix.

01
Production quality

Stop recurring mistakes from becoming recurring tickets.

Clusters of failed calls, corrections, and overrides become evidence-backed lessons that can enter the next run.

02
Engineering velocity

Delete the glue between memory, workflow, review, and replay.

One content-addressed record connects facts, graphs, journals, authorities, recommendations, and reversible changes.

03
Operational trust

Show exactly why the agent changed—and who allowed it.

Every recommendation carries its evidence, policy decision, approver, evaluation, inverse, and later measurements.

How To?

Start with a job, not a toy chat.

Ten runnable reference agents show where adaptation meets real consequences: payments, incidents, healthcare operations, hiring, privacy, surveillance, and more.

All ten run without credentials. Each also has an improvement act that CI runs on every release.

Explore every reference agent
Open source. Local first.

Start with one agent.
Keep the learning.

Embed Areev in one SQLite file today. Move to PostgreSQL when the fleet needs it. Keep your model, framework, tools, and deployment boundary.

Pythonpip install areev
Nodenpm install @areev/areev
Rust CLIcargo install areev

SQLite embedded · PostgreSQL server tier · no default telemetry

Questions agent builders ask

Before you add another database to the stack.

Areev’s scope is deliberate: make agent experience useful, govern change, and keep the improvement path inspectable.

Is Areev another vector-memory database?

No. Memory is the substrate, not the pitch. Areev keeps typed knowledge, keyed state, semantic and lexical indexes, relationships, execution journals, workflows, approvals, and recommendations in one provenance-aware record. CAL assembles that material into the context a specific turn needs.

What does “self-improving” mean in Areev?

Areev analyzes an agent’s recorded runs and proposes changes to lessons, context recipes, rules, plans, or governed artifacts. Each proposal cites evidence, passes review and policy gates, stores an inverse when applied, and is measured again afterwards. Improvement never means silently rewriting the agent between reviews.

Does Areev train or change model weights?

Areev does not ship a trainer or autonomously change model weights. It can export lineage-rich, on-policy trajectories for your own trainer, register the resulting adapter, grade it against a pinned evaluation set, and govern promotion or rollback through the same gates as any other change.

Can I keep my existing agent framework and model provider?

Yes. Areev can be embedded through Rust, Python, or Node bindings, used through its CLI or MCP surface, or connected to existing frameworks. It is designed to own the adaptive record, context assembly, governed execution, and learning loop—not your choice of model or application framework.

Where does Areev run?

Areev is local-first. Use an embedded SQLite file for a single agent or edge deployment, or PostgreSQL for the server tier. Recall can stay in-process, and the project collects no telemetry by default.