Skip to main content

AgentLogs

version 0.2 Hugging Face GitHub

TypedDict schema and helpers for the AgentLogs dataset. Field-level documentation: schema reference.

Installation

pip install risenlab-agentlogs huggingface_hub pyarrow

Usage

from pathlib import Path

import pyarrow.parquet as pq
from huggingface_hub import snapshot_download
from agentlogs.schema import AgentSession, assert_dataset_version, cast_record

# Full dataset into data/dataset/; existing files are skipped
dataset_path = Path("data") / "dataset"
snapshot_download(
    repo_id="risenlab/agentlogs",
    repo_type="dataset",
    revision="v0.2",
    local_dir=dataset_path,
)
# Fail if the snapshot tag does not match this package version
assert_dataset_version(dataset_path)

# First session row, typed as AgentSession (nested fields included)
session_file = next((dataset_path / "agent_sessions").glob("*.parquet"))
session = cast_record(
    AgentSession,
    pq.read_table(session_file, memory_map=False).slice(0, 1).to_pylist()[0],
)
print(session["id"], session["name"])

Metadata

Release files for risenlab-agentlogs 0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for risenlab-agentlogs 0.2
File Size Uploaded
risenlab_agentlogs-0.2.tar.gz 6.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for risenlab-agentlogs 0.2
File Interpreter ABI Platform
risenlab_agentlogs-0.2-py3-none-any.whl Python 3 none any Details

Total release size: 16.8 kB

Release files / risenlab_agentlogs-0.2.tar.gz

Download URL risenlab_agentlogs-0.2.tar.gz
Size 6.7 kB
Tags Source
SHA-256 checksum
How to use checksums
158d4a8d3fc4e6b7de21c787314e29556beb278f8a965b534c66525ee15cd87b
BLAKE2b-256 checksum
How to use checksums
d456855193b0391e52d275212f4c3bc0d135f6fd3695411c36e297d162d1964e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Release files / risenlab_agentlogs-0.2-py3-none-any.whl

Download URL risenlab_agentlogs-0.2-py3-none-any.whl
Size 10.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c631ada11c0493abcaee554b47cb6b97ef36d85866fab68a4bf640987a5e044a
BLAKE2b-256 checksum
How to use checksums
f9ef6c44207901f7c9871240bee38f7604275569a2a06dd67894890292fbd15f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Release history Release notifications | RSS feed

1.0.0

2 release files

This release

0.2 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page