Skip to content

jihchi/muxclaw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

muxclaw

Multiplexes messaging channels to AI agents through a single CLI and a file-based job queue. Nothing else required.

Screencast

ingress                         egress
┌──────────────┐               ┌───────────────┐
│ channel →    │               │   → channel   │
│ save message │    nq queue   │ watch for     │
│ + attachments│──────────→────│ completed     │
│ enqueue job  │               │ jobs, reply   │
└──────────────┘               └───────────────┘
                    ↕
            nq → dispatch
            (reads prompt.txt,
             runs coding agent)

Quick Start

Requires Deno (v2+), nq, and a coding agent (Pi).

Create a Telegram bot and grab the bot token, then create ~/.config/muxclaw/config.json:

{
	"channels": {
		"telegram": {
			"token": "bot123:ABC..."
		}
	},
	"allowedUsers": [
		{ "userId": "12345" }
	],
	"workspace": "/path/to/your/project",
	"agent": {
		"name": "pi",
		"stream": true
	}
}

Then, in two terminals:

deno task cli ingress   # receive messages, enqueue jobs
deno task cli egress    # watch for results, send replies

Docker

docker run -it --rm \
  -v ~/.config/muxclaw:/home/deno/.config/muxclaw \
  -v $(pwd)/workspace:/workspace \
  ghcr.io/jihchi/muxclaw

License

Licensed under either of

at your option.

About

AI assistant multiplexer that connects messaging channels to coding agents via simple file-based job queue.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors