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
@tooldecorator 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_onlydata_accesswrite_actionexternal_communicationcode_executioninfrastructure_mutationfinancial_actionregulated_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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tooltrust_sdk-0.1.1.tar.gz.
File metadata
- Download URL: tooltrust_sdk-0.1.1.tar.gz
- Upload date:
- Size: 11.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c26d78579eef4092a08391b354fc21111a917765a26eefd00904062c1b97c51f
|
|
| MD5 |
3e45467eb0d9843607ca1fef02a1be06
|
|
| BLAKE2b-256 |
9d2f56e498111ef3338de72bea59868a116847689d547f02179ca7d6f5d091f9
|
File details
Details for the file tooltrust_sdk-0.1.1-py3-none-any.whl.
File metadata
- Download URL: tooltrust_sdk-0.1.1-py3-none-any.whl
- Upload date:
- Size: 11.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eff8f4224c94c5b1525c8619ba3629dc95b93a1ad24534d1a192879b57d25f63
|
|
| MD5 |
770f0be75942665a67beff1a1975c8ea
|
|
| BLAKE2b-256 |
3d2c5fc3d8a35704f23c37c37ff529062f79e35abc85c6d9e9daee86d0599252
|