Robotics proof-of-execution SDK
Project description
ACTO
Robotics-first proof-of-execution toolkit.
Generate deterministic, signed execution proofs from robot telemetry and logs. Verify proofs via the ACTO API. Fast, gas-free verification.
๐ Links
| ๐ Website | actobotics.net |
| ๐ Dashboard | api.actobotics.net/dashboard |
| ๐ฆ X (Twitter) | @actoboticsnet |
| ๐ API Docs | docs/API.md |
| ๐ฆ PyPI | pypi.org/project/actobotics |
โจ Features
- Python SDK - Create execution proofs locally
- API Verification - Verify proofs via the hosted ACTO API
- REST API - FastAPI verification service at api.actobotics.net
- Multi-Wallet Dashboard - Phantom, Solflare, Backpack, Glow, Coinbase
- Fleet Management - Monitor, organize, and manage your robot fleet with drag-and-drop
- Account Settings - Manage profile and contact information
- Token Gating - SPL token balance checks (off-chain)
- Async Support - Full async/await API
- CLI Tools - Interactive mode, shell completion
๐ Quick Start
Install the SDK
pip install actobotics
That's it! The SDK connects to the hosted API at api.actobotics.net.
Optional Dependencies
# With Solana integration
pip install actobotics[solana]
# With all optional features (Solana, Redis, ROS, etc.)
pip install actobotics[full]
Basic Usage
# Generate keypair
acto keys generate
# Create proof from telemetry
acto proof create \
--task-id "task-001" \
--source examples/telemetry/sample_telemetry.jsonl
๐ฆ SDK Usage
Create Proofs Locally
from acto.proof import create_proof
from acto.telemetry.models import TelemetryBundle, TelemetryEvent
from acto.crypto import KeyPair
# Generate keypair
keypair = KeyPair.generate()
# Create telemetry bundle
bundle = TelemetryBundle(
task_id="task-001",
robot_id="robot-001",
events=[TelemetryEvent(ts="2025-01-01T00:00:00Z", topic="sensor", data={"value": 42})]
)
# Create proof locally
envelope = create_proof(bundle, keypair.private_key_b64, keypair.public_key_b64)
Verify & Submit via API
All proof verification must be done through the ACTO API. This ensures integrity, compliance, and enables fleet tracking.
from acto.client import ACTOClient
# Connect to hosted API
client = ACTOClient(
api_key="acto_xxx...", # From dashboard
wallet_address="ABC123..." # Your Solana wallet
)
# Verify proof via API (required)
result = client.verify(envelope)
print(f"Proof valid: {result.valid}")
# Submit proof to registry
proof_id = client.submit_proof(envelope)
print(f"Submitted: {proof_id}")
# Search proofs
results = client.search_proofs(robot_id="robot-001", limit=10)
for proof in results.items:
print(f" - {proof.task_id}")
# Fleet management
fleet = client.fleet.get_overview()
print(f"Total devices: {fleet.summary.total_devices}")
# Report robot health
client.fleet.report_health(
"robot-001",
cpu_percent=45.2,
battery_percent=85.0
)
๐ API Access
Use the hosted API at https://api.actobotics.net:
- Get an API Key at api.actobotics.net/dashboard
- Connect your Solana wallet (requires 50,000 ACTO tokens)
- Use the SDK client (recommended) or make direct API calls:
# Recommended: Use the SDK client
from acto.client import ACTOClient
client = ACTOClient(api_key="...", wallet_address="...")
Or with curl:
curl -X POST https://api.actobotics.net/v1/proofs \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "X-Wallet-Address: YOUR_WALLET" \
-H "Content-Type: application/json" \
-d '{"envelope": {...}}'
API Endpoints
| Endpoint | Description |
|---|---|
POST /v1/proofs |
Submit a proof |
GET /v1/proofs |
List proofs |
POST /v1/proofs/search |
Search & filter proofs |
POST /v1/verify |
Verify a proof |
POST /v1/verify/batch |
Batch verify proofs |
GET /v1/stats/wallet/{addr} |
Wallet statistics |
POST /v1/access/check |
Check token balance |
GET /v1/fleet |
Fleet overview |
GET /v1/fleet/devices/{id} |
Device details |
GET /v1/fleet/groups |
List device groups |
GET /v1/profile |
Get user profile |
PATCH /v1/profile |
Update user profile |
๐ Full API documentation: docs/API.md
๐ค Fleet Management
Monitor and manage your robot fleet from the dashboard:
- Device Overview - See all devices with status and activity
- Custom Names - Rename devices for easy identification
- Device Groups - Organize robots (e.g., "Warehouse A", "Production Line")
- Health Monitoring - CPU, RAM, battery status (optional)
- Activity Logs - View complete proof history per device
# Report device health (all fields optional)
import httpx
httpx.post(
"https://api.actobotics.net/v1/fleet/devices/robot-001/health",
headers={"Authorization": f"Bearer {JWT_TOKEN}"},
json={
"cpu_percent": 45.2,
"memory_percent": 68.0,
"battery_percent": 85.0
}
)
๐ Token Gating
All API requests are automatically verified server-side to ensure your wallet holds sufficient ACTO tokens.
How it works:
- The server verifies your token balance on every protected API call
- Token mint, minimum balance, and RPC are enforced server-side (cannot be manipulated)
- You only need to provide your wallet address via
X-Wallet-Addressheader
Check your balance (optional):
# Quick check if your wallet has enough tokens
acto access check --owner YOUR_WALLET_ADDRESS
Security Note: The CLI check is just a convenience tool. The actual access control happens server-side with fixed parameters that users cannot override.
๐ Documentation
| Document | Description |
|---|---|
| API.md | REST API reference |
| ARCHITECTURE.md | System architecture |
| PROTOCOL.md | Proof protocol specification |
| SECURITY.md | Security features & configuration |
| THREAT_MODEL.md | Security threat model |
| CHANGELOG.md | Version history & release notes |
| CONTRIBUTING.md | Contribution guidelines |
๐ ๏ธ Self-Hosted Setup (Contributors)
Click to expand self-hosted installation instructions
If you want to run your own ACTO server or contribute to development:
Clone & Install
git clone https://github.com/actobotics/ACTO.git
cd ACTO
# Install with all dependencies including server
pip install -e ".[dev]"
Run the Server
# Start API server
acto server run
# Or with uvicorn directly
uvicorn acto_server.app:app --reload --port 8080
Run Tests
# Run tests
pytest
# Run with coverage
pytest --cov=acto --cov-report=html
# Load tests
locust -f tests/load/locustfile.py
Docker
# Run with docker-compose
docker-compose up -d
# Or build manually
docker build -t acto .
docker run -p 8080:8080 acto
Project Structure
ACTO/
โโโ acto/ # SDK (published to PyPI)
โ โโโ proof/ # Proof creation & verification
โ โโโ crypto/ # Keys, signing, hashing
โ โโโ telemetry/ # Telemetry parsing & normalization
โ โโโ registry/ # Local proof storage
โ โโโ ...
โโโ acto_cli/ # CLI tools (published to PyPI)
โโโ acto_server/ # FastAPI server (NOT published)
โโโ api/ # Vercel serverless functions
โโโ tests/ # Test suite
โโโ docs/ # Documentation
๐ License
MIT. See LICENSE.
Website โข Dashboard โข X (Twitter) โข PyPI
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file actobotics-0.9.13.tar.gz.
File metadata
- Download URL: actobotics-0.9.13.tar.gz
- Upload date:
- Size: 49.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5e7cf81bc1c9cde596b47e55d5efb00bc4ed9efa430d1f80ee367af9ea592205
|
|
| MD5 |
fed593a07bc7e76e1b9b846f1cb099ab
|
|
| BLAKE2b-256 |
ad5e68e217d8c3968ece1598dbf10b9581d612795d8aa2b4df964f732d03b4ef
|
Provenance
The following attestation bundles were made for actobotics-0.9.13.tar.gz:
Publisher:
publish.yml on actobotics/ACTO
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
actobotics-0.9.13.tar.gz -
Subject digest:
5e7cf81bc1c9cde596b47e55d5efb00bc4ed9efa430d1f80ee367af9ea592205 - Sigstore transparency entry: 779844569
- Sigstore integration time:
-
Permalink:
actobotics/ACTO@27b99a62c66b3948e32d3f196e7602ee9dafcc9a -
Branch / Tag:
refs/tags/v0.9.13 - Owner: https://github.com/actobotics
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@27b99a62c66b3948e32d3f196e7602ee9dafcc9a -
Trigger Event:
push
-
Statement type:
File details
Details for the file actobotics-0.9.13-py3-none-any.whl.
File metadata
- Download URL: actobotics-0.9.13-py3-none-any.whl
- Upload date:
- Size: 103.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
27a203912d25d706d6df08f9615fb5e404f690b9e95ca29c3ed6e391c064734b
|
|
| MD5 |
3861e8bf7c80ef41fb68cff97dd87e13
|
|
| BLAKE2b-256 |
06eaf07dfacb2122aae46226ff2290fe894b4497e74026adf657a1c4ae8c173a
|
Provenance
The following attestation bundles were made for actobotics-0.9.13-py3-none-any.whl:
Publisher:
publish.yml on actobotics/ACTO
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
actobotics-0.9.13-py3-none-any.whl -
Subject digest:
27a203912d25d706d6df08f9615fb5e404f690b9e95ca29c3ed6e391c064734b - Sigstore transparency entry: 779844571
- Sigstore integration time:
-
Permalink:
actobotics/ACTO@27b99a62c66b3948e32d3f196e7602ee9dafcc9a -
Branch / Tag:
refs/tags/v0.9.13 - Owner: https://github.com/actobotics
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@27b99a62c66b3948e32d3f196e7602ee9dafcc9a -
Trigger Event:
push
-
Statement type: