Local-First AI Browser · Ổi Browser
Local-first agentic AI browser with Multi-CLI Shell Harness, 9 domain companions, Karpathy-Wiki markdown memory, and zero cloud telemetry.
Ổi Browser is a zero-dependency, self-hosted agentic AI browser powered by local AI CLI harnesses (claude, agy, codex, grok, orca), DOM agent automation, and local SQLite + Markdown memory.
Ổi Browser Workspace (/newtab): unified chat composer, domain companion switcher, and local history.
production build · 127.0.0.1:4104 · verifiedWhat it is
- Repository
- jangtrinh/
oi-browser - Requires
- Node.js 22.5+Zero external npm deps
- Interface
- Web UI + macOS AppSvelteKit 5 & WKWebView
- Transport
- 127.0.0.1:4104REST + IPC Bridge
- Telemetry
- Zero TrackingLocal SQLite + Markdown
- License
- PolyForm Shield 1.0.0
Why Ổi Browser, compared with alternatives
What Ổi Browser does that closed-source cloud browsers do not. Our architectural advantages first, followed by the honest trade-offs.
9 Specialized Domain Companions & 31 Skills
Role-specific agents across Consulting (Ổi), Engineering & QA (Măng Cụt), Chief of Staff (Sầu Riêng), Marketing (Thanh Long), Operations (Bưởi), Research (Vú Sữa), Sales (Xoài), Support (Chôm Chôm), and Recruiting (Vải).
Karpathy-Wiki Markdown Memory & Dream Consolidation
Plaintext Markdown knowledge base (PROFILE.md, COMPANION.md, observations/*.md) with one-click Dream Consolidation.
Local-first privacy & zero dependencies
Built on Node.js 22+ native node:sqlite and node:http. Zero external npm packages, zero cloud lock-in, zero telemetry.
Agentic DOM Browser Automation ([data-oi-id])
Deterministic element tagging, live DOM inspection, and structured Visual Artifacts (Spreadsheets, Slide Decks, Interactive Charts).
Where traditional platforms win, and it is not close: Managed enterprise clouds with out-of-the-box multi-tenant SSO, compliance audits, and commercial SLAs. If you need centralized team dashboards without hosting your own infrastructure, choose those platforms instead.
System Architecture (5 Layers · 11 Modules · 1,673 LOC)
Every custom source file in src/ stays strictly under 200 lines, connecting the SvelteKit 5 renderer directly to Node.js 22+ native SQLite and Karpathy-Wiki Markdown storage on 127.0.0.1:4104.
5-Layer System Architecture: Desktop Shell, Local Runtime Bridge, Localhost Orchestrator, Agent DOM + Karpathy-Wiki, and SQLite Store.
11 modules · 1,673 LOC · zero external npm deps1. Client IPC Shim
berry-electron-bridge.js + berry-electron-state.js + berry-electron-queries.js emulate window.electronAPI and synthesize 18 real-time state topics over local REST with zero cloud lock-in.
2. 9 Domain Companions
official-companions-catalog.js configures 9 role-specialized companions across Consulting, Engineering, Executive Ops, Marketing, Operations, Research, Sales, Support, and Recruiting.
3. AgentDOM Service
agent-dom-browser-service.js strips script/style noise, extracts H1–H3 hierarchy and HTML table rows, and injects data-oi-id="oi-1..N" into interactive DOM elements.
4. Karpathy-Wiki Memory
karpathy-wiki-memory-engine.js maintains 3-tier Markdown memory (PROFILE.md, COMPANION.md, observations/YYYY-MM-DD.md, entities/companies/*.md) with Dream Consolidation.
5. Chat Orchestrator
companion-chat-orchestrator.js executes a 4-step tool pipeline per turn: DOM inspection, Spreadsheet/Document Visual Artifact creation, observation logging, and entity graph upsert.
6. 31 Official Skills
skills/ ships 31 domain playbooks including the 48-file TypeScript general/visual-artifact brand-probe and layout critique engine.
7. Routines & SQLite
sqlite-workspace-store.js persists 6 relational tables via built-in node:sqlite (DatabaseSync), powering scheduled browser routines and meeting action-item extraction.
8. Multi-CLI Harness
cli-harness-router.js and berry-cli-terminal-dock.js auto-discover local AI CLIs (claude, agy, codex, grok, orca) with Companion-to-CLI affinity routing and an embedded terminal dock.
Install once
Clone the repository and start the local-first server on port 4104.
git clone https://github.com/jangtrinh/oi-browser.git
cd oi-browser
npm test
npm start
First safe use
- Run the automated full-stack test suite (SQLite state, CLI harness router, DOM agent, Dream Consolidation).
npm test - Inspect the local state register (9 domain companions, 31 skills, 5 routines, CLI harnesses, Karpathy-Wiki files).
curl -s http://127.0.0.1:4104/api/state | jq '.companions[].name' - Build and launch the native macOS
WKWebViewdesktop bundle.npm run build:macos
All runtime data is stored locally under .berry-data/ (SQLite + Markdown wiki).
A practical loop
GET /api/state
Returns the 9 domain companions, open tabs, 31 skills, 5 scheduled routines, CLI harness status, and Karpathy-Wiki Markdown files.
POST /api/chat
Runs the AgentDOMBrowserService with [data-oi-id] tagging, creates Visual Artifacts, and appends Karpathy-Wiki observations.
POST /api/memory/dream
Consolidates recent session observations directly into the companion’s persistent COMPANION.md profile.
POST /api/routines/run
Executes scheduled browser routines and persists structured execution logs in SQLite.
Verified interface gallery
Real uncropped captures from Headless Chrome CDP against http://127.0.0.1:4104 across all primary views.
-

1. Sales — ICP Scoring & Outbound Outreach
Xoài qualifies enterprise accounts (ICP 78/100) and drafts cold outreach emails via Grok Build CLI Core.
-

2. Recruiting — Principal Engineer Scorecard
Vải builds 100-point technical competency scorecards and candidate outreach sequences.
-

3. Executive — Q4 Morning Brief & Inbox Triage
Sầu Riêng synthesizes Q4 strategic priorities, board meeting prep, and urgent inbox triage.
-

4. Marketing — Brand Voice & Omnichannel Copy
Thanh Long analyzes technical builder tone-of-voice and drafts LinkedIn and X launch threads.
-

5. Consulting — 3-Phase AI Strategy Proposal
Ổi converts client discovery notes into a 3-phase (Discovery, Pilot, Scale) AI transformation roadmap with KPIs.
-

6. Customer Support — P1 SAML SSO Triage
Chôm Chôm classifies P1 enterprise authentication tickets and drafts step-by-step remediation guides.
-

7. Operations — Sprint Status & Follow-ups
Bưởi compiles weekly sprint progress across 4 status columns, cross-team blockers, and automated follow-ups.
-

8. Engineering & QA — Reproducible Bug Filing
Măng Cụt turns customer feedback into structured bug reports with Steps to Reproduce, Expected/Actual, and fix verification.
-

9. Deep Research — Live Web to Spreadsheet
Vú Sữa inspects live Hacker News DOM elements and compiles structured Spreadsheet Artifacts.
-

10. Companion Directory & Custom Companion
Browse all 9 domain-specialized companions or configure a custom companion with dedicated skills.
-

11. Browser DOM Agent & Multi-CLI Harness Dock
Interactive [data-oi-id] DOM tagging paired with the native OKLCH Multi-CLI Harness switcher (claude, agy, codex, grok, orca).
-

12. Visual Artifacts & Karpathy-Wiki Library
Centralized workspace library storing generated Spreadsheets, Briefs, and 3-tier Karpathy-Wiki Markdown memories.
-

13. Automated Meeting Notes & Action Items
Record meetings, transcribe discussions, and automatically extract structured action items into SQLite.
-

14. Scheduled When-Then Browser Routines
Automate recurring research, inbox triage, and pipeline hygiene workflows on a local cron schedule.
Frequently asked questions
What is Ổi Browser?
Ổi Browser is a source-available, local-first agentic AI browser featuring a Multi-CLI Shell Harness (claude, agy, codex, grok, orca), 9 domain companions, DOM agent automation, Karpathy-Wiki Markdown memory consolidation, and a native macOS WKWebView desktop wrapper.
How is Ổi Browser installed?
Clone https://github.com/jangtrinh/oi-browser, run npm test to verify the full-stack suite, and run npm start to launch on http://127.0.0.1:4104 or npm run build:macos to build the native macOS .app bundle.
How does it compare with alternatives?
Ổi Browser runs with zero external npm runtime dependencies on Node.js 22+ built-in node:sqlite and node:http, keeping all companion chats, routines, and Karpathy-Wiki Markdown memories 100% on your local disk.
Does it send telemetry or require cloud services?
No. Ổi Browser operates strictly on your local machine at 127.0.0.1:4104. All Sentry, PostHog, and external analytics beacons are neutralized at the IPC bridge.
What license is Ổi Browser released under?
Ổi Browser is source-available under the PolyForm Shield License 1.0.0: free to use and modify, including for commercial work, but you may not resell it or offer a product that competes with it.
Ecosystem & Related Projects
Explore complementary developer tools and companion repositories designed to work together.