DEV Community

RMS
RMS

Posted on

From Idea to Reality: Building an AI Mediation Platform with Kiro

Hackathons are all about turning a great idea into a functional prototype in a short amount of time. For our latest project, we tackled a unique challenge: creating an AI-powered mediation platform. We call our project AI-Mediate, a website designed to provide legal guidance and facilitate conflict resolution for both individuals and professional mediators.

Our concept for AI-Mediate is built on a simple yet powerful premise: to make legal and mediation services more accessible. The platform allows users to sign up as either a client or a mediator. Upon registration, users are directed to a personalized dashboard.

Here's how it all works:

The AI-Mediate User Journey
Legal Guidance: On the dashboard, a user can select "Legal Guidance." They describe their legal situation to our AI assistant, which then provides a clear, step-by-step guide on what actions they should take and what documents they'll need. This is meant to be a helpful starting point, not a replacement for a professional.

The Mediation Process: When a user is ready to proceed, they have two options: a human mediator or an AI mediator.

Human-led Mediation: In this mode, two clients and a human mediator can have a conversation in a shared chat space. The AI's role here is to act as an intelligent assistant. At the end of the discussion, it summarizes the key points of the agreement. If a resolution is reached, the AI generates a PDF with the signed solution. If not, the chat is simply closed with a thank you message.

AI-led Mediation: If the parties choose the AI mediator, the system becomes an active participant. It not only summarizes each person's arguments but also offers neutral suggestions to help break stalemates and move the conversation toward a resolution. This is where the AI truly shines, using its processing power to find common ground.

Connecting People: The platform also includes features for managing mediation requests and ongoing cases. A client can send a mediation request to a specific human mediator, and all parties must be signed up on the site to participate. All past legal consultations are saved under "Ongoing Cases," providing a useful record for the user. A "Requests" section displays incoming requests from others, whether they're asking for mediation or for you to be their mediator.

How Kiro Accelerated Our Development
Building a complex, multi-functional platform like AI-Mediate in a short hackathon window would have been impossible without the right tools. We used Kiro, an AI IDE (Integrated Development Environment) that fundamentally changed our workflow.

Unlike a simple code completion tool, Kiro acts as a goal-oriented developer. Instead of us writing code line by line, we simply gave Kiro a high-level prompt describing what we wanted to build. For instance, we could tell it to "create a sign-up and login flow that stores user data in Supabase and sends a confirmation email." Kiro then broke that single command into a series of sub-tasks, and translated them into the necessary code.

This agentic approach allowed us to:

Focus on the Vision: We spent our time designing the user experience and defining the business logic instead of getting bogged down in boilerplate code.

Move at Lightning Speed: Kiro's ability to handle complex, multi-file tasks meant we could build entire features in a fraction of the time it would have taken to do manually. The login flow, dashboard, and core mediation chat features were all scaffolded and built with Kiro's assistance.

Ensure Cohesion: Kiro's structured, spec-driven development style ensured that our frontend, backend, and database integrations (with Supabase) were all aligned, reducing errors and saving precious debugging time.

In the end, Kiro was more than just a tool; it was an integral part of our team, acting as a junior developer that understood our goals and helped us bring the vision for AI-Mediate to life. This project wouldn't have been a success without the power of AI-assisted development.

Top comments (1)

Collapse
 
khatixer profile image
Kshitiz Goyal

Amazing