458
total weekly downloads
19 packages
agent-world-awareness
Make any AI agent world-aware in one line. Real-time context from 30,000+ prediction markets, cached and ready for system prompt injection.
causal-tree-decomposition
Standalone causal tree probability engine. Decompose predictions into weighted causal nodes, compute combined probability, sensitivity analysis, what-if scenarios. Zero dependencies.
create-prediction-market-agent
Scaffold a prediction market agent project. Works with LangChain, CrewAI, OpenAI Agents SDK, or vanilla TypeScript.
kalshi-orderbook-viewer
Terminal orderbook visualization for Kalshi and Polymarket prediction markets. Beautiful depth charts in your terminal.
kalshi-price-monitor
Monitor Kalshi and Polymarket prediction market prices in your terminal. Real-time alerts on significant moves.
langchain-prediction-markets
LangChain tools for prediction market data. World state, uncertainty index, edges, and market detail from 30,000+ markets.
openai-agents-prediction-markets
OpenAI function-calling tools for prediction market data. Works with Chat Completions API and OpenAI Agents SDK.
polymarket-ticker-resolver
Resolve any Polymarket market ID format (numeric, conditionId, CLOB token, slug) to a full market object. Zero dependencies.
prediction-market-context
Real-time prediction market context for AI agents and LLMs. World state, uncertainty index, edges, and market data from 30,000+ markets.
prediction-market-edge-detector
Detect mispricings in prediction markets. Filter, rank, and monitor edges from 30,000+ markets across Kalshi and Polymarket.
prediction-market-regime
Detect market regime states (crisis, risk-off, risk-on, complacent) from prediction market signals.
prediction-market-uncertainty
Real-time uncertainty index from 30,000+ prediction markets. One function, one number (0-100).
@spfunctions/agent
SimpleFunctions Agent SDK.
@spfunctions/bi
Agent-friendly BI CLI: query, transform, and inspect tabular data with SQL. Powered by DuckDB.
@spfunctions/cli
Prediction market infrastructure — CLI for Kalshi + Polymarket. Cross-venue pairs, live orderbook, indicators (IY/CRI/EE/LAS), regime detection, contagion, salience-ranked world snapshot for AI agents, causal-thesis edge detection. Interactive agent mode
@spfunctions/harness
Dual pi-agent runtime harness. Two agents (local + Cloudflare) negotiate, share state, and self-modify via a 5-message protocol.
@spfunctions/prediction-market-mcp
MCP server for prediction market data. Works with Claude Desktop, Cursor, VS Code Copilot. 4 tools: world state, uncertainty index, market detail, edges.
@spfunctions/sdk
SimpleFunctions TypeScript SDK.
vercel-ai-prediction-markets
Vercel AI SDK tools for prediction market data. Drop-in tools for generateText, streamText, and useChat.