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": 7164,
  "error": null,
  "firstToolCall": {
    "name": "get_accessibility_tree",
    "args": {
      "filter": "visible"
    }
  },
  "toolCallSource": "tool_calls",
  "finishReason": "tool_calls",
  "content": "I'll add this to your cart. Let me first look at the page to find the \"Add to Cart\" button (being careful not to hit \"Buy Now\").",
  "usage": {
    "prompt_tokens": 21813,
    "completion_tokens": 148,
    "total_tokens": 21961,
    "cost": 0.012363,
    "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.012363,
      "upstream_inference_prompt_cost": 0.010143,
      "upstream_inference_completions_cost": 0.00222
    },
    "completion_tokens_details": {
      "reasoning_tokens": 62,
      "image_tokens": 0,
      "audio_tokens": 0
    }
  },
  "attempts": 1,
  "retryErrors": []
}