Skip to content

document session traces format#2613

Merged
julien-c merged 1 commit into
mainfrom
session-traces-format
Jul 1, 2026
Merged

document session traces format#2613
julien-c merged 1 commit into
mainfrom
session-traces-format

Conversation

@julien-c

@julien-c julien-c commented Jul 1, 2026

Copy link
Copy Markdown
Member

add a page describing the session traces format (STS-Format) so harness authors can make their sessions render in the trace viewer

link it from the end of the Agents section and add a callout on the Agent Traces page

disclaimer: my julien-cto agent helped me write this


Note

Low Risk
Documentation-only changes with no runtime, API, or security impact.

Overview
Adds Session Traces Format documentation so custom agent harness authors can emit JSONL sessions that render in the Hub trace viewer.

The new page defines STS-Format: a first-line session header (type, harness, id, optional metadata) followed by message envelopes with roles, content, tool calls, and tool results. It notes how harness drives viewer branding, lists recognized harness ids, and points to Pi’s native format as an alternative with a harness field on the header.

Navigation is wired by adding the page to the Agents section in _toctree.yml, and Agent Traces gets a tip linking harness builders to this spec.

Reviewed by Cursor Bugbot for commit 9d14846. Bugbot is set up for automated code reviews on this repo. Configure here.

@HuggingFaceDocBuilderDev

Copy link
Copy Markdown

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@davanstrien davanstrien left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice!

@julien-c
julien-c merged commit 1fd30be into main Jul 1, 2026
3 checks passed
@julien-c
julien-c deleted the session-traces-format branch July 1, 2026 16:48
@julien-c

julien-c commented Jul 1, 2026

Copy link
Copy Markdown
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants