Everything you need to get started, connect local models, set up private search, use Skills, make videos, and choose between the website and desktop app.
BroClaw stores chats, settings, and files on your device and requires no account. Cloud model, search, and connector requests go to the selected services; some integrations are forwarded through BroClaw's relay. See the privacy policy for details.
chats/<chat-id>/memory.json.| Model | Type | Cost | Best For |
|---|---|---|---|
| Claude Sonnet 4.6 | Cloud API | Medium | Best overall quality, extended thinking |
| Claude Haiku 4.5 | Cloud API | Low | Fast everyday tasks |
| GPT-4o / o3 | Cloud API | Med/High | Reasoning-heavy tasks |
| Gemini 2.0 Flash | Cloud API | Low | Fast with generous free tier |
| Ollama (local) | Self-hosted | Free | Privacy-first, no API cost |
| Qwen3 / Gemma / Llama | In-browser (WebGPU) | Free | Completely offline, no install |
| Shortcut | Action |
|---|---|
| Enter | Send message |
| Shift+Enter | New line in message |
| Escape | Stop agent / close modal |
| Ctrl+/ | Open the in-app docs panel |
Ollama lets you run powerful AI models (Qwen3, Llama, Phi-4, Mistral…) locally on your own hardware — completely free, completely private. BroClaw connects to it directly from the browser over http://localhost:11434.
https://broclaw.io), Ollama must be told to allow that origin via a CORS environment variable. This is a browser security rule — BroClaw cannot work around it in code. The steps below handle this.
If you haven't already, download and install Ollama from ollama.com ↗. It runs on Windows, macOS, and Linux.
You must start Ollama with OLLAMA_ORIGINS=https://broclaw.io. The fastest way is BroClaw's built-in script downloader:
Download the scripts directly: Windows (.bat) · Mac/Linux (.sh). Keep the terminal window open while using BroClaw.
Or run manually:
Windows (PowerShell)
# Kill any running Ollama (including the tray app) taskkill /IM ollama.exe /F # Permanently write the origin to your user environment (survives reboots) setx OLLAMA_ORIGINS "https://broclaw.io" # Set it for this session too, then start serving $env:OLLAMA_ORIGINS="https://broclaw.io"; ollama serve
macOS / Linux (Terminal)
pkill ollama OLLAMA_ORIGINS=https://broclaw.io ollama serve
To make it permanent on Mac/Linux, add export OLLAMA_ORIGINS=https://broclaw.io to your ~/.zshrc or ~/.bashrc, then restart your shell.
Open a new terminal window and pull one of these recommended models:
| Model | RAM needed | Tool calling | Best for |
|---|---|---|---|
ollama pull qwen3:0.6b | 1 GB | Native | Ultra-fast tasks |
ollama pull qwen3:1.7b | 2 GB | Native | Everyday coding |
ollama pull llama3.2:3b | 2.5 GB | Native | Instructions + chat |
ollama pull qwen3:4b | 5 GB | Native + thinking | Complex tasks |
ollama pull phi4-mini | 3 GB | JSON structured | Reasoning |
ollama pull mistral:7b | 8 GB | Native | High-quality output |
http://127.0.0.1:11434 (or http://localhost:11434).Browsers block HTTPS pages from making requests to HTTP endpoints unless the HTTP server explicitly permits it via Access-Control-Allow-Origin headers. OLLAMA_ORIGINS tells Ollama to send those headers for https://broclaw.io, authorising the browser to forward the response. Chrome and Edge do allow HTTPS → localhost as a special case — but only with the correct origin header from Ollama's side.
| Problem | Fix |
|---|---|
| CORS error in console | Restart Ollama with OLLAMA_ORIGINS=https://broclaw.io set — the tray app may have restarted without the variable. |
| No models appear in dropdown | Make sure you've pulled at least one model: ollama pull qwen3:1.7b |
| Connection refused | Ollama isn't running. Open a terminal and run OLLAMA_ORIGINS=https://broclaw.io ollama serve |
| Works today, broken tomorrow (Windows) | Run setx OLLAMA_ORIGINS "https://broclaw.io" once to write it permanently to your Windows user environment. |
| Firefox blocks it | Firefox may block HTTP localhost requests from HTTPS pages. Use Chrome 113+ or Edge 113+. |
Search works out of the box: BroClaw Search is on by default and needs no account or key. To use something else, pick it in Settings → Search: SearXNG (self-hosted, free) is the best choice for privacy and control; Brave Search API and SerpAPI need an API key; Google (proxy) needs no key. In the Desktop app, search has a safety net: if BroClaw Search can't be reached, the app searches Google, DuckDuckGo and Bing straight from your own computer instead of failing.
| Provider | Cost | Privacy | Setup effort |
|---|---|---|---|
| SearXNG (local) | Free | Best — queries never leave your machine | ~5 min (Docker) |
| Brave Search API | Free tier (2 000 req/mo) | Good | 1 min (get API key) |
| SerpAPI | Paid (100 free/mo) | Searches via SerpAPI servers | 1 min (get API key) |
SearXNG is a self-hosted meta-search engine that aggregates Google, Bing, DuckDuckGo, and dozens of other engines. No API key. No rate limits. Results stay on your machine. A lightweight Caddy reverse proxy adds the CORS headers your browser requires to talk to it.
Prerequisites: Docker Desktop ↗ installed and running.
Browser (BroClaw)
↓ POST /search?format=json
Caddy :8888 (adds CORS headers)
↓ proxies to
SearXNG :8080 (meta-search engine)
↓ queries
Google / Bing / DuckDuckGo / etc.
Without Caddy, the browser would block SearXNG's responses due to missing Access-Control-Allow-Origin headers. Caddy injects this header transparently.
Both files are already included in the searxng-config/ folder of your BroClaw download — you don't need to create them. They're shown here so you can verify or recreate them if needed.
searxng-config/docker-compose.yaml
services:
searxng:
image: searxng/searxng:latest
container_name: searxng
volumes:
- searxng-data:/etc/searxng
expose:
- "8080"
restart: unless-stopped
caddy:
image: caddy:latest
container_name: caddy
ports:
- "8888:80"
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile:ro
depends_on:
- searxng
restart: unless-stopped
volumes:
searxng-data:
searxng-config/Caddyfile
:80 {
reverse_proxy searxng:8080
# Allow BroClaw (and any browser) to read SearXNG responses cross-origin.
# Without these headers the browser blocks the response even though the
# request goes through — SearXNG does not add CORS headers itself.
header Access-Control-Allow-Origin "*"
header Access-Control-Allow-Methods "GET, POST, OPTIONS"
header Access-Control-Allow-Headers "Content-Type, Accept"
@options method OPTIONS
respond @options 204
}
Open a terminal in the searxng-config/ folder (included in the BroClaw download — contains docker-compose.yaml and Caddyfile):
# First time or full reset — removes old data: docker compose down -v # Start SearXNG + Caddy reverse proxy: docker compose up -d # Wait ~10 seconds for SearXNG to boot and write its config
BroClaw reads search results as JSON. You must enable this in SearXNG's settings.yml after first boot (the file is generated by SearXNG on startup — editing it before boot causes YAML parse errors).
Docker Desktop (Windows/Mac):
searxng-config_searxng-dataetc/searxng/settings.yml and click to edit.Linux / terminal:
docker exec -it searxng sh vi /etc/searxng/settings.yml
Find or add the search block and make it read exactly:
search:
formats:
- html
- csv
- json
- rss
docker compose restart searxng # Verify JSON works (should return JSON, not an error): curl "http://localhost:8888/search?q=test&format=json"
http://localhost:8888.| Problem | Fix |
|---|---|
| 403 errors / blocked as bot | Create limiter.toml in the volume with: [botdetection.ip_limit] / link_token = false / [botdetection.ip_lists] / pass_ip = ["0.0.0.0/0", "::/0"] |
| "format not supported" | The search.formats block is missing. Repeat Step 2. |
| Port 8888 already in use | Change 8888:80 → 8889:80 in docker-compose.yaml and update the URL in BroClaw. |
| Need full reset | docker compose down -v && docker rmi searxng/searxng:latest then restart from Step 1. |
Why not a public instance? Public instances at searx.space ↗ often disable the JSON format BroClaw needs, enforce rate limits that block repeated agent searches, and may log your queries. Running locally avoids all three.
Brave Search API supports CORS natively — no proxy or Docker needed.
SerpAPI routes through BroClaw's service worker proxy to handle CORS — no setup needed.
Connect any Model Context Protocol (MCP) server and BroClaw discovers its tools automatically — no code changes, no rebuild. Once connected, the agent can call those tools in chat exactly like its built-in ones (writing files, running code, etc.) — you just ask for what you want and the agent picks the right tool itself.
BroClaw talks to MCP servers over plain HTTP from inside your browser tab — the same way it already talks to Ollama. There's no built-in list of supported servers; you paste a URL into Settings → Connectors → MCP Servers and BroClaw asks that server what tools it has.
This only works for servers that speak MCP's Streamable HTTP transport. Most MCP servers you'll find described as npx -y some-package use a different transport called stdio (they only talk over a process's standard input/output) — a browser tab cannot start a process directly, so those need a small local bridge first (see Option B). Every connection — direct, bridged, or authenticated — ends up looking identical to BroClaw once it's added: just a URL, optionally with headers.
Once a server shows a green dot in Settings, its tools are simply available to the agent in every chat — there's no per-chat "enable this tool" step. If you connect a weather server and a GitHub server, just ask "what's the weather in Tokyo, and what are the open issues on my repo?" and the agent calls both automatically.
If a server is already reachable over HTTP and allows browser connections (sends CORS headers for this site), you can connect straight away — exactly like adding an Ollama endpoint:
https://mcp.example.com/mcp, or a local one already running on your machine such as http://localhost:8000/mcp.If the add fails with a network error, the server most likely isn't CORS-enabled for browser clients. That's a server-side setting (most MCP frameworks call it allowed_origins or similar) — see Option B below if you can't change it.
Most local MCP servers you'll see in setup guides — including code-sandbox servers like sandbox-mcp — are stdio-only. mcp-proxy ↗ is a small, widely-used open-source tool that spawns the stdio server for you and exposes it as a local HTTP endpoint BroClaw can reach — the same role Caddy plays for SearXNG above.
Browser (BroClaw)
↓ fetch POST/GET http://localhost:8811/mcp
mcp-proxy :8811 (HTTP \u2194 stdio bridge)
↓ spawns & talks stdio to
Your MCP server (e.g. npx -y @pottekkat/sandbox-mcp)
↓ e.g. runs code inside
Docker container (isolated, ephemeral)
# Requires Python 3.10+ and uv (or pipx) uvx mcp-proxy --help # downloads & runs on first use, no install step needed # or install it once: pipx install mcp-proxy
Example using sandbox-mcp (runs arbitrary code in isolated Docker containers — requires Docker Desktop running):
uvx mcp-proxy --port=8811 -- npx -y @pottekkat/sandbox-mcp
Swap the part after -- for any other stdio MCP server's normal launch command — the pattern is identical regardless of which one you use.
http://localhost:8811/mcp.mcp-proxy terminal window running in the background while you use BroClaw — closing it disconnects the server (the same as quitting Ollama).Auth headers work the same way for every Streamable HTTP MCP connection — cloud-hosted, self-hosted on your own server, or local (including a local mcp-proxy bridge). There's nothing service-specific about it: whatever sits behind the URL, BroClaw attaches the same headers to every request it sends — the initial handshake, tool discovery, and every tool call. When adding a server, expand Auth headers (optional) and enter one header per line as Name: Value, for example:
Authorization: Bearer sk-abc123 X-Api-Key: my-key
These are sent on every request to that server, the same way server.headers is already used for the session-id handshake. They're stored in localStorage alongside the server's URL — anyone with access to this browser profile can read them, so don't use this on a shared or public machine. To rotate or update a token later, click Auth on that server's card in Settings, edit the textarea, and save — BroClaw reconnects automatically.
The one exception — stdio-only servers: a handful of MCP servers (most commonly database connectors, e.g. @modelcontextprotocol/server-postgres) are stdio-only and take their credential as a command-line argument or environment variable when launched, not as an HTTP header. For those, the credential is supplied at the mcp-proxy step in Option B instead of in BroClaw's Auth headers field — see Example 4 below.
A few concrete setups, covering the most common shapes of MCP server you'll run into.
Some hosted MCP servers are open to any browser, no key required — good for trying things out. If you have one's URL handy:
Public Demo, URL: https://example-mcp.fly.dev/mcp (substitute the real URL).Most production MCP servers (search APIs, project-management tools, CRMs) require a key. This is Option A + Option C together:
Linear (or whatever the service is), URL: the server's MCP endpoint, e.g. https://mcp.linear.app/mcp.Authorization: Bearer <your-api-key>X-Api-Key instead of Authorization).A filesystem or sandbox tool that just needs to run locally, with nothing to authenticate:
uvx mcp-proxy --port=8811 -- npx -y @modelcontextprotocol/server-filesystem /Users/you/projects
Then add http://localhost:8811/mcp in BroClaw with no auth headers. The path after the package name (/Users/you/projects) restricts that server to one folder — check the server's own README for its exact arguments.
Database connectors are the classic case where the credential lives in the launch command, not in BroClaw's UI:
uvx mcp-proxy --port=8811 -- npx -y @modelcontextprotocol/server-postgres "postgresql://user:password@localhost:5432/mydb"
Add http://localhost:8811/mcp in BroClaw with no auth headers — the credential never leaves your machine's terminal. The same pattern applies to any stdio server that takes a connection string, API key, or token as a CLI argument or environment variable (e.g. GITHUB_PERSONAL_ACCESS_TOKEN=ghp_xxx npx -y @modelcontextprotocol/server-github, bridged the same way).
Not every server is "cloud" or "localhost" — e.g. a Streamable HTTP MCP server you run on a home server or office machine:
Home Assistant, URL: http://192.168.1.50:9000/mcp (your machine's LAN IP).X-Internal-Token: my-shared-secret.Each server in Settings shows a green/red status dot, how many tools it exposes, and four controls: a checkbox to temporarily disable it without removing it, Reconnect to refresh its tool list after restarting the server, Auth to view or update its auth headers, and Remove to delete it entirely. Disabled servers are not offered to the agent at all, so you can keep several configured and only turn on the one you need for a given task.
BroClaw is a browser-only app with no backend process, so it can never spawn a child process or speak stdio directly — this is a hard limitation of running inside a browser tab, not something specific to BroClaw. Every MCP client that supports stdio servers natively (Claude Desktop, Claude Code, Cursor, etc.) does so because it ships with its own Node.js/Electron backend able to call child_process.spawn(). BroClaw deliberately stays browser-only, so stdio servers always go through the mcp-proxy bridge described in Option B above — there is no plan to add a backend just to remove that step.
| Symptom | Fix |
|---|---|
| "Could not reach the server" on Add | If it's a local stdio server, make sure mcp-proxy (or your bridge) is still running in its terminal. If it's remote, the server isn't sending CORS headers for browser clients — ask the provider, or bridge it locally instead. |
| Server shows 0 tools after connecting | The server connected but returned an empty tool list — check its own logs; some servers require an API key or extra config passed via environment variables before they register any tools. |
| "401 Unauthorized" or "403 Forbidden" on Add/Reconnect | The server needs an auth header BroClaw isn't sending yet, or the header name/value is wrong. Expand Auth headers when adding it, or click Auth on an existing server card to add/fix one — check the service's own MCP docs for the exact header name it expects. |
| Agent never calls the tool I expect | Check the server's tool descriptions in Settings (hover/expand if shown) — the agent picks tools based on their name and description, so a vague description can get skipped in favor of a built-in tool that sounds closer to what you asked for. |
| Tool calls time out | Sandboxed code execution (e.g. installing packages, building a container image) can take longer than usual — this is expected for first-run tool calls on a cold sandbox. |
| Sandbox-style servers fail immediately | Confirm Docker Desktop is installed and running — sandbox-mcp and similar servers need it to create isolated containers. |
Skills are one-click prompt templates that accelerate common tasks.
{input} or {topic} with your specific content.Go to the Skills tab and click + New Skill. Give it a name, description, and a prompt template. Use {input} as the placeholder for what the user types.
# Example custom skill prompt:
You are a senior product manager. Given the following feature request:
{input}
Write a one-page PRD covering: problem statement, user story, success metrics, and out-of-scope items.
The most-used tools (Settings → Tools lists all of them, and each can be switched off):
| Action | When Used | Output |
|---|---|---|
search | Need current info from the web | Top search results with titles, URLs, snippets (in the Desktop app it runs from your computer) |
open_tab | Need full page content from a URL | Clean page text (website: relays/readers; Desktop app: direct fetch only, no reader or relay fallback; private networks remain blocked) |
create_document | Write a file: Markdown, HTML, Word, Excel, PowerPoint, code… | File created in the workspace folder |
create_zip | Bundle a multi-file project | A downloadable ZIP |
read_file / edit_file | Read or change an existing workspace file | File contents / the edit applied |
run_code | Calculate, transform data, test a script. Website uses browser JavaScript/Pyodide; connected desktop access uses native Node/Python on Windows/macOS and requires runCommand enabled. | Program output. Asks permission first |
render_video | Make a short video with optional AI voice and music (Video Maker) | An MP4 file card (or a PNG preview frame). Asks permission first |
spawn_subagent / spawn_subagents | Hand independent sub-tasks to helper agents | Each helper's result |
memory_write | Store a fact for future turns | Written to session memory |
desktop_action | Real computer work: PowerShell / terminal commands, screenshots, files, clipboard, opening apps. Available in the Desktop app; website-only sessions should recommend the app when local access is needed | The command's output |
task_done | Task is complete | Final answer rendered in chat |
output/"The same BroClaw as an installable app: its own window, no browser tab, nothing to configure. The website is unchanged and stays free — the app is an option.
.exe for Windows 10/11 (64-bit), or a .dmg for macOS (Apple Silicon or Intel)..dmg and drag BroClaw into Applications.| Website | Desktop app (Windows and macOS) | |
|---|---|---|
| Install | None | Install BroClaw Desktop; computer access is built in |
| Chats & settings | Stored by the browser for broclaw.io | Stored by the app and separate from website chats |
| Updates | Automatic when you reload | Install the new app version manually |
| Search | BroClaw Search or the selected provider; some requests use a relay | Same providers; app search can use the computer's connection and has a direct-search fallback |
Read web pages (open_tab) | Relay, then public reader services | Fetches directly from the computer; no third-party reader or relay fallback |
Run code (run_code) | JavaScript and Python in the browser sandbox (limits) | Native Node/Python on Windows/macOS; runs as your OS account |
| PowerShell / terminal, screenshots, files, clipboard, processes | Unavailable | Built in; shell and other sensitive actions are individually gated |
| Mouse, keyboard, and windows | Unavailable | Windows only |
| Local AI models | In-browser WebGPU/WASM models or Ollama | In-browser models, Ollama, and BroClaw's built-in llama.cpp GGUF engine |
For faster native execution and computer control, use the Desktop app. You can select a workspace folder in the app when you want BroClaw to work directly with that folder. Native code and shell commands run with your computer account's permissions; they are not OS-isolated sandboxes.
OLLAMA_ORIGINS=* (see Ollama Setup).The local API is included in the Windows and macOS desktop app. It serves models downloaded in Settings → Local models to programs on the same computer. The website does not host a general-purpose API.
http://127.0.0.1:11500/v1, but use the address shown in your app if the port differs.GET /v1/models, then send requests to POST /v1/chat/completions with an Authorization: Bearer … header.Replace the key and model ID with values from the Local API card. The first command lists installed model IDs; the second sends a test prompt:
curl http://127.0.0.1:11500/v1/models \
-H "Authorization: Bearer YOUR_BROCLAW_API_KEY"
curl http://127.0.0.1:11500/v1/chat/completions \
-H "Authorization: Bearer YOUR_BROCLAW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"YOUR_INSTALLED_MODEL_ID","messages":[{"role":"user","content":"Reply with: BroClaw API works"}]}'
In PowerShell, use Invoke-RestMethod (or call curl.exe explicitly; curl alone is a PowerShell alias). Replace the key and model ID first:
$headers = @{ Authorization = "Bearer YOUR_BROCLAW_API_KEY" }
Invoke-RestMethod -Uri "http://127.0.0.1:11500/v1/models" -Headers $headers
$body = @{
model = "YOUR_INSTALLED_MODEL_ID"
messages = @(@{ role = "user"; content = "Reply with: BroClaw API works" })
} | ConvertTo-Json -Depth 5
Invoke-RestMethod -Uri "http://127.0.0.1:11500/v1/chat/completions" `
-Method Post -Headers $headers -ContentType "application/json" -Body $body
Install the OpenAI Python client with pip install openai, then use the desktop app's address, key, and an installed model ID:
from openai import OpenAI
client = OpenAI(
base_url="http://127.0.0.1:11500/v1",
api_key="YOUR_BROCLAW_API_KEY",
)
response = client.chat.completions.create(
model="YOUR_INSTALLED_MODEL_ID",
messages=[{"role": "user", "content": "Write a haiku about coding."}],
)
print(response.choices[0].message.content)
This example uses Java's built-in HTTP client and prints the JSON response:
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
public class BroClawExample {
public static void main(String[] args) throws Exception {
String json = "{\"model\":\"YOUR_INSTALLED_MODEL_ID\","
+ "\"messages\":[{\"role\":\"user\","
+ "\"content\":\"Write a haiku about coding.\"}]}";
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("http://127.0.0.1:11500/v1/chat/completions"))
.header("Authorization", "Bearer YOUR_BROCLAW_API_KEY")
.header("Content-Type", "application/json")
.POST(HttpRequest.BodyPublishers.ofString(json))
.build();
HttpResponse<String> response = HttpClient.newHttpClient()
.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.statusCode());
System.out.println(response.body());
}
}
For the full list of supported routes, request fields, streaming format, and error behavior, see the API reference.
Ask for a video and BroClaw draws every frame with code, adds an AI voice-over and background music if you want them, and saves a ready-to-share MP4 — all in your browser. Nothing is uploaded.
Make a 20-second 1280x720 product teaser for "Acme Notes": dark background, animated headline, three feature cards sliding in, a calm music bed and a friendly voice-over. Show me one preview frame first.
video-production skill (design rules and the heavy-video route) and writes a short scene plan.generated/ folder (in Memory Mode, download it from the card).| Option | Meaning |
|---|---|
duration | Length in seconds. Optional when there is narration — the voice sets the length. |
narration | Lines read aloud by an AI voice. The scene code is told when each line is spoken, so captions and scenes follow the voice. |
voice | Default am_michael. Others: af_heart, af_bella, am_adam, bf_emma, bm_george. |
music | none (default), calm or upbeat — a synthesized bed that is lowered automatically while the voice speaks. |
width, height, fps | Default 1280×720 at 30 fps. |
preview_at | Render just the frame at this time (seconds) as a PNG. |
run_code, render_video runs code the agent wrote, so it asks for permission first (you can allow it for the session in Settings).| In the browser | BroClaw Desktop app |
|---|---|
| Up to 1920×1080 at 60 fps | 4K or larger |
| Up to 3 minutes | Longer videos |
| 2D graphics, text, charts, UI mock-ups, simple motion | Heavy per-frame effects (many layers, blur, shadows), existing footage, 3D |
| One browser tab's CPU | Your computer's full CPU, FFmpeg and Python libraries |
When a request is too heavy, BroClaw does not shrink it quietly: the agent explains the trade-off and recommends the BroClaw Desktop app. There it can render the frames with Python and encode them with FFmpeg on your computer (segment by segment, so long renders do not time out).
In a browser tab BroClaw runs inside the page, so it cannot control your computer or run native programs. For faster local execution, desktop control, or access to a project folder you choose, install the BroClaw Desktop app for Windows or macOS. The table shows what each option provides.
| Website (browser tab) | BroClaw Desktop app | |
|---|---|---|
Web search (search) | BroClaw Search (default), or the provider you choose | Same providers, with a local fallback if BroClaw Search is down |
Read a page (open_tab) | Via a relay, then public reader services | Direct fetch from your computer |
Run code (run_code) | JavaScript + Python (Pyodide) in a browser sandbox | Native Node/Python on Windows/macOS |
| PowerShell / terminal commands | ✗ | ✓ off by default |
| Screenshots, live frames, OCR, files, clipboard, processes, open apps | ✗ | ✓ built in (Windows and macOS) |
| Mouse, keyboard, window control | ✗ | Windows only |
| Local AI models | In-browser (WebGPU) or Ollama | In-browser models, Ollama, and GGUF models downloaded in Local models |
“Shell” means PowerShell on Windows and the standard terminal shell on macOS. It runs with your user account's rights, so it is switched off until you turn it on, and each command has a time limit (30 seconds by default, 2 minutes at most).
| Limit | What it means in practice |
|---|---|
| No programs or shell | It cannot start other programs, run ffmpeg, git, pip or npm, or install software. |
| Python is WebAssembly | run_code Python runs in Pyodide (Python compiled to WebAssembly). Pure-Python code and Pyodide's bundled packages work; arbitrary packages with native code do not install. It is slower than native Python and has no threads or sockets. The working directory is /home/pyodide; this chat's files are mounted at relative uploads/ and generated/ paths. Do not use an absolute Windows/macOS project path. Use read_file, list_files, and write_file for portable access. |
| One tab's resources | JavaScript and Python share the page's CPU and memory. Long loops can make the page sluggish, and a browser may slow a tab that is in the background. |
| Folder access only by permission | The agent sees only the workspace folder you picked, and only in Chrome/Edge on desktop. Phones and other browsers use Memory Mode (files live in the session; download them). |
| Browser network rules | Web requests from code are subject to the browser's cross-origin (CORS) rules, so some sites cannot be reached directly. |
| Limited hardware access | Only what the browser exposes (WebGPU for local models, WebCodecs for video). No direct access to other apps, the desktop or system tools. |
| The tab must stay open | Long jobs stop if you close the tab or the computer sleeps. |
Not a security sandbox for the agent's code: run_code and render_video run with the page's permissions, which is why they ask for your confirmation. See the project's docs/SECURITY.md.
render_video is too small a tool for the job.