Logo
Deploy Now

Stars

872

Forks

154

Watchers

14

Developer links

Pythia

With over 400 GitHub stars and growing, Pythia transforms a local LLM into a self-calibrating geopolitical oracle that watches the entire planet and predicts what happens next — no API keys, no cloud, no cost. The Osiris-based Three.js globe frontend streams 30+ concurrent live feeds including GDELT geopolitics, armed conflict events, USGS earthquakes, NWS storm polygons, EONET disasters, FIRMS wildfires, Polymarket crowd odds, cryptocurrency and commodity prices, UNHCR displacement data, WHO disease outbreaks, and WFP food insecurity indicators. The FastAPI backend fuses these heterogeneous sources into a unified world brief, pipes it through Ollama, and generates located predictions across 24-hour, weekly, monthly, and yearly horizons — each carrying a probability, reasoning, and geocoordinates that fly the globe to the event. A council of four specialist swarm agents — Strategist, Economist, Naturalist, and Skeptic — re-scores every forecast, surfacing consensus, dissent, and splits through Brier-weighted voting where historically accurate personas earn louder votes. The engine maintains a persistent ledger graded by an LLM judge against archived world state, producing running Brier scores and calibration charts. Signal rules fire browser notifications and webhooks when conditions match, a morning brief digest summarizes overnight changes, and the agent API at port 8088 delivers the complete world view in a single JSON call compressed to approximately 50 tokens for AI agent consumption. Running on a dedicated VPS on RepoCloud with guaranteed CPU, RAM, and SSD, full root SSH access, and a browser serial console. MIT licensed.

Pythia
Pythia
Pythia
Pythia
Pythia

Benefits

  • Zero-Cost Global Intelligence
  • Ingests 30+ free, keyless live feeds covering conflict, disasters, weather, markets, cyber threats, humanitarian crises, and crowd prediction markets — no API subscriptions, no cloud dependencies, no recurring costs.
  • Self-Calibrating Swarm Forecasts
  • Four specialist agent personas deliberate every prediction with Brier-weighted consensus — historically accurate voices earn louder votes while the Skeptic enforces base-rate discipline against hype.
  • Complete Agent Integration
  • A single API call to port 8088 delivers the entire live planetary state plus forecasts in machine-readable JSON, with MCP server support for direct integration into autonomous agent workflows.
  • Interactive Globe Visualization
  • Three.js globe renders forecast rings sized by probability and colored by horizon, hurricane cones, flood outlooks, conflict zones, and threat networks — click any prediction to fly there instantly.

Features

  • Multi-Horizon Forecasting
  • Generates located predictions across 24-hour, weekly, monthly, and yearly horizons with probability scores, reasoning chains, and geocoordinates rendered as pulsing rings on the globe.
  • Swarm Deliberation Council
  • Strategist, Economist, Naturalist, and Skeptic personas re-judge forecasts through specialized lenses, with per-persona Brier scores enabling live model bake-offs across Ollama models.
  • What-If Scenarios
  • Inject counterfactual scenarios via the hypothetical field or API, and the oracle forecasts knock-on effects deliberated by selected council personas without touching the track record.
  • Signal Rules Engine
  • Define alert conditions for earthquake magnitude, price movements, VIX thresholds, or forecast probabilities — hits fire browser notifications, webhooks, and appear in the Signals feed.
  • Market Intelligence
  • Scrolling ticker streams indices, futures, crypto, and FX prices with sparklines, while the oracle cross-references its forecasts to relevant tickers with probability-tagged trade rationale.