Notes from building agent systems
Evaluation harnesses, orchestration patterns, memory design and the failures behind them — written up while the details are still fresh.

Athena and the Guessing Problem: Agent Data Platforms Are a Grounding Contract
An agent data platform is only as good as its declared semantics: which facts are canonical, how stale they may be, and how those commitments are versioned.

Semantic Layers Are a Contract Problem Before They Are a Retrieval Problem
Governed semantic layers fail as agent context because they never declared what an agent may conclude from a join. The fix is contractual, not retrieval-side.

Tokenisation for Agents Is a Data-Contract Decision, Not a Cost Tactic
Tokenising entity references in an agent pipeline is a choice of stable identifier scheme, and that choice decides whether actions can be replayed, audited and reversed.

The Agent-Readable Catalogue Is a Trust Contract, Not a Feed
Opening a product catalogue to agents is not a publishing task. It is a contract about what happens when a field is wrong, and who pays for the reconciliation.

The Agent That Agrees With the Data and Not the Meaning
When agents read the same records but diverge on interpretation, the fault is an unversioned semantic layer, not the model. Shared context needs a schema for meaning.

Context Engineering Is a Data Contract: The Four Layers as an Interface Spec
The four-layer context pattern only earns its keep when each layer is a typed contract with an owner, a freshness bound and a named failure mode.
The Consent Ledger Is a Data Contract: What Consumer Agents Owe Before They Remember
Consumer agents that run household logistics remember more than they were ever granted. The missing component is a consent ledger, not a better assistant.
Evidence-Linked Memory Is a Schema Decision, Not a Retrieval Tweak
The gains from evidence-linked memory come from a structural contract written at ingest time, not from better ranking. Memory becomes a provenance problem, not a search problem.