A fully autonomous AI agent that runs entirely client-side. No server required for executionโjust your API key and a modern browser.
Built different, from the ground up
Add an AI agent to any web app with @tjfontaine/web-agent-core.
Three lines of code, full agent capabilities.
import { WebAgent } from '@tjfontaine/web-agent-core';
const agent = new WebAgent({ provider, model, apiKey });
for await (const event of agent.send(prompt)) { ... }
All code runs in a WASM sandbox in your browser. No server-side execution, no cloud processing, no latency from round-trips.
Persistent storage using the browser's Origin Private File System. Your files survive page reloads and work offline.
API keys stay in your browser memoryโnever persisted, never sent to our servers. Direct API calls to your chosen provider.
Secure, isolated WebAssembly execution with Component Model. 50+ Unix commands, TypeScript, SQLite, Git, and more.
Tools exposed via Model Context Protocol. Connect to external MCP servers for Stripe, GitHub, and custom integrations.
Works with Anthropic Claude, OpenAI GPT, Google Gemini, and any OpenAI-compatible endpoint. Bring your own key.
Opens in any modern browser. No downloads, no dependencies, no friction. Works offline once loaded.
Everything you need, in the browser
ls, cat, grep, sed, find, curl, jq, diff, sort, wc, and more
Run TSX with ESM imports auto-resolved from CDN
Full sqlite3 support with persistent storage
Modal editing with syntax highlighting
init, add, commit, status, log, diff
curl and fetch() with full network access