Lightlines
By netlify

netlify-ai-gateway

netlify2.7k installs

Add AI to your Netlify app without managing keys.

What it does

Guides adding server-side AI features to Netlify apps using provider SDKs and automatically injected credentials.

When to use it

Use when adding AI features to a Netlify app, configuring provider SDKs, streaming generations, or troubleshooting gateway authentication and build-time failures.

How to use it

It changes how the agent implements AI features in a Netlify project, using provider SDKs with injected credentials rather than hand-written gateway requests.

What you provide

  • An existing project

Uses

Good to know

  • cannot be undone: Netlify AI Gateway

Latest review

What you need · 6

Requires a Netlify account on a credit-based plan with AI Features enabled; legacy plans must switch, and Enterprise users must contact their Account Manager.

For the OpenAI SDK path, the SDK reads this automatically injected environment credential together with OPENAI_BASE_URL; other provider SDK paths use their corresponding credentials instead.


Access · 6

This skill

Netlify AI Gateway

Write

Sends paid AI requests (irreversible)

Netlify

Write

Publishes your app to Netlify