Vercel AI SDK vs. Norilu: model calls and ui hooks vs. a production agent backend.

The AI SDK gives you streaming and tool calls. Norilu gives you everything a customer-facing agent needs behind them.

The AI SDK is the fastest way to call a model and stream it into a React UI. Norilu is the backend that runs the agent for each of your customers: isolated spaces, approvals that pause and resume, cost limits and tested releases.

01 · Verdict

When to choose Vercel AI SDK, and when to choose Norilu.

Choose Vercel AI SDK if
  • You need a model call or chat feature, not an agent acting across tools.
  • One tenant, or every user shares the same data and permissions.
  • Your team will build storage, approvals, evals and releases around it.
Choose Norilu if
  • You are shipping an AI agent inside a multi-tenant SaaS product.
  • Every customer needs isolated data, keys and memory from day one.
  • Non-engineers should review runs and approve improvements safely.
02 · Architecture

The demo is the tip. Production is the iceberg.

The agent loop is the part everyone sees. Shipping it to paying customers means the work below the waterline, and that is where teams lose a quarter.

Vercel AI SDK gives you
generateText and streamText
Tool calling and structured output
useChat hooks for React
Demo · one customer

Refund order #4821

Done. I refunded $64.00.

It works in the demo. What decides the deal is what happens for every customer when one run goes wrong.
03 · Code diff

Same agent. Two very different backlogs.

The same refund agent, run for one customer, with an approval before the money moves. First the pieces you wire around Vercel AI SDK, then the whole integration on Norilu, in the same language.

TypeScript
// Everything around the model call is yours to build and runexport async function handle(orgId: string, user: User, input: string) {  // 1. Tenancy: per-org keys, files and memory  if (user.orgId !== orgId) throw new Forbidden(); // build: authz  const creds = await vault.get(orgId);           // build: vault, OAuth  const history = await memory.load(orgId, user); // build: partitioned memory   // 2. Cost guardrails  if ((await meter.spent(orgId)) > limits[orgId]) {    throw new OverBudget();                        // build: metering per org  }   // The part the AI SDK gives you  const result = await generateText({    model: openai("gpt-4.1"),    messages: [...history, { role: "user", content: input }],    tools: {      lookupOrder,      createRefund: tool({        inputSchema: z.object({ order: z.string(), amount: z.number() }),        // 3. Approvals: pause, persist, render a card, resume later        execute: (args) => refundAfterApproval(orgId, creds, args), // build      }),    },  });   // 4. Evals and safe releases  await runs.log(orgId, result);                   // build: run history  // build: test suites, version pinning, rollout per customer  return result;}
Condensed sketch · each “build:” line is a project of its ownagent.ts
04 · Capabilities

Who does the work, line by line.

CapabilityWith Vercel AI SDKWith Norilu
Creating the agentYou write prompts, tools and the loop in TypeScript.Describe the goal or bring a Skill, SOP or MCP server. Norilu drafts the instructions, tools, rules and test cases.
Customer isolationYou build tenant-scoped storage, memory and history.Built-in customer spaces. Files, memory and history never cross between customers.
Customer keys and connectionsYou build per-customer vaults and OAuth.Each customer’s connected accounts sit in a vault scoped to their space.
Human approvalsTool calls can wait on the user in chat. Durable pause and resume across sessions is yours.Native pause and resume, streamed to your own UI as an Approve or Deny card.
Cost guardrailsToken usage comes back per call. Budgets and hard limits are yours.Hard USD limits per run and per customer space (maxCostUsd).
Improving the agentYou build evals and regression runs.Failed production runs become pinned regression tests, and proposed fixes are proven on held-out unseen cases before release.
ReleasesPrompts and code ship with your app deploys.Versioned agents. Live conversations stay pinned until you release, with instant rollback.
Approval-gated memoryStateless per call; cross-chat memory, approvals and forgetting are yours to build.Remembers client preferences across chats only after human approval, with source links, correction history and permanent forgetting.
Background runs & webhooksYou build background job queues, schedules, webhook verification and file storage.Runs on daily/weekly schedules and signed webhooks—not just chat—still enforcing approvals, spend caps and immutable deliverables.
Portability & model freedomProvider-agnostic in code, but model benchmarking and versioned evals are DIY.Export agent packages with pinned Skills and tests anytime; benchmark and swap OpenAI or Claude models with zero code changes.
05 · Cost

Run your own numbers, not ours.

Put in your team’s salaries and timeline. The calculator compares building the production layer around Vercel AI SDK with running the agent on Norilu.

How long would your team spend building it?4 months

Your estimates, not ours. The Norilu estimate uses the lowest platform price, including prepaid execution packs, within the default space creation ceiling. Model and tool costs are excluded; compare those separately for your workload.

Saved with Norilu over 12 months$165,124
Build it yourself$189,600First customer after ~4 mo
With Norilu · Sandbox$24,476First customer after ~2 wk
Engineering to launch$120,000$6,928
Ongoing engineering$60,000$17,307
Infrastructure$9,600$0
Norilu plan and execution packs$0$240
Check these numbers on a call
06 · FAQ

Questions teams ask before switching.

Why not just build isolation on top of the Vercel AI SDK?

You can. Around each model call you would add tenant-scoped storage and memory, per-customer credentials, an approval step that survives a closed tab, per-tenant metering, eval runs and version pinning. Norilu runs all of that behind one API call.

Can we keep our React chat UI?

Yes. Your interface stays yours. Norilu streams messages and pending approvals to it, and your own components render them.

Is Norilu a replacement for the AI SDK?

Not for every model call. Keep the AI SDK for quick single-tenant features. Move the agent to Norilu when it acts on customer data across tools and needs approvals, limits and tested releases.

Where does our customers’ data live?

Norilu’s primary database is in Frankfurt. Each customer’s files, memory, history and connected accounts stay inside their own customer space, and the DPA and subprocessor list are public.

SourcesAI SDK docsAI SDK tool calling