Frequently Asked Questions
General
What is Treeship?
What is Treeship?
Treeship provides cryptographic attestations for AI agents. When your agent performs an action, Treeship creates a signed, timestamped record that anyone can independently verify.
Why do I need attestations for my AI agent?
Why do I need attestations for my AI agent?
As AI agents make more consequential decisions (approving loans, executing trades, processing sensitive data), stakeholders need proof of what actually happened. Attestations provide:
- Accountability: Prove what your agent did and when
- Compliance: Meet audit requirements with cryptographic evidence
- Trust: Give customers verifiable proof, not just logs
- Debugging: Trace exactly what happened in production
How is this different from logging?
How is this different from logging?
Logs can be modified or deleted. Attestations are cryptographically signed—any tampering is detectable. Plus, anyone can verify an attestation independently without trusting Treeship or your systems.
What cryptography does Treeship use?
What cryptography does Treeship use?
- Ed25519 for signatures (fast, secure, widely supported)
- SHA256 for hashing payloads and inputs
- Canonical JSON for deterministic serialization
API Keys
How do I get an API key?
How do I get an API key?
Request a verification code via email:Then verify and receive your key:
What are the rate limits?
What are the rate limits?
- 1,000 attestations per day per API key
- 100 attestations per minute burst limit
- Verification endpoints are public with generous limits
Can I have multiple API keys?
Can I have multiple API keys?
Yes. You can create multiple keys for different environments (dev, staging, prod) or different agents.
How do I revoke an API key?
How do I revoke an API key?
Verification
How do I verify an attestation?
How do I verify an attestation?
Three ways:
- Web: Visit
treeship.dev/verify/{agent}/{id} - CLI:
treeship verify {attestation_id} - API:
GET https://api.treeship.dev/v1/verify/{id}
Can I verify without trusting Treeship?
Can I verify without trusting Treeship?
Yes! That’s the point. Fetch the public key once, then verify signatures locally using any Ed25519 implementation. The verification page shows exact commands.
Do attestations expire?
Do attestations expire?
No. Once created, attestations are permanent and verifiable forever.
Integration
What languages are supported?
What languages are supported?
- Python:
pip install treeship-sdk - Node.js/CLI:
npm install -g treeship-cli - Any language: Use the REST API directly
Should attestation failures block my agent?
Should attestation failures block my agent?
No. Wrap attestation calls in try/catch and log failures, but don’t let them block your agent’s core functionality:
What should I put in the inputs_hash?
What should I put in the inputs_hash?
Hash everything that influenced the agent’s decision:
- User inputs/queries
- Context documents or RAG results
- Model configuration (temperature, model name)
- Any external data fetched
Self-Hosting
Can I self-host Treeship?
Can I self-host Treeship?
Yes. The API is a single Python FastAPI service. See the self-hosting guide.
Do I need my own signing key?
Do I need my own signing key?
Yes. Generate an Ed25519 key pair and set it via environment variable. See the self-hosting guide for details.