Skip to content
YC Root AccessYC Root Access

Greptile: AI That Actually Understands Codebases

Greptile is building AI that understands entire codebases. Each week, Greptile reviews 5–8 million lines of code for customers and surfaces tens of thousands of bugs that would otherwise slip through human review. Fresh off a $25M Series A round, they're on a mission to kill the bug. In an interview with YC Partner Brad Flora, co-founder and CEO Daksh Gupta shares how he and his team discovered that large language models are often better at reading code than writing it, why code review is the most powerful use case for that ability, and how Greptile is helping developers spend less time catching bugs and more time creating software. Learn more about Greptile: https://www.greptile.com Chapters: 00:00 – Intro & What Greptile Does 00:18 – Why Code Review Matters 01:00 – Humans + AI in the Loop 01:40 – 20,000 Bugs Found Every Week 02:10 – Why Now: LLMs and Code 03:20 – From Code Q&A to Bug Detection 04:20 – What Developers Really Think of AI Tools 05:40 – Advice for Founders

Brad FlorahostDaksh Guptaguest
Sep 23, 20256mWatch on YouTube ↗

EVERY SPOKEN WORD

  1. 0:000:18

    Intro & What Greptile Does

    1. BF

      Hi, I'm here with Daksh from Greptile from the YC Winter '24 batch. Thanks so much for joining us.

    2. DG

      Thanks so much for having me.

    3. BF

      All right. Um, so what is Greptile?

    4. DG

      So at Greptile, we're building AI that understands large codebases, and software teams use it for things like reviewing pull requests and answering questions about their codebase.

    5. BF

      When you think

  2. 0:181:00

    Why Code Review Matters

    1. BF

      about the value that a company or a user gets from Greptile, like how-- what is it? Where are they finding utility?

    2. DG

      It's a couple of things. For software teams, especially senior members of the software teams, tend to spend a lot of time reviewing pull requests and reviewing code in general. And, uh, humans are imperfect at this, and it is also a very time-consuming process when that time is maybe better spent doing more creative things. And so we take away a lot of that time, reduce the amount of time it takes for code to get reviewed, and we usually reveal many more bugs than a purely human-driven process would.

    3. BF

      The customers that you work with, um, do they want to have nobody reviewing code, and they wanna ha- entrust Greptile with that a hundred percent? Do they wanna have some

  3. 1:001:40

    Humans + AI in the Loop

    1. BF

      people doing this as well? How do they think about it?

    2. DG

      So I think virtually all of our customers and us, we both agree that, uh, a human should be involved in the process. I think code reviews, as a part of the software development life cycle, serve a purpose greater than just detecting bugs. It's a opportunity for mentorship, and there's some amount of clairvoyance that senior engineers have on what a codebase should look like in the future that AI, at least today, cannot really replicate. And so we usually say, "Well, this is gonna do all the stuff that is not interesting for you to do, like just carefully reading the code for little mistakes, and you can focus on the bigger picture things as a human being."

    3. BF

      W- um, and I understand you guys have several customers. You're reviewing a lot of

  4. 1:402:10

    20,000 Bugs Found Every Week

    1. BF

      lines of code. Like what, what are the numbers these days?

    2. DG

      So in a given week, we usually review anywhere from five to eight million lines of code, and, uh, this is growing at a fairly high pace. This past week, we revealed twenty thousand bugs across the pull requests that Greptile reviewed for customers, so this is something that people like a lot. It's stuff that you-- that would've slipped through the cracks and would've caused problems later.

    3. BF

      I understand that a lot of what you're doing is enabled by the language models that are out now. But, um, how do you think about like why now is the right time for Greptile, for a product

  5. 2:103:20

    Why Now: LLMs and Code

    1. BF

      that reviews code reviews?

    2. DG

      Yeah, there's a couple of things. So my co-founders and I had started to experiment with large language models when DaVinci-two had just come out about, about three or four years ago. And we'd started to notice that there was a, um, clear use case in code because they understood code better than they understood maybe even la- natural language. And where when we see large language models today, they're, they still are better at reading code than they are at writing it. And to us, it's more interesting to take their current, uh, best capabilities and see what is the most value that they can create. We started by building code-based Q&A, so just loading up your codebase and asking questions about it, like, "How does XYZ work?" And we found that if you're able to teach a large language model to, um, to understand an entire codebase, the most useful thing you can do with that understanding is to find bugs in it and, and prevent code from going down. And I think the second major thing is we often think about this is a longer term trajectory, but software is not just toys, and like it was maybe fifty years ago. Like today, uh, we- our, our grid and our supply chains are controlled by software, and like, our world is only as resilient as our most-- our least resilient piece of software. And making software more resilient is something that only

  6. 3:204:20

    From Code Q&A to Bug Detection

    1. DG

      gets more important every year.

    2. BF

      How did you guys get onto this idea? What led you here?

    3. DG

      We started out, as I said, working on code-based context, and the reason for that was we were hacking on some projects in college and then one of our original team members decided to, uh, go and get a job and not continue on with us. And w- he had written our entire front end codebase, and we just didn't know how to work with it. And this was also something that we'd experienced at companies we'd worked at, which is codebases get large, and they're very difficult to work with. It's actually most of why the job of engineering is hard, is because codebases are big and complicated. And so we wanted to figure out if there was a way to take these enormous codebases and large language models that actually have limited context windows, find a way to teach them to completely understand the codebase and answer questions about it. So we focused on this problem for a long time, and then at some point, we realized that the most-- the, the problem of not knowing your codebase is temporary. Like, once you spend enough time at a company, you'll understand the codebase. But the problem that remains persistent is, uh, is, is finding bugs. And you can do that really well if you understand the codebase, which is what we had spent all this time working on.

  7. 4:205:40

    What Developers Really Think of AI Tools

    1. BF

      Okay, so you've built this product. You've got these users. You're reviewing all this code. What's, what's been surprising that you've learned along the way about AI and its relevance for developer and for developer tools?

    2. DG

      I, I was surprised to learn how much variation there is in developers', um, propensity to adopt AI developer tools. There are people that are, uh, very, very smart developers that are completely against adopting any AI. And I think part of that, uh, might just be like discomfort around, um, around like AI maybe like affecting the nature of their job. Um, and then there's people at the very other end of the extreme, which are-- have very much strongly embraced, uh, AI as a tool. One of the things that we try to figure out when we're seeing if a customer is a good fit is just to see how high conviction they are around AI's ability to improve their business.

    3. BF

      Mm-hmm. Do you, do you get lumped in with the AI coding tools, even though you're doing more code review instead of actual code gen?

    4. DG

      This was a really big problem early on. And I think early on, uh, engineering leaders and, and engineers didn't have, uh, enough context to kind of separate these tools, and they all kind of looked like the same vague thing, which is AI in code. But as time has gone on and people have adopted some of these tools and they're using them, people have much higher fidelity in differentiating what different parts of their, uh, system can be augmented.

    5. BF

      So a lot of the folks that watch these videos and tune in are people thinking about starting their own businesses. You were there not too long ago with the, like the early

  8. 5:406:29

    Advice for Founders

    1. BF

      days of Greptile. What advice, if any, would you have for someone that's thinking of setting out and doing a startup today?

    2. DG

      I think, um, it's that there are many, many ways to get distracted. And, uh, often it-- no matter how much you are aware of the things that can distract you, you will-- or you're still not immune from distraction. You just really should focus on building products that your customers love and need and, and want, uh, and, and just not focus on anything else. I think there's a hundred other things that seem like they're things you should plausibly focus on, but they're just not as important as the core couple of things, and as long as you just do those, you can probably get pretty far.

    3. BF

      If someone wanted to check out Greptile and learn more about it or even try it at their company, how would they do that?

    4. DG

      So it's actually free to try. So you can go to greptile.com, and it takes less than a minute to sign up. You can just connect your GitHub and start using it.

    5. BF

      Okay. Thanks so much for joining us.

    6. DG

      Thanks so much.

Episode duration: 6:29

Install uListen for AI-powered chat & search across the full episode — Get Full Transcript

Transcript of episode vRt4ng9V9qA

Get more out of YouTube videos.

High quality summaries for YouTube videos. Accurate transcripts to search & find moments. Powered by ChatGPT & Claude AI.

Add to Chrome