Fact0 SDK — universal fact layer with tamper-evident audit log and execution telemetry for AI agents
Project description
fact0
Python SDK for Fact0 — the universal fact layer with tamper-evident audit logs and execution telemetry for AI agents.
pip install fact0-sdk
import fact0
client = fact0.Client(api_key="alk_live_...")
client.audit.log(
actor={"id": "user_123", "type": "human"},
action="document.delete",
resource={"id": "doc_456", "type": "document"},
outcome="success",
)
with client.telemetry.execution(agent_id="bot-1") as ex:
with ex.span("tool.search", span_type="TOOL_CALL") as span:
span.complete(output={"hits": 3})
Docs: docs.fact0.io
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
fact0_sdk-1.0.2.tar.gz
(13.5 kB
view details)
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
fact0_sdk-1.0.2-py3-none-any.whl
(14.1 kB
view details)
File details
Details for the file fact0_sdk-1.0.2.tar.gz.
File metadata
- Download URL: fact0_sdk-1.0.2.tar.gz
- Upload date:
- Size: 13.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
01883881e165452838750ed0f2b40d9b41dc054d771b294ef440b78baccb8b79
|
|
| MD5 |
af5c264ad06c2816fc11a4de7120600b
|
|
| BLAKE2b-256 |
dc0a81954e8758ddd82ea14d511e62d3d442f1da86545f4d29e14c2ebe2875e4
|
File details
Details for the file fact0_sdk-1.0.2-py3-none-any.whl.
File metadata
- Download URL: fact0_sdk-1.0.2-py3-none-any.whl
- Upload date:
- Size: 14.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a7c2037af3b1813785623400eada4a9bd72f5505f7565b32c468be923bff15bc
|
|
| MD5 |
322ef7aea01ec623a6cc5c9f8ec808af
|
|
| BLAKE2b-256 |
54be6212bcb12651f2f58cc85ed66f601dbd6624a5a27de155faa80338b64592
|