Skip to content

Open-source AI browser agent for Chrome and Firefox (monorepo) 🧠

1.2 KB
Raw Blame
{
  "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": 1439,
  "error": null,
  "firstToolCall": {
    "name": "get_accessibility_tree",
    "args": {
      "filter": "visible"
    }
  },
  "toolCallSource": "tool_calls",
  "finishReason": "tool_calls",
  "content": "I'll check the current page to find the comment count. Let me read the accessibility tree first.",
  "usage": {
    "prompt_tokens": 17102,
    "completion_tokens": 124,
    "total_tokens": 17226,
    "cost": 0.00021436,
    "is_byok": false,
    "prompt_tokens_details": {
      "cached_tokens": 16896,
      "cache_write_tokens": 0,
      "audio_tokens": 0,
      "video_tokens": 0
    },
    "cost_details": {
      "upstream_inference_cost": 0.00021436,
      "upstream_inference_prompt_cost": 0.00018956,
      "upstream_inference_completions_cost": 0.0000248
    },
    "completion_tokens_details": {
      "reasoning_tokens": 80,
      "image_tokens": 0,
      "audio_tokens": 0
    }
  },
  "attempts": 1,
  "retryErrors": []
}