Skip to content

Lear takes the 3 AM work off your engineers

Lear is an AI engineer that stays on call for your team. When something breaks, it proposes a recovery plan and asks before it does anything risky. It runs inside your own infrastructure.

checkout /pay 5xxVerified14:12:00 · 0%
  1. 01 Observe
  2. 02 Diagnose
  3. 03 Plan
  4. 04 Approve
  5. 05 Act
  6. 06 Verify

Example incident, the same one the loop below walks through. Not a customer deployment.

At 3 AM, one failure turns into a chain of handoffs

The alert is in PagerDuty, the change is in GitHub, and the access belongs to someone who is asleep. Most of the night goes to finding context and permission before anyone can touch the fix.

That night took 68 minutes and two people to ship one rollback.

  1. PagerDuty

    Pages the on-call engineer. Checkout is failing.

  2. Grafana

    They find 502s on /pay and a full connection pool.

  3. GitHub Actions

    An evening deploy changed the pool size. Probably that.

  4. Kubernetes

    Rolling back needs cluster access. They wake the platform lead.

  5. Kubernetes

    The rollback runs. They watch dashboards until it holds.

  6. Bed

    The write-up waits for the morning, if it happens at all.

Illustrative timeline.

Lear runs the response as one controlled loop

Lear moves through six states, in the same order every time, inside your infrastructure. Here is the incident from the film: at 14:02 a deploy cut the payments connection pool from 20 to 2, and checkout started returning 502s.

Product film of this incident. Not a customer deployment.
/pay 5xx rate14:12:00

Observe

Lear looks before it touches anything

Lear checks health endpoints, operational signals and recent changes. Watching needs no write access.

Signals Lear read at 14:03
14:03:10GET /pay502 on 31% of requests
14:03:10payments-db pool2 of 2 in use, 148 waiting
14:02:41deploy checkouta91f3c2, merged #482
read-only Nothing has been changed

Diagnose

The 502s line up with one deploy

Lear lines the alert up against code and infrastructure changes in the same window, and shows you the evidence.

config/payments.yamla91f3c2

-  pool_size: 20
+  pool_size: 2
502s began 29 s after this deploy. No other change in the window.

Plan

The plan names exactly what changes

It says what changes, where, under which permission, and how Lear will tell whether it worked.

Roll back checkout to the 14:01 build

Scope
deployment/checkout in prod. Nothing else changes.
Tier
can change deployments
Check
/pay returns 200 for 5 minutes

Approve

Nothing runs until you approve it

This is the trust boundary. A person approves the exact plan you just read, or nothing happens.

Approved by you at 14:06

Roll back checkout to the 14:01 build

1 step · deployment/checkout · checks /pay after

Act

The rollback runs inside its permission tier

Lear runs the plan you approved and nothing else, using only the access you granted for it.

$ kubectl rollout undo deployment/checkout -n prod
deployment.apps/checkout rolled back
can change deployments in prod only

Verify

Then it checks the real service and writes it down

Lear probes checkout until the recovery holds for five minutes, then appends each step to the audit trail.

  • GET /pay 200, 41 ms median, 5 minutes clean
  • payments-db pool 20 of 20 available
Audit trail, append-only
14:06:02Plan approved by you
14:06:09Rollback applied
14:11:09Recovery verified

Example incident, shown for illustration. Not a customer deployment.

A real fix, recorded live

Inference was running at 1.7 tokens a second on a GPU the team pays for. Lear probed the machine and found that the driver worked but the app couldn't see the GPU.

Each fix went through a pull request and its own CI run, and a person approved every one. Lear wrote three of the four, which reached 55 to 65 tokens a second. An engineer wrote the fourth, and the same RTX A5000 now runs at 870.8.

Read-only until you approve a change

Each connector lists what Lear can read and what it can change. Lear starts with reads only, and every change waits for you to approve the exact plan. Credentials stay in your environment.

Connectors / UptimeRobot / Live URL Monitor

Reads
MonitorsUptimeResponse time
Can change
Create a monitorPause a monitorResume a monitorEvery change waits for your approval of the exact plan. Lear starts read-only and stays read-only until you approve one.
Measures
Response timeStatus codeUp / downUptime %
Credentials
Target URL or health endpointUptimeRobot API key (optional)Stored in your environment. Lear uses them where they live.
Polling
every 30s by default
Connector view from a local Lear 3.0.0 demonstration. No real provider account was connected.

13 connector implementations in the repository today. The CI and Kubernetes fix paths are live-verified.

Start with one service

  1. 1

    Pick one service that pages you. Lear works on that one first.

  2. 2

    Connect it read-only. Lear watches and explains, and changes nothing.

  3. 3

    When you want Lear to act, approve its plans one at a time.

  4. 4

    Every fix is verified and kept in an append-only audit trail.

A year for a 40-engineer US team, on the calculator's defaults

Engineer time back
$13,738127 hours
Lear's share, 15 to 20%
$2,061 to $2,748
If Lear saves nothing
$0

You keep

$10,990 to $11,677

The read-only trial is free. After that, Lear bills its share of the savings it measures in your environment, not of this estimate.

Estimate from the savings calculator's defaults. Not a quote or a customer result.