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.4.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.4-py3-none-any.whl (16.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fact0_sdk-1.0.4.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.4.tar.gz
Algorithm Hash digest
SHA256 ac18381f8cbea7b6694fc56e5f1a50419446475f601bbda3e0a67017a99d1200
MD5 89ae6298660a3a9342731a1fa0342db8
BLAKE2b-256 c16b2f917f52795a89509960cc07ed53c45925dfa5308568e40eacc59ea2bd48

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fact0_sdk-1.0.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 fc553934f6c00572c8558dd4c61109683171658275a406496276bacb236a62af
MD5 ef16b49a91adebd966aae1f179574742
BLAKE2b-256 b66a2f2ca07b3d3dfe6e4ea1791bbef6992dcc943eaa12b5b03c861fd1266735

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