Cover illustration for “Your Customer Signed Up Thirty Seconds Ago and Their Agent Should Already Be Waiting”
Building With Agents

Your Customer Signed Up Thirty Seconds Ago and Their Agent Should Already Be Waiting

November 17, 20268 min read1,789 words

Share

Text: Marcus Oyelaran

Instant agent provisioning depends on infrastructure built before signup.

A per-user AI agent sandbox provisioned via a single API call should be the onboarding unit for an agent-powered product. That call should set up an isolated, persistent environment, put security controls in place, and connect the customer’s authenticated tools. The thirty-second promise depends on an operations layer built before signup.

Why the thirty-second window is now a real expectation, not a metaphor

More and more, builders choose how long customers wait between signup and a working agent. Builders still treat provisioning as bespoke work performed after onboarding, even though managed runtimes now absorb durable execution, state management, streaming, and fault tolerance. The old excuse has lost its force. LangSmith Agent Server, renamed from LangSmith Deployment as of November 2026, offers one-click deployment and production-ready APIs for human-in-the-loop workflows, memory, and conversation threading.

Stripe removed payments as a problem each merchant had to solve. Managed agent infrastructure can do the same for builders, but only if provisioning happens as part of onboarding.

What production actually requires that a demo never reveals

A successful demo can hide the absence of a decision boundary. An agent may resolve hundreds of tickets in staging, then encounter adversarial instructions in production and execute them because no policy check runs before dispatch. Pre-dispatch enforcement is the highest-leverage control for that reason. It is the deterministic decision point before the agent acts, backed by a current threat model, least-privilege access, and approval workflows for risky actions. Output safety is still needed after execution because input controls cannot take the place of checking the result.

A jump from zero to full traffic can produce retry storms and duplicate executions that never appeared in a single-user demo. Staged rollout gates and tested rollback drills address that risk. Meanwhile, ordinary logs may show an action but leave out who approved it, which policy was active, or what the full input context was. An immutable action-and-decision timeline turns that incomplete record into a defensible incident account.

The six infrastructure layers every per-user agent requires at runtime

Diagram: Six Infrastructure Layers Every Per-User Agent Needs. Visualizes: Show the six distinct runtime layers that every per-user agent requires, in the order they operate: Execution Bus (NATS or Kafka — backpressure and retries), State and…

A ready agent needs more than a container. Its Execution Bus, using something such as NATS or Kafka with explicit routing, makes backpressure visible and retries manageable. State and Pointers, held in Redis or Postgres, preserve job state and references to context and results so that run history can be reproduced. A scheduling component supplies deterministic retries, timeouts, and dead-letter handling. Without it, retry pressure produces orphaned runs and duplicate execution.

The Policy Decision Point checks actions before dispatch and puts risky ones in a queue for approval. Output Safety allows, redacts, or quarantines results so that PII and secrets do not escape merely because input checks passed. The Audit Trail preserves the immutable sequence of actions, decisions, and approvers. These controls serve different purposes and cannot substitute for one another.

Redis has fast scratch space for the conversation at hand, while Postgres keeps conversation history, user settings, and audit logs. Agents that recall old conversations or search documents may need pgvector or a dedicated vector store, but Postgres plus Redis is sufficient for many agents. Instant provisioning requires these layers to be pre-built and parameterized, so each signup creates an instance.

Why agents chosen for per-user delivery — OpenClaw, Hermes, Claude Code, Codex — shape the provisioning model

The agent runtime sets the minimum isolation and compute requirements. Choosing it after designing the provisioning layer risks an environment that either restricts the agent too much or isolates it too little. OpenClaw is a primary target for managed per-instance provisioning, with Hermes available as an alternative runtime in some hosted contexts. Claude Code and Codex are also runtime choices the onboarding architecture may need to attach in a pre-configured state. They are not interchangeable names on a deployment form.

NVIDIA announced NemoClaw at GTC 2026 as a stack for OpenClaw with enterprise security controls. Its CLI plugin and versioned orchestration blueprint both delegate to the OpenShell runtime. That dependency belongs in the provisioning design. Likewise, when a chosen agent forks subagents on demand, provisioning must handle each spawned boundary. Isolation must follow each agent instance within the customer account.

Authenticated tool access as the hidden blocker for instant per-user delivery

A running agent needs authenticated access to the applications its customer uses to be useful. Composio’s catalogue listed 1,089 toolkits as of 11 August 2026, including Gmail, Slack, GitHub, and Notion. Its single MCP endpoint exposes a small set of meta-tools for discovering and executing tools at runtime.

Composio introduced Shared Connections in September 2026 to make a company account available to agent workflows without passing credentials around per user. One account owner authenticates once per application for the team, and later calls reuse that credential while Composio refreshes tokens without user intervention. A production GitHub and Linear workflow illustrates the result by creating a Linear issue when a pull request opens with a specific label. The runtime can perform that work only because tool access is already in place.

The security obligations that instant provisioning must satisfy before the agent touches a customer

Speed does not excuse missing safeguards or disclosures. EU AI Act Article 50 became enforceable on 2 August 2026, covering disclosure for systems that interact directly with people unless their AI nature is obvious from context. NIST AI 600-1 requires prompt injection to be measured under Information Security risk. The OWASP GenAI Security Project’s 2026 Top 10 for LLM Applications, published in August 2026, ranks prompt injection first, sensitive information disclosure second, and excessive agency third. These provide the frame for a deployment template.

Tenant-based products need clear trust boundaries because of the risk of indirect injection. A retrieved document, support ticket, or web page can contain instructions the agent must treat as untrusted input. This also holds for content that customers write inside the builder’s own systems. Provisioning therefore needs retrieval authorization, prompt-injection tests, tool-level policy checks, secrets management, privacy-aware telemetry, and rate limits, supported by incident procedures and a tested rollback path. Parameterizing these controls lets each new customer inherit them automatically.

Managed hosting versus self-hosting: where the economics actually break

Diagram: Managed vs. Self-Hosted: Time and Cost Compared. Visualizes: Contrast two deployment paths on two dimensions — delivery time and hidden cost burden.

Self-hosting costs more than the machines it runs on. Someone has to patch the runtime, rotate secrets, keep isolation in place, and keep background-job queues running. Debugging a stuck agent without traces can cost more than the model calls that preceded it. Once engineering time enters the calculation, the cost gap is substantial and skews heavily against self-hosting for teams without operational maturity. Founder time is part of that bill, even when no invoice records it.

Delivery time changes the comparison as well as cost. A SaaS deployment with prebuilt connectors takes days to two weeks, while getting a basic self-hosted deployment into production takes three to six months. That wait pushes back both the infrastructure milestone and delivery to the customer. The decision rule is to choose managed hosting for repeatable, tool-heavy work that needs fast rollout without staffing on-call. Self-hosting earns its place when data residency is non-negotiable, steady high volume favors servers over per-use pricing, and a platform team already owns operations.

The choice also has a middle ground. LangSmith’s Cloud mode has fully managed hosting and automatic updates, while Hybrid pairs a SaaS control plane with a self-hosted data plane that keeps all data in the VPC. With fully self-hosted deployment, the whole system runs on the builder’s infrastructure. Most teams should start managed and migrate only when per-request economics force the change.

How do you provision a dedicated AI agent sandbox for every customer with one API call?

The onboarding call must create a customer-scoped environment for compute, storage, and networking, then attach the chosen runtime in its configured state. It must also apply least-privilege identities, the policy decision point, and secrets management. Pre-authenticated tool connections make the environment useful immediately. Billing controls and audit logging must begin with the first action. A call that merely starts compute has not completed provisioning.

The resulting sandbox must be isolated and persistent. One customer’s agent cannot read, write to, or affect another’s environment, and restarts or cold-starts must preserve context. Durable execution and fault tolerance keep the session intact if there is a crash. The platform requirements therefore include uptime guarantees, monitoring without builder-side DevOps, per-instance billing controls, and encryption in transit and at rest, with SOC 2 Type I as a baseline certification. A deep integration catalogue reachable through Composio’s MCP endpoint completes the tool-access side of that architecture.

White-labeling and agent resale: instant provisioning as a business model, not just an architecture

Automatic provisioning makes agent delivery a sellable product. The market includes AI-delivered services, where operators charge service prices and agents do the production work. Mid-market retainers are $2,500–$10,000 per month, while AI delivery platforms cost only a small fraction of that. Per-agent resale instead sells a named support bot or voice receptionist as a monthly unit. Full white-label SaaS goes further, with rebrandable dashboards, domains, and APIs, plus client sub-accounts and prepaid usage wallets.

Those models need more than a new logo. Genuine white-label infrastructure enforces tenant boundaries at both database and application layers, with row-level security, per-client billing, and action logs built in. A shared agent context creates leakage risk. With the right provisioning loop, signing a contract sets up an isolated agent under the operator’s domain without the founder having to configure it by hand.

What builders must do before the first customer signs up to make the thirty-second window real

Before they touch infrastructure, builders should set targets for p95 request time, success rate, per-request cost ceiling, and per-user daily cost ceiling. Those targets should guide selection of a hosting tier that handles isolation, sessions, and scaling. The tool-access layer also needs selection and authentication before launch, including shared connections where appropriate. Customer-specific permissions still have to be available before the agent can act for that customer.

The security template should then encode the threat model, least-privilege identities, policy checks, secrets management, and rollback path. Staged rollout gates need to be in the deployment pipeline before production traffic starts to flow. Readiness has a concrete test that requires no terminal. Who approved the last risky action the agent took? Which policy snapshot allowed it, and what exact output was returned? If the answers have to be dug out of raw logs, the provisioning layer still needs work.

This is an upfront investment with a compounding return. Compute, tool use, and ongoing operations still cost money, but each new signup should require no fresh hand-provisioning. Builders who make that possible can spend their next hour improving and selling the agent. Builders who configure every customer manually remain trapped in a services business inside a product wrapper, trading company-building work for an inbox that grows with every sale.

More in Building With Agents