ADAPTER·GitHub·MIT
Prediction Market Context
Fetch structured prediction-market context for any LLM
Install
npm i prediction-market-contextWhere agent-world-awareness gives you a prose blurb, this package gives you structured JSON you can shape into your own prompt scaffold. Per-category slicing (macro, geo, crypto, tech, policy), token-budget trimming, and canonical schema so downstream parsing stays stable.
Quickstart
import { getContext } from 'prediction-market-context'
const ctx = await getContext({
categories: ['macro', 'geopolitics'],
tokenBudget: 2000,
apiKey: process.env.SF_API_KEY,
})
Tags
contextadaptertypescriptagentllm
Related
- ADAPTER·OtherAgent World AwarenessOne-line prediction-market context injection for any AI agent
- PRIMARY·MITSimpleFunctions CLIPrimary supported sf command-line interface for prediction-market infrastructure
- UTILITY·OtherPrediction Market Uncertainty IndexOne function, one number (0-100) from prediction-market signals