Skip to main content

atp-sdk

Python SDK for the ATP (Agent Test Platform) benchmark platform.

Installation

uv add atp-platform-sdk

Quick Start

from atp_sdk import ATPClient

client = ATPClient(platform_url="https://atp.pr0sto.space")
client.login()  # GitHub Device Flow — opens browser

benchmarks = client.list_benchmarks()
run = client.start_run(benchmarks[0].id, agent_name="my-agent")

for task in run:
    response = my_agent(task)  # your agent logic
    run.submit(response, task_index=task["metadata"]["task_index"])

print(run.status())
print(run.leaderboard())

Authentication

Three ways to authenticate (checked in order):

  1. Explicit token: ATPClient(token="...")
  2. Environment variable: ATP_TOKEN=...
  3. Saved token: client.login() saves to ~/.atp/config.json

License

MIT

Release files for atp-platform-sdk 2.0.0

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

Source distribution (sdist)

Source distribution for atp-platform-sdk 2.0.0
File Size Uploaded
atp_platform_sdk-2.0.0.tar.gz 9.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for atp-platform-sdk 2.0.0
File Interpreter ABI Platform
atp_platform_sdk-2.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 22.6 kB

Release files / atp_platform_sdk-2.0.0.tar.gz

Download URL atp_platform_sdk-2.0.0.tar.gz
Size 9.9 kB
Tags Source
SHA-256 checksum
How to use checksums
2fece2cda276fa93a17dd4edb90285f2f57b8937164abef2e2e2e5322097060a
BLAKE2b-256 checksum
How to use checksums
cdd1b10b4b723eb7c9a1eebed792e428d0076a985e4bdaa4c7e429fe08d4381b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.11

Release files / atp_platform_sdk-2.0.0-py3-none-any.whl

Download URL atp_platform_sdk-2.0.0-py3-none-any.whl
Size 12.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9433eed96ee7bd680b3517049d3271d01da4abeee36c904645d1cb580bc8a6bd
BLAKE2b-256 checksum
How to use checksums
93b77d5bc9bdb6b50d388ae3525dbd2d36fdd9d3a64694d1742c66015a8fbda2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.11

Release history Release notifications | RSS feed

This release

2.0.0 This release

2 release files

0.1.0

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