David Loker (@DavidRLoker) profile picture

VP of AI @coderabbitai. I dabble in AI and what comes next for engineers.

San Francisco, CA
Joined November 2026
Photo by David Loker (@DavidRLoker)Photo by David Loker (@DavidRLoker)Photo by David Loker (@DavidRLoker)
Nice to see AWS at #reInvent put this in the keynote stage with "Project C2". Agents + Lean, 800+ bugs across 22 OSS projects. Turns out the formal methods folks had a point all along. I knew I took this class for a reason. Ideally, a finding should come with proof, not a confident sentence and so we've been doing this in our reviews. TLA+ is good for timing bugs like race conditions, deadlocks, or two things happening in the wrong order. You can read the code a hundred times and never see it because no single line is wrong. TLA+ plays through the possible orderings and hands you the exact sequence where it breaks. Super cool and useful. Lean is good for certainty. It checks a proof mechanically so if the proof goes through then the property holds. When useful, our system writes a Lean proof to show a bug actually exists. Also cool. Bugs with proof = trust and that's why we want them in review. A reviewer saying "I think there's a race here" is an opinion. A TLA+ trace of the interleaving, or a Lean proof, is evidence that can be easily verified. Nobody has to take the reviewer's word for it, including me. I like that.
Replying to @harjotsgill
That worked well enough that we’ve integrated formal methods into CodeRabbit’s code reviews to help reason about complex race conditions and algorithmic correctness. We’re now writing code to review code! Here is an example from an open-source project in which CodeRabbit reasoned about a race condition using TLA+ in the @ParadevAI project: github.com/ParadevAI/Paradev…
1
1
6
303
AWS #reInvent is interesting. I've met some great engineers and founders and had some great conversations about what it takes to move into a fully agentic SDLC. For us @coderabbitai , that means focusing on evolving the systems that generate and verify and monitor post deployment. But it's also about creating new technology to help solve those problems in a way that evolves quickly. That flexibility and focus allowed us to 20x our throughput while adding no new engineering headcount AND lowering our error rates. We're building even more of these validation and repo hardening layers to create a truly streamlined agentic SDLC. Great stuff coming down the pipe.
9
516
Heading to @AWSreInvent later today to give a field report on what a hundred million code reviews taught us @coderabbitai. No pressure. Short version... we judge our coding agents by how much they can do on their own. The number that matters more is how much of their work you can actually trust. Otherwise, we're just generating a lot of code that goes nowhere. We tried it on ourselves first. Merges went up more than 10x without adding engineers. Rollbacks went down, not up. (I checked a few times) DVT212-S, 4:30pm PT, Roman I at Caesars. Also at the simulcast at the MGM Grand Content Hub if you'd rather not walk the Strip in dress shoes. I'll share more after. Assuming I can find the room.
3
7
21
1,327
My flight decided it had other plans today, gifting me 4 extra hours in an airport waiting, so Cameron is giving our re:Invent talk without me. Honestly the audience is probably getting the upgrade. If you're there, go say hi to him and the team at booth 528. If by some miracle I make it in time, I may have invented teleportation.
37
If you catch the talk at 4:30 and want to argue about any of it, @HKrackDev and the @coderabbitai team are at booth 528 all week. #reInvent
1
3
238
Anyone else notice agent test bloat? A new preprint, SpecEngineeringBench, looks at this maddening behavior in depth. Agents get a requirements doc and a buggy Python repo, no hints, and write tests. Averaged across seven agents, 91.47% of their tests passed on the fixed code. Only 26.36% failed on the buggy version and passed once it was fixed. In a separate look at 49,317 tests from five of the systems, 67.44% passed on both versions. Some of that is fair, the bugs didn't touch everything. Still... that's a lot of tests politely confirming the code does what the code does. The authors' read is that agents assert what the code currently does, not what the spec asks for. Who's shocked? No? I've seen this time and time again. Agents write way too many useless tests. They confirm the existing code, or they're self-contained and test nothing the code actually does. Very green. Very busy. Very pointless. What works for me is TDD in the generation loop. Every new test has to start red. Then the agent makes the smallest change that turns it green. Any code generated that no test needed? An adversarial agent asks whether it should even exist. If it should, you have to prove it with a pre-change test that goes red->green. Otherwise, I'm not buying it.
2
6
283
I find it amazing and infuriating that no matter which frontier model I use, its skill in prompting and context engineering is so bad. It makes choices that do not make sense in the grand picture even when given that context up front. It constantly takes shortcuts, uses regex patterns that are brittle and almost useless, character or token limits that cut off meaningful content rather than using a smaller model first to distill the appropriate context, not understanding the importance of word choices or context bloat or conflicting instructions. In one instance it just dropped the file contents and left just the file name and path with 0 information about the file contents or why it's even there in the context to save space. I am baffled and flabbergasted and whatever other words mean I want to scream into the void atop the highest peak. Needless to say I had to give it a harsh performance review and there will be no raise this year.
4
396
Watching the Claude "sabotage" debate, the fight seems to be "read every line" versus "you can't, so trust the agent." I don't think either one is the job... though I admire anyone with the stamina for the first one. I won't downplay what people say they have or haven't seen. Models are imperfect and the people who make the harness are as well. It's easy to personify what might just be noise or errors. We're very good at finding faces in clouds, and apparently in diffs too. At CodeRabbit we rebuild what the change does from the code, then check that against what the PR says it did. When those two disagree, that's part of the review. Behavior, mismatches, and how it fits the rest of the codebase. A summary written by the agent (or human) that made the change is a claim, not evidence. It's a bit like letting a student grade their own exam. Very confident, suspiciously high marks. (Says the guy who writes very confident summaries of his own work) This is why you should use an independent adversarial review before you merge, and you need to keep updating your harness (both the generation and validation/guardrails side) as you find issues. Without that discipline, I don't know how you can possibly trust what these models are doing. I don't. The goal isn't to trust or distrust agents. It's to make trust into a system that you can check and improve over time.
1
9
526
Just waking up. First up... Unblocking my agents.
2
171
I see a bunch of these and since I'm new here... I'm in SF building the new SDLC (and trying to learn what that even is). In reality, my agents build, and I build the thing the agents use to do the building without breaking everything (most of the time anyway). What is an engineer now and in the future is the most interesting question I run into a lot. I have some ideas, tell me yours. Interests: AI and Agents Evolving SDLC Tech Startups Building cool things If that’s you too, reply and let’s connect!
14
2
1
43
2,553
MoLT from @BoWang87 @XinggangWang and team is a great approach. Looped transformers are built to reuse the same layers multiples times (hence loop) to get more depth w/o more params, but you pay at inference time. MoLT changes what we pass between the loops. Keys and values as memory and not just the residual stream. Results look solid. Beats OLMo3 at 700M, 1.5B, and 3B MoE on 400B tokens. Perplexity gain holds pretty steady it seems across those sizes. Latency parity is worth a closer look though. It comes from the MoL-Hybrid decoding schedule. Pure MoL decoding keeps it fast, but the prefill on a 4K prompt goes from 0.02s->46s! (with ~113M param models. More compute per param, so not a free lunch as usual. My expectations for this are smaller models doing narrow jobs in a harness like routing, classification, or search. Things to watch: does it hold above 3B params? What happens to prefill for longer prompts? 4K tokens seems small to me for tasks I work on. Still, really cool work. Progression in efficiency is key and everyone benefits.
1
2
328
As a Waterloo grad, I appreciate the immensity of the opportunity to get experience while in school. I benefited greatly from it. I feel compelled to pass this along and have started our internship program at CodeRabbit. If you're AI-pilled, enthusiastic and motivated to change how software gets made then I encourage you to apply.
For the first time ever, CodeRabbit is hiring Software Engineering Interns at coderabbit.ai/careers for Summer 2027! come join the leading code review team :), lots of great fun to have and things to do
3
4
39
3,360
Engineers only looking at 20% of the Rust! Fantastic Migrations are kind of the best case for agents though, not to mention the benefits of Rust. The old system is the spec. You can shadow traffic until green. Nondeterminism being the non trivial caveat, but at least there's something. Verification and understanding what good looks like still remains key to unlocking all of this potential. Still, amazing.
How did Anthropic rewrite the API all Claude tokens from Python to Rust, why did eng teams remove coding interviews, and why do devs spend a LOT more time building internal tools than before? Super interesting details from @katelyn_lesse Timestamps: 00:00 Intro 03:09 Stripe 07:04 How the Claude API works 10:21 The Rust rewrite of the Claude API 23:40 Verifying the rewrite with shadow traffic 31:11 Onboarding new hires with Claude 44:35 Building Claude Managed Agents 53:59 How engineering teams work at Anthropic 58:43 What agents handle on their own 1:04:47 Human code review 1:06:41 Oncall with Claude 1:09:31 Product managers shipping to production 1:16:25 Anthropic’s software factory 1:24:13 Phasing out traditional coding interviews 1:28:24 Levels, promotions, and performance reviews 1:33:21 The software engineer identity crisis 1:47:23 Book recommendation 1:48:12 Closing takeaways Brought to you by: • @turbopuffer – a vector and full-text search engine built on object storage. It’s fast, cheap, and extremely scalable. Anthropic is one of their many customers. turbopuffer.com/pragmatic • @AntithesisHQ – verify your system’s correctness without human review or traditional integration tests – and avoid bugs or outages. Check out their coding agent plugin and use the code PRAGMATIC50 to get 50% off your first month at antithesis.com/pragmatic • @GoEntire – The Git forge for agent-human collaboration. Built for the scale and throughput of agentic coding. Mirror your repo with one click (or move over fully) at entire.com/pragmatic Three interesting details from inside this leading frontier AI lab: 1. The rewrite was done without Rust experts on the team or strict code reviews. A year earlier, the same team picked Go for their new services because it was a language that team members knew how to read and write. But by 2026, they felt that Claude was good enough at Rust, and Claude helped engineers learn more about Rust during the rewrite. Katelyn estimates that engineers looked closely at only ~20% of the code generated: “As long as you can really boil something down to make it verifiable in some way, then you don't have to look at every single line of Rust code that's getting written.” 2. A Claude agent is paged before a human for API oncall. For months, a Claude agent has been shadowing the API oncall rotation of the API team for training. As the team have gained confidence that Claude can tell if an alert is “real” or “noise,” they now let this agent categorize an incoming alert first. The long-term goal is for Claude to handle actual incidents without waking up a human – but they’re not there yet. 3. One thing that has not changed since "pre-AI" is two-pizza teams. Teams at Anthropic are still two-pizza teams of around 5-8 people. Katelyn says it’s because this is the right size for understanding a complex system and staffing an oncall rotation. Teams still own systems, and get paged. And it is a team – not an individual – that’s responsible for each system!
2
182
Happy Thanksgiving! I'll be spending some time with my non-AI family of agents. We'll be discussing AI, of course. Meanwhile, don't forget to feed your agents a little context if they're good.
1
1
118
Prompt engineering is dead. It's all harness now. This is definitely not true for me. Don't get me wrong. A ton of work goes into the harness. What tools are available, what models to use, what skills, etc. Some models though... They take a lot of prompt tweaks to onboard. Recall may go up, and precision may fall off a cliff. The solution continues to be holistic for me.
62
I'm going to go have turkey and family time. My agents will continue. Let's see what they come up with.
1
56
Whether you're talking about engineers babysitting fleets of agents or building factories of orchestrated agents in workflows, we're moving toward building the systems and harness and not focusing on the product code directly. If you want to scale it up though, building the self-healing loop to continually improve the skills, agents, workflows, and harness are what unlock the exponential. The more attention you pay to that system, the more you can start to trust what comes out and not just have an expensive syntax generator.
1
51