@cdr-kit/Getting started/Introduction
Introduction
cdr-kit is the developer toolkit for Story Protocol's Confidential Data Rails — the wagmi-style layer that makes it possible to ship private, paid, license-gated data on Story without hand-writing Solidity, hand-rolling encryption flows, or wiring IP licensing primitives by hand.
What's in the kit
15 packages, MIT-licensed, all published to npmjs.com/org/cdr-kit at v0.7.1:
@cdr-kit/react— components + hooks + theming (5 new 0.5 components, 7 new hooks)@cdr-kit/react-ui— styled drop-ins built on the headless layer@cdr-kit/core— typed SDK (condition encoders, 2-step flows, 8 storage adapters, mock kit, WASM init)@cdr-kit/contracts— Solidity ABIs + deployed addresses for 9 conditions (5 base + 4 advanced in 0.5)@cdr-kit/agent— autonomous-agent client (discover → subscribe → access; +12 advanced helpers in 0.5)@cdr-kit/story— Story IP creator surface (NEW in 0.5): registerIpAsset / PIL flavors / mintLicenseTokens@cdr-kit/tools— framework-agnostic tool definitions (34 tools)- Framework adapters:
@cdr-kit/vercel-ai·@cdr-kit/openai·@cdr-kit/langchain·@cdr-kit/agentkit·@cdr-kit/goat @cdr-kit/mcp— the MCP server (Claude Desktop / Cursor / Windsurf / OpenClaw)@cdr-kit/cli— the cdr binary (25 commands across vault / multi-sig / escrow / IP)create-cdr-kit-app— the scaffolder
Where to start
- Quickstart — install, gate encrypted data in under 60s.
- VaultGate component — the canonical drop-in.
- Agent kit overview — autonomous agents that buy data.
- Condition library — the Solidity standard library.