---
title: "Discussion on \"How I Built an AI Agent That Detects Which PR Broke Production — Using Coral SQL + Gemini\" | Hashnode"
description: "Discussion on \"How I Built an AI Agent That Detects Which PR Broke Production — Using Coral SQL + Gemini\". A step-by-step guide to building First Mate: an open-source maintainer's assistant that triages GitHub issues, drafts release notes, and cross-joins GitHub PRs with Sentry errors to find root causes — all powered by Coral SQL."
url: "https://hashnode.com/posts/how-i-built-an-ai-agent-that-detects-which-pr-broke-production-using-coral-sql-gemini/6a1c1f1d99cfcad53bb32108"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How I Built an AI Agent That Detects Which PR Broke Production — Using Coral SQL + Gemini](https://marstech.hashnode.dev/how-i-built-an-ai-agent-that-detects-which-pr-broke-production-using-coral-sql-gemini?utm_source=hashnode&utm_medium=feed)

A step-by-step guide to building First Mate: an open-source maintainer's assistant that triages GitHub issues, drafts release notes, and cross-joins GitHub PRs with Sentry errors to find root causes — all powered by Coral SQL.

May 31 · 9 min read · marstech.hashnode.dev  
Read the article

-   [#coral](https://hashnode.com/tag/coral)
-   [#gemini](https://hashnode.com/tag/gemini)
-   [#gemini-integration](https://hashnode.com/tag/gemini-integration)
-   [#python](https://hashnode.com/tag/python)
-   [#streamlit](https://hashnode.com/tag/streamlit)
-   [#opensource](https://hashnode.com/tag/opensource)
-   [#hackathon](https://hashnode.com/tag/hackathon)
-   [#pirates-of-the-coral-bean](https://hashnode.com/tag/pirates-of-the-coral-bean)
-   [#sql](https://hashnode.com/tag/sql)
-   [#wemakedevs](https://hashnode.com/tag/wemakedevs)
-   [#wemakedevschallenge](https://hashnode.com/tag/wemakedevschallenge)

## Written by

[Mohit Raj Sinha](https://hashnode.com/@sinha858)

@sinha858 · Delhi,India

  
[View profile](https://hashnode.com/@sinha858)

University Student

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
