Urgent.News

What's breaking now, across thousands of outlets.

AI

How I Put Three AI Agents in a Discord Channel with Switch (and What Broke on Windows)

I built ShipLoop for the Flip the Switch hackathon. It takes a customer complaint in Discord to a tested GitHub pull request, and a human makes the merge decision. This post covers what I built, how to set it up, and the problems I hit as a first-time Switch user on Windows. Demo video: https://youtu.be/ueEJwIVH1A4 Repo: https://github.com/Jatin083/shiploop The problem Customer bug reports often…

ShipLoop, a project developed for the Flip the Switch hackathon, links customer complaints in Discord to GitHub pull requests, with a human making the final merge decision. This account explains how to set up the project and the challenges faced when running Switch on Windows.

The process involves three AI agents—Triager, Fixer, and Reviewer—working together in a Discord channel. Triager classifies the issue and hands it off to Fixer, which reproduces the bug, writes a failing test, makes the fix, and opens a pull request. Reviewer checks the pull request with its own edge-case tests. Once merged on GitHub, Triager reports the elapsed time and drafts a customer update for approval.

Switch is a tool that places AI agents in team chat, allowing them to function like teammates without the tool shipping its own agent or model. To set up ShipLoop, install the necessary tools, including Switch Console, Docker Desktop, and an AI coding agent like Claude Code. Start Docker, then use Switch Console to add a server and run it on the computer.

Test one agent using the Switch expert template and create additional agents by specifying their names, working directories, and instructions. Connect Discord by creating a bot in the Discord Developer Portal, granting it the required permissions, and inviting it to the server. Add room rules to control the workflow, such as limiting merges to humans and requiring approval before sending updates to customers.

Issues encountered during setup included the Claude Code CLI not being installed and port conflicts within Windows. Fixing these issues required reinstalling Switch Console and managing Windows port reservations by stopping and restarting the Windows NAT service. Additionally, connecting agents to multiple rooms caused communication problems, which were resolved by moving all agents into a single room. Another issue was the bot lacking the Manage Webhooks permission, which was addressed by granting it accordingly.

In summary, ShipLoop successfully merged two pull requests using the three AI agents, with a total run time of 6 minutes and 59 seconds. The project demonstrated that starting with one agent and one channel is advisable, followed by gradually adding more agents and rooms.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in AI

Do I Need My Own App Instead of Paying a Platform?

Do I Need My Own App Instead of Paying a Platform? Do I need my own app for my shop instead of paying a platform on every sale?

  • Platform fees tripled from $49.99 to $149.99 monthly
  • Monthly fees, sales cut, and card fees total ~$310/month
  • Consider simpler solutions like a deals tab on own website

How I audit AI-written code — and the bug that proved why

I build most of my software as an AI-augmented solo developer. I write the spec, I own the architecture, and I drive Claude Code and Cursor through the implementation.

  • AI-augmented developer verifies product, not model output
  • AndroidManifest.xml missing android.permission.INTERNET line
  • AI-augmented work requires heightened verification responsibility

More from Saturday 7 November →