Show HN: Teemux – Zero-config log multiplexer with built-in MCP server

Posted by gajus 19 hours ago

Counter10Comment7OpenOriginal

I started to use AI agents for coding and quickly ran into a frustrating limitation – there is no easy way to share my development environment logs with AI agents. So that's what is Teemux. A simple CLI program that aggregates logs, makes them available to you as a developer (in a pretty UI), and makes them available to your AI coding agents using MCP.

There is one implementation detail that I geek out about:

It is zero config and has built-in leader nomination for running the web server and MCP server. When you start one `teemux` instance, it starts web server, .. when you start second and third instances, they join the first server and start merging logs. If you were to kill the first instance, a new leader is nominated. This design allows to seamless add/remove nodes that share logs (a process that historically would have taken a central log aggregator).

A super quick demo:

npx teemux -- curl -N https://teemux.com/random-logs

Comments

Comment by jelder 15 hours ago

Couldn't coding agents just run `tail -f *`?

Comment by gajus 15 hours ago

That would require restarting your services to redirect their output. Fine for one-off scripts, but impractical when you have long-running processes and don't want to restart them every time an agent needs to read logs.

With teemux, a persistent MCP server gives multiple AI agents access to logs as needed—without interrupting your development flow.

Comment by nurettin 3 hours ago

OK, but it isn't like agents react to flowing logs, they just connect to whatever server and query the past 5 minutes or 2 hours on demand depending on the debugging task at hand without mixing contexts together.

Comment by zareith 15 hours ago

Cool utility. Horrendous name.

Comment by gajus 15 hours ago

lowkey thought it is a genius name

tee (Unix command that splits output) + mux (multiplexer) = teemux

Comment by cap11235 15 hours ago

Pronounced tmux. That's a thing. A very related thing. A very well-known thing. It's a bad name. I do like the concept though (haven't tried using it yet).

Comment by gajus 15 hours ago

Fair point

Comment by 19 hours ago