mirror of
https://github.com/crabwise-ai/crabwalk.git
synced 2026-08-14 00:57:52 +00:00
54a0a233595ea4068ff9ed5263ef27c69aacded0
- Added support for lifecycle events in the agentEventToAction function, distinguishing between 'start' and 'end' phases. - Updated sessionKey handling to prioritize the event's sessionKey over the stream. - Implemented filtering to skip system events and assistant streams in parseEventFrame, focusing on lifecycle events for session management. - Introduced session status updates based on event phases, improving session tracking.
🦀 Crabwalk
Real-time companion monitor for Clawdbot agents by @luccasveg.
Watch your AI agents work across WhatsApp, Telegram, Discord, and Slack in a live node graph. See thinking states, tool calls, and response chains as they happen.
Features
- Live activity graph - ReactFlow visualization of agent sessions and action chains
- Multi-platform - Monitor agents across all messaging platforms simultaneously
- Real-time streaming - WebSocket connection to clawdbot gateway
- Action tracing - Expand nodes to inspect tool args and payloads
- Session filtering - Filter by platform, search by recipient
Getting Started
npm install
npm run dev
Open http://localhost:3000/monitor (or http://<server-ip>:3000/monitor for remote access)
Requires clawdbot gateway running on the same machine.
Config
Token is in ~/.clawdbot/clawdbot.json
# Option 1: command line
CLAWDBOT_API_TOKEN=your-token npm run dev
# Option 2: env file
echo "CLAWDBOT_API_TOKEN=your-token" > .env.local
npm run dev
Stack
TanStack Start, ReactFlow, Framer Motion, tRPC, TanStack DB
Languages
TypeScript
94.4%
CSS
3.3%
Shell
2.2%
Dockerfile
0.1%