The "Normsky" architecture for AI coding agents — with Beyang Liu + Steve Yegge of SourceGraph
Latent Space: The AI Engineer Podcast
December 14, 2023
We are running an end of year survey for our listeners. Let us know any feedback you have for us, what episodes resonated with you the most, and guest requests for 2024! RAG has emerged as one of the key pieces of the AI Engineer stack.
Alessio
Hey everyone, welcome to the Latent Space Podcast. This is Alessio, partner and CTO and resident at Decibel Partners, and I'm joined by my co-host Swix, founder of Small AI.
Swyx
Hey, and today we're christening our new podcast studio in The Newton, and we have Beyang and Steve from SourceGraph, welcome.
Beyang Liu
Hey, thanks for having us.
Swyx
So this has been a long time coming, I'm very excited to have you. We also are just celebrating the one year anniversary of ChatGBT yesterday, but also we'll be talking about the GA of Cody later on today. We'll just do a quick intro of both of you, obviously people can research you and check the show notes for more.
Beyang, you worked in computer vision at Stanford, and then you worked at Palantir.
Beyang Liu
I did, yeah.
Swyx
You also interned at Google.
Beyang Liu
I did back in the day, where I get to use Steve's system, DevTool.
Swyx
Right. What was it called?
Beyang Liu
It was called Grok. Well, the end user thing was Google code search. That's what everyone called it, or just like CS.
But the brains of it were really the kind of like Trigram index and then Grok, which provided the reference graph.
Steve Yegge
Today it's called Kythe, the open source Google one. It's sort of like Grok v3.
Swyx
On your podcast, which you've had me on, you've interviewed a bunch of other code search developers, including the current developer of Kythe, right?
Beyang Liu
No, we didn't have any Kythe people on, although we would love to if they're up for it.
We had Kelly Norton, who built a similar system at Etsy. It's an open source project called Hound. We also had a Han Wen Nienhuis, who created Zucht, which is, I think, heavily inspired by the Trigram Index that powered Google's original code search, and that we also now use at SourceGraph.
Swyx
Yeah. So you teamed up with Quinn over 10 years ago to start SourceGraph, and you were indexing all code on the internet, and now you're in the perfect spot to create a coding intelligence startup.
Beyang Liu
Yeah, yeah. I guess the back story was, I used Google code search while I was an intern, and then after I left that internship and worked elsewhere, it was the single dev tool that I missed the most. I felt like my job was just a lot more tedious and much more of a hassle without it. And so when Quinn and I started working together at Palantir, he had also used various code search engines in open source over the years, and it was just a pain point that we both felt, both working on code at Palantir and also working within Palantir's clients, which were a lot of Fortune 500 companies, large financial institutions, folks like that.
And if anything, the pains they felt in dealing with large complex code bases made our pain points feel small by comparison. And so that was really the impetus for starting SourceGraph.
Swyx
Yeah, excellent. Steve, you famously worked at Amazon.
Yep. And you've told many, many stories. I want every single listener of Latent Space to check out Steve's YouTube because he effectively had a podcast that you didn't tell anyone about or something. You just hit record and just went on a few rants.
I'm always here for a Stevie rant. And then you moved to Google where you also had some interesting thoughts on just the overall Google culture versus Amazon. You joined Grab as head of Ench for a couple of years. I'm from Singapore, so I have actually personally used a lot of Grab's features.
And it was very interesting to see you talk so highly of Grab's engineering and sort of overall prospects because...
Steve Yegge
Because as a customer, it sucked?
Swyx
No, it's just like we... Like, no. Well, being from a smaller country, you never see anyone from our home country being on a global stage or talked about as a startup that people admire or look up to on the league that you, with all your legendary experience, would consider equivalent.
Steve Yegge
Yeah, no, absolutely. They actually didn't even know that they were as good as they were, in a sense. They started hiring a bunch of people from Silicon Valley to come in and sort of, like, fix it. And we came in and we were like, you know, OE could have been a little better, Operational Excellence and stuff. But by and large, they're really sharp. The only thing about Grab is that they get criticized a lot for being too westernized.
Read the other 80 minutes of this episode here.
$15 gets you this episode and 99 more. Credits never expire. After checkout, one link brings you back here to read it.
Not what you expected? Full refund within 14 days.
Thousands of transcripts fetched by people building searchable podcast archives
Fetch transcripts with code
The same credits work from a script or an AI agent. The demo key returns a sample episode in full, no card needed:
curl -H "x-api-key: pt_demo" \
https://spoken.md/transcripts/1000651996090Markdown with the speakers named, for your notes, your knowledge base, or anything that makes HTTP calls.
From $0.10 per transcript. No subscription. Credits never expire. Prices exclude VAT, added at checkout for EU customers. Not what you expected? Email us within 14 days with 20 or fewer credits used and we refund the pack in full.
Using your own key:
curl -H "x-api-key: YOUR_KEY" \
https://spoken.md/transcripts/1000638599842