tethral-acr
Python SDK for the ACR (Agent Composition Records) network.
Install
pip install tethral-acr
Quick Start
from tethral_acr import ACRClient
with ACRClient() as acr:
# Register
result = acr.register(
public_key="your-unique-key-at-least-32-chars-long",
provider_class="langchain",
)
agent_id = result["agent_id"]
# Log an interaction
acr.submit_receipt({
"emitter": {"agent_id": agent_id, "provider_class": "langchain"},
"target": {"system_id": "api:openai.com", "system_type": "api"},
"interaction": {
"category": "tool_call", "status": "success",
"duration_ms": 800, "request_timestamp_ms": 1711978987442,
},
"anomaly": {"flagged": False},
})
# See what's costing you the most
report = acr.get_friction_report(agent_id, scope="day")
API
| Method | Description |
|---|---|
register(public_key, provider_class, ...) |
Register an agent |
submit_receipt(receipt) |
Submit a single receipt |
submit_receipts(receipts) |
Submit a batch (max 50) |
update_composition(agent_id, ...) |
Update skill composition |
check_skill(skill_hash) |
Check a skill before installing |
check_agent(agent_id) |
Look up an agent |
get_system_health(system_id) |
Get system health |
get_active_signals() |
Get skills with elevated anomaly signals |
get_friction_report(agent_id, scope) |
Friction analysis |
health() |
API health check |
Data Collection
ACR collects interaction metadata only: target system names, timing, status, and provider class. No request/response content, API keys, prompts, or PII is collected. Full terms.
License
MIT
Metadata
Release files for tethral-acr 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tethral_acr-0.4.0.tar.gz | 7.3 kB | Without provenance | Details for tethral_acr-0.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tethral_acr-0.4.0-py3-none-any.whl | Python 3 | none | any | Details for tethral_acr-0.4.0-py3-none-any.whl |
Total release size: 15.2 kB
Release files / tethral_acr-0.4.0.tar.gz
| Download URL | tethral_acr-0.4.0.tar.gz |
|---|---|
| Size | 7.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
95584a6442347a4c166281b6d6bc03485fc3d9c4612bbad0ef1814fad71ddc0b
|
|
BLAKE2b-256 checksum How to use checksums |
2052bca9d548125b98d5c7611a488f982a9c4f8a58ef7d767edf3386936635b6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|
Release files / tethral_acr-0.4.0-py3-none-any.whl
| Download URL | tethral_acr-0.4.0-py3-none-any.whl |
|---|---|
| Size | 7.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dee31884a327bec2a9d5914fedd809dc945765fddf970149a015fa6543222442
|
|
BLAKE2b-256 checksum How to use checksums |
52d7c8227f58b810d64c11f56f2b78c78069f9cd01ef29db4fdd60434b132929
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|
Security for tethral-acr 0.4.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.