<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Marc Rodriguez</title>
    <description>The latest articles on DEV Community by Marc Rodriguez (@marcrdgz).</description>
    <link>https://dev.to/marcrdgz</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F755627%2F681fb441-1da3-47d4-9357-44e43f2e326c.jpeg</url>
      <title>DEV Community: Marc Rodriguez</title>
      <link>https://dev.to/marcrdgz</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/marcrdgz"/>
    <language>en</language>
    <item>
      <title>I'm building Kumo, a terminal multiplexer for the AI agent era</title>
      <dc:creator>Marc Rodriguez</dc:creator>
      <pubDate>Mon, 10 Aug 2026 20:38:06 +0000</pubDate>
      <link>https://dev.to/marcrdgz/im-building-kumo-a-terminal-multiplexer-for-the-ai-agent-era-383e</link>
      <guid>https://dev.to/marcrdgz/im-building-kumo-a-terminal-multiplexer-for-the-ai-agent-era-383e</guid>
      <description>&lt;p&gt;Hey! I've been building something in Rust these past few weeks and I wanted to share it. It's called &lt;strong&gt;Kumo&lt;/strong&gt; — that's 蜘蛛, &lt;em&gt;spider&lt;/em&gt; in Japanese — and it's a terminal multiplexer built around AI agents.&lt;/p&gt;

&lt;h2&gt;
  
  
  The problem I kept running into
&lt;/h2&gt;

&lt;p&gt;I work with AI agents a lot. &lt;code&gt;opencode&lt;/code&gt;, &lt;code&gt;claude&lt;/code&gt;, tried &lt;code&gt;qwen&lt;/code&gt;. I'd have a couple of them working on different parts of a problem, and there was no easy way to keep an eye on them all. Are they still running? Blocked waiting for my approval? Finished?&lt;/p&gt;

&lt;p&gt;I was switching between windows, squinting at terminals, losing track of who was doing what.&lt;/p&gt;

&lt;p&gt;So I built one.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why not just use what's out there?
&lt;/h2&gt;

&lt;p&gt;To be fair, the multiplexer space is in great shape right now. There's &lt;strong&gt;herdr&lt;/strong&gt;, &lt;strong&gt;cmux&lt;/strong&gt;, &lt;strong&gt;amux&lt;/strong&gt;, and friends, plus classics like tmux and zellij that people swear by. And then there's &lt;a href="https://www.superlogical.com/" rel="noopener noreferrer"&gt;superlogical&lt;/a&gt;, Mitchell Hashimoto's new company — the same Mitchell who made Ghostty. I'm a fan of their work.&lt;/p&gt;

&lt;p&gt;I've tried a bunch of these and they're all good at what they do. It's just that I never felt 100% at home with them — none of them gave me that &lt;em&gt;feeling&lt;/em&gt; I get from my own setup of &lt;strong&gt;Ghostty + tmux + LazyVim&lt;/strong&gt;. That combo just feels like &lt;em&gt;my&lt;/em&gt; terminal, you know? Warm, familiar, exactly where I want things to be.&lt;/p&gt;

&lt;p&gt;So Kumo wasn't born as a "better tmux." It started as an attempt to get that same familiar feeling, plus a couple of things I wished existed. A few design choices I ended up caring a lot about:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Usable like tmux, with an actual UI.&lt;/strong&gt; I wanted it usable as-is, right out of the box — but with a UI my dad could use without a man page. tmux is great; it's the learning curve that keeps people out. Good defaults that just work.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Not another app.&lt;/strong&gt; I didn't want a separate application — that's how you end up with a new window, a new thing to keep open. Kumo lives inside your terminal, which keeps it lightweight, makes it work anywhere (my dad, for example, programs on Windows), and means I can keep everything in my one simple terminal: Ghostty.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Completely configurable.&lt;/strong&gt; Kumo is open source, and just like that, I want it to belong to you — mold it however you like. It must be yours, not mine.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What Kumo does
&lt;/h2&gt;

&lt;p&gt;Quick primer: by "agents" I mean AI coding agents — the CLIs you run in a terminal, like &lt;code&gt;opencode&lt;/code&gt; or &lt;code&gt;claude&lt;/code&gt;, that edit files, run commands, and every so often &lt;em&gt;stop&lt;/em&gt; to ask permission before doing something. That's what "blocked" means here.&lt;/p&gt;

&lt;p&gt;The basics are all there: split panes, sessions, tabs, real text selection. But the heart of it is the &lt;strong&gt;sidebar&lt;/strong&gt;, which lists every running agent with its workspace and a status dot:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;🟢 &lt;strong&gt;working&lt;/strong&gt; — off doing its thing&lt;/li&gt;
&lt;li&gt;🟠 &lt;strong&gt;blocked&lt;/strong&gt; — waiting for your say-so&lt;/li&gt;
&lt;li&gt;⚪ &lt;strong&gt;idle&lt;/strong&gt; — done, or just sitting there&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;When an agent blocks or finishes, Kumo pings you with a sound — a distinct chime for each. Blocked agents float to the top and their pane glows orange, so you only get pulled in when you're actually needed.&lt;/p&gt;

&lt;h2&gt;
  
  
  The fun part: a real terminal emulator
&lt;/h2&gt;

&lt;p&gt;I didn't want to fake the terminal. Each pane is a genuine VT/xterm emulator powered by &lt;strong&gt;libghostty-vt&lt;/strong&gt; — Ghostty's headless terminal core, vendored and compiled at build time. Shells, TUIs, full-screen apps behave exactly like in a native terminal. With &lt;strong&gt;portable-pty&lt;/strong&gt; on the PTY side, drag-to-select works even inside apps that own the mouse, like opencode's own TUI or vim.&lt;/p&gt;

&lt;p&gt;It's one Rust binary, one TUI on &lt;strong&gt;ratatui&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  The mouse problem — a.k.a. my pain in the ass
&lt;/h2&gt;

&lt;p&gt;Here's the weirdest rabbit hole of the whole project — and honestly, the biggest pain in my ass. Real terminals have a quiet war going on over your mouse. Apps can enable something called &lt;strong&gt;mouse reporting&lt;/strong&gt; — when they do, they own the mouse. Drags are meant for &lt;em&gt;their&lt;/em&gt; text selection, not yours. It's why selecting text in &lt;code&gt;vim&lt;/code&gt; or &lt;code&gt;less&lt;/code&gt; feels different from selecting it in a plain shell.&lt;/p&gt;

&lt;p&gt;I wanted native selection everywhere: drag, select, copy on release, like a real terminal. So Kumo does both:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;When an app &lt;em&gt;doesn't&lt;/em&gt; report the mouse, drag-select is handled by Kumo itself using libghostty-vt's native selection.&lt;/li&gt;
&lt;li&gt;When an app &lt;em&gt;does&lt;/em&gt; take the mouse (opencode's TUI, vim, less), Kumo forwards the whole gesture — press, drags, release — so the app can do its own selection, exactly like it would in a real terminal.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;And the sneaky trick that makes it all work: panes present themselves as plain &lt;code&gt;xterm-256color&lt;/code&gt;, advertising &lt;strong&gt;no mouse capabilities&lt;/strong&gt; at all (a tiny custom responder). So apps don't hijack your mouse unless they really need it, and native selection just works.&lt;/p&gt;

&lt;p&gt;The bugs were fun too. Forwarded mouse events kept arriving with a trailing reset escape that apps would choke on — one character to fix, one afternoon to find. And selection was being read from a stale cached view instead of a fresh viewport snapshot, so the highlight wouldn't hug the text like a real terminal. Little things like that, but each one taught me something about how terminals actually think.&lt;/p&gt;

&lt;h2&gt;
  
  
  How this got built
&lt;/h2&gt;

&lt;p&gt;Honestly? A big chunk of this was vibe-coded — me describing what I wanted to DeepSeek V4 Flash and reading every line it produced as it went. But the real goal was never the product. It was learning:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Rust, properly.&lt;/strong&gt; Not a tutorial. A real binary with real lifetime and ownership problems, the kind you only hit when something has to actually work. I won't lie — I still don't fully understand Rust, and plenty of other things along the way. We're getting there, me and my buddy DeepSeek.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;What's inside a terminal.&lt;/strong&gt; I've lived in one every single day for years and never really knew how it worked. PTYs, ANSI escapes, scrollback, mouse modes, &lt;code&gt;SIGWINCH&lt;/code&gt; — building Kumo meant touching all of it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Feeling free with AI.&lt;/strong&gt; Before Kumo, I'd never gone beyond a simple CLI with Claude at work. This was the first time I really pushed it — actually building something real and complex, not just poking at it from the command line. That shift felt genuinely liberating.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That's the middle ground I've settled into: not trusting it blindly, not writing every byte by hand. Enough understanding to review, enough trust to let it write the first draft.&lt;/p&gt;

&lt;p&gt;But the main idea is done: a product I feel comfortable using every day, and a way to keep learning while I develop it. That's the whole point for me.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where it's at
&lt;/h2&gt;

&lt;p&gt;It's early days and very opinionated. Right now opencode and claude have full lifecycle detection; other agents are auto-detected but shown as idle. Keybindings are hard-coded (remapping is on the roadmap), and a detach/re-attach server is coming.&lt;/p&gt;

&lt;p&gt;If that sounds interesting, check out the repo at &lt;a href="https://github.com/marcrdgz/kumo" rel="noopener noreferrer"&gt;github.com/marcrdgz/kumo&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;I'm sharing this because building it has been genuinely fun, and I'd love for you to try it too.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>opensource</category>
      <category>terminal</category>
      <category>rust</category>
    </item>
  </channel>
</rss>
