One workspace key, isolated space per customer
Each customer can have their own Customer Space—an isolated boundary for Agent Vault credentials, sandboxed code execution, files, approval-gated memory, and run history.
You never need to mint a separate API key per customer or maintain mapping tables in your database. Pass your own tenant ID as space and the signed-in user as user:
const turn = await norilu.agents.run("agt_billing_01", {
space: org.id, // e.g. "org_acme"
user: currentUser.id, // end-user audience enforced server-side
input: "Reconcile this week's failed invoices.",
maxCostUsd: 0.5,
});
turn = norilu.agents.run(
"agt_billing_01",
space=org.id,
user=current_user.id,
input="Reconcile this week's failed invoices.",
max_cost_usd=0.50,
)
turn, err := client.Agents.Run(ctx, "agt_billing_01", norilu.RunAgentParams{
Space: org.ID,
User: currentUser.ID,
Input: "Reconcile this week's failed invoices.",
MaxCostUSD: norilu.Float64(0.50),
})
What stays isolated per space
| Resource | Isolation boundary |
|---|---|
| Connected accounts (Agent Vault) | Scoped strictly to one customer space; Customer A’s Stripe or HubSpot token can never be read or dispatched by Customer B. |
| Sandboxes & files | Each space runs code and stores artifacts in its own isolated sandbox and output prefix. |
| Threads & end users | Threads belong to (space, user). Embedded browser tokens (nrl_bt_...) enforce visitor-audience redaction and block cross-user reads even inside the same company. |
| Spend caps & limits | Per-space monthly USD caps and per-run maxCostUsd limits fail closed before model or tool dispatch. |
When an agent in a space calls your own MCP server through the stateless MCP gateway, Norilu signs the space’s external ID and the thread’s user into each request. It reads both from the stored thread, never from tool arguments.
Immutable version pinning on threads
When a thread starts, Norilu pins the space’s active released agent version directly onto the thread record—not onto your API key.
- Promoting v1 → v2 routes new threads to v2 while active v1 threads finish cleanly without broken state.
- Pausing and re-enabling a customer space suspends new work without orphaning historical thread reads.
Lifecycle controls
- Per-space monthly cap: set or update a customer’s monthly spending ceiling via the dashboard or Management API; hitting the cap pauses paid calls cleanly without surprise overages.
- Pause / disable: instantly blocks new runs and revokes active browser tokens for a churned or overdue customer while preserving audit history.
- Permanent deletion: purges space records, artifacts, and Agent Vault credentials when offboarding a client.
Pricing and creation safety
Customer Spaces isolate data and attribute usage; they are not a billable unit. The default creation safety ceiling is 10 on Sandbox, 100 on Starter and 500 on Growth, adjustable per workspace. The ceiling governs creating another space. Existing spaces keep running within their execution and spending limits when that ceiling is reached or lowered.
Executions pool across the payer workspace and all its spaces. A message turn, independent run, evaluation trial, judge call or improvement proposal counts once. Internal tool calls and approval continuations do not add executions. Sandbox includes 500 monthly executions and no managed model credit; bring an OpenAI or Anthropic key, billed directly by the provider with no Norilu markup.
Free and paid workspaces can explicitly purchase $20 / 1,000 execution packs and $25 hosted tool-credit packs when billing purchases are configured. New execution work pauses at the pooled limit until reset, upgrade or pack purchase. Hosted search and sandbox operations require sufficient prepaid tool credit. There are no automatic purchases or overages. Each space’s spending limit continues to isolate that customer’s spend. See Pricing & usage.