arXiv:2608.29204cs.SEAug 2026

Manuscript Offprint

arXiv:2608.29204

AgentLogs: A Dataset for Opening the Black Box of GitHub's Cloud Agent

Jonan Richards, Kosei Horikawa, Youmei Fan, Yutaro Kashiwa, Mairieli Wessel

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Jonan Richards*, Kosei Horikawa†, Youmei Fan†, Yutaro Kashiwa† and Mairieli Wessel*

*Radboud University, the Netherlands Email: {jonan.richards,mairieli.wessel}@ru.nl

†Nara Institute of Science and Technology, Japan Email: {horikawa.kosei.hk1,fan.youmei.fs2,yutaro.kashiwa}@naist.ac.jp

Abstract—Generative AI-based software engineering agents are becoming routine contributors to real-world software projects. On GitHub, developers can assign tasks to the Copilot cloud agent, which autonomously explores the repository, edits code, runs commands, and opens or reviews pull requests, producing a detailed log of every step along the way. While existing datasets capture outcomes of agent contributions, such as agent-authored pull requests, the process by which agents produce these contributions remains largely unexplored. To address this gap, we introduce AgentLogs, a large-scale dataset of agent activity on GitHub. AgentLogs comprises 307,416 agent tasks and 549,239 agent sessions in 35,810 of the 1,812,362 popular public repositories that we scanned, together with 64,255,174 session log entries that record each agent run step by step, including prompts, intermediate reasoning, tool calls (e.g., file edits, git operations, and GitHub interactions), and token usage. By exposing not only what agents contribute but also how they work, AgentLogs enables research on agent behavior, efficiency and cost, task formulation, failure modes, and human-agent collaboration in agentic software engineering.

Index Terms—AI software engineering agents, GitHub Copilot, agent logs, pull requests, mining software repositories, dataset

I. DATASET OVERVIEW

GitHub allows developers to employ autonomous agents to perform software engineering tasks [1], [2]. Developers assign a task, potentially with a natural-language prompt, from e.g., the Agents tab on GitHub.com (see Figure 1), in a comment on a pull request, as an automation, or on a connected third-party tool such as Jira, Linear, or Slack [2], [3]. GitHub Copilot cloud agent then works asynchronously in a temporary environment, exploring the repository, planning and implementing changes, editing files, running commands, and interacting with GitHub by, e.g., reading, reviewing, and creating issues, pull requests, and comments [2]. Tasks can also use repository-defined custom agents or third-party models such as Claude and Codex, configured on top of the Copilot agents platform [1], [4]. Each task can run one or more sessions, each of which produces a detailed session log recording model output, tool calls, usage metadata, prompts, and reasoning traces (Figure 1).

We seeded our data collection process using an up-to-date dataset of GitHub repositories with over 10 stars [5], accessed at https://seart-ghs.si.usi.ch/ on July 10, 2026. Next, we used the GitHub REST API to fetch agent task identifiers for each repository. Although the REST API has an endpoint to fetch task and session data from these task identifiers, this data is limited. Instead, we used undocumented endpoints of the GitHub Copilot API (https://api.githubcopilot.com) to fetch task and sessions metadata for each task. This use of undocumented API endpoints is allowed: the GitHub Acceptable Use Policies explicitly allow any method of obtaining publicly available data [6], and we respected rate limits per the Terms of Service [7]. As there is no documented API endpoint to fetch session logs, we fetched these using the same undocumented API, then parsed the logs as lines of JSON. Task and session records often include identifiers for related GitHub resources, such as pull requests, branches, and workflow runs. However, we did not fetch further metadata for these resources for this version of the dataset. All data was collected between July 10 and July 17, 2026.

Figure

Fig. 1. Example of an agent task with a single session on GitHub. The session overview shows the prompt and the resulting summary (left), which can be expanded to show a session log detailing tool calls and outputs such as file searches (center) and delegation to sub-agents (right). Note that our dataset captures session logs in more detail than currently displayed on the GitHub website.

TABLE I SUMMARY OF THE AGENTLOGS DATASET

# RecordsSizeTableContent
Repositories- 1.98% with agent tasks1,812,36235,810395.6 MBrepositoriesPublic GitHub repositories with over 10 stars (metadata including name, license, language, stars, forks, timestamps, labels, topics).
Agent tasks307,41677.1 MBagent_tasksAgent assignment on a repository (metadata including name, request, state, creator, timestamps, branch/PR identifiers).
Agent sessions549,239225.1 MBagent_sessionsAgent runs within a task (metadata including model, prompt, outcome, usage, and branch/PR identifier for that session).
Log entries64,255,17456.0 GBagent_session_logsSession log events (including messages, usage details, tool calls for file edits, git, and GitHub issues, PRs, comments, CI).
Users33,57339.7 MBusersUsers related to the agent tasks and sessions (only GitHub id and username).
Total66,957,76456.7 GB