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.1.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.1.0
File Size Uploaded Provenance Actions
serial_alice_agent-1.1.0.tar.gz 359.2 kB Without provenance Details for serial_alice_agent-1.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 794.6 kB

Release files / serial_alice_agent-1.1.0.tar.gz

Download URL serial_alice_agent-1.1.0.tar.gz
Size 359.2 kB
Tags Source
SHA-256 checksum
How to use checksums
a469e9d1d5b9eeaefb04311be19b38309d9b75d218621f09cd7f5f26ba1c2cec
BLAKE2b-256 checksum
How to use checksums
c3ad1e5fbbcedd0a1649bf850f4253bbd1b36f2b10e41db032f4fae9a954f6ac
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.1.0-py3-none-any.whl

Download URL serial_alice_agent-1.1.0-py3-none-any.whl
Size 435.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b5135173b5c54cc2246004e12a436055a2f68d0b46f23ebaf9a5ae18755fe693
BLAKE2b-256 checksum
How to use checksums
92b7bbb22b53d962a2f5607ba4a0276c3477f67d9de7ddb798642272cdff68c9
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.1.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