Show HN: Delegator – Stop juggling coding-agent sessions Developer Matt McCormick released Delegator, a source-available local CLI tool that queues scoped coding-agent tasks to reduce context-switching, with code available at github.com/alcubie/delegator. Delegator runs tasks as background processes in git worktrees for safety and stops accepting work once the ready queue hits a user-configured limit, targeting engineers who still want to review code changes rather than vibe-coding. McCormick said well-scoped agent tasks typically take 5-10 minutes and that he plans to expand the CLI into a GUI or desktop app. I wanted to share Delegator with the HN community. delegator gives you a personal inbox to manage your tasks that is completely local to your machine. Backstory: Like everyone else, I've been experimenting with different AI-assisted development workflows. I realized I was having difficulty with all the context switching between tasks. Asking agents to develop code ends up taking about 5-10 minutes usually for well-scoped tasks. At the beginning I would read the AI output as it went along and sometimes interrupt to guide it. But as LLMs have gotten better, there's less need to do that. So I would spin up another task during the latency and then another. I wrote a little bit about this previously here https://mattmccormick.ca/we-re-all-managers-now-my-journey-i... https://mattmccormick.ca/we-re-all-managers-now-my-journey-into-ai-assisted-development/ Jumping back and forth between terminals with the Agent being at different stages was mentally taxing. I experimented with some different options and ended up realizing that to avoid the drain of context-switching, what I really needed was a queue. Delegator works by putting all scoped tasks through the system. It stops when the ready queue has reached your configured limit. This is to prevent too much work from piling up waiting for review. It also presents the work from getting too far ahead in case any issues are found as part of development. I also realized that for most tasks, agents can be treated as a background process. You pass in the work to the process. It processes it and then gives you an output to review. All changes are made in git worktrees for safety. Who's it for? Delegator is for engineers who still want to understand the code and changes. It's not for vibe-coding or exploratory work. Don't get me wrong, I'll still spin up an agent session for brainstorming design options. But once I'm aligned on a direction, I'll then ask the agent to break down the work into "dg tickets". Since Delegator is a local program, agents can interact with it quickly and seamlessly. Right now it's just CLI based but I'm looking to expand this into a GUI/Desktop App so I would be interested in any feedback you have. Let me know if you have any questions and I'll respond. The code is source available so you can check it out at https://github.com/alcubie/delegator https://github.com/alcubie/delegator if you want to check anything. Comments URL: https://news.ycombinator.com/item?id=49981900 https://news.ycombinator.com/item?id=49981900 Points: 1 Comments: 1