Skip to content

v2.2.0 — Seamless DX

Latest

Choose a tag to compare

@viftode4 viftode4 released this 02 Mar 23:24
· 21 commits to master since this release

What's New

  • Binary auto-download: No Rust toolchain needed — trustchain-node binary downloads automatically from GitHub Releases on first use
  • @with_trust decorator: One-line trust protection for any Python function (sync or async)
  • trustchain CLI: wrap, status, download, demo subcommands
  • trust_tools(): 4 framework-agnostic trust tools (check_trust, discover_peers, get_interaction_history, verify_chain)
  • Framework integrations: LangChain callback handler, FastAPI/ASGI middleware, MCP middleware, CrewAI wrapper
  • Optional deps: pip install trustchain-py[langchain], [mcp], [crewai]

Quick Start

from trustchain import with_trust, trust_tools

@with_trust(name="my-agent")
def main():
    tools = trust_tools()
    # All HTTP calls are now trust-protected
    ...

main()