1770759984
2026-02-10 20:17:00
を活用したマルチエージェント調整システム オープンクロー。
それぞれが独自の ID、ワークスペース、スケジュールされたハートビートを持って連携して動作する AI エージェントのチームを展開します。タスクを調整し、コンテキストを共有し、ほぼリアルタイムで通知を配信します。
- 異なる役割と個性を持つ複数の AI エージェントを実行する
- エージェントは cron スケジュールに従って起動して作業を確認します
- 割り当てとサブタスクを使用したカンバン形式のタスク管理
- @メンションとタスクの更新を即時配信
- エージェントは共有ファイルと Convex バックエンドを通じて共同作業します。
- Web ダッシュボードから分隊のステータス、タスクを監視し、エージェントとチャットする
- Docker と Docker Compose
- 凸型 アカウント (無料枠は機能します)
- 人間の API キー
git clone https://github.com/getclawe/clawe.git
cd clawe
cp .env.example .env
編集 .env:
# Required
ANTHROPIC_API_KEY=sk-ant-...
OPENCLAW_TOKEN=your-secure-token
CONVEX_URL=https://your-deployment.convex.cloud
# Optional
OPENAI_API_KEY=sk-... # For image generation
pnpm install
cd packages/backend
npx convex deploy
制作 (推奨):
このスクリプトは次のことを行います。
- 作成する
.envから.env.example行方不明の場合 - 安全なファイルを自動生成
OPENCLAW_TOKEN - 必要なすべての環境変数を検証する
- 必要なパッケージをビルドする
- Dockerコンテナを起動する
発達:
# Start OpenClaw gateway only (use local web dev server)
pnpm dev:docker
# In another terminal, start web + Convex
pnpm dev
本番スタックが開始されます。
- オープンクロー: すべてのエージェントを実行するゲートウェイ
- 監視者: 通知配信+cron設定
- 爪: Web ダッシュボード http://ローカルホスト:3000
Clawe には 4 つの事前設定されたエージェントが付属しています。
| エージェント | 役割 | ハートビート |
|---|---|---|
| 🦞 クロー | 分隊長 | 15分ごと |
| ✍️真っ黒 | コンテンツエディター | 15分ごと |
| 🎨ピクセル | デザイナー | 15分ごと |
| 🔍スカウト | SEO | 15分ごと |
レート制限を回避するために、ハートビートはずらされます。
受信箱アイテムを自動的に作成する定期的なタスクをスケジュールします。
- ルーチンごとに曜日/時間スケジュールを構成する
- クラッシュ耐性のための 1 時間のトリガー ウィンドウ
- Clawe を作成者として作成されたタスク
- ダッシュボードの「設定」→「一般」で管理します
┌─────────────────────────────────────────────────────────────┐
│ DOCKER COMPOSE │
├─────────────────┬─────────────────────┬─────────────────────┤
│ openclaw │ watcher │ clawe │
│ │ │ │
│ OpenClaw │ • Register agents │ Web Dashboard │
│ Gateway with │ • Setup crons │ • Squad status │
│ 4 agents │ • Deliver notifs │ • Task board │
│ │ │ • Agent chat │
└────────┬────────┴──────────┬──────────┴──────────┬──────────┘
│ │ │
└───────────────────┼─────────────────────┘
│
┌────────▼────────┐
│ CONVEX │
│ (Backend) │
│ │
│ • Agents │
│ • Tasks │
│ • Notifications│
│ • Activities │
└─────────────────┘
clawe/
├── apps/
│ ├── web/ # Next.js dashboard
│ └── watcher/ # Notification watcher service
├── packages/
│ ├── backend/ # Convex schema & functions
│ ├── cli/ # `clawe` CLI for agents
│ ├── shared/ # Shared OpenClaw client
│ └── ui/ # UI components
└── docker/
└── openclaw/
├── Dockerfile
├── entrypoint.sh
├── scripts/ # init-agents.sh
└── templates/ # Agent workspace templates
エージェントが使用するのは、 clawe 調整システムと対話するための CLI:
各エージェントには、次のような独立したワークスペースがあります。
/data/workspace-{agent}/
├── AGENTS.md # Instructions and conventions
├── SOUL.md # Agent identity and personality
├── USER.md # Info about the human they serve
├── HEARTBEAT.md # What to do on each wake
├── MEMORY.md # Long-term memory
├── TOOLS.md # Local tool notes
└── shared/ # Symlink to shared state
├── WORKING.md # Current team status
└── WORKFLOW.md # Standard operating procedures
- ワークスペーステンプレートを作成する
docker/openclaw/templates/workspaces/{name}/ - エージェントを追加
docker/openclaw/templates/config.template.json - エージェントをウォッチャーに追加する
AGENTS配列apps/watcher/src/index.ts - 再構築:
docker compose build && docker compose up -d
を編集します AGENTS 配列 apps/watcher/src/index.ts:
const AGENTS = [
{
id: "main",
name: "Clawe",
emoji: "🦞",
role: "Squad Lead",
cron: "0 * * * *",
},
// Add or modify agents here
];
# Install dependencies
pnpm install
# Terminal 1: Start Convex dev server
pnpm convex:dev
# Terminal 2: Start OpenClaw gateway in Docker
pnpm dev:docker
# Terminal 3: Start web dashboard
pnpm dev:web
# Or run everything together (Convex + web, but not OpenClaw)
pnpm dev
# Build everything
pnpm build
# Type check
pnpm check-types
# Lint and format
pnpm check # Check only
pnpm fix # Auto-fix
# Deploy Convex to production
pnpm convex:deploy
| 変数 | 必須 | 説明 |
|---|---|---|
ANTHROPIC_API_KEY |
はい | クロード用の Anthropic API キー |
OPENCLAW_TOKEN |
はい | OpenClaw ゲートウェイの認証トークン |
CONVEX_URL |
はい | 凸型デプロイ URL |
OPENAI_API_KEY |
いいえ | OpenAIキー(画像生成用) |
#getclaweclawe #OpenClaw #を利用したマルチエージェント調整システム代理店向けの毎週の #SEO #レビュー編集公開ワークフローの自動化に適しています