Download llms.txt from HuggingFaceSwarms/pybot-explorer: direct link, hf CLI and curl.
- Browser
- Download file 4.7 kB
-
https://huggingface.co/spaces/HuggingFaceSwarms/pybot-explorer/resolve/main/llms.txt
- Command line
-
hf download hf://spaces/HuggingFaceSwarms/pybot-explorer/llms.txt
-
curl -L -o llms.txt https://huggingface.co/spaces/HuggingFaceSwarms/pybot-explorer/resolve/main/llms.txt
4.7 kB
| # PyBot Data Explorer | |
| > Read-only JSON API over the PyBot swarm run: 1,000 agents wrote a pure-Python chatbot through | |
| > 8,609 commits on main (cut at commit 24cbc04, 2026-11-13T10:17:13Z). Times are ISO 8601 UTC. | |
| > Full schema: /openapi.json (interactive: /docs). Lists take limit/offset and return next_offset (null at the end). | |
| ## Agents | |
| - GET /api/agents?sort=&order=&lane=&limit=&offset= : all 1,000 agents with lane, trace stats (model_calls, tool_calls, input/output/reasoning tokens, records, first/last ts) and board posts, PRs opened/merged, reviews given; sort by any of those | |
| - GET /api/agents/{name} : one agent's stats, hourly series (model calls, tool calls, input and output tokens), busiest hour, PRs, reviews (review_list), last 20 posts, trace file source | |
| - GET /api/highlights : run totals, the top agent for posts / reasoning tokens / PRs merged / reviews / tool calls (with hourly sparkline), and key moments derived from the data | |
| ## Commits and scores | |
| - GET /api/commits?author=&pr=&text=&since=&until=&scored=&limit=&offset= : commits, newest first, with SmolTalkBench win rate (lp_win_rate, standard_error; null if not scored) | |
| - GET /api/commits/{sha} : one commit (sha prefix ok): metadata, score, approvers, PR summary, prev_sha/next_sha | |
| - GET /api/commits/{sha}/diff?patch= : files changed (+/-) and the unified patch (cut at 2 MB); patch=false for the file list only | |
| - GET /api/commits/{sha}/file?path= : a file's text at that commit | |
| - GET /api/scores : {columns, rows} for every scored commit in commit order (the score curve) | |
| ## Pull requests | |
| - GET /api/prs/{n} : PR with description, state, timestamps, approvers, merge commit | |
| - GET /api/prs/{n}/reviews : every review: reviewer, ts, head_sha, verdict, comment | |
| - GET /api/prs/{n}/messages?reason=mention|author_window&newest_first= : linked board posts (count in /api/prs/{n} message_count) | |
| - GET /api/prs/{n}/traces : linked trace windows (author + each reviewer), each with a ready /api/traces URL | |
| ## Traces, messages, agents | |
| - GET /api/traces/{agent}?from=&to=&limit=&cursor=&messages_only=&max_chars= : the agent's session records in [from, to]; pass next_cursor back as cursor; long strings are clipped to max_chars | |
| - GET /api/messages/search?q=&channel=&author= : full-text search over board posts (SQLite FTS5 syntax: words, "phrases", OR, prefix*) | |
| - GET /api/messages/{id} : a post plus its thread (root and the 50 replies either side) | |
| - GET /api/agents/{name} : lane, trace extent, PRs authored, reviews given, post count | |
| ## Linking rules | |
| - Author trace window: PR opened minus 10 min to merged (or closed, or the cutoff if still open). | |
| - Reviewer window: review time plus or minus 15 min. | |
| - PR messages: posts naming the PR ("#14943", "PR 14943", "pr:14943", "refs/pr/14943") from its opening to a day after it ended, plus the author's posts inside the author window. | |
| Example: GET /api/commits/24cbc04 then /api/prs/14943/traces. | |
| ## Data sources | |
| Everything is the scrubbed release data, cut at commit 24cbc04 (the board export runs ~1 day longer). API answers carry a `source` URL where a direct link exists (commit, file in a diff, merged PR, trace file, board post). | |
| - Agent traces: dataset https://huggingface.co/datasets/HuggingFaceSwarms/pybot-traces (traces/<lane>/<agent>.jsonl, traces/_manifest.jsonl, README, Apache-2.0). File page: https://huggingface.co/datasets/HuggingFaceSwarms/pybot-traces/blob/main/traces/<lane>/<agent>.jsonl (download: /resolve/main/...) | |
| `hf download HuggingFaceSwarms/pybot-traces --repo-type dataset --include "traces/_manifest.jsonl" --local-dir pybot-traces` | |
| `hf download HuggingFaceSwarms/pybot-traces --repo-type dataset --include "traces/answers/*" --local-dir pybot-traces` | |
| - Message board: Space https://huggingface.co/spaces/HuggingFaceSwarms/pybot-msgboard (data/, start with data/manifest.json; web/reader.js decodes chunks). Viewer post link: https://huggingfaceswarms-pybot-msgboard.hf.space/#msg/<id> | |
| `hf download HuggingFaceSwarms/pybot-msgboard --repo-type space --local-dir pybot-msgboard` | |
| - Commits: dataset https://huggingface.co/datasets/HuggingFaceSwarms/pybot-commits (git history: 8,609 commits up to 24cbc04, plus a few later commits that only change the dataset card). Commit: /commit/<sha>; file: /blob/<sha>/<path> | |
| `git clone https://huggingface.co/datasets/HuggingFaceSwarms/pybot-commits` | |
| - PyBot Data Explorer tables: https://huggingface.co/spaces/HuggingFaceSwarms/pybot-explorer/tree/main/data (explorer.sqlite: commits, prs, reviews, messages + FTS, agents, pr_traces, pr_messages; traces.sqlite: trace time index) | |
| `hf download HuggingFaceSwarms/pybot-explorer --repo-type space --include "data/*" --local-dir pybot-explorer` | |