Skip to main content

Python SDK for ATP benchmark platform — run benchmarks, submit results, view leaderboards

Project description

atp-sdk

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

Installation

pip install 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

atp_platform_sdk-0.1.0.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

atp_platform_sdk-0.1.0-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file atp_platform_sdk-0.1.0.tar.gz.

File metadata

  • Download URL: atp_platform_sdk-0.1.0.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for atp_platform_sdk-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1d43a6e948dc93fcf727ea62f5974a51bc7df063090321b6c775b4468c7de673
MD5 3059d57eff43a34d653286b01989e67c
BLAKE2b-256 96ecfc4b6cf940d820f62570dea8e26d4d37f03a309d4c976af54e84edc748e3

See more details on using hashes here.

Provenance

The following attestation bundles were made for atp_platform_sdk-0.1.0.tar.gz:

Publisher: atp-sdk-publish.yml on andrei-shtanakov/atp-platform

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file atp_platform_sdk-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for atp_platform_sdk-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 de09785abae715dac01715e8c9b65c2174feb712bdcbbd62e79fc5c43abc54c2
MD5 26376c032851b1b05e569d6e479e1480
BLAKE2b-256 4a56a4a3f954ec721c0d3e84469fc5b8bfbd159b1a60cf0109778ad3e12a2266

See more details on using hashes here.

Provenance

The following attestation bundles were made for atp_platform_sdk-0.1.0-py3-none-any.whl:

Publisher: atp-sdk-publish.yml on andrei-shtanakov/atp-platform

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page