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": "032",
"user": "how many comments does this thread have",
"mode": "act",
"tab": {
"url": "https://www.reddit.com/r/MechanicalKeyboards/comments/abc123/example/",
"title": "Example thread — r/MechanicalKeyboards"
},
"latencyMs": 9006,
"error": null,
"firstToolCall": {
"name": "get_accessibility_tree",
"args": {
"filter": "visible",
"maxDepth": 8
}
},
"toolCallSource": "tool_calls",
"finishReason": "tool_calls",
"content": "I'll check the current page to find the comment count on this thread.",
"usage": {
"prompt_tokens": 21854,
"completion_tokens": 244,
"total_tokens": 22098,
"cost": 0.013926,
"is_byok": false,
"prompt_tokens_details": {
"cached_tokens": 20480,
"cache_write_tokens": 0,
"audio_tokens": 0,
"video_tokens": 0
},
"cost_details": {
"upstream_inference_cost": 0.013926,
"upstream_inference_prompt_cost": 0.010266,
"upstream_inference_completions_cost": 0.00366
},
"completion_tokens_details": {
"reasoning_tokens": 161,
"image_tokens": 0,
"audio_tokens": 0
}
},
"attempts": 1,
"retryErrors": []
}