Skip to main content

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

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

simplefunctions_ai-0.2.0.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

simplefunctions_ai-0.2.0-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file simplefunctions_ai-0.2.0.tar.gz.

File metadata

  • Download URL: simplefunctions_ai-0.2.0.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for simplefunctions_ai-0.2.0.tar.gz
Algorithm Hash digest
SHA256 f99da811762c42507999d3ed4ceb2141dbf38ab7d3343005bf3b893dfafea58e
MD5 7173572ee6af44726020439da5c76db3
BLAKE2b-256 8d0db5e80bcfef2defe4bb315225ed1559a5c94c724f0565459d7f1317fbd636

See more details on using hashes here.

File details

Details for the file simplefunctions_ai-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for simplefunctions_ai-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 876aa9bd2d14b41570182bc06ef3c1c164e6cccf9f9f43d414990fdf407f3fe8
MD5 b99ed7aab17e5a6221770318a29d2fed
BLAKE2b-256 1d3bcd19de5d01c24050213ecd2769bc6c8d9b27d19cc0ec63db7730291756ca

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page