In short
Podcast Summary: No Priors - Episode with Simon Last
Podcast Title: No Priors: Artificial Intelligence | Technology | Startups Episode Title: From Coder to Manager: Navigating the Shift to Agentic Engineering with Notion Co-Founder Simon Last Release Date: [Insert Date] Hosts: Elad Gil, Sarah Guo Guest: Simon Last, Co-Founder of Notion
Overview In this episode, Sarah Guo interviews Simon Last, co-founder of Notion, discussing the evolution of Notion from a writing assistant to an advanced platform for custom AI agents. The conversation delves into the technical challenges, internal shifts within Notion, and the future of productivity with AI.
Key Topics Discussed
- Genesis of Notion AI
- Early Exploration: Simon recounts his curiosity about AI and how access to GPT-4 catalyzed their AI initiatives.
- Vision Development: The team established both short-term (writing assistant) and long-term (general assistant) goals after realizing the potential of AI.
- Challenges in AI Implementation
- Semantic Indexing: Discusses the difficulty of indexing data from various sources (e.g., Slack, Google Drive) and ensuring accurate retrieval.
- Rewriting Cycles: Notion undergoes iterative rewrites of their AI system approximately every six months due to rapid advancements in technology.
- Transition to Agentic Engineering
- Coding Agents: The introduction of coding agents has transformed how Notion develops its platform, enabling more ambitious projects.
- Team Dynamics: The shift in roles, with engineers becoming more like "agent managers" rather than traditional coders.
- Internal Tools and Workflows
- Custom Agents: Discusses the rollout of custom agents that can autonomously perform tasks and manage workflows (e.g., email triage, internal feedback management).
- Prototyping and Feedback Loops: Notion encourages rapid prototyping and feedback collection through collaborative tools.
- Future of Productivity
- Agent Management: Emphasizes the importance of managing AI agents effectively and how this shifts the nature of work.
- AGI Aspirations: Explores the potential future capabilities of Notion agents and the broader implications for the productivity landscape.
Key Takeaways
- Evolution of Workflows: The role of humans is shifting from direct task execution to managing AI agents that handle many operational aspects.
- Importance of Adaptability: Continuously evolving technology requires organizations to remain agile, rewriting systems as needed to leverage new capabilities.
- Interdisciplinary Collaboration: Workshops and hackathons at Notion facilitate cross-team collaboration, fostering innovation in utilizing AI tools.
- Empirical Approach: Developing AI functionalities involves experimentation and iterative testing to enhance performance and usability.
Conclusion The episode concludes with a discussion about the significant shift in productivity tools and how Notion aims to be a leader in this transformation, facilitating a collaborative environment where humans and agents can thrive together.
For more insights, subscribe to "No Priors" on your preferred podcast platform and follow them on Twitter: [@NoPriorsPod](https://twitter.com/NoPriorsPod).
Written by AI. May contain mistakes. Listen to the episode to check what was said.
Chapters
Tap a time to open that second in VONotion's AI Vision and Early Exploration
0:45 to 2:18
Discussion on Notion's exploration of AI, particularly GPT-4, as a tool for enhancing user collaboration.
“I've been watching, you know, what's going on.”
Short-term and Long-term AI Integration at Notion
2:18 to 4:27
Simon shares the immediate and future applications of AI in Notion, including the AI Writer and Q&A functionalities.
“So that was the thing that we immediately got to work on and we sort of started a tiger team around it and then we were able to launch it in like two or three months after that.”
Challenges and Learnings in AI Development
4:27 to 6:58
Insights into the challenges faced while developing AI features and the lessons learned throughout the process.
“as soon as we got the Notion index working, it was obvious that, oh, okay, we should index everything else as well.”
Adapting Engineering Processes for AI
6:58 to 8:00
Exploration of how engineering processes at Notion have evolved with the introduction of AI agents.
“It just seems like still a difficult technical challenge given how different the content bases are.”
Impact of AI on Team Dynamics
8:00 to 9:11
Discussion on how AI tools enhance individual contributions and team dynamics within Notion.
“We're about to release a new version of our harness in the next week or two and then we're already thinking about the one after that as well.”
Creativity and Prototyping in a Chaotic Environment
9:11 to 11:47
Insights into how AI enables rapid prototyping and increases creative output in engineering and design teams.
“But the upshot is I think if you do it well, you can be much more ambitious about what you're building and also make it much more robust than you could have done with humans writing it.”
Emerging Capabilities of Notion's Custom Agents
11:47 to 14:01
Overview of the functionalities of custom agents and their potential to automate tasks and enhance user experience.
“Just a little bit more chaotic, more stuff happening.”
Custom Agents Overview
14:01 to 15:10
Learn about the functionalities of custom agents and their autonomy in Notion.
“So you can basically, you can create a new custom agent, give it a name.”
The Role of Open Source Models
15:10 to 16:22
Discover the importance of open source models in enhancing agent capabilities.
“and code is just a really, really useful primitive for representing deterministic logic.”
Creating High-Quality Agents
16:22 to 17:22
Understand how to create high-quality agent implementations in Notion.
“they don't want to be locked into a certain labs model.”
Show all 19 chapters
API Structure for Agents
17:22 to 18:50
Explore the design and convenience of APIs tailored for agents in Notion.
“I think it's something that's very needed in the world, and we're just trying to do it in a really tasteful, well-executed way.”
Improving API Performance
18:50 to 19:58
Learn about the empirical methods used to improve agent API performance.
“So basically it's just the speak in SQLite, which also works really well.”
Personal Agent Usage
19:58 to 20:52
Hear how personal agents assist in daily workflows and task management.
“Actually, that is wonderful where you have infinite access to it.”
Email Management with Agents
20:52 to 22:50
Understand how agents can effectively manage and triage emails.
“And, you know, so for example, like every night before I go to bed, I'm like, okay.”
Feedback and Bug Triage
22:50 to 24:11
Discover how agents can route and manage internal feedback and bugs.
“And so for the first couple of days, I was sort of like correcting it on things.”
Building Intuition for Non-Technical Teams
24:11 to 25:59
Explore methods to help non-technical teams understand agent building.
“Because it's legible to you to say, like, did that make sense to me?”
Shifts in Thinking with AI
25:59 to 27:30
Learn about the changes in Notion's conception due to AI advancements.
“You and Ivan originally met on the internet, Tools for Thought community.”
The Evolution of Coding Practices
27:30 to 28:01
Discover how coding practices have evolved with the rise of agent management.
“I haven't written code since like last summer.”
The Shift to Agent Management in AI
28:01 to 28:34
Learn about the transition from coding to managing AI agents in engineering.
“and it sort of does little tasks for us, but we are still in the outer loop.”
Transcript
Automatic transcript. May contain errors.0:05Sarah Guo:Hi, listeners. Welcome back to No Priors. Today, I'm here with Simon Last, co-founder at Notion. We talk about their new vision for Notion in the AI age as a platform for humans and agents to collaborate, how the engineering and product org at Notion is changing, and these new tools for thought. Welcome, Simon. Hey, Simon. Thanks for doing this.
0:24Simon Last:Hey, of course. Yeah, it's really fun to be here.
0:25Sarah Guo:Notions at scale, amazing platform, lots of users. You did start quite a while ago. I think of Notion as one of the companies that has really like braced AI quite aggressively. I was told you first got your hands on GPT-4 at a company offsite in Mexico. Is that true? What is the origin story of like starting to work on this stuff?
0:45Simon Last:Yeah, I think that year, that was 2022. I've been watching, you know, what's going on. In general, I've just been like super curious about the technology. and fascinated to try everything and think about how we can apply it. It wasn't until I played with GPT-4 that it became really, really real. So when we got access to it, it was sort of like a proto-ChatGPT-like interface. And my co-founder, Ivan, and I both got access. And it was just immediately clear, like I would say two big things. One is that it was just pretty smart. It could follow reasonably complicated instructions. It could write things for you, it could edit things.
1:26Simon Last:And the second big thing was that the scope of its knowledge was extremely interesting. Super, super deep and broad world knowledge. When we played with it, it became just instantly clear to both of us, like, okay, the time is now to start. But thinking about how to apply this, it's only going to get better.
1:41Sarah Guo:We were talking about Mexico, GPT-4, you guys saw it was clearly the time. Did you start with like a particular vision of like what you should obviously be able to do with AI and Notion? Or did you start pulling people from different teams or recruiting people and say like, let's experiment? How did you begin?
1:57Simon Last:I think we immediately had a long-term and a short-term vision. I would say the, I'll start with the short-term one. The thing that was immediately obvious was, oh, it could be like a writing assistant. So it could be in your document. You can like select some text, have it, rewrite it. You can have a write text for you. maybe look something up and then give you sources or more information. So that was the thing that we immediately got to work on and we sort of started a tiger team around it and then we were able to launch it in like two or three months after that. And then the long-term vision that we immediately had was like, oh, the thing that looks like it may be possible is more of like a general assistant.
2:33Simon Last:So what if you could just give it all the tools inside Notion that a human would have, be able to create its own databases, query manipulate them, create documents, edit them, and sort of weave all these things together to do like a longer range task. And so we sort of immediately started on both. The short-term one, we're able to shoot very quickly, and then the long-term one didn't really work yet. And so that took much longer to get working.
2:58Sarah Guo:Are there like specific first launch of the AI-specific notion, Futures and Products, was when?
3:04Simon Last:Last year? No, it was February 2023. Oh, okay. It launched, yeah.
3:09Sarah Guo:My timelines are wrong. Are there like a few specific learnings or breakthrough moments you think since beginning to release that are interesting?
3:18Simon Last:Yeah. I mean, there's been, it's been a slog over many years or multiple years at this point with many, many learnings. I would say, yeah. I mean, just to give you a timeline of the arc of what we shipped is, you know, so the first thing was our writing system. We called it AI Writer. That's the first thing we launched. It was easiest to get working because it's like single step task, rewriting, editing text. There's no retrieval aspect. It was just like raw access of the model to write the text. The next big thing that we immediately started working on was a Q &A, doing a semantic index of the entire workspace and then letting you ask a question and it can give you an answer that's grounded in the sources.
4:00Simon Last:That was also immediately obvious to us that that'd be super useful. And so we started work on that. That one we launched in I think it was October 2023. So we started a beta before then, but our GA was in October. That was a much bigger effort to get working, obviously. We weren't just like plugging in the LLM. It was actually doing this like real-time updating index. Right. We had to get much more serious about the evals and the quality there as well. The Q &A has been a multi-year journey. Basically, what we did is as soon as we got the Notion index working, it was obvious that, oh, okay, we should index everything else as well.
4:35Simon Last:And so we index like Slack and Google Drive and we're launching new ones on a regular cadence. And now we have a, I would say, fairly complete.
4:45Sarah Guo:One could argue that those are like very difficult problems that, you know, those products natively have not solved perfectly yet. So how did you think about taking that on? I don't know if that's like an offensive thing to other product teams, but like it's not working yet.
4:56Simon Last:Yeah, it's kind of true. Yeah, this has been something we talk about a lot because it's like, you know, it's like almost like what right do we even have to do this? But it turns out that most of the companies are pretty bad at making their indexes somehow. It's honestly kind of baffled us a little bit. But I think my take after dealing with all of this and, you know, working with the teams to try to get it working is there's a little bit of just AI-pilled savviness that's pretty important. And then I think most of it is honestly just like a bit of craft and attention to detail. I think like in particular with this like indexing retrieval stuff, in order to really get it working, you have to be quite empirical and iterative and actually be like trying queries.
5:40Simon Last:Like, you know, like each data source is a little bit special. Like, you know, you can't just apply a one size fits all to like querying Slack versus querying Google Drive, let's say. They're completely different kinds of information. And we found that there's just a little bit of like craft and love that's going to it in terms of like actually trying a bunch of different queries, actually using it every day. and constantly iterating and rethinking and tuning how the retrieval works.
6:03Sarah Guo:How did you think about the diversity of how people organize their workspaces? I mean, even Notion is not, use of it is not homogenous, right? Like I'm probably part of 15 workspaces as an investor. And so I look at them and I'm like, well, mine's a mess and these people are really organized and the workflow is reflected in how their Notion works.
6:23Simon Last:Yeah, totally. I would say, I mean, the interesting thing is that with embeddings, it almost doesn't matter as much. anymore. The AI doesn't really care what the tree structure is, for example. All the AI cares about is that there's a snippet of text that has the context you need and then it can retrieve it.
6:40Sarah Guo:And so actually, we kind of advise people now, like, don't worry as much about organization.
6:45Simon Last:Just find a way to get it all piped in and like thrown in there.
6:48Sarah Guo:You still make decisions that could change performance quite a bit, like chunking strategy or whatever, right? Yeah.
6:53Simon Last:That's super important, but that's sort of not, that's sort of transparent to the user and sort of independent of their particular method of organizing things.
7:02Sarah Guo:It just seems like still a difficult technical challenge given how different the content bases are.
7:07Simon Last:Yeah, yeah. Yeah, I think, yeah, that took a lot of iteration. Yeah, the chunk sizing, how retrieval works, the different steps in the pipeline of retrieval. Yeah, there's a lot of iteration on that.
7:16Sarah Guo:Ivan said, I should ask you, how many times you've rebuilt Notion and rebuilt your harnesses?
7:24Simon Last:Yeah, it's kind of a running joke almost. I mean, we rewrite our AI harness probably every six months or so, and the time to rewrite has kind of been decreasing just because, I mean, like, progress has been accelerating. I think this is honestly a really key thing and something that a lot of companies get wrong is just, like, doing one thing and then just, like, sticking with it. You really do have to keenly aware of what the current state of the models and the technology is, and then designing the harness, the system, and the product deeply around that. and it basically means you have to rewrite it every six months.
7:57Simon Last:I find it pretty fun. It's part of the process. You get to restart and rethink it. We're about to release a new version of our harness in the next week or two and then we're already thinking about the one after that as well.
8:12Sarah Guo:I think that leads to a set of questions I had for you on just how does Notion as an engineering and product and research organization work now that you have the power of coding agents as well. Because I imagine like your willingness to rewrite the harness goes up dramatically. Like agents are going to help me do it.
8:32Simon Last:Yeah, that's extremely true. Yeah, I mean, yeah, it's been really fun to use the coding agents. I think the ambition of what I even consider building has gone up a lot.
8:41Sarah Guo:What do you think has most dramatically changed in how you think about how engineering and product should work in Notion over the last two, three years?
8:48Simon Last:Yeah, I mean, it's definitely changed multiple times. I mean, in terms of the coding agents, we kind of went through multiple eras. There was kind of like the tab autocomplete era, and then we got into sort of inserting, rewriting some code. But it wasn't really until the agents started working. I would say like early last year, we started to adopt agents. Like I started using clog code, I think around April last year. That was a huge unlock. I would say the big shift there is that you can really push on getting these agents to end-to-end implement and verify and maintain stuff, but it requires pretty significant thought in terms of how you architect things and what is the verification loop.
9:31Simon Last:But the upshot is I think if you do it well, you can be much more ambitious about what you're building and also make it much more robust than you could have done with humans writing it. And then the flip side is if you do it badly, it's all slop.
9:44Sarah Guo:Does that change your lens of like what teams should look like at Notion? Like size, seniority, anything like that?
9:52Simon Last:Yeah, I mean, I would say, I mean, the fundamental effect is that, you know, everyone's individual impact in terms of their output can be much higher. And your output increasingly depends on your ability and willingness to use the tools. I think that's the fundamental thing that's happening. And then like, how does that play out? I don't think we've seen that much impact on the team sides, really. I think we like to work in smallish Tiger teams for the most part. I think if you can make teams small, it's almost always better. That was true before, and I think it's still true. Maybe increasingly a little bit, but not that much.
10:31Simon Last:I think, yeah, the main thing is to just really harness the tools.
10:35Sarah Guo:Do you think something different happens to the median engineer in an organization versus the 10x engineer or the engineer 10x more willing to use the tools?
10:44Simon Last:Yeah, I think the gap is bigger. You can be like 100 or 1 ,000x engineer if you're using the tools right now. I think the gap is much bigger. Like the minimum bar has not changed, but the maximum bar has extremely increased. One impact it's had internally, I would say, is like broadly things feel like a little bit more messy and chaotic, I would say. But I kind of love that. I mean, it's like there's way more prototypes. You know, people are like, for example, our design team made an entire Git repo. They call it the design playground. And it's essentially like a simplified notion with a bunch of like UI primitives in it.
11:23Simon Last:And they've made it like really sophisticated. You know, it has like an agent in there. and it's pretty cool because it allows them, all the designers can spin up super high-fidelity prototypes really quickly. And so it's no longer like pointing at a mock and being like, how will this look like? They'll give you a URL to a prototype that's been deployed. And that sort of thing is true all the way up and down the stack for all of engineering. Just a little bit more chaotic, more stuff happening. All the PRs are more ambitious.
11:53Sarah Guo:Do you draw a line somewhere about stuff that is more dangerous to touch or sensitive, like, ah, there could be a risk of data loss over here and not? Or is it kind of you look at it all as it's fair game?
Read the full transcript
12:06Simon Last:We still do reviews on all the pull requests. And I would say, and, you know, all the pull requests are now written by agents. They're often, like, larger and more complex. That's, like, the worst part. But the better part is that they're often, like, a much better tested, and we can demand sort of a much better testing for the things that merit it. I never produce a PR that hasn't been fully intent tested anymore. And so it's like you can get to a pretty high degree of confidence that it works. But it requires like you're not just vibe coding by saying the thing you want. You're sort of thinking carefully about like what is the change I'm trying to make and how can it be verified and how can it be deployed safely.
12:47Simon Last:And then enlisting the agent to help you with that process.
12:49Sarah Guo:When you think about where you said the general assistant like doesn't quite exist yet, But what do you imagine Notion's agents being able to do over the next year or two that are still unblocked? They're still blocked by either capability or your harness work.
13:06Simon Last:We struggled for a few years to build an agent. And it always sort of works, but then it wasn't that useful. Largely, it was too early. So we tried to build an agent, I would say, actually three or four times. and then we finally launched it last fall, so like last August, September. So the Fused Notion AI now, it's like the full agent that has accessed everything in Notion pretty much. So that totally works. I would say like a lot of the original vision that we had totally works now and it's like fully shipped. Last August or September, we shipped our personal agent. So it's pretty much every user in Notion has an agent and basically it has access to all the things that the user has access to.
13:53Simon Last:So, you know, it can create a database for you. It can update things, create documents. It can search the web, do research. And then the second big thing that we just launched last week actually was custom agents. So you can basically, you can create a new custom agent, give it a name. And unlike the personal agent, by default it doesn't have access to anything. So you have to grant it access. But then once you do, it can actually run autonomously in the background. So, for example, you can give it access to its own database to file tasks, let's say, and then you can attach it to a Slack channel, and then it will start responding to people in Slack and filing tasks.
14:26Simon Last:That's one use case. Another one is maybe you could give it access to a database of weekly reports and then let it search the web or search your workspace. So it's sort of a custom agent sort of represents some work or job, some knowledge work tasks that you want to be done autonomously. One thing I'm really excited about this going forward is we want it to be extremely good at sort of bootstrapping its own capabilities, basically from an initial kernel, allowing it to basically bootstrap itself to do anything, right? So even, for example, maybe building an integration that we don't support yet, deploying that, and then using it.
15:00Sarah Guo:So you imagine that Notion agents are actually the broader definition of agent where, like, writing code is a tool it's got access to.
15:08Simon Last:I think it's pretty key. Yeah, I think of coding agents as, like, the kernel of AGI. AGI will be a coding agent. and code is just a really, really useful primitive for representing deterministic logic. The thing that's really exciting about it, replying it to a knowledge work agent, is that it can bootstrap a capability. So like I said, if integration doesn't exist, it can build it. If it needs to connect itself to a new data source, it can do that.
15:39Sarah Guo:Given you have a notion, is at scale but is operating in a landscape of productivity and platform players that are at even more scale, right? Many of these will end up with their own agents. Lots of people from the labs to the Microsoft world are trying to integrate other data sources. You have this, like, cross-attempt to integrate and index. Like, how do you think that plays out? Like, what do you imagine that Notion agents are best at or what they have the right to go do?
16:06Simon Last:If you look at the landscape, like, I would sort of say there's the labs and then there's maybe the software platforms and then there's maybe like infrastructure. In terms of the labs, you know, we see ourselves as kind of like the Switzerland for models. We think and our customers, they don't want to be locked into a certain labs model. They're always releasing new versions. Any given month, one is better than the other. So we want to be a place where basically you can easily get access to all the best models at any time and you can easily switch around.
16:39Sarah Guo:Do you think open source plays into that as well?
16:42Simon Last:Yeah, yeah, absolutely. I think the open source models are actually getting really good. There's like four different Chinese models now that are quite good. We actually just released one of them in our agent last week, and we're going to do all four for sure. They're actually quite good, and they're way cheaper than the Frontier models. So I think there's a lot of use cases where you'd want that, and we want to give that as an option. In terms of like the other, you know, So we think of our role as sort of taking all the best models that we can, creating really high-quality, state-of-the-art agent implementations where people can easily and conveniently get access to them, and then making sort of a collaborative workspace that is really good for humans and for the agents to coordinate on.
17:27Simon Last:I think it's something that's very needed in the world, and we're just trying to do it in a really tasteful, well-executed way.
17:34Sarah Guo:You were describing you need the index to make the agents good. You give the agents access to the tools that we humans have in Notion. How do you think about the structure of Notion and where it's useful or even not useful or relevant for agents, like blocks and databases and such?
17:53Simon Last:It's all still pretty useful, extremely useful. There's been a challenge to sort of, you know, we want to make it really convenient for the agent. I think that's a new thing that didn't exist. In the past, it was convenient for humans, and then we also made APIs convenient for humans writing code. Here's our API. So we essentially have a new customer, which is the agent. At first, that was definitely a problem. So, for example, our API uses this crazy JSON format for blocks that by default is crazy verbose and horrible for the agent. But we basically took on that challenge and designed just really convenient APIs for the agent.
18:36Simon Last:We created sort of a markdown dialect that looks like the default normal markdown, but it's sort of enhanced with all the notion blocks. And the models are really good at it. It works really well. So that's how it reads and writes the pages. And then for databases, we use SQLite. So basically it's just the speak in SQLite, which also works really well. So the default thing did not work really well, but then we just took that on as an engineering challenge. And I would say now we have extremely convenient APIs that the agents are really naturally good at.
19:11Sarah Guo:How did you understand or figure out what would make the API better for agents?
19:18Simon Last:That's a good question. Yeah, I would say it's a combination of just trying things. It's very empirical. So we're just playing around and like noticing, oh, it's not very good at that. Oh, that's way too many tokens. How can we make this smaller? And then a little bit of just like first principles thinking of like, you know, what is it the models are being trained on? And what's in their prior? What do they know? And what do we think it would naturally be good at? And like how does the agent loop work? And like what would be the convenient, efficient pattern for accessing these things? And so and then just, you know, a lot of playing around.
19:51Sarah Guo:I hear user research where the user is actually agent and then ongoing eval.
19:58Simon Last:Yeah. I mean, you just chat with it. The user's always there. It's ready to talk to you.
20:03Sarah Guo:Yeah. Actually, that is wonderful where you have infinite access to it.
20:06Simon Last:You have infinite access to it, yeah. And you can script and scale the access as well.
20:10Sarah Guo:I assume you have. Actually, I know you do because you walked in. You're like, hey, I need to get access to Wi-Fi. I need power. We can't block the agents while we're doing this. What do you have running right now? Tell me about your setup.
20:20Simon Last:I'm working on a new prototype, and so I have a couple agents. I'm working on that. And then, yeah, my setup these days is just either Cloud Code or Codex. I like the CLI tools. They're super simple and work pretty well. I'm pretty comfortable in the CLI.
20:39Sarah Guo:You don't need my generated game to teach CLI commands.
20:42Simon Last:It's a very cool idea. I would say, yeah, my whole goal these days is essentially to just have as many running as possible and to run them all the time. And, you know, so for example, like every night before I go to bed, I'm like, okay. Let's go, guys. Yeah, basically what I have to do is make sure that I've given it enough stuff that by the time I wake up in the morning, it will still not be done. And so I've maximized. That's victory. Yeah, that's victory. So yeah, like I've done that, I would say last five nights pretty well. My personal record is that I've had a coding agent running for I think it was 13 days straight without stopping and just just basically working
21:23Sarah Guo:through like tasks well well prompted yes I admit to having woken up in the middle of the night at
21:29Simon Last:least multiple times this week I'm just being like are you still going yeah I know yeah it's it it's kind of nerve-wracking I I always like there's always like I'll check it one last time before bed and just really make sure that it's still spinning what about on the notion agents like
21:42Sarah Guo:Do you have a workflow there that is core to daily work?
21:46Simon Last:Yeah, I mean, I use our personal agent all the time. So it has all the context about our company and everything that's going on. So, for example, last night I was asking you about how the custom agent launch was going and what the signals we're getting from it. We're super useful for that. And then I have many custom agents that are running. My personal favorite is I have an email triage agent. so it has access to all of my work and personal emails and it just wakes up every day and just archives all the stuff I don't need to see. I trained it over time to learn my preferences.
22:22Sarah Guo:Do you actually label data for it?
22:23Simon Last:It's pretty easy to do this actually. So all you have to do is you make the agent and then you give it access to your email and then you can make a blank page. It's like it's memory and you let it edit that page. And then you just say, okay, now go look at my emails and then interview me. Ask me which things, you know. So sort of it will like propose things that it thinks it should archive. And then you can kind of correct it. And then we'll use that to essentially generate like a list of rules about like what it thinks are correct or not. And so for the first couple of days, I was sort of like correcting it on things.
22:54Simon Last:After a couple of weeks or so, I dropped the approval entirely. And it just automatically archives all the things I need to see now. Wow.
23:01Sarah Guo:It's a lot of trust.
23:02Simon Last:It completely solved my email problems. Because for me, like I don't use email that much for work stuff. Like it's mostly in Slack. 95 % of the personal emails and work emails that I get, I don't need to see at all. And so it's just a waste of time. And so it completely solved that.
23:18Sarah Guo:So now I need my inbox. It's like only stuff I need to see.
23:21Simon Last:I've got lots of custom agents running. There's another one that I built that triages all internal feedback and bugs. So we have a Slack channel where basically people just post random like product feedback and bugs. In the past, it would sort of sometimes get answered but then sometimes like haphazardly get ignored just because, you know, there's so many teams working things. So its entire job is just to route it to the right place. And it uses a similar sort of like memory pattern where it sort of learns on the fly where it's supposed to file bugs. And then over time, it's built up like hundreds of rules that it just sort of like learned over time.
24:04Simon Last:So, for example, there's a bug about the mobile app and there's the route to the mobile team and then a file a task in their database.
24:10Sarah Guo:Do you look at that, like the generated and updated memory? Because it's legible to you to say, like, did that make sense to me?
24:18Simon Last:I think I did it at first. But then sort of once you trust it's kind of working, you kind of ignore it. And then if it ever breaks, I'll go fix it. It'll break every now and then. But the benefit of not reading your email is here.
24:33Sarah Guo:Yeah, just not Rita. So yeah.
24:35Simon Last:Yeah. I mean, generally, I would say, yeah, the general pattern I follow is sort of I build it as a prototype. I have it in sort of like an approval mode where I'm sort of, you know, watching it closely. And then but then after it runs a bunch of times, you kind of trust that it's working.
24:50Sarah Guo:Is there anything you do internally at Notion to make sure non-technical teams have the intuition for how to build agents or how to like express that productivity too?
25:01Simon Last:Yeah, that's a great question. I mean, we do sort of workshops and hackathons pretty frequently. So like, for example, like a month ago, I did a hackathon with the people team and sort of got them. The people team has been amazing. They're actually one of the highest adopters of custom agents. Cool. You know, they do all these kind of workflows in like Slack and Notion, kind of like manual work like that. And, yeah, I would say, yeah, like people are super excited to try it and sort of like maybe just need like a little bit of a push in terms of intuition and like getting them started. But then, honestly, I've been super impressed.
25:35Simon Last:Like I think the concept is like kind of intuitive, sort of like once you get past sort of a little bit of the technical barrier of like what is a prompt and like what is the agent and how does it get triggered and woken up and like how does that even work? But then once you sort of get past that, I think it's actually a very human-like interface.
25:54Sarah Guo:Yeah. Maybe the biggest barrier is actually just getting people to try and assuming it's going to work at all. Right?
25:59Simon Last:Yeah.
26:00Sarah Guo:You and Ivan originally met on the internet, Tools for Thought community. It feels like, you know, the tools we have for thinking are very different now. Has your, like, core conception of Notion changed over the last few years because of all the AI stuff? Like what thinking does the tool do for you? Should agents do for you? What do you get to do?
26:22Simon Last:Yeah, I mean it's, I would say, changed quite a lot. I mean, broadly speaking, before AI, our goal was to create the best tool for humans to directly perform their work. And then now the goal is to create the best tool for humans to manage agents to do the work for them.
26:44Sarah Guo:That's a big shift.
26:45Simon Last:That's a pretty big shift. It's pretty fundamental. But it turns out that you need most of the same primitives. You actually, all the primitives that we built are actually still extremely useful. It's more that we just needed some new primitives, like representing what is an agent and how does it interact with your pages and databases. But you still need the same primitives. You still need a document. It's an unstructured way to write stuff. Agents love to write markdown documents, so it's still very relevant. and you still need a database. You still need structured data. If you're working with your swarm of like 100 background coding agents, you don't want to have 100 chat threads.
27:24Simon Last:You want a Kanban board. It's the same as before.
27:26Sarah Guo:Makes sense. You still need the coordination structure. What is one thing that, just because you're ahead on this stuff and then trying to figure out how to bring Notion and then users along with you, what is something that's really changed about how you personally like build even in the last six months?
27:46Simon Last:I mean, it's completely changed. I haven't written code since like last summer. I don't type code anymore. Yeah, it's completely shifted. I mean, we went from humans type all the code to like we're still typing, but we like tab complete to sort of like we talk to the agent and it sort of does little tasks for us, but we are still in the outer loop. and then now it's more like I design an end-to-end task that involves making some change and end-to-end verifying it. And then I'm just the outer verifier sort of like double-checking at the very end that it's correct and if it's going off the rails, kind of like monitoring it.
28:26Simon Last:So it's a complete shift. I'm now like the agent manager instead of the coder.
28:33Sarah Guo:Amazing. Well, thanks, Simon. This has been a super great discussion about how we're all going to become agent managers
28:38Simon Last:and hopefully in Notion. Cool, yeah.
28:44Sarah Guo:Find us on Twitter at NoPriorsPod. Subscribe to our YouTube channel if you want to see our faces. Follow the show on Apple Podcasts, Spotify, or wherever you listen. That way you get a new episode every week. And sign up for emails or find transcripts for every episode at no-priors.com.
From the publisher
Notion isn’t designing AI agents that just use tools. Their agents can autonomously build their own integrations, as well as write the code needed to finish a task. Sarah Guo sits down with Notion Co-Founder Simon Last to explore Notion’s rapid evolution from a simple writing assistant to a sophisticated platform for custom AI agents. Simon discusses the technical hurdles of indexing disparate data from sources like Slack and Google Drive, as well as the internal shift toward using coding agents to build Notion itself. Plus, Simon elaborates on what he sees as a fundamental transition in productivity: moving from a tool where humans do the work, to one where humans manage a swarm of agents.
Sign up for new podcasts every week. Email feedback to show@no-priors.com
Follow us on Twitter: @NoPriorsPod | @Saranormous | @EladGil | @simonlast | @NotionHQ
Chapters:
00:00 – Cold Open
00:05 – Simon Last Introduction
00:26 – Genesis of Notion AI
04:10 – Challenge of Semantic Indexing and Retrieval
07:16 – The Six-Month Rewrite Cycle
08:12 – Notion’s Coding Agent Era
09:44 – Impact on Team Dynamics
12:49 – Launching Custom Agents
15:39 – Notion as the ‘Switzerland’ for Models
17:33 – Designing APIs for Agent Customers
20:09 – Simon’s Personal Agentic Workflows
24:48 – Notion: Tool for Work is Now A Tool for Agents
27:28 – How Building Has Changed for Simon
29:00 – Conclusion




