Datasets:
|
Download README.md from Aeonthic/Agentic-SFT: direct link, hf CLI and curl.
- Browser
- Download file 9.47 kB
-
https://huggingface.co/datasets/Aeonthic/Agentic-SFT/resolve/main/README.md
- Command line
-
hf download hf://datasets/Aeonthic/Agentic-SFT/README.md
-
curl -L -H "Authorization: Bearer $HF_TOKEN" -o README.md https://huggingface.co/datasets/Aeonthic/Agentic-SFT/resolve/main/README.md
9.47 kB
| pretty_name: "My Agent Traces" | |
| task_categories: | |
| - text-generation | |
| tags: | |
| - "agent-traces" | |
| - "format:agent-traces" | |
| - "codex" | |
| - "distillation" | |
| - "teich" | |
| configs: | |
| - config_name: default | |
| data_files: | |
| - split: train | |
| path: "**/*.jsonl" | |
| This dataset was generated using [teich](https://github.com/TeichAI/teich) by [TeichAI](https://huggingface.co/TeichAI) <img src="https://cdn-avatars.huggingface.co/v1/production/uploads/6837935ac3b7ffe0d2559ce9/-AxyvV4wfUY8uo87kNKkK.png" width="20" height="20" style="display: inline-block; vertical-align: middle; margin: 0 3px;"> | |
| # My Agent Traces | |
| This directory contains raw agent trace files generated by teich. | |
| JSONL files: 20 | |
| ## Training-ready tools | |
| Generated agent traces carry configured or recovered tool schemas so tools remain available for training even when a session did not call them. | |
| Native Claude Code imports recover schemas for Claude Code and Claude Desktop built-ins, plus conservative name-derived MCP schemas, when the raw transcript only records tool names or calls. | |
| A complete dataset-level `tools` schema snapshot is embedded in the collapsed section at the bottom of this README. | |
| `load_traces` applies the dataset snapshot to each loaded example as a fallback `tools` field. | |
| ## Create A Similar Dataset | |
| This dataset was staged from existing local agent sessions with `teich extract`. | |
| To build your own local dataset, install Teich and point it at one of the supported providers: | |
| ```bash | |
| teich extract codex --out data | |
| ``` | |
| Use `--sessions-dir /path/to/store` when your sessions are not in the default location, | |
| and `--model <substring>` when you only want sessions whose model metadata matches a value. | |
| ## Format | |
| Each file is newline-delimited JSON representing a single captured agent session. | |
| The trace schema is designed for upload-first preservation so you can keep the original session history and convert it later for training. | |
| Teich normalizes split assistant fragments during trace copy and conversion so the semantic order is reasoning first, optional assistant text second, and tool calls last. | |
| Native Claude Code conversion also preserves runtime context such as skills, MCP instructions, hook context, permission state, date changes, and session recaps as masked `system` messages when the raw transcript provides them. | |
| Common top-level event groups: | |
| - `session_meta` | |
| - `turn_context` | |
| - `event_msg` | |
| - `response_item` | |
| - `session` | |
| - `message` | |
| - `session_info` | |
| - `model_change` | |
| - `thinking_level_change` | |
| - `external_session_meta` | |
| - `external_message` | |
| - `external_stderr` | |
| ## Example | |
| ```json | |
| {"timestamp": "2026-07-19T08:53:37.517Z", "type": "session_meta", "payload": {"session_id": "019f7994-b5ce-71d0-9fbc-1b66f4e1c7bd", "id": "019f7994-b5ce-71d0-9fbc-1b66f4e1c7bd", "timestamp": "2026-07-19T08:53:36.846Z", "cwd": "C:\\Users\\crazy\\OMG-Source", "originator": "Codex Desktop", "cli_version": "0.144.2", "__truncated__": "7 keys omitted"}} | |
| ``` | |
| ## Training | |
| Use this dataset as `Aeonthic/Agentic-SFT` with Teich's data preparation and training utilities. | |
| If you do not want Teich to handle chat-template formatting or masking, run `teich convert` to write standalone OpenAI-style JSONL rows with `prompt`, `messages`, `tools`, and `metadata`. | |
| Training setup details evolve over time, so the maintained guide lives in the [Teich training docs](https://github.com/TeichAI/teich/blob/main/docs/training.md). | |
| For loading, mixing, converting, and validating Teich datasets, see [Preparing Data](https://github.com/TeichAI/teich/blob/main/docs/prepare-data.md). | |
| ## Tool schema snapshot | |
| <details> | |
| <summary>Training-ready tool schema snapshot</summary> | |
| ```json | |
| [ | |
| { | |
| "type": "function", | |
| "function": { | |
| "name": "apply_patch", | |
| "description": "Apply a unified patch to files in the workspace.", | |
| "parameters": { | |
| "type": "object", | |
| "properties": { | |
| "patch": { | |
| "type": "string" | |
| } | |
| }, | |
| "additionalProperties": true, | |
| "required": [ | |
| "patch" | |
| ] | |
| } | |
| } | |
| }, | |
| { | |
| "type": "function", | |
| "function": { | |
| "name": "bash", | |
| "description": "Run shell commands in the workspace.", | |
| "parameters": { | |
| "type": "object", | |
| "properties": { | |
| "command": { | |
| "type": "string" | |
| }, | |
| "timeout_ms": { | |
| "type": "integer" | |
| }, | |
| "workdir": { | |
| "type": "string" | |
| } | |
| }, | |
| "additionalProperties": true, | |
| "required": [ | |
| "command" | |
| ] | |
| } | |
| } | |
| }, | |
| { | |
| "type": "function", | |
| "function": { | |
| "name": "exec", | |
| "parameters": { | |
| "type": "object", | |
| "properties": { | |
| "input": { | |
| "type": "string" | |
| } | |
| }, | |
| "additionalProperties": true, | |
| "required": [ | |
| "input" | |
| ] | |
| } | |
| } | |
| }, | |
| { | |
| "type": "function", | |
| "function": { | |
| "name": "exec_command", | |
| "description": "Run a shell command in the workspace.", | |
| "parameters": { | |
| "type": "object", | |
| "properties": { | |
| "cmd": { | |
| "type": "string" | |
| }, | |
| "justification": { | |
| "type": "string" | |
| }, | |
| "login": { | |
| "type": "boolean" | |
| }, | |
| "max_output_tokens": { | |
| "type": "integer" | |
| }, | |
| "prefix_rule": { | |
| "type": "array" | |
| }, | |
| "sandbox_permissions": { | |
| "type": "string" | |
| }, | |
| "shell": { | |
| "type": "string" | |
| }, | |
| "tty": { | |
| "type": "boolean" | |
| }, | |
| "workdir": { | |
| "type": "string" | |
| }, | |
| "yield_time_ms": { | |
| "type": "integer" | |
| } | |
| }, | |
| "additionalProperties": true, | |
| "required": [ | |
| "cmd" | |
| ] | |
| } | |
| } | |
| }, | |
| { | |
| "type": "function", | |
| "function": { | |
| "name": "load_workspace_dependencies", | |
| "parameters": { | |
| "type": "object", | |
| "properties": {}, | |
| "additionalProperties": true | |
| } | |
| } | |
| }, | |
| { | |
| "type": "function", | |
| "function": { | |
| "name": "run", | |
| "parameters": { | |
| "type": "object", | |
| "properties": { | |
| "response_length": { | |
| "type": "string" | |
| }, | |
| "search_query": { | |
| "type": "array", | |
| "items": { | |
| "type": "object", | |
| "properties": { | |
| "q": { | |
| "type": "string" | |
| } | |
| }, | |
| "additionalProperties": true, | |
| "required": [ | |
| "q" | |
| ] | |
| } | |
| } | |
| }, | |
| "additionalProperties": true, | |
| "required": [ | |
| "response_length", | |
| "search_query" | |
| ] | |
| } | |
| } | |
| }, | |
| { | |
| "type": "function", | |
| "function": { | |
| "name": "shell_command", | |
| "parameters": { | |
| "type": "object", | |
| "properties": { | |
| "command": { | |
| "type": "string" | |
| }, | |
| "justification": { | |
| "type": "string" | |
| }, | |
| "prefix_rule": { | |
| "type": "array", | |
| "items": { | |
| "type": "string" | |
| } | |
| }, | |
| "sandbox_permissions": { | |
| "type": "string" | |
| }, | |
| "timeout_ms": { | |
| "type": "integer" | |
| }, | |
| "workdir": { | |
| "type": "string" | |
| } | |
| }, | |
| "additionalProperties": true, | |
| "required": [ | |
| "command", | |
| "timeout_ms", | |
| "workdir" | |
| ] | |
| } | |
| } | |
| }, | |
| { | |
| "type": "function", | |
| "function": { | |
| "name": "update_plan", | |
| "description": "Update the current task plan.", | |
| "parameters": { | |
| "type": "object", | |
| "properties": { | |
| "explanation": { | |
| "type": "string" | |
| }, | |
| "plan": { | |
| "type": "array" | |
| } | |
| }, | |
| "additionalProperties": true, | |
| "required": [ | |
| "plan" | |
| ] | |
| } | |
| } | |
| }, | |
| { | |
| "type": "function", | |
| "function": { | |
| "name": "view_image", | |
| "description": "Inspect a local image file.", | |
| "parameters": { | |
| "type": "object", | |
| "properties": { | |
| "detail": { | |
| "type": "string" | |
| }, | |
| "path": { | |
| "type": "string" | |
| } | |
| }, | |
| "additionalProperties": true, | |
| "required": [ | |
| "path" | |
| ] | |
| } | |
| } | |
| }, | |
| { | |
| "type": "function", | |
| "function": { | |
| "name": "wait", | |
| "parameters": { | |
| "type": "object", | |
| "properties": { | |
| "cell_id": { | |
| "type": "string" | |
| }, | |
| "max_tokens": { | |
| "type": "integer" | |
| }, | |
| "terminate": { | |
| "type": "boolean" | |
| }, | |
| "yield_time_ms": { | |
| "type": "integer" | |
| } | |
| }, | |
| "additionalProperties": true, | |
| "required": [ | |
| "cell_id", | |
| "yield_time_ms" | |
| ] | |
| } | |
| } | |
| } | |
| ] | |
| ``` | |
| </details> | |