Skip to main content

Integrations

Treeship integrates with any AI agent via a simple API call. Works with Claude Code, Cursor, OpenClaw, Nanobot, LangChain, and any Python/Docker environment.

Architecture

Your Agent (any framework)

    └── POST https://api.treeship.dev/v1/attest
        ├── headers: {"Authorization": "Bearer YOUR_API_KEY"}
        └── body: {"agent_slug": "my-agent", "action": "...", "inputs_hash": "..."}

                └── Returns: {"public_url": "https://treeship.dev/verify/my-agent/abc123"}

Framework Support Matrix

FrameworkTypeStatusPriority
Claude CodeAnthropic agent✅ SupportedP0
Cursor / IDEsMCP-enabled✅ SupportedP0
OpenClawPersonal agent✅ SupportedP0
Nanobot (HKUDS)Lightweight agent✅ SupportedP0
Nanobot.aiMCP-native agent✅ SupportedP0
LangChainWorkflow framework✅ SupportedP1
GastownMulti-agent ClaudePlannedP1
CrewAIMulti-agentPlannedP2

Claude Code

Add verification to Anthropic’s Claude Code / Cursor agents

OpenClaw

Use Treeship as an OpenClaw skill

Nanobot

Python skill or MCP config for Nanobot agents

LangChain

Callbacks and tools for LangChain agents

Quick Start — Python SDK

The fastest way to add verification to any agent:
pip install treeship-sdk
export TREESHIP_API_KEY="your-api-key"
from treeship_sdk import Treeship

ts = Treeship()

result = ts.attest(
    agent="my-agent",
    action="Processed customer request #12345",
    inputs_hash=ts.hash({"customer_id": "cust_123"})
)

print(result.url)  # https://treeship.dev/verify/my-agent/abc123...

Quick Start — REST API

For any language/environment, call the API directly:
curl -X POST https://api.treeship.dev/v1/attest \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "agent_slug": "my-agent",
    "action": "Processed request #12345",
    "inputs_hash": "e3b0c44298fc..."
  }'
Response:
{
  "attestation_id": "abc123-def456...",
  "public_url": "https://treeship.dev/verify/my-agent/abc123-def456...",
  "signature": "base64-ed25519-signature..."
}

Privacy Contract

Sent to TreeshipStays on your server
Agent nameActual content processed
Action description (max 500 chars)Raw user messages
SHA-256 hash of inputsDocuments and files
TimestampAI model API keys
Ed25519 signaturePersonal data of any kind
Treeship never sees content. It sees proofs that content was processed. Healthcare, finance, and legal deployments supported.

Getting Your API Key

  1. Go to treeship.dev
  2. Log in with your API key or create a new account
  3. Visit the Dashboard → Keys to generate new keys

Next Steps

API Reference

Full API documentation for all endpoints

Python SDK

Complete SDK reference with examples

Request an Integration

Need a specific framework? Open an issue or contact us.