agenomic-python
Python SDK for Agenomic — agent-native versioning, tracing, and ATEP signed event logs.
Works fully offline. Cloud upload is optional.
Install
pip install agenomic
Optional integrations:
pip install "agenomic[openai]" # OpenAI auto-instrumentation
pip install "agenomic[anthropic]" # Anthropic auto-instrumentation
pip install "agenomic[huggingface]" # Hugging Face Hub + Inference
pip install "agenomic[langgraph]" # LangGraph state-graph tracing
pip install "agenomic[all]" # Everything
Quickstart
from agenomic.trace.decorator import trace_agent_run
from agenomic.exporters.jsonl import JsonlExporter
with JsonlExporter("traces.jsonl") as exporter:
@trace_agent_run(agent_id="agent://acme/demo", exporter=exporter)
def handle(query: str) -> dict:
return {"answer": query.upper()}
handle("hello")
That writes a signed-ready TraceEnvelope to traces.jsonl. No network. No
account required.
What's in the box
@trace_agent_rundecorator (sync + async) with contextvar-based propagationTraceEnvelopepydantic v2 models compatible withagenomic-specWorkflowSpec/SystemSpecpydantic v2 models for the v0.2 workflow and multi-agent system manifests (RFC 0009), with step-graph and role checks- ATEP segment writer/reader with BLAKE3 causal hashes and ed25519 signatures
- Boundary redaction (REMOVE / MASK / HASH / TRUNCATE) with dotted paths
- Exporters: JSONL, ATEP local, HTTP batched, multi fan-out
- Optional, lazy-imported integrations: OpenAI, Anthropic, LangGraph, MCP
- Async-first cloud client with idempotency keys + retry
Documentation
- Quickstart
- Tracing · Decorator
- ATEP · Redaction
- Integrations · Cloud upload
- Hugging Face provider
- Non-determinism disclaimer
Examples
See examples/ — minimal trace, decorator + JSONL, ATEP local,
OpenAI traced, LangGraph traced, cloud upload, and a full offline signed
release.
License
Apache-2.0. See LICENSE.
Metadata
Release files for agenomic 0.1.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 | |
|---|---|---|---|---|
| agenomic-0.1.0.tar.gz | 92.9 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| agenomic-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 170.3 kB
Release files / agenomic-0.1.0.tar.gz
| Download URL | agenomic-0.1.0.tar.gz |
|---|---|
| Size | 92.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fc268d2c4fcd605f299de89b78ff64f158fc6b7985d1544aa80f72ef3fc0f360
|
|
BLAKE2b-256 checksum How to use checksums |
eca11e4222920fc64281c6eea0ed5fa3e384de1bb4aa2e65cf2c2c85dd7d3536
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 23, 2026.
Transparency logRelease files / agenomic-0.1.0-py3-none-any.whl
| Download URL | agenomic-0.1.0-py3-none-any.whl |
|---|---|
| Size | 77.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
86b9f32a9cf739e178f640d226476d43fbb3a29c3cc69441d29923c798d3e7d0
|
|
BLAKE2b-256 checksum How to use checksums |
18d837d4201641d4a8e93993cb8c4e61adb447bb91acf9e83177c1074b9385d4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 23, 2026.
Transparency logSecurity for agenomic 0.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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for agenomic-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 23, 2026.
Transparency logA 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.