ai-gateway
Installation
SKILL.md
Nutrient AI Gateway
Two primitives, no bundled script — AI Gateway is a plain REST API, so write the call in
whatever language the project already uses. Chat models (nutrient-s, nutrient-m,
nutrient-l) answer POST /responses or POST /chat/completions with OpenAI-compatible
request/response shapes. Decision models (nutrient-document-decision, nutrient-systemone) answer
POST /systemone with a calibrated probability instead of free text.
Choosing chat vs. decision
| The task is… | Use | Why |
|---|---|---|
| "Is this true/false", "classify this", "route to a category", "flag for review", "rate the severity/quality" | Decision API (/systemone) |
Returns a calibrated probability or confidence, not text to re-parse — replaces regex, keyword matching, or asking a chat model for JSON it might get wrong |
| Open-ended generation, summarization, drafting, tool-calling | Chat model (/responses or /chat/completions) |
Free-text output is the point |
| Structured extraction from a document (fields, tables, citations) | Neither — use the sibling document-extraction-api skill |
AI Gateway decides about content; it doesn't parse documents |