Research

Agent Context Integrity

An agent is only as reliable as the context it acts on. This is a program of falsifiable measurements on one property: that the information an autonomous agent communicates, stores, resolves, and acts on stays reliable across every stage.

Yao Tsakpo · Independent research

The frame

A long-lived agent passes every fact through four stages. Each is a place the fact’s integrity can be lost, and each is a place it can be measured. We use agent context integrity as the organizing term for the whole property, and treat each stage as a separate, testable component rather than a claim to have founded a field.

stagecomponent measurementstatus
CommunicatePointer vs payload: reference-based context acquisitionmeasured
Store / resolveProvenance-tiered conflict resolution in agent memorythis paper
VerifyVerification integrity (faithfulness of acted-on context)forthcoming
ActExecution integrity (context-to-tool-use fidelity)forthcoming

Published measurements

Store / resolve · 2026

Provenance-tiered conflict resolution in agent memory

Mainstream agent memory keeps recency and relevance but discards the one signal that decides which conflicting fact to trust: where it came from. Attaching a discrete, write-time, unforgeable provenance tier and resolving conflicts by tier measurably improves accuracy on conflicting facts. Two closed-form models, an exact simulation, and a five-model empirical panel.

Read the paper

Store / resolve · reproducible walkthrough

The conflict test: provenance as correctness

Same question, same conflicting facts, two memory stores. As conflict density rises a flat store's accuracy decays toward chance while a provenance store holds at 100%. The hands-on companion to the provenance paper: the derived models, the measured confirmation, and every step needed to reproduce it.

Run the walkthrough

Communicate · 2026

Pointer vs payload: reference-based context acquisition

Sending an agent a resolvable reference rather than a raw payload lets the receiver reconstruct richer, verified context from far fewer transmitted tokens. The communication-stage measurement of the same program.

Read the measurement

Verification and execution integrity are natural further components. Framing them under one property is what lets each measurement reinforce the others rather than stand as an isolated engineering note.

On the reference implementation

The measurements are implementation-independent: each is reproducible over any store, in well under a hundred lines, with any inference endpoint. Where a running system is needed to verify a claim end to end, the work uses Inbin as the reference implementation, an event store whose write surfaces separate an authenticated owner channel from an agent channel. Inbin is one instantiation of the requirements, not a dependency of any result.

Guides · Inbin