Prediction-market infrastructure for agents, researchers, and operators.
SimpleFunctions starts at sf: a local CLI for querying live Kalshi + Polymarket state, exporting structured JSON for coding agents, and gating prediction-market workflows from the shell. The HTTP/Data API is the network surface. SDKs and agent runtimes should wrap the same contracts. MCP is a compatibility adapter for MCP-only hosts.
npm i -g @spfunctions/cli
sf status --json
sf world --json
sf describe --all --json- CLI: https://simplefunctions.dev/cli
- Docs: https://docs.simplefunctions.dev
- llms.txt: https://simplefunctions.dev/llms.txt
- Public package catalog: https://simplefunctions.dev/opensource
| Job | Repositories |
|---|---|
| Primary product surface | simplefunctions-cli |
| API clients | simplefunctions-python |
| Institutional examples | sf-institutional-alpha-demo |
| Benchmarks | major-model-benchmark, prediction-market-model-benchmark |
| Agent/framework adapters | langchain-prediction-markets, openai-agents-prediction-markets, vercel-ai-prediction-markets, crewai-prediction-markets, prediction-market-mcp-example |
| Utilities | agent-world-awareness, prediction-market-context, prediction-market-edge-detector, prediction-market-uncertainty, prediction-market-regime, causal-tree-decomposition, polymarket-ticker-resolver, kalshi-orderbook-viewer, kalshi-price-monitor, world-state-action, create-prediction-market-agent |
| Research and demos | ttt-conv-memory, Memento, claude-arena, claude-trading, harness, polymarket-sports-mm |
| Lists and reading | prediction-markets-reading, Awesome-Prediction-Market-Tools, awesome-prediction-markets, awesome-cli-agentic-tools |
- CLI first: humans, scripts, Claude Code, Codex, cron, local workflows.
- HTTP/Data API second: services, notebooks, dashboards, remote workers.
- Clients/adapters: wrappers over the same objects.
- MCP last: compatibility layer for MCP-only hosts.