Datasets:
File size: 7,030 Bytes
f1c1a60 d38e010 a2e8325 f1c1a60 d38e010 a2e8325 d38e010 c58e2be d38e010 04013a4 c58e2be a2e8325 d38e010 a2e8325 c58e2be a2e8325 128c249 c58e2be a2e8325 d38e010 a2e8325 0367583 a2e8325 d38e010 a2e8325 d38e010 a2e8325 d38e010 a2e8325 d38e010 04013a4 c58e2be 04013a4 d38e010 04013a4 d38e010 04013a4 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 | ---
license: cc-by-4.0
pretty_name: AgentLogs
configs:
- config_name: repositories
data_files: "repositories/*.parquet"
- config_name: agent_tasks
data_files: "agent_tasks/*.parquet"
- config_name: agent_sessions
data_files: "agent_sessions/*.parquet"
default: true
- config_name: agent_session_logs
data_files: "agent_session_logs/*.parquet"
- config_name: users
data_files: "users/*.parquet"
- config_name: pull_requests
data_files: "pull_requests/*.parquet"
- config_name: pull_request_timelines
data_files: "pull_request_timelines/*.parquet"
- config_name: workflow_runs
data_files: "workflow_runs/*.parquet"
---
# AgentLogs
<a href="https://github.com/risenlab/agentlogs" target="_blank" rel="noopener noreferrer"><img src="https://img.shields.io/badge/GitHub-risenlab%2Fagentlogs-181717?logo=github&logoColor=whitesmoke" alt="GitHub risenlab/agentlogs"></a>
<a href="https://pypi.org/project/risenlab-agentlogs/" target="_blank" rel="noopener noreferrer"><img src="https://img.shields.io/badge/PyPI-risenlab--agentlogs-blue?logo=pypi&logoColor=whitesmoke" alt="PyPI risenlab-agentlogs"></a>
<a href="https://arxiv.org/abs/2608.29204" target="_blank" rel="noopener noreferrer"><img src="https://img.shields.io/badge/arXiv-2608.29204-b31b1b?logo=arxiv&logoColor=whitesmoke" alt="arXiv 2608.29204"></a>
> [!NOTE]
> The latest dataset release is `1.0-20261008`, which only works with the schema `v1.0`. It is recommended to pin the Python package with `~=1.0.0`
>
> [Dataset releases](https://huggingface.co/datasets/risenlab/agentlogs#releases) | [Changelog](https://github.com/risenlab/agentlogs/blob/main/CHANGELOG.md#schema-v1_0)
AgentLogs is a dataset of activity on [GitHub's cloud agent platform](https://github.com/features/copilot/agents): repository metadata, agent tasks, sessions, session logs (messages, tool calls, usage details, etc.), and user records.
This dataset is described in:
> 📄 Jonan Richards, Kosei Horikawa, Youmei Fan, Yutaro Kashiwa, and Mairieli Wessel (2026), *AgentLogs: A Dataset for Opening the Black Box of Cloud Agents on GitHub*. arXiv: [2608.29204](https://arxiv.org/abs/2608.29204) (preprint).
## Dataset
| | # Records | Size | Table | Content |
| --- | ---: | ---: | --- | --- |
| **Repositories**<br><small>− 2.18% with agent tasks</small> | 1,861,300<br><small>- 40,565</small> | 462.7 MB | [`repositories`](docs/schema/repository.md) | Public GitHub repositories with over 10 stars (metadata including name, license, language, stars, forks, timestamps, labels, topics). |
| **Agent tasks**<br><small>− 97.20% with sessions</small> | 363,624<br><small>- 353,432</small> | 83.7 MB | [`agent_tasks`](docs/schema/agent_task.md) | Agent assignments on a repository (metadata including name, request, state, creator, timestamps, branch/PR identifiers). |
| **Agent sessions**<br><small>− 98.24% with session logs</small> | 635,886<br><small>- 624,668</small> | 243.1 MB | [`agent_sessions`](docs/schema/agent_session.md) | Executions of an agent on a task (metadata including model, prompt, outcome, usage, workflow run, and branch/PR identifier for that session). |
| **Log entries**<br><small>− >99.99% parsed</small> | 75,631,136<br><small>- 75,630,896</small> | 63.0 GB | [`agent_session_logs`](docs/schema/agent_session_log_entry.md) | Session log events (including messages, usage details, tool calls for file edits, git, and GitHub issues, PRs, comments, CI). |
| **Users**<br><small>− 4.40% with tasks or sessions</small> | 857,428<br><small>- 37,714</small> | 211.5 MB | [`users`](docs/schema/user.md) | Users, organizations, and bots related to the other tables (GitHub id, login slug, and creation date). |
| **Pull requests**<br><small>− 99.82% with timeline events</small> | 317,878<br><small>- 317,297</small> | 483.9 MB | [`pull_requests`](docs/schema/pull_request.md) | Pull requests worked on in agent tasks and sessions (GitHub id, number, state, and branches). |
| **Pull request timeline events** | 9,070,939 | 327.4 MB | [`pull_request_timelines`](docs/schema/pull_request_timeline_event.md) | Timeline events for a pull request (actor, label, commit, and message). |
| **Workflow runs** | 554,496 | 83.3 MB | [`workflow_runs`](docs/schema/workflow_run.md) | GitHub Actions workflow runs that executed an agent session (status, head commit, and triggering user/bot). |
| **Total** | **89,292,687** | **64.9 GB** | | |
See the [schema reference](docs/schema/README.md) for field-level documentation of each table.
Example analysis code and a small sample: [risenlab/agentlogs](https://github.com/risenlab/agentlogs).
### Releases
<table>
<thead><tr><th>Schema version</th><th>Dataset release</th><th>Release date</th><th>Cutoff date</th></tr></thead>
<tbody>
<tr><td rowspan="1"><a href="https://pypi.org/project/risenlab-agentlogs/1.0.0/">v1.0</a></td><td><a href="https://huggingface.co/datasets/risenlab/agentlogs/tree/1.0-20261008">1.0-20261008</a></td><td>8 October, 2026</td><td>30 September, 2026</td></tr>
<tr><td rowspan="1"><a href="https://pypi.org/project/risenlab-agentlogs/0.2.0/">v0.2</a></td><td><a href="https://huggingface.co/datasets/risenlab/agentlogs/tree/v0.2">0.2</a></td><td>29 August, 2026</td><td>17 July, 2026</td></tr>
</tbody>
</table>
## Installation
```bash
pip install 'risenlab-agentlogs~=1.0.0' huggingface_hub
```
## Load
Download parquet once, then query with DuckDB, Polars, or the local streaming notebook.
```python
from pathlib import Path
from huggingface_hub import snapshot_download
from agentlogs.schema import assert_dataset_version
dataset_path = Path("data") / "dataset"
snapshot_download(
repo_id="risenlab/agentlogs",
repo_type="dataset",
revision="1.0-20261008",
local_dir=dataset_path,
)
assert_dataset_version(dataset_path)
```
## Citation
If you use AgentLogs in an academic publication, please cite this preprint:
```bibtex
@misc{richards2026AgentLogsDatasetOpening,
title = {{AgentLogs: A Dataset for Opening the Black Box of Cloud Agents on GitHub}},
author = {Richards, Jonan and Horikawa, Kosei and Fan, Youmei and Kashiwa, Yutaro and Wessel, Mairieli},
year = 2026,
month = aug,
eprint = {2608.29204},
primaryclass = {cs.SE},
doi = {10.48550/arXiv.2608.29204},
archiveprefix = {arXiv},
url = {https://arxiv.org/abs/2608.29204}
}
```
## License
[CC BY 4.0](DATA_LICENSE). Suggested attribution:
> AgentLogs dataset by RISEN Lab, licensed under CC BY 4.0.
Repository sampling uses [GitHub Search](https://seart-ghs.si.usi.ch/)
([GitHub](https://github.com/seart-group/ghs), [Zenodo](https://doi.org/10.5281/zenodo.4588464))
© SEART Research Group and Contributors, used under the
[MIT License](https://github.com/seart-group/ghs/blob/master/LICENSE).
The GitHub Search seed CSV is not distributed with this dataset. The
`repositories` table is built from that CSV.
|