What’s the best way to pull (ie archive) and search these across a few harnesses? I remember seeing a project or two trying to standardize them, but can’t find anything that seems to be a good sensible solution
Mlflow does it pretty nice including session gathering and optional data enrichment (eg what files were touched, what model was used, git remote).
We use these session IDs for commenting on issues and stories touched by AI for context tracing.
I just wrapped around the Mlflow setup to make this simple CLI helper to set it up. Ofcourse the name suggests only Claude but it’s Codex, CC, GHCP and Agy. https://pypi.org/project/claudetracing/
Ask claude to do it end to end, then write a solution that fits your needs from it's experience with you driving it.
I did exactly this - probably the single most valuable piece of software I've "written". It's the backbone of every piece of code coming out of any agent under my control (via MCP toolset).