Posts tagged "Agent-runners"

Subscribe to feed
  • Agent Runners improvements

    Here are some Agent Runners improvements that all people with Credit-based pricing plans can enjoy:

    You can now link directly to an agent run to share it with your team or bookmark for later review.

    Screenshot showing the copy link button in the Agent Runners interface

    Agent Runners available no matter how you deploy

    Agent Runners now supports static projects without build steps. Previously, projects without a build step couldn’t use Agent Runners.

    Improved diff view performance

    By default, the diff view now loads only the first 50 changed files with an option to load more. This improves performance for large projects.

    Feedback welcome

    Keep sharing your product feedback about Agent Runners in the feedback form at the bottom of our Agent Runners docs page.

    And don’t forget that while you can run multiple agent runs and do other work while they run, you can also play a Netlify game while you wait for the agent to finish.

    Permalink to Agent Runners improvements
  • GPT-5.2-Codex Now Available in AI Gateway and Agent Runners

    OpenAI’s GPT-5.2-Codex model is now available through Netlify’s AI Gateway and Agent Runners with zero configuration required.

    Use the OpenAI SDK directly in your Netlify Functions without managing API keys or authentication. The AI Gateway handles everything automatically. Here’s an example using the GPT-5.2-Codex model:

    import OpenAI from 'openai';
    export default async () => {
    const openai = new OpenAI();
    const response = await openai.responses.create({
    model: 'gpt-5.2-codex',
    input: 'How does AI work?'
    });
    return new Response(JSON.stringify(response), {
    headers: { 'Content-Type': 'application/json' }
    });
    };

    GPT-5.2-Codex is available across Background Functions, Scheduled Functions, and Agent Runners. You get automatic access to Netlify’s caching, rate limiting, and authentication infrastructure.

    Learn more in the AI Gateway documentation and Agent Runners documentation.

    Permalink to GPT-5.2-Codex Now Available in AI Gateway and Agent Runners
  • Play Games While Agent Runners Do the Work

    While Agent Runners take care of tasks on your site, you can now play games right in the UI. We’ve brought the same beloved build-time games to the Agent Runner page, so you can flip tiles, plan snake, install other games, or even create your own while your agent runs in the background.

    A little delight, now everywhere you wait.

    Play a game while you wait modal showing a Match the Pairs game on the Agent Runner page

    Learn more about the Netlify Entertainment System.

    Permalink to Play Games While Agent Runners Do the Work
  • GPT-5.2 and GPT-5.2-Pro now available in AI Gateway and Agent Runners

    OpenAI’s GPT-5.2 and GPT-5.2-Pro are now available through AI Gateway and Agent Runners. You can call these models from Netlify Functions without configuring API keys; the AI Gateway provides the connection to OpenAI for you.

    Example usage in a Function:

    import { OpenAI } from "openai";
    export default async () => {
    const openai = new OpenAI();
    const response = await openai.chat.completions.create({
    model: "gpt-5.2",
    messages: [
    { role: "user", content: "What are the key improvements in GPT-5.2?" }
    ]
    });
    return new Response(JSON.stringify(response), {
    headers: { "Content-Type": "application/json" }
    });
    };

    These models work across any function type and are compatible with other Netlify primitives such as caching and rate limiting, giving you control over request behavior across your site.

    See the AI Gateway documentation for details.

    Agent Runners support the same models, enabling AI to complete long-running coding tasks. You can learn more in the Agent Runners documentation.

    Permalink to GPT-5.2 and GPT-5.2-Pro now available in AI Gateway and Agent Runners
  • GPT-5.1-Codex-Max now available in AI Gateway and Agent Runners

    OpenAI’s GPT-5.1-Codex-Max model is now available through Netlify’s AI Gateway and Agent Runners with zero configuration required.

    Use the OpenAI SDK directly in your Netlify Functions without managing API keys or authentication. The AI Gateway handles everything automatically. Here’s an example using the GPT-5.1-Codex-Max model:

    import OpenAI from 'openai';
    export default async () => {
    const openai = new OpenAI();
    const response = await openai.responses.create({
    model: 'gpt-5.1-codex-max',
    input: 'What improvements are in GPT‑5.1-Codex-Max?'
    });
    return new Response(JSON.stringify(response), {
    headers: { 'Content-Type': 'application/json' }
    });
    };

    GPT-5.1-Codex-Max is available across Background Functions, Scheduled Functions, and Edge Functions. You get automatic access to Netlify’s caching, rate limiting, and authentication infrastructure.

    Learn more in the AI Gateway documentation.

    You can also leverage GPT-5.1-Codex-Max with Agent Runners to build powerful AI-powered workflows, including expanded tool use and support for long-running agent tasks. Learn more in the Agent Runners documentation.

    Permalink to GPT-5.1-Codex-Max now available in AI Gateway and Agent Runners
  • Claude Opus 4.5 now live in AI Gateway, plus latest Claude Code via Agent Runners

    Anthropic’s Claude Opus 4.5 model is now available through Netlify’s AI Gateway with zero configuration required.

    Use the Anthropic SDK directly in your Netlify Functions without managing API keys or authentication. The AI Gateway handles everything automatically. Here’s an example using the Claude Opus 4.5 model:

    import Anthropic from "@anthropic-ai/sdk";
    export default async () => {
    const anthropic = new Anthropic();
    const response = await anthropic.messages.create({
    model: "claude-opus-4-5-20251101",
    max_tokens: 4096,
    messages: [
    {
    role: "user",
    content: "Give me pros and cons of using claude-opus-4-5-20251120 over other models."
    },
    ],
    });
    return new Response(JSON.stringify(response), {
    headers: { "Content-Type": "application/json" }
    });
    }

    Claude Opus 4.5 is available across Background Functions, Scheduled Functions, and Edge Functions. You get automatic access to Netlify’s caching, rate limiting, and authentication infrastructure.

    Learn more in the AI Gateway documentation.

    You can also access the newest Claude Code capabilities via Agent Runners, including expanded tool use and support for long-running agent workflows. Learn more in the Agent runner documentation.

    Permalink to Claude Opus 4.5 now live in AI Gateway, plus latest Claude Code via Agent Runners
  • Gemini 3 now available in AI Gateway and Agent Runners

    Google’s Gemini 3 Pro Preview model is now available through Netlify’s AI Gateway and Agent Runners with zero configuration required.

    Use the Google GenAI SDK directly in your Netlify Functions without managing API keys or authentication. The AI Gateway handles everything automatically. Here’s an example using the Gemini 3 Pro Preview model:

    import { GoogleGenAI } from "@google/genai";
    export default async (request: Request, context: Context) => {
    const ai = new GoogleGenAI({});
    const response = await ai.models.generateContent({
    model: "gemini-3-pro-preview",
    contents: "Explain why gemini 3 is better than other models",
    });
    return new Response(JSON.stringify({ answer: response.text }), {
    headers: { "Content-Type": "application/json" }
    });
    };

    Gemini 3 is available across Background Functions, Scheduled Functions, and Agent Runners. You get automatic access to Netlify’s caching, rate limiting, and authentication infrastructure.

    Learn more in the AI Gateway documentation and Agent Runners documentation.

    Permalink to Gemini 3 now available in AI Gateway and Agent Runners