Skip to content
@spfunctions

Simple Functions

Prediction-market infrastructure for agents, researchers, and operators.

SimpleFunctions

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.

Start here

npm i -g @spfunctions/cli
sf status --json
sf world --json
sf describe --all --json

Repositories by job

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

Surface order

  1. CLI first: humans, scripts, Claude Code, Codex, cron, local workflows.
  2. HTTP/Data API second: services, notebooks, dashboards, remote workers.
  3. Clients/adapters: wrappers over the same objects.
  4. MCP last: compatibility layer for MCP-only hosts.

Popular repositories Loading

  1. Awesome-Prediction-Market-Tools Awesome-Prediction-Market-Tools Public

    Forked from aarora4/Awesome-Prediction-Market-Tools

    A curated, actively maintained list of prediction market tools — APIs, trading bots, analytics, data feeds, AI agents, arbitrage, and more. Covering Polymarket, Kalshi, and the wider ecosystem. PRs…

    1

  2. .github .github Public

    Organization profile

Repositories

Showing 2 of 2 repositories

Top languages

Loading…

Most used topics

Loading…