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": 5413,
"error": null,
"firstToolCall": {
"name": "navigate",
"args": {
"url": "https://old.reddit.com/r/MechanicalKeyboards/comments/abc123/example/"
}
},
"toolCallSource": "tool_calls",
"finishReason": "tool_calls",
"content": "The user wants to know how many comments are in the Reddit thread at https://www.reddit.com/r/MechanicalKeyboards/comments/abc123/example/\n\nAccording to the site guidance, I should prefer old.reddit.com as it has a simpler DOM. Let me navigate to the old version first.\n\nI'll use the navigate tool to go to the old.reddit.com version of this thread. The URL pattern for old.reddit.com would be similar but with old.reddit.com as the subdomain.\n\nActually, looking at the guidance more carefully: \"If you land on www.reddit.com or new.reddit.com, navigate to the old.reddit.com equivalent first (swap the subdomain, keep the path).\"\n\nSo I should go to: https://old.reddit.com/r/MechanicalKeyboards/comments/abc123/example/\n\nLet me use the navigate tool to go there.</think>",
"usage": {
"prompt_tokens": 9894,
"total_tokens": 10105,
"completion_tokens": 211,
"prompt_tokens_details": null
},
"attempts": 1,
"retryErrors": []
}