USL

Session Log vs Memory vs Trace

How USL differs from Mem0-style memory and observability telemetry

A session log, an agent memory system, and an observability trace may all ingest conversation data, but they preserve it for different reasons.

layeroptimized fortypical outputsource of truth?
USL session logexact history, provenance, replay, migration, and auditordered canonical events plus native evidenceyes, for captured session history
memory layer (for example Mem0)retrieving useful facts and preferences for a future promptextracted, updated, deduplicated, or embedded memoriesno; it is a derived knowledge layer
observability tracediagnosing latency, errors, cost, and service behaviorspans, metrics, logs, and attributesno; it is operational telemetry

Why Mem0 having a session_id is not the same thing

Mem0 can scope memories by user, agent, application, run, or session and can retain raw messages when configured. Its primary abstraction is still a memory: information selected or stored for later retrieval. USL's primary abstraction is an append-only record with sequence, integrity framing, canonical event meaning, and evidence back to the native source.

That difference matters when you ask:

  • Can I prove the order and origin of tool calls and results?
  • Can I preserve an unknown vendor payload without understanding it?
  • Can I rebuild projections after a crash or schema change?
  • Can an exporter determine whether a native harness can safely resume?

Those are session-log questions. “What preferences or facts should the next prompt recall?” is a memory question.

Use them together

The recommended architecture is additive:

native harness / ACP stream
          |
          v
ASP canonical events + evidence -> USL durable append log
          |                         |
          |                         +-> telemetry traces and metrics
          +-> redacted chunks -> memory extraction / semantic retrieval

The USL log remains the rebuildable history. A memory index can be regenerated under a new extraction or redaction policy, and telemetry can be retained under its own operational policy. A memory hit or trace span should carry evidence or correlation IDs back to the session rather than replace it.

Current boundary

USL currently ships durable append/read/verify primitives and harness conversion components. The richer full-text, vector, lineage, analytics, and subscription system in the query RFC is a target architecture, not a claim that all features ship today. See Query Plane and Search & Indexing.

References: Mem0 repository, OpenTelemetry generative AI conventions, and the ASP specification.

On this page