Posts tagged “AI”
New features, fixes and improvements to Netlify, as they ship.
-
You can now start and manage Agent Runners from your own scripts, tools, and apps through Netlify’s public API.
The new endpoints let you start an agent run, send follow-up prompts, answer an agent’s questions, and review the files it changed. You can also preview the agent run’s work with a deploy URL shared in the API response.
To start a run, choose a project and send a prompt. When you use the
[POST /sites/{site_id}/agent_runners](https://open-api.netlify.com/#tag/agentRunner/operation/createSiteAgentRunner)endpoint, your run will start on the production branch by default. To specify a different branch, you can pass a branch or deploy ID. You can also choose the agent, model, and effort, or use ask mode to get answers without changing code.The public API supports running agents and previewing their work. Opening pull requests, committing changes, and publishing to production aren’t available yet. For progress updates, poll the run and session endpoints.
To get started, explore the Agent Runners endpoints in the Netlify API reference.
-
TypeSafe’s Jev 1.14.0 model is now available through Netlify’s AI Gateway with zero configuration required.
Install
@typesafe-ai/sdkand use it directly in your Netlify Functions without managing API keys or authentication. AI Gateway handles credentials automatically, and usage is billed to your Netlify credits.Jev answers typed questions about your application state. Here’s an example using
jev-1.14.0to categorize a support ticket as a bug, feature request, or question:import { choice, TypeSafeClient } from '@typesafe-ai/sdk';export default async () => {const typesafe = new TypeSafeClient();const response = await typesafe.systemOne({model: 'jev-1.14.0',state: { issue: 'App crashes when I click Save.' },questions: {label: choice('Categorize this ticket', {bug: null,feature: null,question: null,}),},});return Response.json(response);};Jev 1.14.0 is also available across Scheduled Functions, Background Functions, and Edge Functions. You get automatic access to Netlify’s caching, rate limiting, and authentication infrastructure.
Learn more in the AI Gateway documentation and the TypeSafe documentation.
-
Meta’s Muse Spark and Muse Wonder models are now available through Netlify’s AI Gateway with zero configuration required. Choose
muse-spark-1.1for coding, computer use, and multimodal perception;muse-spark-1.2for coding-optimized agentic workflows;muse-spark-1.3for long-horizon coding and agentic work with cleaner code and fewer tokens; ormuse-wonder-1.0for complex coding tasks, long-running agents, and advanced computer use.Use the OpenAI SDK directly in your Netlify Functions without managing API keys or authentication. AI Gateway takes care of the setup automatically. Here’s an example using Muse Wonder with the Responses API:
import OpenAI from 'openai';export default async () => {const meta = new OpenAI();const response = await meta.responses.create({model: 'muse-wonder-1.0',input: 'How can AI improve my coding?'});return Response.json(response);};These Meta models also work in Scheduled Functions, Background Functions, and Edge Functions, with Netlify’s caching, rate limiting, and authentication infrastructure available automatically.
Learn more in the AI Gateway documentation and explore the models on Meta’s developer site.
-
You can now subscribe to Netlify events from ChatGPT and set up automations that respond to what’s happening on your sites.
Instead of checking the Netlify dashboard or waiting on an email, you can have ChatGPT act as soon as something happens. Events you can subscribe to include:
- A deploy succeeded
- A build failed
- A form submission came in
For more events to subscribe to, check out our deploy events.
Combine events with Netlify plugin and MCP server
Events get more useful when you pair them with everything else you can already do through the Netlify ChatGPT plugin and Netlify MCP server. For example, you could set up an automation that:
- Reviews new form submissions and flags the ones that need a follow-up
- Summarizes what changed when a production deploy succeeds
Because these automations live in ChatGPT, you can describe what you want in plain language and adjust it as your workflow changes.
Get started
Connect Netlify in ChatGPT, then ask it to subscribe to the events you care about for your project. Learn more in our guide to using Netlify with ChatGPT.
-
OpenAI’s Decisions API is now available through Netlify’s AI Gateway with zero configuration required.
Use the OpenAI SDK directly in your Netlify Functions to classify, route, and score inputs without managing API keys. Instead of generating prose, the Decisions API answers questions you define about an input, and
choiceanswers are always one of the options you declared. That means there’s no output to parse and nothing unexpected to handle before you branch on the result. The Decisions API is in beta and currently runs ongpt-6-luna.Here’s a Function for an online store that sorts incoming return requests by reason:
import type { Config } from "@netlify/functions";import OpenAI from "openai";export default async (req: Request) => {const openai = new OpenAI();const { answers } = await openai.decisions.create({model: "gpt-6-luna",input: await req.text(),questions: [{type: "choice",name: "reason",instructions: "Why is the customer returning this item?",choices: [{ value: "wrong_size" },{ value: "defective" },{ value: "not_as_described" },{ value: "changed_mind" },],},],});return Response.json(answers[0]);};export const config: Config = { path: "/api/returns", method: "POST" };Send it “The jacket fits well, but the zipper came off the second time I wore it” and you get back:
{"type": "choice","name": "reason","choice": "defective","probabilities": [{ "value": "wrong_size", "probability": 0.01 },{ "value": "defective", "probability": 0.95 },{ "value": "not_as_described", "probability": 0.03 },{ "value": "changed_mind", "probability": 0.01 }],"confidence": 0.93}choiceis safe to branch on directly, so you can send a prepaid label for defective items or offer an exchange for the wrong size, and useconfidenceto pass unclear requests to your support team.Learn more in the AI Gateway documentation and the OpenAI API reference.
-
You can now add comments to individual lines in the diff on the Code tab of Agent Runners, so you can give your agent precise feedback on the code it generated.
Previously, asking for a fix meant describing where the problem was in your prompt, such as naming the file, quoting the code, or explaining which function you meant.
Now you can pinpoint exactly where you want changes. Open the Code tab for an agent run, select the + next to a line in the diff, and leave a comment about what you want changed. Your comments are sent along with your next prompt, so the agent knows exactly which code lines you’re referring to.

This makes follow-up prompts more useful when you want to:
- Correct a specific bug or edge case without rewriting the whole request
- Ask for a different approach in one part of a change while keeping the rest
- Flag naming, styling, or structure issues right where they appear
- Leave feedback on several spots across multiple files in a single follow-up run
Try it on your next agent run, or learn more about making changes with Agent Runners.
-
Every site created with Agent Runners now includes Open Graph tags. When you share a link to your site, it shows up as a proper preview instead of a bare URL.
Social media sites and messaging apps read Open Graph tags to build link previews. Now, when you or your visitors share a site you created with Agent Runners, the preview includes a screenshot of the site, its title, and a description. That makes your site easier to recognize, more inviting to click, and look better than ever from the moment you share it.
This is available on all public sites created with Agent Runners. You don’t need to do anything to turn it on.
Learn more about Agent Runners in the Agent Runners docs.
-
Agent Runners now shows you a preview right next to your prompt.
Previously, you’d get a link to the Deploy Preview and have to open it in a separate tab to see what the agent changed. Now the preview appears inline, so you can review the result and write your next prompt without switching back and forth. Plus, you can still access the Deploy Preview link if you need it.
This makes iterating with an agent feel more like a conversation. See what changed, spot what’s off, and follow up with the next instruction, all in one view.
Example flow
For example, say you’re building a strategic task organizer and prompt your agent to add a button that generates a quarterly impact report. Now you can watch your agent’s updates in the side preview next to your prompt.

In this example, your agent on Netlify will also let you know if your project cannot save your tasks across browser sessions yet, and you can approve adding a database in the same view.
This is just one example of how Netlify gives you professional-grade capabilities, such as a real working database, with your agent of choice when you prompt with Agent Runners.
Try it out
See it in action when you start a new agent run or learn more about working with agents on Netlify.
-
Agent Runners can now send you browser notifications, so you can move on to other work while an agent run is in progress and know right away when it needs your attention.
Once you turn on notifications, you’ll get an alert when:
- An agent run finishes and your Deploy Preview is ready
- An agent run fails
- The agent is waiting for your input
- An answer is ready when you use ask mode
This is especially helpful for longer runs. Instead of checking back on the tab, you can switch to another tab or app and get an alert when it’s time to return to your run.
The first time you start an agent run in a browser, Netlify offers to turn on notifications. If you skip the prompt, you can turn them on later from your User settings. Learn more about accessing user settings.
A few things to keep in mind:
- Notifications are set per browser, not per account. If you turn them on in Chrome, you’ll need to turn them on separately in Safari or any other browser you use.
- You need at least one Netlify tab open to get notifications. If that tab is in focus, you’ll see an in-app message instead of a browser notification.
- To turn notifications off, change the notification permission for
app.netlify.comin your browser’s site settings.
Browser notifications use a standard web API that works in all modern browsers, including Chrome, Firefox, Safari, and Edge.
Try it on your next agent run, or learn more about Agent Runners in the Netlify docs.