Getting Started¶
Get up and running with CapiscIO in minutes. One command gives your AI agent a cryptographic identity, just like Let's Encrypt did for HTTPS.
Quick Install¶
The Fastest Path: One Command Setup¶
Get a complete agent identity in under 60 seconds:
What happens automatically:
- โ Ed25519 key pair generated
- โ
did:keyidentity derived (RFC-002 compliant) - โ DID registered with CapiscIO registry
- โ
Agent card created with
x-capiscioextension - โ Trust badge requested and stored
Choose Your Setup Path¶
-
Path 1: Quick Start (Recommended)
Just use your API key. We auto-discover your agent.
Best for: Getting started fast, single-agent setups, demos.
-
Path 2: UI-First
Create your agent in the dashboard first, then initialize.
# 1. Create agent at app.capisc.io โ get agent ID # 2. Initialize with specific agent capiscio init --agent-id agt_abc123Best for: Teams, production, multiple agents per org.
What You Get¶
After running capiscio init, your .capiscio/ directory contains:
.capiscio/
โโโ private.jwk # Ed25519 private key (keep secret!)
โโโ public.jwk # Public key
โโโ did.txt # Your agent's did:key identifier
โโโ agent-card.json # A2A-compliant agent card
Your agent now has:
- Cryptographic identity - A globally unique
did:keythat proves who you are - Verifiable credentials - Sign messages and prove authenticity
- Trust badge - Registered with CapiscIO for discovery and verification
- A2A compliance - Ready to interact with other A2A agents
Choose Your Next Step¶
-
Validate Your Agent
Ensure your agent card is A2A-compliant.
5 minutes ยท Beginner
-
Secure Your Agent
Add request signing and verification.
15 minutes ยท Intermediate
-
Protect MCP Tools
Add tool-level authorization to Model Context Protocol servers.
10 minutes ยท Intermediate
-
CI/CD Integration
Automate validation in GitHub Actions.
10 minutes ยท Intermediate
-
Complete Workflow
End-to-end guide: identity โ badge โ validation โ deployment.
30 minutes ยท Comprehensive
Manual Setup (Advanced)¶
If you need more control, you can still do things step-by-step:
# Generate keys only (no server registration)
capiscio key gen --out-priv private.jwk --out-pub public.jwk
# Derive DID from existing key
capiscio key did --in public.jwk
See the CLI Reference for all options.
Prerequisites¶
| Path | Requirements |
|---|---|
CLI (capiscio init) | Node.js 18+ or Python 3.10+ |
Python SDK (CapiscIO.connect()) | Python 3.10+ |
| CI/CD | GitHub repository |
SDK Quick Reference¶
from capiscio_sdk import CapiscIO
# Connect and get full identity
agent = CapiscIO.connect(api_key="sk_live_...")
# Or from environment
agent = CapiscIO.from_env() # Uses CAPISCIO_API_KEY
# Use the agent
print(agent.did) # did:key:z6Mk...
print(agent.badge) # Current trust badge
print(agent.status()) # Full status dict
# Emit events for observability
agent.emit("task_started", {"task_id": "123"})
What's Next?¶
After getting started, explore:
-
Get a Trust Badge
Upgrade from self-signed to verified trust.
-
Understand the Concepts
Learn how validation, scoring, and trust work.
-
How-To Guides
Solve specific problems with copy-paste recipes.