Posts tagged "AI"
-
We have redesigned Netlify functions for an improved agent experience.
With these updates, functions are more discoverable, easier to autocomplete, update, and manage for people and agents alike. They move function configuration into code, making it type-safe and immediately visible to editors, tools, and agents, with no platform-specific naming conventions to memorize or get wrong. None of these changes are breaking, so you can adopt them on your own timeline.
Netlify Functions are serverless functions that run on-demand in response to HTTP requests or platform events. They handle server-side logic without any infrastructure to manage, and live in your repository at
netlify/functions/.To learn more about these updates in depth, check out our blog on redesigning Netlify functions for agent experience. See the table below for a summary.
Feature What changed What it means for agents What you need to do Event handlers Export typed event handlers from the default export object Typed handlers are discoverable like any API, with no magic filenames to guess or get wrong. Nothing required. Adopt the new syntax for new event handlers for better agent discoverability and updates. Background functions Declare with background: truein config instead of the-backgroundfilename suffixType-safe and config-driven, not name-driven. Agents can set it in code without guessing platform naming conventions, and get an error if the value is wrong. Nothing required. The -backgroundsuffix still works.Region selection Set per-function via the regionconfig property, replacing the global UI settingAgents can set region as a type-safe config property, catching invalid values before deploy rather than at runtime. Use deploy previews to test before going live. Nothing required. Optionally move region out of the UI into config for per-function control. Memory and vCPU Set via memoryorvcpuconfig properties; both values scale together automaticallyAgents provisioning compute-heavy workloads (inference, large payloads) can do so in code. Nothing. Defaults unchanged. Set only if your workload needs more than 1 GB / 0.5 vCPU. Requires a credit-based Pro plan. getContext()Named import from @netlify/functions, replacing theNetlify.contextglobalNamed imports surface in autocomplete and carry type information. Globals are invisible to agents; named imports are not. Nothing required. Netlify.contextstill works. Switch togetContext()for better discoverability.Learn more in the Netlify Functions documentation, which has also been recently revamped.
-
Netlify is now listed in the Cursor marketplace, so you can connect your AI-assisted coding environment directly to Netlify without leaving your editor.
Whether you’re spinning up a new project or iterating on an existing site, having Netlify available from within Cursor means fewer context switches between building and deploying.
Find it at cursor.com/marketplace/netlify.
-
Agent Runners now include a
frontend-designskill that guides AI agents toward creating distinctive, production-grade frontend interfaces with high design quality.When building web components, pages, or applications, AI agents often default to generic, cookie-cutter aesthetics. The
frontend-designskill steers agents toward creative, polished output that avoids that “AI slop” look and instead produces UIs with real visual identity and craft.Here’s what a generated calculator component looks like without the skill:

And here’s the same prompt with the
frontend-designskill enabled:
The skill is automatically available in Agent Runners and activates when the agent is asked to build web components, pages, or applications. No configuration required—just prompt your agent to build a UI and the skill handles the rest.
Learn more about Agent Runners and available skills in the Netlify docs.
-
We’ve improved the Netlify CLI’s Agent Experience to make it the fastest way for both developers and AI agents to go from idea to deployed site. Here’s what’s new.
Create a new project from a prompt
The
netlify createcommand now builds you a new site from scratch, triggering Agent Runners:netlify create "a landing page for a SaaS product with a waitlist signup"This single command will:
- Create a new Netlify project for you
- Deploy it to a live URL
- Pull down the code so you can start iterating locally
Prefer to build with GitHub? The Netlify CLI can also create a new GitHub repo and automatically hook it up to your new Netlify project, no manual setup required.
Deploy without an account
Need to spin up something quick without creating an account first or signing in? The new
--allow-anonymousflag lets you deploy without a Netlify account:netlify deploy --allow-anonymousThis will create the project, deploy it to a live URL, and let you claim the project within an hour. This is especially useful for AI agents that need to create temporary projects without requiring Netlify credentials upfront.
Better agent experience throughout
We’ve resolved the major issues agents commonly hit with the CLI. The CLI is now a more predictable integration point whether you’re building with an AI coding assistant or orchestrating your own agents.
Install or update the Netlify CLI to try it out:
npm install -g netlify-cli@latest -
You can now deploy sites to Netlify directly from OpenAI Codex using the Netlify plugin in the Codex plugin directory.

Codex plugins extend Codex with apps, skills, and MCP servers, to access external tools, data, and workflows directly from your coding environment. With the Netlify plugin, Codex can create projects, configure settings, and deploy without leaving the coding workflow.
What you can do
Deploy directly from Codex
- Deploy projects using the Netlify CLI workflow
- Generate preview URLs automatically
- Deploy to production when ready
- Validate build configuration before deployment
Manage your projects
- Create new projects
- Install extensions
- Manage environment variables
- Configure visitor access controls
- Manage forms
- Update project settings
Review and fix deployments
- Inspect deploy status
- Retrieve build logs
- Identify configuration issues
- Iterate on fixes within Codex
Codex is also available through Agent Runners, where you can prompt AI agents against your live project and deploy changes directly from the Netlify Dashboard.
The Netlify plugin for Codex is available now in the Codex plugin directory.
-
AI Gateway is now generally available (GA) for all Netlify users. Build AI-powered apps with confidence using our fully managed gateway that handles AI model keys, setup, and monitoring automatically.
For a deeper dive into AI Gateway capabilities, check out our latest blog post.
For a video overview of how the AI Gateway works with a fun demo project, check out our AI Gateway gameshow demo.
For other AI Gateway example projects, check out these videos:
Learn more in our AI Gateway documentation.
Availability
To use AI Gateway, you must have a Credit-based plan or an enabled Enterprise plan.
Learn more about pricing for AI features and monitoring their usage.
To request access to the AI Gateway for an Enterprise plan, reach out to your Netlify account manager.
-
Today we’re releasing new AI workflows that bring powerful coding agents directly into your Netlify projects, with zero setup.
-
Agent Runners: Run Claude Code, Codex, or Gemini directly from the Netlify Dashboard, with full production context. Available today for projects using GitHub-connected repositories or manual deploys.
-
AI Gateway (beta): Connect to any AI model without managing API keys, with usage tracked against your Netlify credits.
These features are available on all credit-based plans. If you’re on a legacy plan, you can update to a credit-based plan to start using them.
Learn more:
-
-

Our “Why did it fail?” feature now integrates better with your chosen AI-powered development workflows. When our AI shares its diagnosis and proposed solution, the “Copy analysis for use in AI tools” button will copy to clipboard:
- The relevant error log lines from your deploy
- Diagnosis of the problem
- The proposed solution
This is ready to paste into your AI tool of choice, unlocking a closer feedback loop to speed up bug resolution and get your deploy up and running error-free!
-
When using the Netlify context files in Cursor or Windsurf, whenever the agents generate code with Netlify Forms, they will add the honeypot field to make your forms more secure by default.