Skip to main content

Serial Alice Agent

Verifiable energy and compute attestation agent for AI workloads. Issues Ed25519-signed certificates of energy consumption, anchored on Polygon.

Install

# From the self-hosted zip (no PyPI, no GitHub auth required):
pip install https://api.serialalice.pt/agent/download/linux

# Or download first:
curl -L https://api.serialalice.pt/agent/download/linux -o serial-alice-agent.zip
pip install serial-alice-agent.zip

# With NVIDIA GPU telemetry:
pip install "serial-alice-agent.zip[gpu]"

Quick start

export SA_AGENT_API_KEY=sa_live_...   # from https://app.serialalice.pt

serial-alice-agent status             # verify API connectivity
serial-alice-agent discover           # list detected hardware
serial-alice-agent run --job-name my-training -- python train.py

Run without installing

unzip serial-alice-agent.zip
cd serial-alice-agent
pip install requests pyyaml psutil cryptography   # core deps
python -m agent.cli status

Configuration

# agent.yaml
api_url: https://api.serialalice.pt
api_key: ${SA_AGENT_API_KEY}
measurement_interval_s: 10
hardware:
  gpu: auto
  cpu: true

Pre-registered experiments (baseline vs treatment)

serial-alice-agent experiment run --protocol experiment.yaml --out ./exp-out --evaluate

Runs a comparative experiment end to end: pre-registers the claim (signed, anchored), executes warm-ups (discarded), then every repetition in a seeded randomized order, applies each arm's treatment (sm_clock_lock_mhz, mem_clock_lock_mhz, power_limit_w), OBSERVES whether it took effect, samples GPU power on the same monotonic clock as the workload, restores clocks and power limit after every run (and on any error), and submits each repetition with its raw files and signed summary. With --evaluate it issues the outcome certificate and saves bundle.json + artifacts/ for offline verification. See agent/experiment/example_protocol.yaml.

What it will not do: submit a failed run with invented data (it becomes visible attrition), hide a treatment that did not take effect (the outcome becomes INVALID), or present --simulate rehearsals as hardware measurements (they are submitted as operator-declared). Clock/power actuation needs root/admin and nvidia-smi; the NVIDIA backend reads through pynvml (pip install serial-alice-agent[gpu]).

Metadata

Release files for serial-alice-agent 1.2.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 serial-alice-agent 1.2.0
File Size Uploaded Provenance Actions
serial_alice_agent-1.2.0.tar.gz 372.1 kB Without provenance Details for serial_alice_agent-1.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for serial-alice-agent 1.2.0
File Interpreter ABI Platform Actions
serial_alice_agent-1.2.0-py3-none-any.whl Python 3 none any Details for serial_alice_agent-1.2.0-py3-none-any.whl

Total release size: 823.0 kB

Release files / serial_alice_agent-1.2.0.tar.gz

Download URL serial_alice_agent-1.2.0.tar.gz
Size 372.1 kB
Tags Source
SHA-256 checksum
How to use checksums
b843af8b1614b8ea4f750f931323cbe3196dd09bc1e6fe2965eefe56fe110178
BLAKE2b-256 checksum
How to use checksums
6c7efa89bc346bf39f4888decc1e98d4f5b35ee613cad88abc57dc0809a36db6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.14

Release files / serial_alice_agent-1.2.0-py3-none-any.whl

Download URL serial_alice_agent-1.2.0-py3-none-any.whl
Size 450.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c609e56ca13afbe29e9c845dbfc00a989473017f68505d19b54f5ff583902894
BLAKE2b-256 checksum
How to use checksums
024ac088078d1e6df9957ce986331ada0a866d7dc1e218a6e695f9d7747d0388
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.14

Security for serial-alice-agent 1.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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