πŸš€ 100% Browser-Native β€’ Zero Install
✨ Vibed with Antigravity from Google DeepMind

AI Coding Assistant
In Your Browser

I was "nerd-sniped" into asking: Why can't an agent in the browser just write dynamic code and execute it?

Edge Agent is primed out of the box. No cloud VMs. No tedious local install. Just visit the page and get value.

50+ Unix Commands
~1.2MB Initial Load (gzip)
3 LLM Providers
edge-agent
$ Create a simple todo app in TypeScript
Creating todo.ts with TypeScript...
πŸ“ write_file todo.ts
▢️ shell_eval tsx todo.ts
βœ“ Todo app running successfully

Built Different

A true browser-native runtime

πŸ“¦

Embeddable

Add an AI agent to any web app with @tjfontaine/web-agent-core. (Currently building from source).

import { WebAgent } from '@tjfontaine/web-agent-core';
const agent = new WebAgent({ provider, model, apiKey });
for await (const event of agent.send(prompt)) { ... }
Try Interactive Demo β†’
🌐

Client-Side Execution

All code runs in a WASM sandbox in your browser. No server-side execution, no cloud processing, no latency from round-trips.

πŸ’Ύ

OPFS Filesystem

Persistent storage using the browser's Origin Private File System. Your files survive page reloads and work offline.

πŸ”’

Privacy First

Config stored locally in your browser's OPFSβ€”never sent to our servers. Direct API calls to your chosen provider.

βš™οΈ

WASI P2 Sandbox

Secure, isolated WebAssembly execution with Component Model. 50+ Unix commands, TypeScript, SQLite, Git, and more.

πŸ”Œ

MCP Native

Tools exposed via Model Context Protocol. Connect to external MCP servers for Stripe, GitHub, and custom integrations.

πŸ€–

Multi-Provider

Works with Anthropic Claude, OpenAI GPT, Google Gemini, and any OpenAI-compatible endpoint. Bring your own key.

✨

Primed Out of the Box

Other agents require cloud VMs or complex local toolchains. Edge Agent just works. Visit the page, enter your key, and you have a full runtime.

How It Works

Three components, one powerful agent

πŸ–₯️

Ratatui TUI

A terminal interface written in Rust, compiled to WASM. Renders via ghostty-web with full keyboard support.

β†’
πŸ€–

Agent Layer

Multi-turn agent built with Rig. Supports Anthropic, OpenAI, Gemini, and any OpenAI-compatible endpoint.

β†’
πŸ“¦

Browser Sandbox

WASI P2 runtime with MCP server. Files persist in OPFS. TypeScript compiles via SWC and executes in QuickJS.

The TypeScript Pipeline

weather.ts β†’ SWC β†’ JavaScript β†’ QuickJS β†’ Output

Write TypeScript, the agent compiles and runs itβ€”all in your browser.

Powerful Capabilities

Everything you need, in the browser

$

Shell Commands

ls, cat, grep, sed, find, curl, jq, diff, sort, wc, and more

TS

TypeScript Execution

Run TSX with ESM imports auto-resolved from CDN

πŸ—ƒοΈ

SQLite Database

Full sqlite3 support with persistent storage

πŸ“

Vim Editor

Modal editing with syntax highlighting

🌿

Git Version Control

init, add, commit, status, log, diff

🌐

HTTP Requests

curl and fetch() with full network access

Connect External Agents

Use the browser sandbox with any MCP-compatible agent

πŸ–₯️ Claude Code or any MCP client
stdio β†’ WebSocket
πŸŒ‰ MCP Bridge tools/mcp-bridge
WebSocket
🌐 Browser Sandbox agent.edge-agent.dev

Run Claude Code with all built-in tools disabled, and let it execute commands in your browser sandbox via MCP.

claude --tools "" --mcp-config '{"mcpServers": {"browser-sandbox": {"type": "http", "url": "http://localhost:3050/mcp"}}}'
Learn how to set up the bridge β†’

Ready to try it?

No sign-up required. Just bring your API key.

Launch Terminal β†’