Metadata-Version: 2.4
Name: simplefunctions-ai
Version: 0.2.0
Summary: Calibrated world model for AI agents. Real-time probabilities from 30,000+ prediction markets.
Project-URL: Homepage, https://simplefunctions.dev
Project-URL: Repository, https://github.com/spfunctions/simplefunctions-python
Author-email: SimpleFunctions <hello@simplefunctions.dev>
License-Expression: MIT
License-File: LICENSE
Keywords: agent-context,ai-agents,anthropic,kalshi,langchain,mcp,openai,polymarket,prediction-markets,real-time-data,world-model,world-state
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.9
Requires-Dist: requests>=2.28.0
Description-Content-Type: text/markdown

# simplefunctions-ai

Calibrated world model for AI agents. Real-time probabilities from 30,000+ prediction markets.

```bash
pip install simplefunctions-ai
```

```python
from simplefunctions import world, index, edges

state = world()
print(state['index']['uncertainty'])   # 35 (0-100)
print(state['regimeSummary'])          # "Risk-off: geo elevated..."

idx = index()
print(f"Uncertainty: {idx['uncertainty']}/100")

for e in edges()['edges'][:3]:
    print(f"{e['title']}: {e['executableEdge']}c edge")
```

## CLI
```bash
sf-world           # World state markdown
sf-index           # Uncertainty index
sf-edges           # Actionable edges
sf-market KXFED    # Market detail
sf-delta 1h        # Recent changes
```

## Client class
```python
from simplefunctions import PredictionMarketClient
client = PredictionMarketClient(api_key="sk-...")
state = client.world(format="json")
```

## License
MIT — [SimpleFunctions](https://simplefunctions.dev)
