Claudemux 是一个轻量级、依赖极少的消息总线,允许多个 Claude Code 会话通过 tmux 实时通信,一个会话可以询问另一个会话并自动获取答案,无需手动干预。

Stars

9

7 天增长

暂无数据

Fork 数

3

开放 Issue

0

开源协议

Apache-2.0

最近更新

2026-07-27

AI 仓库情报摘要
FR-AI / ANALYSIS

为什么值得关注

它解决了运行多个 Claude Code 会话的开发者的实际痛点,提供了一个自动化、安全且实时解析名称的点对点消息总线,支持跨机器通信,且依赖极少(bash、jq、tmux、inotifywait),代码库小巧可审计。

适合谁使用

  • 使用多个 Claude Code 会话处理不同项目的开发者
  • 希望自动化跨会话信息共享的工程师
  • 使用 tmux 终端复用工作流的用户
  • 对轻量级脚本化消息总线感兴趣的开发者

典型使用场景

  • 向另一个会话询问它刚设置的配置值(如端口号)
  • 向所有活跃的 Claude 会话广播通知
  • 向特定会话发送单向消息(无需等待回复)
  • 通过 SSH 跨机器查询另一个会话拥有的信息

项目优势

  • 真正的往返通信:中继可以唤醒空闲会话以获取答案,而不仅仅是留下消息
  • 实时名称解析:会话名称动态更新,重命名后立即生效
  • 自动清理:死会话会被自动删除
  • 安全设计:只向其他窗格输入固定控制字符串,防止注入攻击

使用前须知

  • 需要 Linux 和 tmux 才能自动唤醒;不在 tmux 中的会话只能使用手动(轮询)模式
  • 如果在用户正在输入时唤醒窗格,输入会追加到当前行
  • 消息以本地明文文件存储,没有加密——不应发送机密信息

README 快速开始

Usage

项目描述

Real-time message bus for Claude Code sessions — one session asks another, the peer wakes on its own and answers, and the reply lands back in the asking pane. Bash + tmux.

相关仓库与替代方案

根据分类、Topic 和编程语言匹配的相似项目。

0xwilliamortiz
精选
0xwilliamortiz GitHub avatar

openclaude-improved

OpenClaude is an open-source CLI coding agent that runs on any platform and supports a wide range of LLM providers, offering the same tools and workflows as Claude Code.

AI 与机器学习大语言模型
577
mereyabdenbekuly-ctrl
精选
mereyabdenbekuly-ctrl GitHub avatar

clodex-ide

Clodex is an open-source, local-first agentic IDE that combines persistent AI tasks, code, terminal, browser, Git, models, memory, and governed execution in one Electron workspace, currently in technical preview.

AI 与机器学习AI 智能体
859
jamesob
精选
jamesob GitHub avatar

local-llm

A comprehensive guide for building and configuring a high-end local machine to run state-of-the-art LLMs, with detailed hardware choices, BIOS tuning, and Docker-based model serving.

AI 与机器学习大语言模型
1,660