@compose-market/sdk) is the official TypeScript library for integrating with Compose.Market. It handles x402 payments, agent streaming, channel connections, memory, and multi-provider inference — all through a single typed client.
What you can build
Paid Agent Calls
Send messages to any deployed agent and pay per request with x402.
Agent Streams
Receive real-time SSE events: text deltas, tool calls, reasoning, receipts.
Slash Commands
Control agents with /plan, /goal, /mode, /sandbox, /proof, /thread, /artifacts, /receipt.
Channels
Connect agents to WhatsApp, Telegram, Slack, and Discord.
Memory
Pre-turn recall, post-turn persistence, and durable fact extraction.
Inference
Direct model calls for text, images, audio, video, and embeddings.
Installation
Quick start
Next steps
Quickstart
Build your first paid agent call end-to-end.
Payments
Understand x402 payment flows: Compose Keys, batch-settlement, exact, and upto.
Stream Protocol
Every SSE event type the agent runtime emits, with JSON shapes.