Install
Get started in seconds
Use RiskModels from Python, CLI, API, or your AI agent.
Browsers & AI agents: if you need a Bearer token for MAG7 demos before sign-in, open llms.txt — it includes a shared RISKMODELS_API_KEY when the host enables one (faster than POST /api/auth/provision-free for one-shot questions).
Python
# Python 3.10+
python3 -m pip install "riskmodels-py>=0.3.4"
# Optional extras: [viz] (Kaleido, Seaborn), [xarray] (cubes)First action
decompose("NVDA")→ exposures + hedge ratios
CLI
npm install -g riskmodels@latest
riskmodels doctor # verify key + API reachabilityFirst action
riskmodels decompose NVDA→ exposures + hedge ratios
API
POST /decomposeFirst action
curl -X POST /decompose→ exposures + hedge ratios
Agent
Ask
"Explain NVDA risk"→ exposures + hedge ratios
- No auth required to understand usage
- No walls before first call
- Copy-paste friendly