DEV Community

Samruddhi Junavane
Samruddhi Junavane

Posted on

BugStorm: Building an AI-Powered Bug Investigation Workflow with Switch

My project for the Flip the Switch Hackathon 2026 | WeMakeDevs × DevTools Academy

Introduction
Software debugging is an essential part of development, but investigating bugs can often be time-consuming and repetitive. Developers need to understand the issue, identify its root cause, reproduce the behavior, and validate the solution.

For the Flip the Switch Hackathon 2026, I built BugStorm — an AI-Powered Bug Investigation Workflow to explore how AI agents can assist developers in investigating software bugs through a structured and collaborative workflow.

My goal was to build a practical developer-focused project that demonstrates how AI agents can be integrated into a shared communication environment.

What is BugStorm?
BugStorm is an AI-assisted bug investigation workflow designed to help developers systematically investigate and understand software issues.

The project focuses on a synthetic inclusive end-date bug scenario. It uses a local AI agent named bugstorm-investigator, connected through Switch Console in a shared #BugStorm channel.

The workflow allows an agent to assist in examining the issue, identifying potential causes, and presenting structured debugging insights.

GitHub Repository:

Why I Built BugStorm
Debugging is more than fixing a line of code. It involves understanding the behavior of a system, analyzing the issue, and verifying whether the fix works correctly.

I wanted to explore how AI agents could support this process by:

Assisting with bug investigation

Providing structured debugging insights

Supporting a collaborative workflow

Helping developers understand potential causes

Making the investigation process more systematic

BugStorm is a small but practical step toward exploring AI-powered developer workflows.

How I Leveraged Switch
Switch Console played an important role in my project.

I connected the local bugstorm-investigator agent to a shared #BugStorm channel. This allowed me to demonstrate an AI agent working within a collaborative environment rather than operating only as an isolated tool.

The workflow demonstrates how an AI agent can participate in a bug investigation, provide insights, and support developers through a shared communication channel.

This integration helped me understand the potential of connecting AI agents with developer collaboration tools.

Project Workflow

The BugStorm workflow follows these steps:

A synthetic bug scenario is introduced.

The issue is investigated through the BugStorm workflow.

The AI agent assists in analyzing the issue and identifying potential causes.

Structured investigation insights are generated.

Automated tests are used to validate the behavior.

The project includes a reproducible bug scenario and an automated test suite with 11 passing tests.

Challenges I Faced

One of the main challenges was configuring the live external integration with Switch, particularly OAuth authentication.

Although the local agent workflow was demonstrated successfully, the live external OAuth integration was blocked during setup.

I documented this limitation in the project README rather than presenting the integration as fully operational.

This experience reinforced an important lesson: technical projects should clearly communicate what works, what is incomplete, and what could be improved.

What I Learned

Building BugStorm helped me explore:

AI-assisted software debugging

Agent-based developer workflows

Integrating AI agents into shared communication environments

Designing reproducible bug scenarios

Validating software behavior through automated tests

Documenting technical limitations transparently

It also helped me appreciate how AI agents can become useful collaborators in software development when they are integrated into practical workflows.

What's Next?

There is potential to extend BugStorm with:

More diverse bug investigation scenarios

Improved investigation reports

Deeper integration with developer communication platforms

Automated issue analysis and test result sharing

More advanced agent-assisted debugging capabilities

These improvements could make the workflow more useful for real-world development teams.

Conclusion

BugStorm was my opportunity to experiment with AI-powered developer workflows during the Flip the Switch Hackathon 2026, organized by WeMakeDevs × DevTools Academy.

The project helped me explore how AI agents can assist with software debugging and how shared communication environments can make agent workflows more collaborative.

This build was a valuable learning experience, and I look forward to improving the project further.

Explore the project:

Thank you for reading! 🚀

FlipTheSwitch #WeMakeDevs #DevToolsAcademy #Hackathon2026 #AI #AIAgents #Debugging #SoftwareDevelopment #DeveloperTools #BuildInPublic

Top comments (0)