Datasets:

Modalities:
Tabular
Text
Formats:
parquet
ArXiv:
License:
agentlogs / README.md
jonan-richards's picture
Update dataset card
128c249 verified
|
Raw History Blame Contribute Delete
7.01 kB
---
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&amp;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&amp;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&amp;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 related to the [GitHub agents functionality](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 GitHub's Cloud Agent*. arXiv: [2608.29204](https://arxiv.org/abs/2608.29204) (preprint).
## Dataset
| | # Records | Size | Table | Content |
| --- | ---: | ---: | --- | --- |
| **Repositories**<br><small>−&nbsp;2.18% with agent tasks</small> | 1,861,300<br><small>-&nbsp;40,565</small> | 462.7&nbsp;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>−&nbsp;97.20% with sessions</small> | 363,624<br><small>-&nbsp;353,432</small> | 83.7&nbsp;MB | [`agent_tasks`](docs/schema/agent_task.md) | Agent assignment on a repository (metadata including name, request, state, creator, timestamps, branch/PR identifiers). |
| **Agent sessions**<br><small>−&nbsp;98.24% with session logs</small> | 635,886<br><small>-&nbsp;624,668</small> | 243.1&nbsp;MB | [`agent_sessions`](docs/schema/agent_session.md) | Agent runs within a task (metadata including model, prompt, outcome, usage, and branch/PR identifier for that session). |
| **Log entries**<br><small>−&nbsp;>99.99% parsed</small> | 75,631,136<br><small>-&nbsp;75,630,896</small> | 63.0&nbsp;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>−&nbsp;4.40% with tasks or sessions</small> | 857,428<br><small>-&nbsp;37,714</small> | 211.5&nbsp;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>−&nbsp;99.82% with timeline events</small> | 317,878<br><small>-&nbsp;317,297</small> | 483.9&nbsp;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&nbsp;MB | [`pull_request_timelines`](docs/schema/pull_request_timeline_event.md) | Timeline events for collected pull requests (actor, label, commit, and message). |
| **Workflow runs** | 554,496 | 83.3&nbsp;MB | [`workflow_runs`](docs/schema/workflow_run.md) | GitHub Actions runs that executed agent sessions (status, head commit, and triggering user/bot). |
| **Total** | **89,292,687** | **64.9&nbsp;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 GitHub's Cloud Agent}},
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))
&copy; 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.