Showcase site · Recorded runs from a staged demoWatch recorded runs ↗Built byPravin Gadekar ↗

A PORTFOLIO PROJECT · GOOGLE CLOUD

Beagle is an AI assistant that investigates software outages. A person approves every change it makes.

Outages are deliberately staged in a small demo online store. Pravin Gadekar designed and built the whole project on Google Cloud.

ONE REAL RUN · RECORDED 2026-10-08 · STAGING

Follow one outage from alert to recovery.

Step 1 of 5
  1. The replay app's run header: the storefront-api 5xx alert, cart and checkout requests returning 503 with a database pool timeout
    Run header: the alert that started it
  2. The replay app's pipeline: log, code, change and history analysts, each done, feeding gather findings and the draft diagnosis
    Pipeline: four analysts in parallel
  3. The replay app's timeline: draft diagnosis, review diagnosis, gather more evidence, revise diagnosis, re-review and safety checks
    Timeline: review, revise, re-review, safety checks
  4. The replay app's audit trail: the run started, approval was requested for a digest (plan fingerprint), a person approved that digest, and the run finished
    Audit trail: approval linked to a digest (plan fingerprint)
  5. The replay app's outcome card: approved, mitigation set_pool_limit size 20, recovered, pull request 11 open, CI passed
    Outcome card: what happened after the approval
replay.beagle.pravingadekar.com/runs/6685d083 · Runscreenshot
The replay app's run header: the storefront-api 5xx alert, cart and checkout requests returning 503 with a database pool timeout
Run header: the alert that started it
replay.beagle.pravingadekar.com/runs/6685d083 · Runscreenshot
The replay app's pipeline: log, code, change and history analysts, each done, feeding gather findings and the draft diagnosis
Pipeline: four analysts in parallel
replay.beagle.pravingadekar.com/runs/6685d083 · Auditscreenshot
The replay app's timeline: draft diagnosis, review diagnosis, gather more evidence, revise diagnosis, re-review and safety checks
Timeline: review, revise, re-review, safety checks
replay.beagle.pravingadekar.com/runs/6685d083 · Auditscreenshot
The replay app's audit trail: the run started, approval was requested for a digest (plan fingerprint), a person approved that digest, and the run finished
Audit trail: approval linked to a digest (plan fingerprint)
replay.beagle.pravingadekar.com/runs/6685d083 · Auditscreenshot
The replay app's outcome card: approved, mitigation set_pool_limit size 20, recovered, pull request 11 open, CI passed
Outcome card: what happened after the approval

HOW IT WORKS INSIDE

What happens between the alert and the recovery.

Read the full design →
ILLUSTRATIVE SEQUENCE01 / 05
From a failing online checkout to a reviewed response.
AlertEvidenceAI investigatesSecond agent checksEngineer approvesRecovercheckoutstorefront-apirequests failingalert closedlogsCloud Loggingsource codeGitHubrecent changesGitHub · Cloud RunrunbooksAlloyDBAI investigationtriage-api · ADKcause: connection leakcriticthen validationrevised · checks passengineer approvaltriage-webevidence · risk · rollbackapprovedNo changes before this gateapproved reliefaction-runnerrecovery checkedfix pull requestaction-runnerCI + separate reviewNo automatic merge or deploy
AlertEvidenceAI investigatesA second agent checksEngineer approvesRecovercheckoutstorefront-apirequests failingalert closedlogsCloud Loggingsource codeGitHubrecent changesGitHub · Cloud RunrunbooksAlloyDBAI investigationtriage-api · ADKcause: connection leakcriticthen validationrevised · checks passengineer approvaltriage-webevidence · risk · rollbackapprovedNo changes before this gateapproved reliefaction-runnerrecovery checkedfix pull requestaction-runnerCI + separate reviewNo automatic merge or deploy
MONITORING · CLOUD MONITORING + PUB/SUB

Customers cannot complete checkout.

Beagle Incident Triage receives the alert and starts gathering evidence. An alert alone does not authorise a change.

EXAMPLE · ONLINE STORE

Checkout waits for database connections

Cloud Monitoring detects failed requests

An authenticated alert starts the investigation

AI INVESTIGATORS · GOOGLE ADK

Find why database connections are running out.

AI agents examine logs, source code, recent changes and reviewed runbooks (response guides). A synthesizer combines their findings and proposes a cause and response.

FROM CLUES TO A PROPOSED CAUSE

Logs show connection timeouts

Code and recent changes are compared

Past incidents and runbooks are searched

SECOND AGENT · CRITIC AND VALIDATION

A second agent challenges the diagnosis.

A critic agent questions the diagnosis and can request more evidence. Unresolved objections stop the investigation. Code then checks the proposed plan before a person reviews it.

BEFORE A PERSON SEES IT

The critic asks for missing evidence

The diagnosis is revised if needed

Code checks the plan against allowed actions

ON-CALL ENGINEER · HUMAN REVIEW

An engineer reviews the proposed change.

The engineer reviews the evidence and response before any change. A digest (content fingerprint) links approval to the exact plan. Code checks that execution matches it.

WHAT THE ENGINEER SEES

Temporary relief and how to undo it

A proposed code fix with supporting citations

Risks, approval expiry and the exact plan

SEPARATE EXECUTION SERVICE · HEALTH CHECK

Restore checkout, then review the lasting fix.

A separate service applies the approved temporary change and records whether service recovers. It never merges or deploys the code fix; engineers review that pull request separately.

RELIEF NOW · CODE REVIEW NEXT

Apply the approved temporary change that can be undone

Check whether checkout recovered

Open a fix pull request for automated checks and engineering review

Steps appear in order. Evidence, review and outcomes remain visible.

Evidence / agent workWaiting for a personFailingRecovered

WATCH IT FOR REAL

The same run, in the real app.

Start here6685d083 · 2026-10-08 · 6m 38srecorded on staging

storefront-api 5xx alert: cart and checkout requests return 503 and the logs show “database pool timeout”.

  1. Demo outage
  2. Agents investigate
  3. Action proposed
  4. ✓ Approved by a reviewer

Watch this run ↗Opens the read-only replay app. Viewing cannot trigger any action.

WHY YOU CAN TRUST IT

The AI proposes. People and code decide.

01

A person approves the exact change

A content fingerprint identifies the exact plan. Each action must match what was approved, or that action does not run.

How it works →
02

The AI holds no write keys

The service that talks to AI models has no GitHub write or mitigation credentials. A separate service makes approved changes.

What the AI can't change →
03

Everything is recorded

Evidence, model calls, approvals and outcomes are kept, so every run can be replayed and audited.

Watch a recorded run →

THE DESIGN

Five decisions, two minutes each.

Each page answers one question with a diagram, the tradeoff and a recorded result.

  1. 01How it worksHow does an alert become a reviewed plan?
  2. 02What the AI can't changeWhy can't the AI change the store or the code by itself?
  3. 03Surviving failuresWhat happens if a worker dies mid-investigation?
  4. 04Knowledge and memoryHow do agents find the right past incident?
  5. 05Running on Google CloudWhy these services, and what would change in production?

Designed and built by Pravin Gadekar

One person built the agents, demo store, replay app and this site on Google Cloud.