BeeAI Platform 概説
BeeAI Platform の位置付け
BeeAI Platformは、IBM Researchが開発したオープンソースのマルチエージェント基盤です。異なる言語やフレームワークで構築されたAIエージェントを、統一されたインターフェースで接続・統合し、協調動作を可能にします。
目的:
- Python、TypeScript、LangChain、AutoGenなど、さまざまな技術スタックで構築されたエージェントを統一されたインターフェースで統合できます。
- 複数のエージェントを組み合わせて、複雑なマルチエージェントワークフローを構築できます。
- 強力な検索機能を備えたエージェントカタログを活用して、目的に合ったエージェントを迅速に見つけることができます。
BeeAI技術スタック:
- BeeAI Platform – あらゆるフレームワークのAIエージェントを簡単に発見・実行・連携できるプラットフォーム。
- BeeAI Framework – Python または TypeScript でAIエージェントを構築するための本番環境対応フレームワーク。
- Agent Communication Protocol (ACP) – 自動化、協調、UI統合のために設計された、エージェント間通信の標準プロトコル。
GitHub: https://github.com/i-am-bee
BeeAI入門: https://zenn.dev/dxclab/articles/2634cc0afc337a
BeeAI Platformの特徴
特徴 | 内容 |
---|---|
🌐 フレームワーク非依存 | Python、TypeScript、LangChain、AutoGen など、様々な技術と連携可能 |
⚙️ 構成可能性 | 単一エージェントから複雑なマルチエージェントワークフローまで対応 |
🔍 発見性 | エージェントカタログで簡単に検索・導入可能 |
🐝 開発支援 | Python/TypeScript 開発者向けに BeeAI Framework を提供 |
関連リンク:
- エージェント一覧: https://beeai.dev/agents
- ドキュメント: https://docs.beeai.dev
- BeeAI Platform GitHub: https://github.com/i-am-bee/beeai-platform
アーキテクチャ
BeeAIは、ローカル実行を基本とし、プライバシー保護やLLMの柔軟な選択を可能にします。
主な構成要素
-
Agents:
独立したAIコンテナ。マニフェストにより実行定義が可能で、ACP (Agent Communication Protocol) に対応。 -
BeeAI Server:
エージェントの起動・停止、リクエストルーティング、環境変数管理、ログ収集等を行う。 -
CLI / UI:
コマンドラインとWebベースのUIを提供。Web UIはlocalhost:8333
で利用可能。 -
Python SDK:
アプリケーション内からエージェントにプログラム的にアクセス可能。 -
Arize Phoenix:
エージェントの挙動を可視化するOpenTelemetryベースのトレーシングツール。
QuickStartを試す
インストール
事前にHomebrewをインストールしてください。
brew install i-am-bee/beeai/beeai
brew services start beeai
LLMプロバイダ設定(例:Ollama)
beeai env setup
## 以下は、Ollamaでllama3.1:8bを構成した例です
? Select LLM provider: Ollama 💻 local
? Do you want to use the recommended model 'llama3.1:8b'? Yes
? Larger context window helps agents see more information at once at the cost of
memory consumption, as long as the model supports it. Set a larger context window
? 16k
⚠️ Warning: BeeAI will create and use a modified version of this model tagged
llama3.1:8b-beeai with default context window set to 16384.
gathering model components
...省略
success
You're all set! (You can re-run this setup anytime with beeai env setup)
💡 Ollamaを選択していますが、OpenAI,DeepSeek,Groqなど選択可能です。
Ollamaモデル検索: https://ollama.com/search
CLIの基本操作
beeai list # 利用可能なエージェント一覧を表示
NAME S… DESCRIPTION LOCATION
agent_docs… r… The agent analyzes… official/beeai-framework/agent-docs-creato
chat r… The agent is an AI… official/beeai-framework/chat:agents-v0.1.
ollama_dee… r… The agent performs… community/ollama-deep-researcher:agents-v0
aider n… An AI pair program… community/aider:agents-v0.1.3
gpt_resear… n… The agent conducts… community/gpt-researcher:agents-v0.1.3
literature… n… This agent automat… community/literature-review:agents-v0.1.3
marketing_… n… The agent performs… community/marketing-strategy:agents-v0.1.3
podcast_cr… n… The agent creates … official/beeai-framework/podcast-creator:a
sequential… n… The agent orchestr… official/sequential-workflow:agents-v0.1.3
beeai run chat # listされているチャットエージェントを実行
How can I help you?
>>> 東京の2025/5/7の天気を教えてください
thought: The user wants to know the weather forecast for Tokyo on 2025/5/7. I can use OpenMeteoTool to retrieve this information.
tool_name: OpenMeteoTool
tool_input: {"location_name": "Tokyo", "start_date": "2025-05-07", "end_date": "2025-05-07"}
tool_output:
{"latitude": 35.7, "longitude": 139.6875, "generationtime_ms":
0.04363059997558594, "utc_offset_seconds": 0, "timezone": "GMT",
"timezone_abbreviation": "GMT", "elevation": 40.0, "current_units": {"time":
"iso8601", "interval": "seconds", "temperature_2m": "\u00b0C", "rain": "mm",
"relative_humidity_2m": "%", "wind_speed_10m": "km/h"}, "current": {"time":
"2025-05-06T10:45", "interval": 900, "temperature_2m": 12.6, "rain": 0.0,
"relative_humidity_2m": 97, "wind_speed_10m": 6.2}, "daily_units": {"time":
"iso8601", "temperature_2m_max": "\u00b0C", "temperature_2m_min": "\u00b0C",
"rain_sum": "mm"}, "daily": {"time": ["2025-05-07"], "temperature_2m_max":
[21.5], "temperature_2m_min": [11.8], "rain_sum": [3.6]}}
thought: The weather forecast for Tokyo on 2025/5/7 is sunny with a high of 21.5°C and a low of 11.8°C, with a total rainfall of 3.6mm.
2025年5月7日は、東京では晴れの天気になります。最高気温は21.5度、最低気温は11.8度で、降水量は3.6mmです。
CLIコマンド一覧(抜粋)
基本コマンド
コマンド | 説明 |
---|---|
beeai version |
CLIのバージョン確認 |
beeai serve |
サーバ起動 |
beeai ui |
Web UIの起動 |
beeai env |
環境変数の設定 |
beeai compose |
エージェント連携構成の操作 |
エージェント管理
コマンド | 説明 |
---|---|
beeai agent add |
エージェントを追加 |
beeai agent remove |
エージェントを削除 |
beeai agent info |
エージェントの詳細を表示 |
beeai agent logs |
実行ログの表示 |
beeai list |
利用可能なエージェント一覧 |
beeai run <agent> |
エージェントを実行 |
エージェント一覧(例)
エージェント名 | 概要 | 出典 |
---|---|---|
chat |
AIチャットエージェント。天気、検索、Wikipedia対応 | official |
agent_docs_creator |
AIエージェントのドキュメントを自動生成 | official |
gpt_researcher |
AI研究支援 | community |
marketing_strategy |
マーケティング戦略支援 | community |
podcast_creator |
ポッドキャスト台本の作成 | official |
sequential_workflow |
複数エージェントの連携制御 | official |
Web UIの起動
beeai ui
ブラウザで http://localhost:8333
にアクセスしてUI操作が可能です。
CUIと同様、Chat Agentを開きます。
Web UIでも同様に質問を投げることができます。
おわりに
BeeAI Platformは、AIエージェントの統合と連携を高度に抽象化し、研究から商用まで幅広いニーズに対応する次世代基盤です。ローカル環境で完結可能な設計により、データ主権やプライバシーも担保できます。
開発者・研究者にとって、BeeAIは新しいAIアーキテクチャの中心的存在となる可能性を秘めています。
次回はAgentのImportと複数エージェントの統合について、調査します。
Discussion