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.6.tar.gz (17.5 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.6-py3-none-any.whl (17.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fact0_sdk-1.0.6.tar.gz
  • Upload date:
  • Size: 17.5 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.6.tar.gz
Algorithm Hash digest
SHA256 0ce072294bb655696ecd4f8b782a66e058341a3ff9ea1a3edb61beceeef8551e
MD5 3d4f0582ea7a7f79e54adf75d43d57cc
BLAKE2b-256 aa45f6786b387be230d95542bf066672b603dad6f323a7e44ceeaf6fb00a20db

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fact0_sdk-1.0.6-py3-none-any.whl
  • Upload date:
  • Size: 17.1 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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 342ac6eb36c979522df9b7b97e46d756a01e58b16a5b7fb0a310c65b553efb35
MD5 1c84b286b1750c9ef5d6bc29ca3fcf0b
BLAKE2b-256 6ed3e78701ce28948a796df1f98a134b01d43eff4e5b930627c530076aa2df2f

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