How Hud works
Hud brings runtime context to every change, for you and your coding agents, from PR to fully deployed. It reads production from its own Sensor, from the observability stack you already run, or from both. Hud's Sensor learns how your backend service code normally behaves, function by function.
Your observability stack alone is enough to check PRs before the merge. Watching the rollout and capturing forensics need the Sensor.
What the Sensor captures
The Sensor sends metrics all the time. They contain no personal data.
- Every function in your code: how often it runs, how long it takes and which exceptions escape it.
- The call graph: what calls each function and what it calls, built without tracing.
- Entry points: HTTP routes, GraphQL operations, gRPC calls, queue consumers and WebSockets, with their durations.
- Calls out of your code, such as to databases and HTTP services.
- The environment: CPU and memory, the pod and node, the runtime and the deployment ID.
When a request fails or runs much slower than usual, the Sensor also captures forensics. They're scrubbed inside your service before they're sent.
- The call graph, and the exception with its message and stack trace, even when your code caught it.
- The request's route, method, status and parameters.
- For supported libraries, the database queries and HTTP calls it made.
- The machine's CPU and memory at that moment.
- Trace IDs from your APM, so you can jump between tools.
PII scrubbing and data collection lists what's collected by default and how to change it.
While you write: your agent sees production
Over Hud MCP, your coding agent can pull runtime context while it plans and writes a change: which functions carry the traffic, what calls them and how they perform. Hudders show the same context right above each function in your editor.
Before the merge: the Merge Gateway checks the PR
The diff shows what changed. Hud shows what it will touch in production: which endpoints and functions, how much traffic they carry and what calls them.
The Merge Gateway checks each PR against your policy, in two steps:
- Your GitHub checks: the AI reviewers you already run, such as CodeRabbit or BugBot, your CI and your critical-code rules.
- Hud's production reviewer: how the change affects your critical flows, the load on each service, latency where it matters, and whether a revert undoes it.
Each PR then lands in one of two lanes:
- Fast Track: every rule passes and production risk is low. Someone can approve it in one click.
- Manual review: a rule stopped it. The PR comes with the reason and an impact map, from the endpoint to the changed code to what it calls. By default, changes that are hard to undo, such as schema migrations, always land here.
Hud posts its decision as a comment on the PR. By default, that's all it does: a person approves and merges. If your team turns them on, Hud can approve fast-tracked PRs, or approve and merge them. Without production data, every PR goes to manual review.
As it takes traffic: Agentic Rollout watches the new version
Agentic Rollout needs Hud's Sensor; it doesn't run on your observability stack alone. Deployment monitoring compares the new version with earlier versions, for example the error rate and latency of the code that changed. It also flags new kinds of exceptions, even ones your code catches. If the new version performs worse, Hud names the PR that most likely caused it and recommends whether to roll back.
It watches each new deployment, including ones whose PRs were fast-tracked. Its webhook tells your deploy pipeline when Hud recommends a rollback, so your CD can roll back automatically or after a person approves.
When a change regresses: Hud provides the evidence
The Sensor has already captured the forensics: the call graph, the request's URI and parameters, and, for errors, the exception with its stack trace.
- Start Auto Remediation from the issue. An agent finds the root cause, checks it against the evidence, writes the fix and opens a PR.
- Or use Prompt to Fix to hand the issue to your own coding agent over Hud MCP.
- The fix goes through the same PR check as any other change.
Between rollouts
Hud also flags slowdowns over time and breaches of the SLO rules you set.
Updated 11 days ago

