STACK
Infrastructure for AI agents. Secure credential vault, verified identity, and authenticated handoffs for multi-agent systems.
STACK is what makes agents trustworthy enough to put into production — and powerful enough to act on behalf of verified humans in the real world.
Get Started
# 1. Register and get your API key
npx stack-cli register
# 2. Connect to Claude Code
claude mcp add stack --url https://mcp.getstack.run --key YOUR_API_KEY
# 3. Start building
# Your agent now has 16 tools for identity, credentials, and handoffs
What It Does
Passport Vault
Agents register, receive scoped credentials, and get signed JWT passports (EdDSA/Ed25519). Passports are cryptographically verifiable without calling STACK, revocable within 60 seconds, and delegatable up to 4 hops with narrowing scopes.
Verified Identity
Passports carry verified human identity from external providers — BankID Sweden, Stripe Identity, Login.gov, ID.me, Plaid. Three trust layers: humanity (L1), identity (L2), delegation (L3).
Drop-off Protocol
Point-to-point handoffs between agents. JSON Schema validation, encryption at rest, TTL expiry, custody transfer. Packages are deleted after collection. Every action is recorded in a tamper-evident, hash-chained audit log.
MCP Tools
16 tools available via the MCP server:
| Tool | Description |
|---|---|
stack_register_agent | Register a new agent |
stack_list_agents | List all registered agents |
stack_connect_service | Connect an external service |
stack_list_services | List available services |
stack_grant_agent_access | Grant agent access to a service |
stack_revoke_agent_access | Revoke agent service access |
stack_issue_passport | Issue a signed passport |
stack_verify_passport | Verify a passport token |
stack_revoke_passport | Revoke a passport |
stack_get_agent_permissions | Get agent permissions |
stack_create_dropoff | Create a drop-off between agents |
stack_deposit | Deposit a validated package |
stack_collect | Collect a package |
stack_get_dropoff_status | Get drop-off status |
stack_list_dropoffs | List all drop-offs |
stack_expire_dropoff | Expire a drop-off |
Production URLs
| Service | URL |
|---|---|
| API | https://api.getstack.run |
| MCP Server | https://mcp.getstack.run |
| Dashboard | https://dashboard.getstack.run |
| Website | https://getstack.run |
Local Development
# Start infrastructure
docker compose -f infra/docker-compose.yml up -d
# Run migrations
cd packages/shared && npx drizzle-kit generate && npx drizzle-kit migrate
# Build and run
npx turbo build
npx turbo dev --filter=@stack/api --filter=@stack/dashboard
Architecture
Turborepo monorepo, TypeScript throughout, ESM modules.
- Packages:
@stack/shared,@stack/vault,@stack/dropoff,@stack/mcp-server,@stack/cli,@stack/sdk - Apps:
apps/api(Fastify),apps/dashboard(Next.js),apps/worker(background jobs),apps/mcp-server(Streamable HTTP) - Infrastructure: PostgreSQL 17, Redis 7, Fly.io (Stockholm)