by sachaa
Browser-native personal AI assistant. Zero infrastructure, the browser is the server.
# Add to your Claude Code skills
git clone https://github.com/sachaa/openbrowserclawDisclaimer: OpenBrowserClaw is a personal, open-source project. It is not affiliated with any cryptocurrency, meme coin, token, or social media account. If you see coins, tokens, or social media profiles claiming association with this project, they are not legitimate and are not endorsed by the author(s). Stay safe and do your own research.
Browser-native personal AI assistant. Zero infrastructure — the browser is the server.
Built as a browser-only reimagination of NanoClaw. Same philosophy, small enough to understand, built for one user, but running entirely in a browser tab.
cd openbrowserclaw
npm install
npm run dev
Open http://localhost:5173, paste your Anthropic API key, and start chatting.
┌──────────────────────────────────────────────────────────┐
│ Browser Tab (PWA) │
│ │
│ ┌──────────┐ ┌──────────┐ ┌────────────────────────┐ │
│ │ Chat UI │ │ Settings │ │ Task Manager │ │
│ └────┬─────┘ └─────┬────┘ └───────┬────────────────┘ │
│ └──────────────┼───────────────┘ │
│ ▼ │
│ Orchestrator (main thread) │
│ ├── Message queue & routing │
│ ├── State machine (idle/thinking/responding)│
│ └── Task scheduler (cron) │
│ │ │
│ ┌───────────┼───────────┐ │
│ ▼ ▼ ▼ │
│ IndexedDB OPFS Agent Worker │
│ (messages, (group (Claude API │
│ tasks, files, tool-use loop, │
│ config) memory) WebVM sandbox) │
│ │
│ Channels: │
│ ├── Browser Chat (built-in) │
│ └── Telegram Bot API (optional, pure HTTPS) │
└──────────────────────────────────────────────────────────┘
| File | Purpose |
|------|---------|
| src/index.ts | Entry point, bootstraps UI |
| src/orchestrator.ts | State machine, message routing, agent invocation |
| src/agent-worker.ts | Web Worker: Claude API tool-use loop |
| src/tools.ts | Tool definitions (bash, read/write files, fetch, etc.) |
| src/vm.ts | WebVM wrapper (v86 Alpine Linux in WASM) |
| src/db.ts | IndexedDB: messages, sessions, tasks, config |
| src/storage.ts | OPFS: per-group file storage |
| src/router.ts | Routes messages to correct channel |
| src/channels/browser-chat.ts | In-browser chat channel |
| src/channels/telegram.ts | Telegram Bot API channel |
| src/task-scheduler.ts | Cron e...
No comments yet. Be the first to share your thoughts!