notebook-openrouter
| Version | 2026.144.1443 |
| Repo | superproject |
OpenRouter API integration notebook collection
Provisions OpenRouter (https://openrouter.ai) integration
notebooks into the workspace volume’s openrouter/ subdirectory
at deploy time. Producer 00_OpenRouter_Basics demonstrates the
API surface; consumers exercise specific use cases. Requires
OPENROUTER_API_KEY at runtime — declared via env_require so
charly config warns at deploy time when the env var is unset.
Data-only — no packages, no services.
Acceptance plan
Section titled “Acceptance plan”This candy’s plan: — the runnable spec charly check executes against a live deployment. check: steps are idempotent probes; run: steps change state.
| Intent | Step |
|---|---|
check |
the openrouter subdirectory is provisioned in the workspace |
check |
the OpenRouter_Basics producer notebook is present |
check |
the OpenRouter_Basics producer notebook is staged in the image data tree |
check |
the notebooks.yaml manifest cataloguing the collection is staged |
check |
the basics notebook authenticates with the OPENROUTER_API_KEY declared via env_require |
check |
all three documented tutorial notebooks (basics, models, inference) are staged as runnable examples |
check |
file=/data/workspace/openrouter |
check |
file=/data/workspace/openrouter/01_OpenRouter_Models.ipynb |
check |
file=/data/workspace/openrouter/02_OpenRouter_Inference.ipynb |
check |
file=/data/workspace/openrouter/notebooks.yaml |