Skip to content

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

1.1 KB
Raw Blame
{
  "id": "061",
  "user": "add this to my cart",
  "tab": {
    "url": "https://www.amazon.com/dp/B0EXAMPLE",
    "title": "Acme Earbuds — Amazon"
  },
  "latencyMs": 4689,
  "error": null,
  "firstToolCall": {
    "name": "get_accessibility_tree",
    "args": {
      "filter": "visible"
    }
  },
  "toolCallSource": "tool_calls",
  "finishReason": "tool_calls",
  "content": "I'll add the Acme Earbuds to your cart. Let me first look at the page to find the Add to Cart button.",
  "usage": {
    "prompt_tokens": 17089,
    "completion_tokens": 134,
    "total_tokens": 17223,
    "cost": 0.010575,
    "is_byok": false,
    "prompt_tokens_details": {
      "cached_tokens": 0,
      "cache_write_tokens": 0,
      "audio_tokens": 0,
      "video_tokens": 0
    },
    "cost_details": {
      "upstream_inference_cost": 0.010575,
      "upstream_inference_prompt_cost": 0.0102534,
      "upstream_inference_completions_cost": 0.0003216
    },
    "completion_tokens_details": {
      "reasoning_tokens": 78,
      "image_tokens": 0,
      "audio_tokens": 0
    }
  }
}