Skip to main content

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


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.3.tar.gz (13.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fact0_sdk-1.0.3-py3-none-any.whl (14.5 kB view details)

Uploaded Python 3

File details

Details for the file fact0_sdk-1.0.3.tar.gz.

File metadata

  • Download URL: fact0_sdk-1.0.3.tar.gz
  • Upload date:
  • Size: 13.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for fact0_sdk-1.0.3.tar.gz
Algorithm Hash digest
SHA256 01acb3c2113969a0563f1c88cbd56c9edb82c10995a88dc61a6f0e2bf2361ac1
MD5 6fd40b7a92ce6b703799b9c189883150
BLAKE2b-256 e2def625cf13c07c57ee06e74728dcab921692fdb1053c21167916e19e61d76a

See more details on using hashes here.

File details

Details for the file fact0_sdk-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: fact0_sdk-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 14.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for fact0_sdk-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 09f818da982dbf1989dd703d5ecfad3ba74144ea1aaa0d240cca1ac7c324c191
MD5 0e54e9cf1b1e96641e0520bea15d6919
BLAKE2b-256 5162dca81215436d12d32b5e1acf1e23b57f56637ba006809fea58a3c5ab5471

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page