Skip to main content

simplefunctions-ai

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

pip install simplefunctions-ai
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

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

from simplefunctions import PredictionMarketClient
client = PredictionMarketClient(api_key="sk-...")
state = client.world(format="json")

License

MIT — SimpleFunctions

Metadata

Release files for simplefunctions-ai 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for simplefunctions-ai 0.2.0
File Size Uploaded
simplefunctions_ai-0.2.0.tar.gz 5.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for simplefunctions-ai 0.2.0
File Interpreter ABI Platform
simplefunctions_ai-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 12.3 kB

Release files / simplefunctions_ai-0.2.0.tar.gz

Download URL simplefunctions_ai-0.2.0.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
f99da811762c42507999d3ed4ceb2141dbf38ab7d3343005bf3b893dfafea58e
BLAKE2b-256 checksum
How to use checksums
8d0db5e80bcfef2defe4bb315225ed1559a5c94c724f0565459d7f1317fbd636
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release files / simplefunctions_ai-0.2.0-py3-none-any.whl

Download URL simplefunctions_ai-0.2.0-py3-none-any.whl
Size 7.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
876aa9bd2d14b41570182bc06ef3c1c164e6cccf9f9f43d414990fdf407f3fe8
BLAKE2b-256 checksum
How to use checksums
1d3bcd19de5d01c24050213ecd2769bc6c8d9b27d19cc0ec63db7730291756ca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page