<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Pankaj Garkoti]]></title><description><![CDATA[Pankaj Garkoti]]></description><link>https://pankajgarkoti.hashnode.dev</link><generator>RSS for Node</generator><lastBuildDate>Fri, 04 Dec 2026 22:50:57 GMT</lastBuildDate><atom:link href="https://pankajgarkoti.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[How my projects ended up at mAGI]]></title><description><![CDATA[mAGI is a Fedora/Hyprland setup where the main interface is one LLM agent in tmux. Looking back at the repos, most of what I built over the last four years…]]></description><link>https://pankajgarkoti.hashnode.dev/how-my-projects-ended-up-at-magi</link><guid isPermaLink="true">https://pankajgarkoti.hashnode.dev/how-my-projects-ended-up-at-magi</guid><category><![CDATA[AI]]></category><category><![CDATA[Linux]]></category><category><![CDATA[agents]]></category><category><![CDATA[tmux]]></category><dc:creator><![CDATA[Pankaj Garkoti]]></dc:creator><pubDate>Fri, 27 Nov 2026 09:29:47 GMT</pubDate><content:encoded><![CDATA[<p>mAGI is a Fedora/Hyprland setup where the main interface is one LLM agent in tmux. Looking back at the repos, most of what I built over the last four years points at it. This post goes through them in order.</p>
<h2>2022: a chatbot people talked to</h2>
<p>At Hear Us I built Joy, a conversational bot for wellbeing check-ins. It ran on Slack, then on WhatsApp: a state machine on top of Dialogflow, with Firestore for events and conversation memory. This was before ChatGPT. It was the first thing I built that people talked to instead of clicking through.</p>
<p>The same year I started keeping my [dotfiles](<a href="https://github.com/pankajgarkoti/dotfiles">https://github.com/pankajgarkoti/dotfiles</a>) on GitHub. Neovim and the terminal. Everything below lives there.</p>
<h2>2023: one assistant, many specialists</h2>
<p>At Mavex AI the product was Mavy, an executive assistant. The user talked to one thing; behind it a router sent each request to one of fourteen specialists: calendar, email, tasks, search and so on. Function calling was barely out, so the router was GPT-4 forced to return one of two JSON shapes: answer directly, or hand off. I wrote about it [here](<a href="https://pankajgarkoti.github.io/blog-ai-task-router">https://pankajgarkoti.github.io/blog-ai-task-router</a>). The search service behind it picked its retrieval cutoff by clustering similarity scores instead of using a fixed threshold ([post](<a href="https://pankajgarkoti.github.io/blog-adaptive-rag-cutoff">https://pankajgarkoti.github.io/blog-adaptive-rag-cutoff</a>)).</p>
<p>One assistant in front, specialists behind it. mAGI has the same shape.</p>
<h2>2024: agent loops and pipelines</h2>
<p>I pulled the agent loop out into [AgentZero](<a href="https://github.com/computer-reinvention/AgentZero">https://github.com/computer-reinvention/AgentZero</a>), a minimal tool-calling agent. Its README has a wishlist. Two items:</p>
<ul>
<li>long-running processes where working memory is summarised as execution goes on</li>
<li>- a status check on a long task without interrupting it</li>
</ul>
<p>Then [PlanWeaver](<a href="https://github.com/computer-reinvention/PlanWeaver">https://github.com/computer-reinvention/PlanWeaver</a>), a plan-and-execute agent, and [ChainFactory](<a href="https://github.com/computer-reinvention/ChainFactory">https://github.com/computer-reinvention/ChainFactory</a>): a small DSL for chaining LLM calls, with parallel steps and typed outputs, published on PyPI as chainfactory-py. The spec drafts are on this site.</p>
<h2>2025: notes, and LLMs on the side of the code</h2>
<p>[daily-notes.nvim](<a href="https://github.com/pankajgarkoti/daily-notes.nvim">https://github.com/pankajgarkoti/daily-notes.nvim</a>) is a daily notes plugin for Neovim: one file per day, year/month folders, headers carried over from the previous day. [doctr](<a href="https://github.com/pankajgarkoti/doctr">https://github.com/pankajgarkoti/doctr</a>) was a daemon that read git diffs and kept documentation in sync with an LLM.</p>
<p>Neither is an agent. Both are about not losing track of things, which is most of what mAGI's ledger and notes do now.</p>
<h2>2026: agents in tmux</h2>
<p>Most of the agent work is from this year.</p>
<ul>
<li><strong>January.</strong> [multiclaude](<a href="https://github.com/computer-reinvention/multiclaude">https://github.com/computer-reinvention/multiclaude</a>): several Claude Code instances working on features in parallel, each in a tmux window, coordinated by a supervisor. Plain Bash.</li>
<li><strong>March.</strong> [FlowPilot](<a href="https://github.com/computer-reinvention/flowpilot">https://github.com/computer-reinvention/flowpilot</a>): browser automation that explores a site once with an agent, compiles scripts to replay it without LLM calls, and hands the live browser to a human over CDP when it hits a login or a CAPTCHA.</li>
<li><strong>May.</strong> [trie](<a href="https://github.com/computer-reinvention/trie">https://github.com/computer-reinvention/trie</a>): an in-repo index of what each symbol does and why it changed, enforced at commit time and exposed to coding agents. [Soren](<a href="https://github.com/computer-reinvention/soren">https://github.com/computer-reinvention/soren</a>): a swarm of CLI agents, each in its own tmux window, with a shared mailbox, a router daemon, a health monitor and a journal. Its README says to keep your copy private because the memories and journals get personal.</li>
<li><strong>November 4.</strong> [bridge](<a href="https://github.com/pankajgarkoti/bridge">https://github.com/pankajgarkoti/bridge</a>): you talk to one Claude Code session, by voice or text, and it runs the other agents in tmux. Speech-to-text and spoken replies run locally.</li>
</ul>
<p>By bridge, the pieces were all there: one agent in front, workers in tmux windows, voice, a browser agents can drive. They were spread across repos and each needed setting up.</p>
<h2>mAGI</h2>
<p><a href="https://github.com/pankajgarkoti/magi">mAGI</a> puts them in one install. You log in and the orchestrator is already running in tmux. You speak or type to it. It starts other agents, operates the desktop through hyprctl, and asks you only for decisions.</p>
<p>Some parts map straight back:</p>
<ul>
<li>The event bus delivers events to the orchestrator only when it is idle and its input box is empty ([how it works](<a href="https://github.com/pankajgarkoti/magi/blob/main/docs/event-bus.md">https://github.com/pankajgarkoti/magi/blob/main/docs/event-bus.md</a>)). That's the AgentZero wishlist item about checking on a long task without interrupting it, from the other side.</li>
<li>- The agent browser is a Chromium with DevTools on a local port, shared between you and the agent. FlowPilot's CDP handoff, without the Docker.</li>
<li>- Probes in that browser can watch a messaging tab. The shipped example probe (off by default) is for WhatsApp, where Joy ran in 2022.</li>
<li>- Daily notes are written by you and by the agent ([0.3](<a href="https://pankajgarkoti.github.io/blog-magi-0-3-session-notes">https://pankajgarkoti.github.io/blog-magi-0-3-session-notes</a>)). daily-notes.nvim with a second author.</li>
<li>- Voice and the orchestrator come from bridge.</li>
</ul>
<p>The pattern I see: I keep building one thing to talk to, with other things doing the work behind it, and something that remembers what's still open. It moved from a chat app, to a product backend, to my own desktop.</p>
<h2>Timeline</h2>
<p>| When | Project | What it was |</p>
<p>|---|---|---|</p>
<p>| 2022 | Joy (Hear Us) | Wellbeing chatbot on Slack and WhatsApp, with conversation memory |</p>
<p>| 2022 | [dotfiles](<a href="https://github.com/pankajgarkoti/dotfiles">https://github.com/pankajgarkoti/dotfiles</a>) | Neovim and terminal config |</p>
<p>| 2023 | Mavy (Mavex AI) | One assistant, fourteen specialists behind a router |</p>
<p>| Jan 2024 | [AgentZero](<a href="https://github.com/computer-reinvention/AgentZero">https://github.com/computer-reinvention/AgentZero</a>) | Minimal tool-calling agent |</p>
<p>| Feb 2024 | [PlanWeaver](<a href="https://github.com/computer-reinvention/PlanWeaver">https://github.com/computer-reinvention/PlanWeaver</a>) | Plan-and-execute agent |</p>
<p>| Jul 2024 | [ChainFactory](<a href="https://github.com/computer-reinvention/ChainFactory">https://github.com/computer-reinvention/ChainFactory</a>) | DSL for LLM pipelines, on PyPI |</p>
<p>| Jun 2025 | [daily-notes.nvim](<a href="https://github.com/pankajgarkoti/daily-notes.nvim">https://github.com/pankajgarkoti/daily-notes.nvim</a>) | Daily notes in Neovim |</p>
<p>| Aug 2025 | [doctr](<a href="https://github.com/pankajgarkoti/doctr">https://github.com/pankajgarkoti/doctr</a>) | Docs daemon driven by git diffs |</p>
<p>| Jan 2026 | [multiclaude](<a href="https://github.com/computer-reinvention/multiclaude">https://github.com/computer-reinvention/multiclaude</a>) | Parallel Claude Code agents in tmux |</p>
<p>| Mar 2026 | [FlowPilot](<a href="https://github.com/computer-reinvention/flowpilot">https://github.com/computer-reinvention/flowpilot</a>) | Browser automation with human handoff over CDP |</p>
<p>| May 2026 | [trie](<a href="https://github.com/computer-reinvention/trie">https://github.com/computer-reinvention/trie</a>) | Index of meaning and intent for a codebase |</p>
<p>| May 2026 | [Soren](<a href="https://github.com/computer-reinvention/soren">https://github.com/computer-reinvention/soren</a>) | Agent swarm in tmux with mailbox and journal |</p>
<p>| Nov 2026 | [bridge](<a href="https://github.com/pankajgarkoti/bridge">https://github.com/pankajgarkoti/bridge</a>) | Talk to one Claude Code session; it runs the rest |</p>
<p>| Nov 2026 | [mAGI](<a href="https://github.com/pankajgarkoti/magi">https://github.com/pankajgarkoti/magi</a>) | A Fedora/Hyprland setup built around LLM agents |</p>
<p>mAGI is on GitHub at [pankajgarkoti/magi](<a href="https://github.com/pankajgarkoti/magi">https://github.com/pankajgarkoti/magi</a>); a star helps other people find it.</p>
]]></content:encoded></item></channel></rss>