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
{
"id": "092",
"user": "mute this tab",
"mode": "act",
"tab": {
"url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"title": "Rick Astley — YouTube"
},
"latencyMs": 2756,
"error": null,
"firstToolCall": {
"name": "execute_js",
"args": {
"code": "(function() {\n const vids = document.querySelectorAll('video');\n if (vids.length === 0) return { muted: false, reason: 'no video element found' };\n let anyChanged = false;\n vids.forEach(v => { if (!v.muted) { v.muted = true; anyChanged = true; } });\n return { muted: true, videoCount: vids.length, anyChanged };\n})()"
}
},
"toolCallSource": "tool_calls",
"finishReason": "tool_calls",
"content": "I'll mute the current tab's audio by muting the video element.",
"usage": {
"prompt_tokens": 17291,
"completion_tokens": 350,
"total_tokens": 17641,
"cost": 0.0002439,
"is_byok": false,
"prompt_tokens_details": {
"cached_tokens": 17280,
"cache_write_tokens": 0,
"audio_tokens": 0,
"video_tokens": 0
},
"cost_details": {
"upstream_inference_cost": 0.0002439,
"upstream_inference_prompt_cost": 0.0001739,
"upstream_inference_completions_cost": 0.00007
},
"completion_tokens_details": {
"reasoning_tokens": 218,
"image_tokens": 0,
"audio_tokens": 0
}
},
"attempts": 1,
"retryErrors": []
}