Open-source AI browser agent for Chrome and Firefox (monorepo) ðŸ§
JavaScript ai-agentai-agentsai-toolsbrowser-aibrowser-automationbrowser-extensionchrome-aichrome-devtoolschrome-extensionchrome-extensionsfirefox-addonfirefox-addonsfirefox-extensionfirefox-extensionsgemmagemma4minimaxoffline-aioffline-llmqwen
{
"manifest_version": 2,
"name": "WebBrain",
"version": "45.0.4",
"description": "Open-source AI browser agent — chat with pages, automate tasks, multi-provider LLM support.",
"permissions": [
"activeTab",
"nativeMessaging",
"menus",
"webNavigation",
"webRequest",
"dns",
"storage",
"identity",
"cookies",
"unlimitedStorage",
"tabs",
"tabGroups",
"notifications",
"downloads",
"alarms",
"clipboardWrite",
"clipboardRead",
"scripting",
"search",
"<all_urls>"
],
"chrome_url_overrides": {
"newtab": "newtab/index.html"
},
"content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'; connect-src * data: blob: http://* ws://*;",
"background": {
"page": "src/background.html",
"persistent": true
},
"sidebar_action": {
"default_title": "WebBrain",
"default_panel": "src/ui/sidepanel.html",
"default_icon": {
"16": "icons/icon16.png",
"48": "icons/icon48.png"
}
},
"content_scripts": [
{
"matches": ["<all_urls>"],
"js": ["src/content/page-monitor.js"],
"run_at": "document_start",
"all_frames": true,
"match_about_blank": true,
"match_origin_as_fallback": true
},
{
"matches": ["<all_urls>"],
"js": ["src/content/page-monitor-shadow.js"],
"run_at": "document_start",
"world": "MAIN",
"all_frames": true,
"match_about_blank": true,
"match_origin_as_fallback": true
},
{
"matches": ["<all_urls>"],
"js": ["src/content/page-monitor-recovery.js", "src/content/page-monitor.js"],
"run_at": "document_end",
"all_frames": true,
"match_about_blank": true,
"match_origin_as_fallback": true
},
{
"matches": ["<all_urls>"],
"js": ["src/content/page-monitor-shadow.js"],
"run_at": "document_end",
"world": "MAIN",
"all_frames": true,
"match_about_blank": true,
"match_origin_as_fallback": true
},
{
"matches": ["<all_urls>"],
"js": ["src/content/file-picker-guard-loader.js"],
"run_at": "document_start"
},
{
"matches": ["<all_urls>"],
"js": [
"src/content/file-upload-policy.js",
"src/content/rich-text-toolbar-heuristic.js",
"src/content/accessibility-tree.js",
"src/content/teacher-capture.js",
"src/content/chat-observation.js",
"src/content/content.js",
"src/content/agent-visual-indicator.js",
"src/content/ollama-launch-handoff.js"
],
"run_at": "document_idle"
},
{
"matches": ["<all_urls>"],
"js": ["src/content/selection-shortcut.js"],
"run_at": "document_start"
},
{
"matches": ["<all_urls>"],
"js": ["src/content/redaction-regions.js"],
"run_at": "document_idle",
"all_frames": true,
"match_about_blank": true
},
{
"matches": [
"*://*.facebook.com/*",
"*://*.instagram.com/*",
"*://*.x.com/*",
"*://*.twitter.com/*",
"*://*.linkedin.com/*",
"*://*.reddit.com/*",
"*://*.youtube.com/*",
"*://youtu.be/*"
],
"js": ["src/agent/smd-loader.js"],
"run_at": "document_start"
},
{
"matches": [
"https://www.instagram.com/*",
"https://instagram.com/*"
],
"js": [
"src/safesocial/content.js"
],
"css": [
"src/safesocial/content.css"
],
"run_at": "document_idle"
}
],
"options_ui": {
"page": "src/ui/settings.html",
"open_in_tab": true
},
"browser_action": {
"default_title": "WebBrain",
"default_icon": {
"16": "icons/icon16.png",
"48": "icons/icon48.png",
"128": "icons/icon128.png"
}
},
"icons": {
"16": "icons/icon16.png",
"48": "icons/icon48.png",
"128": "icons/icon128.png"
},
"web_accessible_resources": [
"src/content/autoconsent-runtime.js",
"vendor/autoconsent/autoconsent.esm.js",
"vendor/pdfjs/index.mjs",
"vendor/pdfjs/worker.mjs",
"vendor/pdfjs/compat.mjs",
"vendor/pdfjs/pdf.mjs",
"vendor/pdfjs/pdf.worker.mjs",
"src/agent/social-media-downloader.js",
"src/content/file-picker-guard-page.js",
"src/content/page-monitor-shadow.js",
"src/content/captcha-callback-bridge.js",
"skills/*"
],
"browser_specific_settings": {
"gecko": {
"id": "[email protected]",
"strict_min_version": "140.0",
"data_collection_permissions": {
"required": ["none"],
"optional": ["personallyIdentifyingInfo", "authenticationInfo", "personalCommunications", "websiteContent", "technicalAndInteraction"]
}
}
},
"commands": {
"_execute_sidebar_action": {
"suggested_key": {
"default": "Alt+Shift+W"
},
"description": "Open WebBrain panel"
},
"switch-to-ask": {
"suggested_key": {
"default": "Alt+Shift+A"
},
"description": "Switch to Ask mode"
},
"switch-to-act": {
"suggested_key": {
"default": "Alt+Shift+X"
},
"description": "Switch to Act mode"
},
"switch-to-dev": {
"suggested_key": {
"default": "Alt+Shift+D"
},
"description": "Switch to Dev mode"
},
"focus-input": {
"suggested_key": {
"default": "Alt+Shift+I"
},
"description": "Focus the input"
},
"decrease-ui-scale": {
"suggested_key": {
"default": "Alt+Shift+Comma"
},
"description": "Zoom WebBrain UI out"
},
"increase-ui-scale": {
"suggested_key": {
"default": "Alt+Shift+Period"
},
"description": "Zoom WebBrain UI in"
},
"reset-ui-scale": {
"suggested_key": {
"default": "Alt+Shift+0"
},
"description": "Reset WebBrain UI zoom"
}
}
}