> ## Documentation Index
> Fetch the complete documentation index at: https://firecrawl-claude-eager-dijkstra-ul56gh.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Camel AI

> Firecrawl は Camel AI と連携し、データローダーとして機能します。

<Note>
  **公式 CAMEL ドキュメント:** [docs.camel-ai.org/key\_modules/loaders](https://docs.camel-ai.org/key_modules/loaders)

  Firecrawl は CAMEL ローダーとして提供され、あらゆるサイトをエージェント向けの LLM 対応 Markdown に変換します
</Note>

<h2 id="installation">
  インストール
</h2>

```bash theme={null}
pip install camel-ai
```

ローダーが自動的に読み取れるよう、Firecrawl キーを設定します：

```bash theme={null}
export FIRECRAWL_API_KEY="fc-your-api-key"
```

<div id="usage">
  <h2 id="usage">
    使用方法
  </h2>
</div>

Camel AI と Firecrawl を使うことで、ウェブ上のデータを活用するマルチエージェントシステムを迅速に構築できます。

<h3 id="using-firecrawl-to-gather-an-entire-website">
  Firecrawl を使用して Web サイト全体を収集する
</h3>

`crawl` はジョブの完了後に戻ります。`status` を確認し、`data` から Markdown を読み取ります。

```python theme={null}
from camel.loaders import Firecrawl

firecrawl = Firecrawl()

response = firecrawl.crawl(url="https://www.camel-ai.org/about")
print(response["status"])  # クロールが完了すると "completed" になる

print(response["data"][0]["markdown"])
```

<h3 id="using-firecrawl-to-gather-a-single-page">
  Firecrawl を使って1ページを取得する
</h3>

```python theme={null}
from camel.loaders import Firecrawl

firecrawl = Firecrawl()

response = firecrawl.scrape(url="https://www.camel-ai.org/about")
print(response["markdown"])
```

<Tip>
  `Firecrawl()` は環境変数から `FIRECRAWL_API_KEY` を読み取ります。`api_key=...` を渡すと上書きでき、`api_url=...` を渡すと[セルフホスト](/ja/contributing/self-host)インスタンスを指定できます。
</Tip>

<h2 id="resources">
  リソース
</h2>

* [CAMELローダーのドキュメント](https://docs.camel-ai.org/key_modules/loaders)
* [CAMELとFirecrawlのウォークスルー](https://www.camel-ai.org/blogs/firecrawl)
* [Firecrawlのスクレイピング](/ja/features/scrape)と[クロール](/ja/features/crawl)のドキュメント


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.