The LogRite Agent
Set it up once. It runs on its own.
Connect a repository once and the agent runs the whole loop for you: it scans every push, generates logs to your template, and raises a pull request you review and merge.
Agent Flow is the automated way to run LogRite's Code Logging engine, the hands-off counterpart to the guided Log Generation Flow. To govern the AI calls your code makes, see AI Warden.
Add missing logs to your template #247
logrite-agent wants to merge logrite/autofix into main
Logs added by file
An Autofix PR, not a pile of warnings
The agent scans each push, generates the missing logs to your template, and opens a pull request you review and merge. It never touches main on its own.
export async function charge(order) {
const res = await gateway.capture(order)
+ log.info('payment.captured', {+ orderId: order.id, amount: order.total,+ requestId: ctx.requestId, userId: ctx.userId,+ }) return res
}Set it up once
Four steps, then it disappears into the background.
Swipe for more →
On the first scan, coverage goes from 7% to 100%, and stays there as new code ships.
$ logrite scan ./src
Analyzing 248 files…
⚠ payments/charge.ts — 4 unlogged operations
⚠ auth/session.ts — 2 unlogged operations
✓ orders/create.ts — covered
Log coverage: 7% → 100% after autofix
$ logrite fix --open-pr
It re-scans changed code automatically
The agent watches your monitored branch, scans what changed, and proposes the missing logs, so new code lands fully logged instead of letting coverage decay.
It never touches main without review
Every change arrives as a pull request. Your branch, your merge, your call. The agent preserves the code-review culture your team already has.
Coverage stays at 100%
Every push to a monitored branch triggers a fresh scan. New code lands fully logged instead of letting coverage decay over time.
Compliant by default
Attach a compliance template, and the agent logs the events auditors need in audit-ready form. Sensitive data is masked before it ever reaches the log store.
From sign-in to first PR in under 5 minutes
Connect a repository and let the agent open your first pull request.