Skip to content
All tool news

Tool desk · Updated daily

Tool news·Vercel·

Vercel Sandbox Powers Notion Workers with Secure Code Execution at Scale.

Vercel Sandbox enables Notion Workers to run untrusted code securely, allowing developers to build custom agents with API integrations.

CW

Create With tool desk

1 source checked · 3 min read · 3 sections

ShareLinkedIn
Vercel Sandbox Powers Notion Workers with Secure Code Execution at Scale

Vercel has become the infrastructure backbone for Notion's new developer platform, providing the secure execution environment that powers Notion Workers through its Sandbox technology.

Notion Workers allow developers to write and deploy custom code that extends Custom Agents with new capabilities: syncing external data, triggering automations, and calling any API. With this integration, developers can build agents that sync CRM data on a schedule, open issues when error rates spike, or turn Slack threads into formatted content.

The Security Challenge

Notion faced a complex infrastructure problem when building its developer platform. The company wanted to let anyone extend their platform with custom code, but every Worker would run arbitrary code generated by a third-party developer or agent on behalf of a Notion user, potentially inside an enterprise workspace.

Without proper isolation, a Worker would run in the same environment as the Custom Agent, with access to its secrets, permissions, and everything else in that execution context. A single prompt injection could exfiltrate credentials or access another user's data.

The requirements were strict: hard isolation between Workers, credential security for API keys, network controls for enterprise customers, scalable performance for millions of concurrent users, fast cold starts with state preservation, and a billing model built for agents with low CPU utilization rates.

How Vercel Sandbox Solves It

Vercel Sandbox runs each Notion Worker in an ephemeral Firecracker microVM. Every VM boots its own kernel, providing stronger isolation than containers. Each execution gets its own filesystem, its own network stack, and its own security boundary. When the Worker finishes, the microVM is either destroyed or snapshotted for later retrieval.

The platform provides several critical capabilities specifically designed for workloads like Notion Workers. Sandbox's firewall proxy can intercept and inject API keys into outbound requests at the network level, so credentials never enter the execution environment. For agent-driven workloads, this eliminates the most dangerous prompt injection vector: an agent being tricked into exfiltrating secrets.

Network policies allow Notion to define which external services a Worker can reach, critical for enterprise customers with compliance requirements. Dynamic policies can be applied per-execution, giving Notion granular control without sacrificing flexibility.

The architecture scales to support millions of users running concurrent executions without performance degradation, while maintaining the fast cold starts necessary for responsive agent interactions. Vercel's billing model aligns with the low CPU utilization rates typical of agent workloads, making it economically viable at scale.

Broader Implications

This integration represents a significant shift in how platforms can safely expose extensibility to developers and AI agents. By delegating the complex security and isolation challenges to Vercel's infrastructure, Notion can focus on building developer-friendly APIs and agent capabilities rather than managing microVM orchestration.

The announcement comes as Vercel continues to expand its platform capabilities, following recent updates to its AI Gateway and broader infrastructure offerings. The company has positioned itself as critical infrastructure for AI-native applications that require secure execution of untrusted code.

For developers building on Notion's platform, this means Workers can safely interact with external services without exposing sensitive credentials or creating security vulnerabilities. The underlying Sandbox architecture handles the isolation complexity transparently, allowing developers to focus on building useful integrations rather than security infrastructure.

Vercel detailed the technical architecture in a blog post covering security boundaries in agentic architectures and the specific challenges of running untrusted code at scale.

Sources

1 checked

How we cover tool news: Create With's tool desk drafts these reports with AI from the sources listed above and checks them against those sources before publishing.

Worth passing on?

ShareLinkedIn

Go deeper on Vercel

Related reading, watching and going.

Everything on Vercel →

The briefing

19 May 2026

How to Migrate Your App from Lovable to Claude Code in 2025

Step-by-step guide to migrating your Lovable app to Claude Code. Learn how to move from Lovable's managed platform to a stack you own and control.

Read →

The briefing

10 Feb 2026

OpenClaw Review: 2 Weeks With This AI Agent

Honest 2-week review of OpenClaw — an autonomous AI agent powered by Claude. We test setup, safety, autonomy, and real value to see if it's worth using.

Read →
34 min

Podcast

My Daughter Built a Website Business, Claude Design First Look & Going All-In on Cloudflare

James and Kieran discuss practical AI-powered development through real-world examples, including a seven-year-old building a website business with Claude Code voice mode, Anthropic's new Claude Design tool, API security challenges in the AI agent era, and Cloudflare's expanding AI infrastructure offerings. The episode covers hands-on experiences with vibe coding, emerging design tools, and the evolving landscape of AI-assisted development.

Watch now ↗

Podcast

53. Why Your Vibe Code Needs Tests, Ditching SaaS & AI Agents That Work While You Sleep

James and Kieran discuss the practical realities of building AI-powered software, emphasizing the importance of testing in vibe-coded applications, exploring alternatives to traditional SaaS tools, and implementing autonomous AI agents for business operations. The episode covers technical topics like Convex databases, app store bottlenecks from AI-generated submissions, and using OpenClaw as a marketing automation agent.

Watch now ↗
38 min

Podcast

52. Your AI Co-Founder: OpenClaw, Manus & the Zero-Person Business

In this Create With podcast episode, James and Kieran are joined by Matt Roberts from Happy Operators for an in-depth discussion on using autonomous AI agents in production. The conversation covers practical experiences with OpenClaw, security considerations, comparison with emerging tools like Manus, and the broader shift toward AI-assisted development. They also discuss the VibeCoding Olympics results, Bubble's new AI capabilities, and research on Claude.MD file effectiveness.

Watch now ↗

Latest tool news

What else changed this week.

All tool news
VercelDigest

What Vercel Shipped in Late October

Vercel shipped quicker static deployments, four AI Gateway models, more free domain choices and new CLI controls in late October. The changes cover developers testing sites…

Vercel

Vercel Adds Submit_feedback to Its MCP

submitfeedback is a new Vercel MCP tool that lets agents and harnesses send bug reports, friction reports and feature requests directly to the Vercel team. Feedback can include…

The Create With Briefing

Don't watch forty changelogs. Read one email.

Every Tuesday: the tool changes worth knowing, real business use cases, and what's on near you. Free, unsubscribe any time.