# Your codebase gets better with every run

Avrea's AI fixes broken builds, improves test coverage, and upgrades dependencies. Every change is a PR your team reviews and approves.

A misty mountain lake at dusk, reflected in still water

Avrea AI
Beta

Avrea AI finds and fixes problems in your code and CI, from failing tests and slow builds to outdated dependencies. Each change runs through your test suite before arriving as a pull request for review.

[Request access](https://avrea.com/request-access/ai)

Recent pull requests

- Fixed: lodash 4.17.20 vulnerability
Upgraded to 4.17.21, all tests passing
Ready for review
- Fixed: test_user_auth failing on main
Mock was stale after schema migration
PR#847
- Upgrade: pip → uv
Build and tests pass with uv.
PR#851
- Fixed: Docker cache misses
Reordered the Dockerfile to reuse dependency layers.
PR#853

## Fix failures and speed up builds

Avrea diagnoses failed runs and slow jobs, then makes and tests the fixes.

tests/test_user_auth.py

- mock_user = User(id=1, role="admin")

+ mock_user = User(id=1, role="admin", org_id="org-1")

response = client.post("/login", json=mock_user.dict())

assert response.status_code == 200

+ assert response.json()["org_id"] == "org-1"

### Failing test auto-fix

Avrea reads the logs, diff, and test history from your failing runs. It classifies what broke (regression, flake, environment drift, dependency mismatch) and writes the fix.

- Cut time to fix broken builds

- Separate real regressions from flakes automatically

- Debug from inside the live runner, with SSH access

Applied 3 pipeline improvements

- Routed uv sync through the colocated PyPI mirror to **reuse cached packages**
- Reordered Dockerfile COPYs to **preserve dependency layers**
- Adjusted runner size to **match job resource usage**

### Pipeline optimization

Avrea watches how your pipelines run and how they're configured. It surfaces slow jobs, cache misses, oversized runners, Dockerfile inefficiencies, and leaked secrets, with a proposed change for each.

- Faster builds through better caching and workflow configuration

- Lower CI spend through right-sized compute

- Catch risky workflow patterns before they ship

## A stack that stays current

Avrea upgrades dependencies and developer tools, with each change tested in your build.

### Dependency upgrades

Avrea scans your dependency tree and tests every upgrade on your actual build. Routine version bumps are batched. A risky upgrade comes with the reasoning behind it. Security advisories go before routine bumps.

- Stay on current versions without manual triage

- Catch breaking changes before they hit main

- Fix vulnerable dependencies with tested upgrades

fix: upgrade lodash to 4.17.21

passing

- Security vulnerability patched.
- No breaking changes detected.
- Test suite passes.

- package.json
- package-lock.json

### Modern tooling

Avrea detects outdated build systems, test runners, and developer tooling. Safe swaps are handled end-to-end. Ambiguous ones are flagged with context so your team can decide.

- Faster local and CI builds with modern tools

- Migration work handled for you when safe

- Covers build systems, test runners, and dev tooling

- pipuv
- flake8ruff
- prettierbiome
- webpackvite

## See what's at risk in your code

Know which code paths carry real risk, and keep your documentation in sync with what ships.

- api/
87%
- services/
72%+12%
- utils/
41%+17%

coverage after Avrea-generated tests

### Risk-weighted coverage

Avrea combines test coverage with git change frequency to surface the code paths most likely to break. Risk is weighted by usage, churn, and complexity.

- Pinpoint files that change often and lack tests

- Prioritize tests that prevent real regressions

- Get test suggestions for the highest-risk paths

README.md

Setup:

npm install && npm run dev

+ Run `bun install` then `bun dev` (migrated in PR #812)

Lint:

npx eslint .

+ Run `bun lint` (uses biome since PR #834)

### Documentation sync

Avrea watches your READMEs, contributing guides, and architecture notes against the live code. When documentation falls out of sync, Avrea opens a pull request with the update.

- Keep onboarding docs accurate as code changes

- Prevent stale READMEs and architecture diagrams

- Updates arrive alongside the code they describe

## Every suggestion runs before it reaches you

Each change runs through your full test suite. Passing changes arrive as pull requests for review.

- ### Runs on fast Avrea runners
Same infrastructure as your CI.

- ### Full test suite runs
Your entire suite validates the fix.

- ### Honors your agent configuration
Reads your CLAUDE.md, .cursorrules, and project conventions. Works alongside Copilot, Cursor, and Claude Code.

- ### Human reviews every PR
AI never pushes to main. You always have the final say.

1. 1
Analyze test failure
waitingrunningdone
2. 2
Generate fix
waitingrunningdone
3. 3
Provision Avrea runner
waitingrunningdone
4. 4
Run test suite
waitingrunningdone
5. 5
Open PR if passing
waitingrunningdone

## Get early access to Avrea AI

[Request access](https://avrea.com/request-access/ai)
