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.5.tar.gz (16.4 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.5-py3-none-any.whl (16.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fact0_sdk-1.0.5.tar.gz
  • Upload date:
  • Size: 16.4 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.5.tar.gz
Algorithm Hash digest
SHA256 faa85b922d92af3227e470e25ab89630307c0e0699ed57576b9857daa825dd32
MD5 518b683c17c000c20a58672e63a11ac5
BLAKE2b-256 6bd62c47210042b10e0eb90e173ddef3c4963b1f8647419095f8b6e411f9cc84

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fact0_sdk-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 16.3 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 8b18c1eecec9140656d88493941a09919841ad640b65fc704ad7bf2680c24743
MD5 7266c1d4b5edb54a7b10c479c613672e
BLAKE2b-256 f4a42104b9f95ab6b40135032ed02ee528a3999e2028a328badb452858d9f550

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