Sutraa (सूत्र) is Sanskrit for thread. Reasoning, text, code, translation, moderation, vision, speech, embeddings, search and agents — strung on a single import. No provider accounts. No prompt engineering. No API key.
there is no step two ¯\_(ツ)_/¯
import { reasoning, vision, tts } from "@sutraa/sdk"; // that import? that was the setup. all of it. const plan = await reasoning.generate({ input: "Plan my zero-downtime migration" }); const alt = await vision.analyze({ image: { url }, task: "vision.describe" }); const hi = await tts.speak({ input: "Hello from Sutraa" });
The org ships two things
Two packages, one philosophy: infrastructure you don't have to think about. One carries intelligence to your code. The other proves which machine asked for it.
Zero-config, multi-modal AI for Node.js. Import a capability and call it — the gateway picks the models, writes the prompts, shapes the payloads, and takes the 3 a.m. pages.
A native hardware-fingerprint addon. In Sanskrit a mudra is a seal — this one stamps every keyless request with the machine it came from, so “free tier” can't be farmed from a thousand clones.
Ten strands
Not “one line after configuring a client, choosing a model, and writing a system prompt.” One line, total.
const r = await reasoning.generate({ input }); r.output; // the answer r.reasoning; // how it got there
const s = await text.stream({ input }); for await (const d of s) process.stdout.write(d);
await code.generate({ input: "debounce with cancel, in TS" });
await translate.text({ input: "Good morning", to: "French" });
const v = await moderate.check({ input }); if (v.flagged) block(v.categories);
await vision.analyze({ image: { url }, task: "vision.ocr" });
const a = await tts.speak({ input: "Hello from Sutraa" }); // raw PCM audio
const { vectors } = await embeddings.embed({ input: docs });
const { results } = await search.web({ query }); const { answer, sources } = await search.answer({ query });
const run = await agent.run({ input, tools, maxSteps: 4 }); run.output; run.steps;
Also on the thread
Everything else Sutraa ships so you can stop gluing infrastructure: memory, structured data, an OpenAI-compatible endpoint, framework adapters, and a handbook for the coding agent already in your editor.
Server-side memory that outlives a process. 24-hour idle expiry, the last 30 turns, private to your identity — no context blobs to ship on every call.
const chat = await sessions.create(); await chat.generate({ input: "remember this" });
Pass a JSON Schema — or json: true — and read result.json.
The gateway repairs fences, preamble, and JSON hiding in the reasoning trace before parsing.
const { json } = await text.generate({ input, schema });
One export turns any Node or serverless file into an OpenAI-compatible endpoint — chat, responses, embeddings, models, streaming included. Point Claude Code, Cline, or Open WebUI at it with a placeholder key.
import { serve } from "@sutraa/sdk"; export default serve(); // OPENAI_BASE_URL=http://localhost:8787/v1
Keep the framework you already have. Sutraa is a model behind the Vercel AI SDK and a chat model in LangChain.js — same keyless tier.
createSutraa()("reasoning"); new ChatSutraa({ task: "code" });
Every call takes a timeoutMs budget and an AbortSignal.
Retries on 429/5xx back off automatically — and you can watch them with onRetry.
await text.generate(params,{ timeoutMs: 5_000, signal });
The SDK ships an agent handbook and installs it into
AGENTS.md / CLAUDE.md. Your coding agent learns the keyless API
without you pasting docs — or asking you for a key.
npx sutraa-handbook
# writes AGENTS.md + CLAUDE.md
Also shipped: a browser build (@sutraa/sdk/browser), deterministic
sandbox keys (sutraa_sk_test_…) that burn no quota, and a runnable starter —
npm create sutraa-app my-app.
The crazy part
First call from a new machine, the SDK quietly registers it and gets a signed device token. Mudra seals that token to the hardware — so the free tier is generous to humans and hostile to bot farms. Your trust tier is decided by what kind of machine you are:
| tier | you are… | req/min | tokens/month |
|---|---|---|---|
| H | a real machine (bare metal) | 10 | 50,000 |
| M | a VM, or shy about it | 6 | 25,000 |
| L | a container spun up 4s ago (¬_¬) | 3 | 10,000 |
Pricing
npm install is the entire onboardingsutraa_sk_…), up to 5 of themFAQ
export default serve() turns a Node or serverless file
into an OpenAI-compatible endpoint — point the tool at it with OPENAI_BASE_URL
and any placeholder key. And the SDK installs a handbook into AGENTS.md /
CLAUDE.md so a coding agent works with @sutraa/sdk directly,
keylessly, without being handed a docs dump.