Cover illustration for “Giving Every Customer Their Own AI Agent at Onboarding”
Embedding Agents Into Products

Giving Every Customer Their Own AI Agent at Onboarding

November 27, 20268 min read1,833 words

Share

Text: Derek Tran

Per-customer agents are affordable now; isolation and permissions are the hard part.

Giving every customer their own AI agent at onboarding means setting up a private, persistent sandbox, then connecting tools with that customer’s credentials. SaaS companies can use white-label AI agent infrastructure to do this under their own brand without building the hosting layer from scratch. The pattern is deployable today. The work is wiring isolation, permissions, and lifecycle controls into onboarding correctly.

Why per-user agent provisioning is now a deployable onboarding pattern, not an architectural stretch goal

The economics now support an agent per customer. Isolated sandboxes alone cost $1 to $4 per user per month, so the infrastructure is within reach for standard onboarding as well as premium plans. By early 2026, Cloudflare, Vercel, Ramp, and Modal had shipped sandbox features, making sandboxed agent execution a distinct platform category.

The runtime layer has developed with it. OpenClaw, Hermes, Claude Code, and Codex support autonomous execution. Together, viable hosting costs, mature sandbox infrastructure, and deployable runtimes remove the need to build every layer from scratch. Per-user agents are now feasible and need to be wired in correctly.

What “per-user agent” actually means architecturally, and why a shared-agent design fails at scale

A per-user agent is an isolated sandbox with its own filesystem, memory, credentials, and tool connections, with state retained until explicitly deleted. The distinction is the blast radius of a failure. When customers share an agent instance and its privileges, a leaked credential, misconfigured prompt, or runaway task can reach beyond the customer who triggered it.

Ramp’s engineering team built that boundary into its internal financial agent, Inspect. Each task runs in a separate, ephemeral sandboxed VM so the agent can use realistic engineering tools without touching production data during a live task. Customer-facing agents need a different lifecycle because they have to keep their state between sessions. The underlying separation principle is the same.

Credentials create another route across customer boundaries. An agent configured with one powerful credential presents that privilege to downstream tools, even when acting for different users. A per-user design separates the filesystem, network egress, and credential boundary so that one customer’s agent does not inherit access to another customer’s resources.

Choosing the right runtime for a per-user deployment — OpenClaw, Hermes, Claude Code, and Codex

The runtime determines what happens inside the sandbox. OpenClaw is an open-source option with a large community, self-hosted sub-agent orchestration, and messaging across Slack, Discord, Telegram, iMessage, WhatsApp, and other channels. Hermes Agent, by Nous Research, focuses on long-running autonomy through persistent multi-level memory, built-in tools, and automatically written skills. Its fit is work that benefits from remembering and improving across sessions.

Engineering work has its own runtime choices. Claude Code is optimized for engineering tasks and can operate as a subagent spawned by Hermes or called by OpenClaw flows. Codex CLI is OpenAI-native and defaults to OpenAI, while allowing other providers, and includes OS sandboxing out of the box. That lowers the setup burden for teams already using the OpenAI ecosystem. These choices are not mutually exclusive, because a customer-facing runtime can delegate engineering work to a specialized one.

Runtime selection also creates a maintenance obligation. A deployment needs updates as well as an initial installation, whether it runs one runtime or combines several. Managed deployment is an option for founders who do not want to own that layer. The product’s job should determine the runtime, rather than the runtime determining what the product promises.

How the provisioning step actually works — one API call, one isolated sandbox, automatic at onboarding

A new customer hits “complete” during onboarding. That completion event fires a single API call to provision the customer’s sandbox, rather than sending the founder a setup task or routing the customer into a shared instance. The sandbox gets its own filesystem and disk quota, memory state, credential store, and network egress boundary. This becomes the customer’s persistent working environment.

Startup speed helps, but a fast environment that discards files and memory after every run does not meet the same need. Customer-facing products need to keep their context and stay connected to tools. The lifecycle therefore has to include creation, continued storage, and deletion when the account is deleted or the customer cancels.

Under the Cloud API pricing model described here, billing follows that lifecycle: compute is billed per minute while a sandbox runs, storage is billed from creation until deletion, and there is no subscription fee. The $1 to $4 sandbox range makes per-user deployment plausible, but the operator still needs to account for running time and retained disk.

Diagram: Per-User Agent Provisioning: Five Wiring Steps. Visualizes: Show the sequential onboarding provisioning flow that the article describes as a deployable pattern today.

Connecting each user’s agent to the tools it needs — per-user OAuth and the Composio integration layer

A sandbox without tool access is an incomplete product. The next onboarding step connects the customer’s accounts, using credentials scoped to that customer rather than a master credential shared across the fleet. At first login, the customer grants a scoped, revocable OAuth token. Later tool calls reuse that credential, with Composio handling token refresh without requiring the customer to authenticate each time.

Composio provides the integration layer for services including Gmail, Slack, WhatsApp, and GitHub. Its architectural value here is managed per-user OAuth. Revoking one customer’s access does not require rotating a credential used by everyone else. The boundary extends beyond the sandbox into the tools themselves. Without that separation, isolated compute can still act through shared privileges, undoing much of the protection the sandbox was meant to provide.

The security obligations that come with running one agent per customer at scale

Sandbox isolation limits the blast radius, while pre-action authorization checks whether a tool call is allowed. Uchi Uchibeke’s March 2026 preprint, Before the Tool Call, identifies the gap between agents having credentials and having enforced permission for each action. Model alignment cannot guarantee an individual output. Authorization must therefore happen before a fund transfer, database query, or shell command executes.

That check needs the invoking customer’s identity and scope. Without it, the downstream tool still sees only the agent’s privilege, so the confused-deputy problem remains. Hard timeouts address a separate risk, which is an agent running indefinitely and accumulating compute costs. The limits need to cover the tool call, the task loop, and the sandbox lifetime. None of these controls substitutes for the others.

Untrusted, agent-generated code also needs a strong execution boundary. SideKernel’s research explains the microVM approach, in which the agent interacts with a stripped-down guest Linux kernel. To reach the host, the agent would have to escape the virtual machine monitor. Runtime upkeep remains necessary even with isolation. OpenClaw disclosed 9 CVEs within days of one another in March 2026, including one at CVSS 9.9, supporting a patched-within-48-hours SLA and separation from production data.

These controls can be built into deployment. Managed platforms handle much of the hosting-side work by default, while the operator still defines permitted actions, credential scope, and review gates for the product.

What actually works in production today, and the failure modes operators need to design around

The reliable uses are narrower than the category’s ambitions. There is consistent evidence from production that lead qualification, tier-1 support deflection, internal knowledge Q&A, and meeting-to-CRM pipelines with human review work. They give the agent useful work while leaving room to review its outputs. Even an agent that is right most of the time can make a lot of mistakes at scale. Unsupervised CRM modification is particularly risky because incorrect updates can become silent data corruption discovered weeks later.

A meeting-to-CRM pipeline can prepare changes for a person to approve. This product boundary separates useful automation from authority the system has not earned.

The productized consultant is a clear near-term opportunity. A marketing consultant can encode expertise in an agent that audits landing pages, suggests copy, and generates campaign strategies for a fixed monthly price. Each client gets their own environment that keeps their context. The consultant can serve several clients at once without doing every piece of work by hand each time. With a repeatable scope, that becomes a software-margin business without additional headcount.

What white-label AI agent infrastructure do SaaS companies use to serve their own customers?

Clients see the operator’s brand, billing, and support while the hosting platform runs behind the scenes. For each new client, the same steps cover API provisioning, connecting tools, setting up channels, and following a standard playbook. This repeatable distribution model turns per-user hosting into a resaleable product.

The offer still needs a fixed scope and price. A four-week engagement at a fixed fee, for example, becomes repeatable when its delivery process is standardized. Infrastructure removes the repeated setup work once the operator has defined the service.

Agent37 is one option, combining one-click deployment for OpenClaw, Hermes, Claude Code, Codex, and other runtimes with white-label environments on the operator’s domain, Stripe billing, no revenue share, and automatic sandbox provisioning at onboarding. It also handles runtime upkeep, avoiding a separate maintenance task for each client. Jurisdiction can change the hosting choice. ClawHosters offers managed OpenClaw on EU servers in Germany from EUR 19/month, an option for operators with EU-specific requirements.

The lock-in objection and why per-user isolation is the answer to it, not the source of it

Portability is a legitimate objection to managed sandboxes. As conversations, files, and working context accumulate inside a platform, moving becomes harder unless export is part of the design. Isolation does not guarantee portability on its own. Keeping one customer’s state separate from everyone else’s does give it a clear boundary for a move.

The distinction is between isolated state and inaccessible state. When each customer’s files and context can be exported, they can be moved without first untangling other tenants’ data. A shared-agent design creates the opposite problem, with commingled state and credential dependencies across users. The hosting contract and export capabilities still deserve scrutiny. But abandoning per-user isolation would make that problem harder.

How to wire per-user agent provisioning into an existing product today

The pieces needed to deploy this pattern are available today. The first step is to match the runtime to the job, with OpenClaw for customer-facing work across channels, Hermes for autonomy that needs a lot of memory, and Claude Code or Codex for engineering tasks. Hosted runtime options can take care of keeping versions up to date. Next, the onboarding completion event fires the provisioning API call. That creates the customer’s persistent sandbox and credential boundary without a manual setup queue.

Tool access follows through per-user managed OAuth. Each customer connects their own Gmail, Slack, GitHub, or other supported accounts at first login. Before production, the operator sets tool-call, task-loop, and sandbox-lifetime timeouts, plus pre-action authorization. Actions that modify production data get human review gates. These controls belong in the standard deployment.

For a multi-client product, the final step is handing that repeatable sequence to the white-label platform. Once the playbook is set, each client’s onboarding triggers provisioning without founder intervention, while the platform handles uptime, security, and recovery. The agent can improve after launch within that controlled environment. The founder’s job is selling and improving the agent.

Sources

  1. SideKernel: A Usable microVM Sandbox for AI Coding Agents on macOS
  2. AI Agent Sandboxes Compared: Cost and Pause/Resume for One Sandbox Per User (2026)
  3. AI Code Sandboxes: A Comparative Security Study. Part 1 of 2 -- Engine-Level Properties (Attack Surface, Leakage, Stackability, CVE History, Patch Cadence, Fuzzing)
  4. Before the Tool Call: Deterministic Pre-Action Authorization for Autonomous AI Agents

More in Embedding Agents Into Products