
Security News
White House Authorizes Private Companies to Conduct Offensive Cyber Operations
A new federal program will let vetted U.S. cybersecurity firms help investigate and disrupt foreign cybercrime groups under government direction.
langchain-prediction-markets
Advanced tools
LangChain tools for prediction market data. World state, uncertainty index, edges, and market detail from 30,000+ markets.
LangChain tools for real-time prediction market data. Drop-in tools that give any LangChain agent world awareness from 30,000+ markets.
npm install langchain-prediction-markets @langchain/core
import { ChatOpenAI } from '@langchain/openai'
import { createReactAgent } from '@langchain/langgraph/prebuilt'
import { predictionMarketTools } from 'langchain-prediction-markets'
const agent = createReactAgent({
llm: new ChatOpenAI({ model: 'gpt-4o' }),
tools: predictionMarketTools(),
})
const result = await agent.invoke({
messages: [{ role: 'user', content: 'What are the key geopolitical risks right now?' }],
})
| Tool | Description |
|---|---|
get_world_state | Full world state (~800 tokens) with index, movers, edges, divergences |
get_uncertainty_index | Four-signal uncertainty index (0-100) |
get_market_edges | Actionable mispricings with reasoning and causal path |
get_market_detail | Single market detail with optional orderbook |
get_world_changes | Incremental changes since a given time |
import { getWorldState, getUncertaintyIndex, getMarketEdges } from 'langchain-prediction-markets'
// Use individually in any LangChain agent
MIT — SimpleFunctions
FAQs
LangChain tools for prediction market data. World state, uncertainty index, edges, and market detail from 30,000+ markets.
The npm package langchain-prediction-markets receives a total of 0 weekly downloads. As such, langchain-prediction-markets popularity was classified as not popular.
We found that langchain-prediction-markets demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
A new federal program will let vetted U.S. cybersecurity firms help investigate and disrupt foreign cybercrime groups under government direction.

Research
/Security News
The campaign amassed more than 75,000 installs by targeting Russian-speaking users seeking access to blocked services.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.