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

install
# Python 3.10+
python3 -m pip install "riskmodels-py>=0.3.4"
# Optional extras: [viz] (Kaleido, Seaborn), [xarray] (cubes)

First action

python
decompose("NVDA")

→ exposures + hedge ratios

CLI

install
npm install -g riskmodels@latest
riskmodels doctor   # verify key + API reachability

First action

bash
riskmodels decompose NVDA

→ exposures + hedge ratios

API

endpoint
POST /decompose

First action

bash
curl -X POST /decompose

→ exposures + hedge ratios

Agent

Use in Claude / Cursor.

Ask

prompt
"Explain NVDA risk"

→ exposures + hedge ratios

  • No auth required to understand usage
  • No walls before first call
  • Copy-paste friendly
Installation — RiskModels | RiskModels API