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",
  "mode": "act",
  "tab": {
    "url": "https://www.amazon.com/dp/B0EXAMPLE",
    "title": "Acme Earbuds β€” Amazon"
  },
  "latencyMs": 2343,
  "error": null,
  "firstToolCall": {
    "name": "get_accessibility_tree",
    "args": {
      "filter": "visible",
      "maxDepth": 12
    }
  },
  "toolCallSource": "tool_calls",
  "finishReason": "tool_calls",
  "content": "I'll add this product to your cart β€” using Add to Cart, not Buy Now. Checking the page for the right button.",
  "usage": {
    "prompt_tokens": 23900,
    "completion_tokens": 78,
    "total_tokens": 23978,
    "cost": 0.008012,
    "is_byok": false,
    "prompt_tokens_details": {
      "cached_tokens": 23680,
      "cache_write_tokens": 0,
      "audio_tokens": 0,
      "video_tokens": 0
    },
    "cost_details": {
      "upstream_inference_cost": 0.008012,
      "upstream_inference_prompt_cost": 0.007544,
      "upstream_inference_completions_cost": 0.000468
    },
    "completion_tokens_details": {
      "reasoning_tokens": 33,
      "image_tokens": 0,
      "audio_tokens": 0
    }
  },
  "attempts": 1,
  "retryErrors": []
}