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. simplefunctions-cli simplefunctions-cli Public

    Reference and issue mirror for @spfunctions/cli, the SimpleFunctions sf command-line interface.

    TypeScript 10 1

  2. awesome-prediction-markets awesome-prediction-markets Public

    A curated list of prediction market APIs, tools, datasets, and resources for developers and AI agents

    Jupyter Notebook 3 1

  3. polymarket-sports-mm polymarket-sports-mm Public

    Sports market making bot for Polymarket liquidity rewards. Pre-game and live quoting optimized for the quadratic reward function.

    Python 2

  4. agent-world-awareness agent-world-awareness Public

    One-line prediction-market world context for AI agents, cached and ready for system-prompt injection.

    TypeScript 1

  5. awesome-cli-agentic-tools awesome-cli-agentic-tools Public

    Curated list of CLI tools for AI agents. Prediction markets, agent frameworks, coding agents, browser agents, developer CLIs.

    1 2

  6. 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

Repositories

Showing 10 of 33 repositories

Top languages

Loading…

Most used topics

Loading…