World State API.
Event probability state, not headlines.
A live event-probability feed built from prediction markets, government data, economic indicators, and traditional market anchors. Roughly 800 tokens, refreshed every 15 minutes — the agent-native consumption surface for cross-venue probability state, also consumed by institutional research desks.

The world watching you back — what an agent reads, in one snapshot.
Numbers an agent can act on.
Web search returns narratives. News APIs return fragments. World state returns calibrated odds.
Prediction markets force participants to settle on real outcomes with real money, so probabilities ship as numbers instead of paragraphs an agent has to interpret.
Web search
documents, narratives, recency-mixed
no calibration, no probability
News API
titles, sources, dates
no probability, no liquidity context
Market data API
prices, volume, orderbook
no compressed agent context
SimpleFunctions world state
probability state + regime + gov/econ + next actions
should be interpreted, not blindly trusted
Live output — exactly what your agent gets
~1,879 tokens · refresh every 15 min · cached at edgeGET /api/agent/worldtext/markdown# World (2026-06-09 10:15 UTC)
Regime: Broad up-skew — markets resolving toward higher probability
SimpleFunctions Index: Disagree 42 | GeoRisk 52 | Breadth +0.40 | Activity 71
Baseline: since midnight UTC
## [residual] 7.3σ volume @ 83¢ — Federal Reserve Hike rates by 0bps at their July?
- ticker: KXFEDDECISION-27JUL-H0
- venue: kalshi
- title: Will the Federal Reserve Hike rates by 0bps at their July 2027 meeting?: Fed maintains rate
- price: 83
- residualVr: 7.293
- vr: 9.336
- volume24h: 539
→ why moving? · `GET https://simplefunctions.dev/api/agent/world?op=explain&item=s-kadcnr`
→ volume path · `GET /api/public/market/KXFEDDECISION-27JUL-H0`
→ related · `GET https://simplefunctions.dev/api/agent/world?op=trail&from=KXFEDDECISION-27JUL-H0`
## [divergence] UT-02 House Election Winner lagging MN-02 House Election Winner — 33¢ gap [US Elections]
- lhs: {"name":"MN-02 House Election Winner: Democratic Party","Δ":"26c"}
- rhs: {"name":"UT-02 House Election Winner: Republican Party","Δ":"62c"}
- gap: 33
- theme: US Elections
- triggerTicker: 0x7319fceb8b5a315eae707028bd654463e48acec082565ef1abd3cc18b424ff6f
- laggingTicker: 0xc706bf8c7164ce0fb7850d52e8fe6c20eefb774ec674128bd0a2a492af531e14
→ why? · `GET https://simplefunctions.dev/api/agent/world?op=explain&item=s-hh986q`
→ MN-02 House Election Winner: Democratic Party spread · `GET https://simplefunctions.dev/api/agent/world?op=dispersion`
→ 6h path · `GET https://simplefunctions.dev/api/agent/world?op=history&dt=6h`
## [divergence] rate of core CPI inflation be above 2… lagging Reserve Bank of Australia Maintain cu… — 26¢ gap [Fed / monetary policy]
- lhs: {"name":"Will the Reserve Bank of Australia Maintain current rate at the June Reserve Ban","Δ":"-25c"}
- rhs: {"name":"Will the rate of core CPI inflation be above 2.6% for the year ending in July 20","Δ":"60c"}
- gap: 26
- theme: Fed / monetary policy
- triggerTicker: KXCBDECISIONAUSTRALIA-26JUN16-HOLD
- laggingTicker: KXCPICOREYOY-26JUL-T2.6
→ why? · `GET https://simplefunctions.dev/api/agent/world?op=explain&item=s-g26cax`
→ Will the Reserve Bank of Australia Maintain current rate at the June Reserve Ban spread · `GET https://simplefunctions.dev/api/agent/world?op=dispersion`
→ 6h path · `GET https://simplefunctions.dev/api/agent/world?op=history&dt=6h`
## [divergence] South Korea GDP growth (YoY) in Q2? overshooting China GDP growth rate YoY for Q2 be a… — 21¢ gap [US fiscal / recession]
- lhs: {"name":"Will China GDP growth rate YoY for Q2 2026 be above 3.4%?: Above 3.4%","Δ":"-29c"}
- rhs: {"name":"South Korea GDP growth (YoY) in Q2 2026?: 2.0–2.4%","Δ":"28c"}
- gap: -21
- theme: US fiscal / recession
- triggerTicker: KXCHGDPYOY-26JUL15-T3.4
- laggingTicker: 0xbb58b9ede928127eed02d2aee3d493bee565565553c2c2124a37cb406e28551f
→ why? · `GET https://simplefunctions.dev/api/agent/world?op=explain&item=s-a356s1`
→ Will China GDP growth rate YoY for Q2 2026 be above 3.4%?: Above 3.4% spread · `GET https://simplefunctions.dev/api/agent/world?op=dispersion`
→ 6h path · `GET https://simplefunctions.dev/api/agent/world?op=history&dt=6h`
## [consensus_break] MI-11 Democratic Primary Winner: 3 markets deeply split (σ=43¢, range 92¢)
- seriesKey: 90350
- markets: [{"ticker":"0x105b2ca798a000f8f618239bb63cd71b1bc77550409e0c4cd19ef76daad5943f","title":"MI-11 Democratic Primary Winner: Jeremy Moss","price":95},{"ticker":"0xdd4b166d77823bfd9...
- dispersion: 43
- range: 92
- implication: markets disagree on resolution level
→ full spread · `GET https://simplefunctions.dev/api/agent/world?op=dispersion`
→ why disagree? · `GET https://simplefunctions.dev/api/agent/world?op=explain&item=s-6x7sjk`
## [consensus_break] Minnesota Governor Democratic Primary Winner: 3 markets deeply split (σ=43¢, range 92¢)
- seriesKey: 145096
- markets: [{"ticker":"0xafda84d1726c745016d74267018b34884919eb989a399a46bdd3a4968e4a6f4f","title":"Minnesota Governor Democratic Primary Winner: Amy Klobuchar","price":95},{"ticker":"0xfb...
- dispersion: 43
- range: 92
- implication: markets disagree on resolution level
→ full spread · `GET https://simplefunctions.dev/api/agent/world?op=dispersion`
→ why disagree? · `GET https://simplefunctions.dev/api/agent/world?op=explain&item=s-xastn6`
## [consensus_break] Nicolaus Sleister be the Democratic nominee …: 3 markets deeply split (σ=43¢, range 92¢)
- seriesKey: KXVA2D
- markets: [{"ticker":"KXVA2D-26-ELUR","title":"Will Elaine Luria be the Democratic nominee for VA-02?: Elaine Luria","price":95},{"ticker":"KXVA2D-26-NSLE","title":"Will Nicolaus Sleister...
- dispersion: 43
- range: 92
- implication: markets disagree on resolution level
→ full spread · `GET https://simplefunctions.dev/api/agent/world?op=dispersion`
→ why disagree? · `GET https://simplefunctions.dev/api/agent/world?op=explain&item=s-ansza9`
## [resolving_soon] 95% no in 14h — Australia Westpac consumer confidence change…
- ticker: KXAUWPCC-26JUN09-T3.0
- venue: kalshi
- title: Will Australia Westpac consumer confidence change for June 2026 be above 3.0%?: Above 3.0%
- price: 5
- settlesInHours: 14
- impliedProbability: 0.05
- ifYes: resolves TRUE, pays 100¢
- ifNo: resolves FALSE, pays 0¢
→ price path · `GET /api/public/market/KXAUWPCC-26JUN09-T3.0`
→ nearby resolutions · `GET https://simplefunctions.dev/api/agent/world?op=catalyst`
→ siblings · `GET https://simplefunctions.dev/api/agent/world?op=trail&from=KXAUWPCC-26JUN09-T3.0`
## [resolving_soon] 95% no in 14h — Truflation US Consumer Confidence Index be a…
- ticker: KXTRUFCCI-26JUN09-T75.1
- venue: kalshi
- title: Will the Truflation US Consumer Confidence Index on Jun 9, 2026 be above 75.1?: Above 75.1
- price: 5
- settlesInHours: 14
- impliedProbability: 0.05
- ifYes: resolves TRUE, pays 100¢
- ifNo: resolves FALSE, pays 0¢
→ price path · `GET /api/public/market/KXTRUFCCI-26JUN09-T75.1`
→ nearby resolutions · `GET https://simplefunctions.dev/api/agent/world?op=catalyst`
→ siblings · `GET https://simplefunctions.dev/api/agent/world?op=trail&from=KXTRUFCCI-26JUN09-T75.1`
## [resolving_soon] 94% no in 14h — Truflation Bitcoin Purchasing Power Index be…
- ticker: KXTRUFBPPI-26JUN09-T1040
- venue: kalshi
- title: Will the Truflation Bitcoin Purchasing Power Index on Jun 9, 2026 be above 1040?: Above 1040
- price: 6
- settlesInHours: 14
- impliedProbability: 0.06
- ifYes: resolves TRUE, pays 100¢
- ifNo: resolves FALSE, pays 0¢
→ price path · `GET /api/public/market/KXTRUFBPPI-26JUN09-T1040`
→ nearby resolutions · `GET https://simplefunctions.dev/api/agent/world?op=catalyst`
→ siblings · `GET https://simplefunctions.dev/api/agent/world?op=trail&from=KXTRUFBPPI-26JUN09-T1040`
## Zoom
- **Iran** — 260 markets → `GET https://simplefunctions.dev/api/agent/world/iran`
- **Oil & Energy** — 463 markets → `GET https://simplefunctions.dev/api/agent/world/oil`
- **Fed & Rates** — 1046 markets → `GET https://simplefunctions.dev/api/agent/world/fed-rate`
- **Recession** — 717 markets → `GET https://simplefunctions.dev/api/agent/world/recession`
- **2026 Elections** — 2801 markets → `GET https://simplefunctions.dev/api/agent/world/election-2026`
- **Crypto** — 854 markets → `GET https://simplefunctions.dev/api/agent/world/bitcoin`
- **Ukraine/Russia** — 314 markets → `GET https://simplefunctions.dev/api/agent/world/ukraine`
- **China/Taiwan** — 218 markets → `GET https://simplefunctions.dev/api/agent/world/china`
---
Path: https://simplefunctions.dev/api/agent/world
Op: snapshot · Generated in 4359msFour endpoints. Same world, different resolutions.
Full snapshot, incremental delta, focused topics, or cross-market anomaly. All on the public tier.
/api/agent/worldFull panoramic snapshot. Six topics, anchor contracts, prediction index, traditional markets.
~800 tokens/api/agent/world/delta?since=1hOnly what changed since timestamp. For agents in long-running sessions that need periodic refresh.
~30–50 tokens/api/agent/world?focus=energy,geoSame token budget, concentrated on fewer topics. More contracts, more depth per topic.
~800 tokens, focused/.well-known/ai-world-stateDiscovery document advertising endpoints, formats, refresh cadence, and licensing.
JSON manifestHow agents should consume world state
Snapshot at session start, reason against the numbers, monitor for change, drill into the next-action endpoints. Treat the state as context, not as a guarantee.
Snapshot
Call /api/agent/world at session start to seed the agent with the current event probability state.
Reason
Use salient markets, regime signals, and traditional anchors as context, not as a guarantee.
Monitor
During long sessions, call /api/agent/world/delta?since=1h to wake only on change.
Drill
Follow nextActions into market inspect, gov/econ query, screen, or index history.
31× improvement in world awareness.
The World Awareness Benchmark (WAB) is a 44-question battery covering recession odds, oil prices, geopolitical risk, and election probabilities. Same model, with and without world state context.
Read the paperBaseline (no world state)
2.3%
+ 800 tokens of world state
70.5%
Geo
+50pp
Econ
+80pp
Energy
+71pp
Elections
+60pp
Markets
+75pp
Calibrated by real money.
Prediction market participants vote with real money on real outcomes. Wrong forecasts lose money. The settlement mechanism produces probability numbers more reliable than analyst reports or news summaries on the same questions.
SimpleFunctions distills 35,325 indicator-scored markets into a single world state. Anchor contracts always appear. Sports, weather, and daily closes are filtered out.
35,325
markets distilled
~800
tokens / snapshot
15 min
refresh cadence
6
rotating topics
Sources: Kalshi (CFTC-regulated), Polymarket, Databento, public econ/gov data.
World awareness in three lines.
Drop the world state into a system prompt, an MCP tool, or a periodic context refresh. Public tier, no setup.
# pip install simplefunctions-ai
from simplefunctions import world
state = world() # ~800 tokens, calibrated by real money
messages = [
{"role": "system", "content": f"You are a helpful assistant.\n\n{state}"},
{"role": "user", "content": "Should I be worried about oil prices?"}
]Ecosystem
FAQ
What is a world state API?
A world state API returns a compact, calibrated description of the live state of the world that an AI agent can read in one call. SimpleFunctions returns event probabilities, regime signals, geopolitical risk, market movers, and gov/econ anchors as a single ~800-token markdown or JSON object.
Why not use web search for world awareness?
Web search returns narratives, dates, and headlines. It does not return calibrated numbers. Prediction-market-implied probabilities are forced to settle on real outcomes, so the world state ships numbers an agent can act on, not paragraphs it has to interpret.
Why prediction markets as the source?
Participants vote with real money on real outcomes. The settlement mechanism punishes wrong forecasts and rewards calibration. That produces probability numbers that, in aggregate, are usually more reliable than analyst reports or news summaries on the same questions.
What topics are included in the world state?
Six rotating topics: geopolitics, macro/economy, energy, elections, crypto/systemic risk, and tech. Anchor contracts (recession probability, Fed actions, geopolitical risk) always appear. Sports, weather, and daily closes are filtered out.
How often is the world state refreshed?
Every 15 minutes. Calls to /api/agent/world return cached output within the window so identical requests stay free and fast.
Can I get only what changed since my last call?
Yes. /api/agent/world/delta?since=1h returns a compact diff so long-running agents can wake on change without re-ingesting the full snapshot.
Can I focus the world state on one or two topics?
Yes. /api/agent/world?focus=energy,geo concentrates the same token budget on fewer topics, returning more contracts and more depth per topic.
Is there a standard discovery URL for AI tools?
Yes. /.well-known/ai-world-state advertises the world state endpoints, formats, refresh cadence, and licensing so MCP clients, Claude Code, Codex, and other agents can auto-configure.
Can this be used inside MCP, Claude Code, or Codex agents?
Yes. The endpoint is plain HTTP markdown/JSON and works as an MCP tool, a system prompt block, or a periodic context refresh inside any agent loop.
Is the world state API free?
Yes. /api/agent/world, /api/agent/world/delta, /api/agent/world?focus=, and /.well-known/ai-world-state are public, no-auth endpoints with generous rate limits.
Related surfaces
Event Probability API
Search real-world events as structured probability state.
Prediction Market Index
Disagreement, geo risk, breadth, and activity across the tape.
Prediction Market API
The broad data and workflow surface for Kalshi, Polymarket, and agents.
Prediction Market Agent
Workflow page for agents that act on event probability state.
Government Data API
Bills, nominations, members, and related markets.
Economic Data API
Official economic series linked to prediction markets.
AI World State Discovery
Standard discovery document for MCP and agent runtimes.