Skip to main content

Replayable autonomous tool execution — lightweight trust infrastructure SDK

Project description

ToolTrust SDK

Replayable autonomous tool execution.

ToolTrust is a lightweight trust infrastructure SDK for autonomous systems and agent tooling. Wrap tools in minutes and generate replayable trust artifacts (DDCs), local ATP trust history, verifier-readable execution records, and machine-readable provenance for autonomous actions.

ToolTrust is designed to work with existing agent frameworks and orchestration systems without requiring a rewrite of your stack.


Features

  • @tool decorator for trusted tool execution
  • Local DDC (Data Destruction Certificate) generation
  • Local verifier and replay support
  • ATP-lite (Agent Trust Profile) persistence
  • Replayable autonomous tool execution
  • MCP adapter
  • LangChain adapter
  • CrewAI adapter
  • HTTP tool wrapper
  • Shell/code execution wrapper
  • Machine-readable trust provenance
  • Local-first workflow
  • Optional relay into Ardyn sovereign trust infrastructure

Install

pip install tooltrust-sdk

Quick Example

from tooltrust import tool, LocalToolTrustClient

client = LocalToolTrustClient()

@tool(risk="code_execution")
def greet(name: str):
    return f"Hello {name}!"

result = client.execute(greet, "Ardyn")

print(result.output)
print(result.ddc_id)

Result:

Hello Ardyn!
DDC: ddc-f7b7bce8be01

What Is a DDC?

A DDC (Data Destruction Certificate) is a replayable trust artifact describing an autonomous execution event.

DDCs can contain:

  • tool invocation metadata
  • input/output hashes
  • verifier signatures
  • replay provenance
  • execution lineage
  • trust metadata

ToolTrust generates local DDCs by default. Production-grade sovereign certification, ATP persistence, verifier replay, anchoring, and governance are available through Ardyn infrastructure.


Risk Classes

ToolTrust supports built-in risk classification:

  • read_only
  • data_access
  • write_action
  • external_communication
  • code_execution
  • infrastructure_mutation
  • financial_action
  • regulated_data_action

Adapters

ToolTrust integrates with existing ecosystems:

  • MCP
  • LangChain
  • CrewAI
  • HTTP tools
  • shell/code execution

The goal is simple:

Wrap the tool call, not the entire agent stack.


Local Mode

ToolTrust works fully offline in local mode:

  • local DDC chain
  • local ATP-lite
  • local verifier
  • local replay
  • no cloud dependency
  • no billing

Relay / Production Mode

ToolTrust can optionally relay trust events into Ardyn sovereign trust infrastructure for:

  • production DDC issuance
  • ATP persistence
  • verifier replay
  • organization governance
  • sovereign evidence
  • Bitcoin anchoring
  • CertificationGate trust enforcement

Machine-Readable Provenance

Every exported trust artifact includes provenance metadata:

{
  "issuer": "Ardyn Intelligence Systems",
  "verification_provider": "Ardyn Verified",
  "trust_substrate": "Ardyn Tool Trust",
  "verification_url": "https://api.ardyn.ai"
}

Philosophy

ToolTrust is not another agent framework.

It is a trust infrastructure layer for autonomous tools and actions.

The SDK is intentionally lightweight:

  • install in minutes
  • wrap existing tools
  • preserve existing workflows
  • add replayable trust semantics

Powered by Ardyn Intelligence Systems

ToolTrust is the public developer wedge for the broader Ardyn sovereign trust infrastructure ecosystem.

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

tooltrust_sdk-0.1.2.tar.gz (13.3 kB view details)

Uploaded Source

Built Distribution

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

tooltrust_sdk-0.1.2-py3-none-any.whl (16.9 kB view details)

Uploaded Python 3

File details

Details for the file tooltrust_sdk-0.1.2.tar.gz.

File metadata

  • Download URL: tooltrust_sdk-0.1.2.tar.gz
  • Upload date:
  • Size: 13.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for tooltrust_sdk-0.1.2.tar.gz
Algorithm Hash digest
SHA256 7591eaa377e0081378d263aeef1befb10fd54b07fcc48aac20d35bfd9e40482c
MD5 68eec971f9ded1ed400d359e3bb1ca60
BLAKE2b-256 1483bca3a082809e43c7e4356c430b618e71a75f33dcc524160b76533ae31094

See more details on using hashes here.

File details

Details for the file tooltrust_sdk-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: tooltrust_sdk-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 16.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for tooltrust_sdk-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 656628ce2e7bbd1e9f90d6cb298b20de7850ecc7f054516f0c5dc6fe7915e615
MD5 4d9516599203f94383313747d756fc06
BLAKE2b-256 0bce5db1c0300492a9355120f4ab0df333a18e9578f99f7f97fac245075490f8

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