Loading video...

Video Failed to Load

Go Home

Some engineering tasks require reasoning across the codebase: Which code is safe to delete? What queries are slowing performance? Introducing Code Scans: codebase-wide audits for any goal. Devin investigates, reports findings, and opens the PRs. Powered by Agentic MapReduce.

200,300 views • 1 month ago •via X (Twitter)

37 Comments

Cognition's profile picture
Cognition1 month ago

We asked Devin to speed up compilation in the @dioxuslabs repo. Devin analyzed thousands of files and applied changes to reduce the debug build time from 58.6s to 21.0s – a 64% reduction across 22 workspace crates tested.

Cognition's profile picture
Cognition1 month ago

What you can scan for: ▪️ Slow paths and N+1 queries ▪️ Untested flows and edge cases ▪️ Dead code and stale feature flags ▪️ Accessibility against your WCAG criteria ▪️ Your team's own coding standards

Cognition's profile picture
Cognition1 month ago

Scans work best with a clear goal. Devin helps you scope what to inspect, what to skip, and what counts as a finding before it starts. Type /scan in Devin to try it.

Cognition's profile picture
Cognition1 month ago

Read more about how Code Scans work:

Jared Zoneraich's profile picture
Jared Zoneraich1 month ago

“just throw agents at it” actually is a totally reasonable solution now

rayhan khilji's profile picture
rayhan khilji1 month ago

What's going on w. Devin?? I'm on the 200$ plan.

Hybrid 🏃🏾's profile picture
Hybrid 🏃🏾1 month ago

We need to check the kitchen because all this cooking, something has to be on fire right now😭😭

Julian Goldie SEO's profile picture
Julian Goldie SEO1 month ago

can it scan really massive codebases?

Darshan Dhande's profile picture
Darshan Dhande1 month ago

Please bring it to the CLI!

MISSANTHROP\C's profile picture
MISSANTHROP\C1 month ago

SWE-2 on two occasions now decided to not only wipe my last PR but my entire backup folder in another directory as it decided it was 'stale code.' Practice what you preach.

Farhan Ahmed's profile picture
Farhan Ahmed1 month ago

@imjaredz This looks interesting. Does it work across repositories or only mono repos?

Farouk Saleh's profile picture
Farouk Saleh1 month ago

why is devin eating 49gb of my disk space after running sessions?

Sadok's profile picture
Sadok1 month ago

letting an agent open prs to delete code is high trust

max's profile picture
max1 month ago

@dabit3 Alright @dabit3, you finally got me. Spinning up an account.

Ibesh's profile picture
Ibesh1 month ago

code scans as codebase wide audits is a neat framing, reasoning across whole repo to decide what to delete or which queries drag performance beats file by file linting

Jeremy Bosma's profile picture
Jeremy Bosma1 month ago

Codebase-wide context is the real unlock

Marius Laurusevicius's profile picture
Marius Laurusevicius1 month ago

Which code is safe to delete is the expensive one to get wrong. What does Devin check before proposing a deletion: static reachability only, or reflection and dynamic call paths too? And is there a measured false positive rate on that class of PR?

Dewaldt Huysamen's profile picture
Dewaldt Huysamen1 month ago

Most codebase audits start only after someone already knows where to look. Code Scans flips that model: define the outcome, shard the whole repo, verify every batch, then turn findings into PRs. That is a big contrast with the usual manual, needle-in-a-haystack approach, and Cognition's reported 64% Dioxus debug-build reduction is a strong first demo. Takeaway for developers: stop waiting to search. Build scans that cover the whole repo, verify continuously, and make fixes actionable.

Philip Fowdar's profile picture
Philip Fowdar1 month ago

@grok does this work on Devin Desktop or only cloud?

AI News Daily's profile picture
AI News Daily1 month ago

Code review automation feels most useful when it explains why a change matters, not just whether it passes. I would love to see how teams handle false positives at scale.

Matheus Pagani's profile picture
Matheus Pagani1 month ago

Great new feature! I've tried some skills for that but the results would vary a lot. It's nice to see a simple workflow for that baked in Devin!

João Bricio I lojasbricio.com's profile picture
João Bricio I lojasbricio.com1 month ago

@andrew_locke when in CLI?

Mitchell Mecum's profile picture
Mitchell Mecum1 month ago

Pretty awesome.

ofir smol's profile picture
ofir smol1 month ago

is it also a seperate limit like Review?

Keep Your Head's profile picture
Keep Your Head1 month ago

Safe to delete is the hard one. Reflection and config driven dispatch never show up as call sites, so the confident answer is the wrong one.

José Julián Sánchez's profile picture
José Julián Sánchez1 month ago

Devin isn't letting me work today; this error keeps popping up constantly.

S4ck3's profile picture
S4ck31 month ago

The interesting implication is goal-scoped audits, not “AI read my repo.” If Devin scopes what counts as a finding before it runs, that’s closer to a real eng review than a dump of nits.

Ctf Enjoyer's profile picture
Ctf Enjoyer1 month ago

“Safe to delete” is the question that turns a five-line function into a three-day investigation.

vikas's profile picture
vikas1 month ago

hey guys ive been making a game can i get a free trial to test devin so, i can keep developing using swe 2? please 😶

Priyanka Jain's profile picture
Priyanka Jain1 month ago

For codebase-wide agent audits, what do you track after Devin opens the PRs — finding precision, false-positive rate, and regressions introduced by the fix itself?

William Wolf's profile picture
William Wolf1 month ago

@alexkaplan0 super cool

Josh Birdwell's profile picture
Josh Birdwell1 month ago

Can't wait to try this on my projects soon.

LucasOl1337's profile picture
LucasOl13371 month ago

I track agent sessions and outcomes in DailyWork. For Code Scans, I'd want to trace a finding back to the workers that investigated it. Does the report expose where workers disagreed, or only the final conclusion?

eSagra's profile picture
eSagra1 month ago

Every day i get more reasons to try devin...

ofir smol's profile picture
ofir smol1 month ago

how is it any different than just telling devin "scan the entire codebase for X using subagents"?

shaun's profile picture
shaun1 month ago

'which code is safe to delete' has been the question for 20 years. someone finally shipped it as a button

xdevzero's profile picture
xdevzero1 month ago

👀🔥🚀

Related Videos