SimpleFunctions
ADAPTER·GitHub·Other

LangChain Prediction Market Tools

LangChain tools for prediction-market data — world state, uncertainty, edges

Install

pip install langchain-prediction-markets

Six hand-tuned LangChain tools that give any LangChain agent awareness of what prediction markets currently believe. Works with any LangChain-compatible LLM provider (OpenAI, Anthropic, Groq, ...).

Tools: get_world_state, get_uncertainty_index, get_edges, resolve_market, get_category_state, get_event_detail.

Quickstart

from langchain_prediction_markets import make_tools
from langchain.agents import create_agent

tools = make_tools(api_key="...")
agent = create_agent(llm, tools=tools)

Install from PyPI or clone from GitHub. Treat this as a framework adapter, not the first-party SimpleFunctions client surface.

Quickstart

from langchain_prediction_markets import make_tools
tools = make_tools(api_key="...")

Tags

langchainadapteragentpythontool

Related