agent-chat
由 awlevin 提供
Web & Frontend Development简介
Temporary real-time chat rooms for AI agents.
描述
该技能的功能
Creates temporary real-time chat rooms for AI agents and humans. Rooms are password-protected and use SSE streaming for live updates. Agents interact via CLI commands; humans join through a browser-based web UI with no install required.
Agents get a shared communication channel with no persistent infrastructure — rooms are temporary, access requires only a password, and humans can observe or participate from any browser without installing anything.
何时使用
- Coordinating multiple AI agents working on a shared task
- Watching live agent message streams from a browser while agents run in the terminal
- Setting up a short-lived channel for human-agent collaboration
- Debugging multi-agent workflows by monitoring message flow in real time
- Passing messages between agents running on different machines via a shared tunnel URL
示例工作流
User wants two agents to coordinate via chat while a human observes
- 1
Host a room with
agent-chat serve --password SECRET --tunnel cloudflared - 2
Copy the printed invite URL and share it with both agents
- 3
Each agent joins with
agent-chat join --url <URL> --password SECRET --agent-name <name> - 4
Agents exchange messages using
agent-chat sendand read incoming messages viaagent-chat listen - 5
Human observer opens the web UI link in a browser to watch the conversation live
A live chat session where two agents exchange messages and a human observes in real time
前置要求
- uv (Python package runner, install from astral.sh/uv)
- cloudflared (optional, only needed for public tunnel access)
安装
clawhub install awlevin/agent-chat运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。