Skip to content

feat: Make recorded sessions richer and shareable #1920

Open
1 of 7 issues completed
Open

Description

@michaljacovi

Motivation

Cortex already records every exchange a coding agent makes: raw request and
response bytes, every retry attempt, TTFB and duration, all egress. Two uses
need more than that today:

  • Realistic replay benchmarks. Replay tools such as Inference-Perf need
    real sessions with their content, their structure (which calls belong to
    one user prompt, which are subagents) and their timing.
  • Sharing real sessions. Some users, starting with our team, want to
    share recorded sessions, for example with an evaluation group. That needs
    redaction, a way to keep a session out, and a format the receiver can load.

This builds on the import (#1856, #1876) and the content-free export (#1810,
#1854, #1812), and does not replace them.

Work

Related: #1930 Retire cortex-session-dump in favour of agentop export (opened by @mrsabath; it closes partly through #1925 and #1921).

Order: #1923 first (small and independent), then #1921, #1922, #1924, and #1925 last, because it uses the others (it needs #1921 for redaction).

Agreed so far (2026-11-17)

Still open: whether telemetry may join a live session later. We start by
joining at export time (#1924).

Assisted-By: Claude (Anthropic AI) [email protected]

Sub-issues

Sub-issues

1 of 7 Issues completed
Loading 7 sub-issues

Metadata

Metadata

Assignees

Labels

enhancement

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions