Quickstart
Your first agent in five minutes.
Linda runs entirely in the browser. No backend to stand up, no build pipeline to learn — add the SDK, point it at a form, bring your own key, and the agent starts filling fields.
The short version: add Linda to a page, describe the
fields you want collected, set a provider + key, and call
linda.attach(). The model reads your live page as a
virtual filesystem and writes its answers back into your
<input> elements — no server runtime required.
-
1. Add Linda
Pick the shape that fits your stack. The script tag is the fastest path — a single UMD bundle (~34 KB gzipped) with zero build step. For app code, install
@linda/coreor, in React,@linda/react.<script src="https://unpkg.com/@linda/script/dist/linda.js"></script> <form data-linda data-linda-config="/configs/signup.json" data-linda-provider="anthropic" data-linda-model="claude-sonnet-4-6" data-linda-key="sk-ant-..." > <input name="email" /> <input name="company" /> <input name="team_size" /> </form> -
2. Describe the target
Linda needs to know what it's collecting. With the script tag, add
data-lindato a<form>and let the fieldnames speak for themselves. In code, pass aconfigwith adataPointsarray — each entry is a field name plus the question the agent should ask. The live DOM is mounted at/pagein the virtual filesystem, so the model can read surrounding context, not just the fields. -
3. Bring your own key
Set a
providerand anapiKey. Anthropic Claude is the default; OpenAI, Groq, OpenRouter, and local Ollama are one line away. See the providers guide for the exact transport config per model.Shipping to production? Don't put a raw key in the browser. Drop in@linda/server— a ~1 KB Node proxy that streams responses over SSE and keeps the key server-side. See Security. -
4. Attach
Call
linda.attach()(or render<LindaForm>in React). Linda injects a style-isolated Shadow-DOM chat overlay, runs the tool loop, and fills your inputs as the conversation progresses. Wire up hooks to validate or veto writes, and add skills for capability-gated flows like KYC or payment.
Where to go next
Ship an agent-driven flow this afternoon.
Install Linda, paste a config, and your form turns into an agent that fills its own inputs.