Visual agent organization designer — Org chart editor → OpenClaw config export
エージェント組織設計ツール — 組織図エディタ → OpenClaw config エクスポート
OpenClaw lets you run multi-agent teams — but designing them means hand-editing YAML/JSON configs. AgentFlow gives you a visual drag-and-drop editor to design your agent org, then exports a ready-to-use OpenClaw config.
- 🎨 Design visually — Drag nodes, draw connections, see your org chart in real time
- ⚡ Export instantly — One click to generate OpenClaw-compatible config JSON + setup scripts
- 🚀 Zero setup — Works in the browser. No backend, no accounts, no install required
- 🏠 Self-hostable — Docker one-liner or static build for your own infra
No OpenClaw GUI for multi-agent design exists yet. AgentFlow fills that gap.
👉 https://frexida.github.io/agentflow/editor/
Data stays in your browser (localStorage). Nothing is sent to any server.
git clone https://github.com/Frexida/agentflow.git
cd agentflow
docker compose up -d→ Open http://localhost:3000/editor/
git clone https://github.com/Frexida/agentflow.git
cd agentflow
npm install
SITE_URL=http://localhost:4321 BASE_PATH=/ npm run buildServe dist/ with any web server, or npm run dev for development.
- Drag & drop nodes to arrange your agent hierarchy
- Auto-layout with dagre for clean org charts
- Connection types — authority (🔴), communication (🔵), review (🟡)
- Click links to toggle type, double-click for detailed editing
Double-click any node to configure:
| Setting | Description |
|---|---|
| Icon | Emoji identifier |
| Name & Role | Agent identity |
| Personality | Maps to SOUL.md |
| Model | Claude, GPT, Gemini, etc. |
| System Prompt | Core instructions |
| Tool Profile | minimal / coding / messaging / full |
| Initial Memory | Maps to MEMORY.md |
Organize agents into teams/departments with nested group support.
Generates 3 files:
- OpenClaw config JSON — Drop into
config.applydirectly - Full export JSON — Config + metadata + workspace files
- Setup script — Shell script to create agent workspaces
Catches errors before export:
- ❌ No agents, duplicate names, unnamed agents
⚠️ Missing roles, empty prompts, disconnected nodes
Saves to localStorage every 5 seconds. Manual save button available.
Add agents with the + エージェント追加 button. Drag them to arrange your hierarchy. Connect nodes by dragging from output ports to input ports.
Double-click any node to open the side panel. Set name, role, personality (becomes SOUL.md), model, tools profile, and initial memory (becomes MEMORY.md).
- Drag between nodes to create connections (default: authority)
- Click a connection line to cycle types: authority → communication → review
- Double-click a connection for detailed editing (type + label)
Click 📤 エクスポート to generate:
my-org/
├── config.json ← paste into openclaw config.apply
├── full-export.json ← backup with metadata
└── setup.sh ← creates agent workspaces:
├── agent-1/SOUL.md
├── agent-1/MEMORY.md
├── agent-2/SOUL.md
└── ...
# Run the setup script to create workspace files
chmod +x setup.sh && ./setup.sh
# Apply the config to your OpenClaw instance
# Replace REPLACE_WITH_* placeholders with actual Discord/channel IDs
openclaw config apply < config.jsonThat's it — your agents are live with the org structure you designed.
| Variable | Default | Description |
|---|---|---|
SITE_URL |
https://frexida.github.io |
Your site URL |
BASE_PATH |
/agentflow |
Base path (/ for root) |
Set SITE_URL to your actual domain when building behind nginx/Caddy.
| Layer | Tech |
|---|---|
| Framework | Astro (static output) |
| Editor | Drawflow |
| Layout | dagre |
| Data Model | MOISE+ Structural Specification (v1) |
Key source files:
src/pages/editor.astro— Main editor UIsrc/lib/types.ts— Agent/Link/Group/Organization typessrc/lib/export-openclaw.ts— Organization → OpenClaw config
v2 is a complete rewrite with cloud features:
cd v2
cp .env.example .env.local # Add your Supabase keys
npm install
npm run dev→ Open http://localhost:3000
NEXT_PUBLIC_SUPABASE_URL=https://your-project.supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY=your-anon-key
SUPABASE_SERVICE_ROLE_KEY=your-service-role-key # Server only- React Flow canvas with custom agent nodes
- Supabase Auth (Email + GitHub OAuth)
- Cloud save with Row Level Security
- Gateway integration (OpenClaw Protocol v3)
- Real-time chat with agents via Gateway
- Dark theme (OpenClaw red #e94560)
- ⌨️ Keyboard shortcuts — Ctrl+Z/Y (Undo/Redo), Ctrl+S (Save), Ctrl+D (Duplicate), Ctrl+A (Select All), Delete
- ↩️ Undo/Redo — 50-state history stack with toolbar buttons
- ⌘K Command palette — Fuzzy search commands + navigate to agents
- 💡 Onboarding tour — 4-step guided walkthrough for new users
- 📋 Quick start checklist — Progress tracker with auto-detection
- 🖼️ Export PNG/SVG/JSON — High-res image export for presentations
- 📜 Version history — Manual + auto-save (5min), restore any version
- Import repo, set Root Directory to
v2 - Add environment variables in Vercel dashboard
- Deploy
Issues and PRs welcome. See Issues for current tasks.
MIT

