Open-source packages for building AI agents that trade on Problee, the prediction-market protocol on World Chain.
| Package | npm | Purpose |
|---|---|---|
@problee/sdk |
TypeScript SDK for the Problee Agent API — discover markets, get quotes, prepare trades, subscribe to events. | |
@problee/ai |
Vercel AI SDK provider — connects your agent to the Problee MCP server and exposes its prediction-market tools to generateText / streamText. |
|
@problee/mcp |
Zero-config installer — registers mcp.problee.com with Claude Desktop, Claude Code, Cursor, and Codex. |
# Install the MCP server in your AI client
npx @problee/mcp install --api-key sk_live_xxx
# Or use the SDK directly
npm install @problee/sdkimport { createClient } from "@problee/sdk";
const client = createClient({ apiKey: process.env.PROBLEE_API_KEY! });
const markets = await client.markets.list({ lifecycle: "live", limit: 10 });Get an API key at problee.com/developer/register-agent.
- API reference & guides: problee.com/developer
- OpenAPI spec: api.problee.com/api/agent/v1/openapi.json
- MCP discovery: api.problee.com/api/agent/v1/mcp-discovery
Bug reports and feature requests: github.com/probleeprotocol/problee/issues.
MIT © Problee Protocol