<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ryo_takaba</author_name>
  <author_url>https://blog.hatena.ne.jp/ryo_takaba/</author_url>
  <blog_title>for Startups Tech Blog</blog_title>
  <blog_url>https://tech.forstartups.com/</blog_url>
  <categories>
    <anon>AI</anon>
  </categories>
  <description>近年話題のAIエージェントbrowser-useは、ChatGPTでブラウザ操作を自動化できるPythonライブラリです。 自動化に関心のある筆者が、あいまいな命令でのAI操作に興味を持ち検証しました。 GitHubで高い注目度を集めています。 内部でPlaywrightを利用し、Twitter投稿やECサイト購入が可能です。 トラベルサイトでのホテル検索を例に、プロンプトによるブラウザ操作の様子を紹介します。 検索結果として複数の候補が得られました。 利用にはOpenAI APIの登録が必要で、トークン単位で費用が発生します。 gpt-4o-miniの料金体系や、実際の検索におけるコスト（1回あたり約3.89円）を解説します。 失敗時のコスト増加や、max_stepsオプションによる対策も紹介します。 最新情報として、公式web UIのリリースやOpenAI Operatorの登場にも触れます。 browser-useはWeb上の定型操作を柔軟に自動化する可能性を秘めており、今後の進化に期待が寄せられます</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.forstartups.com%2Fentry%2F2025%2F03%2F17%2F080000&quot; title=&quot;browser-useでChatGPTにブラウザを操作させる - for Startups Tech Blog&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/r/ryo_takaba/20250303/20250303141704.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-03-17 08:00:00</published>
  <title>browser-useでChatGPTにブラウザを操作させる</title>
  <type>rich</type>
  <url>https://tech.forstartups.com/entry/2025/03/17/080000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
