Yan Cui
How we built an AI-powered code reviewer in 80 hours
#1about 2 minutes
An overview of an AI-powered code reviewer
The tool reviews pull requests, leaves inline comments, and provides a dashboard, with the talk focusing on lessons learned from building it.
#2about 3 minutes
The high-level serverless architecture for the application
The system uses GitHub webhooks, EventBridge, Lambda, Amazon Bedrock, and DynamoDB, with Clerk for auth and Stripe for payments.
#3about 4 minutes
Choosing Amazon Bedrock for security and privacy
Amazon Bedrock was selected for its strong security guarantees, data privacy policies, and serverless, token-based pricing model suitable for sensitive customer code.
#4about 5 minutes
The truth about LLM context window size and reasoning
Large context window sizes are misleading because a model's ability to reason over content collapses long before the advertised limit, forcing a one-prompt-per-file strategy.
#5about 3 minutes
Managing API rate limits and model availability
To overcome low default API rate limits, strategies include requesting limit increases, using cross-region inference, and implementing fallbacks to other models for reliability.
#6about 3 minutes
Strategies for controlling high LLM costs
The most effective cost control measure is to analyze only the changed lines in a pull request rather than the entire file, which also improves user experience.
#7about 4 minutes
Handling timeouts with durable execution in Lambda
A lightweight durable execution mechanism using checkpoints in DynamoDB prevents reprocessing files on Lambda retries, which are common due to slow LLM response times.
#8about 4 minutes
Dealing with different types of LLM hallucinations
Hallucinations range from simple invalid JSON to complex errors like suggesting fixes for outdated libraries, which can be mitigated with RAG but at a significant cost.
Related jobs
Jobs that call for the skills explored in this talk.
Wilken GmbH
Ulm, Germany
Senior
Amazon Web Services (AWS)
Kubernetes
+1
Matching moments
02:24 MIN
Prototyping a basic AI code review agent
The Limits of Prompting: ArchitectingTrustworthy Coding Agents
02:17 MIN
The challenge of reviewing exponentially growing AI-generated code
Evaluating AI models for code comprehension
02:58 MIN
Shifting from traditional code to AI-powered logic
WWC24 - Ankit Patel - Unlocking the Future Breakthrough Application Performance and Capabilities with NVIDIA
04:02 MIN
Q&A on AI limitations and practical application
How to become an AI toolsmith
01:33 MIN
The current era of AI-assisted development
From Punch Cards to AI-assisted Development
04:43 MIN
The limitations and frustrations of coding with LLMs
WAD Live 22/01/2025: Exploring AI, Web Development, and Accessibility in Tech with Stefan Judis
04:50 MIN
Leveraging AI as a tool for learning and productivity
Exploring AI: Opportunities and Risks in Development
01:30 MIN
Exploring other AI use cases in the development lifecycle
Engineering Velocity in the Age of AI: Lessons from Mobile CI/CD
Featured Partners
Related Videos
The Limits of Prompting: ArchitectingTrustworthy Coding Agents
Nimrod Kor
Livecoding with AI
Rainer Stropek
Three years of putting LLMs into Software - Lessons learned
Simon A.T. Jiménez
Leapter: The Reinvention of Software Development? A Future Built On AI Generated Code.
Robert Werner
AI: Superhero or Supervillain? How and Why with Scott Hanselman
Scott Hanselman
Panel discussion: Developing in an AI world - are we all demoted to reviewers? WeAreDevelopers WebDev & AI Day March2025
Laurie Voss, Rey Bango, Hannah Foxwell, Rizel Scarlett & Thomas Steiner
Evaluating AI models for code comprehension
Merrill Lutsky
Bringing the power of AI to your application.
Krzysztof Cieślak
Related Articles
View all articles



From learning to earning
Jobs that call for the skills explored in this talk.

Wolters Kluwer
Alphen aan den Rijn, Netherlands
Intermediate
Node.js
TypeScript
Cloud (AWS/Google/Azure)

AVEX Automotive GmbH & Co. KG
Hamburg, Germany
Intermediate
React
OpenAI API


Collaboration Betters The World GmbH
API
Azure
Flask
Python
FastAPI
+2


Ai-driven
Freiburg im Breisgau, Germany
Python
PyTorch
TensorFlow
Machine Learning
Continuous Integration


Amazon.com, Inc
Shoreham-by-Sea, United Kingdom
XML
HTML
JSON
Python
Data analysis
+1

Looma Gmbh
Magdeburg, Germany
API
DevOps
Docker
Kubernetes
Continuous Integration