Section Insights
Using AI for Writing Effectively
How can AI be utilized for writing without limiting creativity?
To effectively use AI for writing, it's crucial to provide it with a broad context rather than a single idea. This allows the AI to explore various options and suggest ideas that may not have been initially considered.
- Provide AI with a wide context to enhance creativity.
- AI can propose diverse ideas when given broader prompts.
- Avoid limiting AI to a single idea to maximize its potential.
The Importance of Documentation in AI Development
What role does documentation play in AI and engineering?
Effective documentation is essential in AI development, as it provides a structured approach to writing and minimizes unnecessary verbosity. Companies like Google exemplify this with their comprehensive documentation practices.
- Good documentation minimizes wordiness and enhances clarity.
- Holistic documentation practices improve consistency across projects.
- AI can assist in creating practical how-to guides.
Exploration Phase in Writing
Why is the exploration phase important in the writing process?
The exploration phase is often underutilized in writing. It involves gathering various ideas and insights, which can then be synthesized into a coherent narrative. This phase allows for creative connections and deeper understanding.
- Exploration enhances creativity and idea generation.
- Synthesis of diverse ideas leads to richer content.
- Utilizing AI can streamline the exploration process.
Creating Engaging Presentations with AI
How can AI improve the process of creating presentations?
AI tools can generate visually appealing and engaging presentation slides, allowing for a variety of concepts and storytelling methods. This capability enhances the overall quality and creativity of the presentations.
- AI can create visually engaging presentations quickly.
- Diverse concepts can be explored through AI-generated content.
- The storytelling aspect of presentations can be significantly improved with AI.
Maintaining Quality in Team Communication
How can teams ensure high-quality output in collaborative projects?
Establishing clear communication and quality standards within a team is crucial. This includes setting expectations for documentation and design processes to minimize errors and enhance the overall quality of the work.
- Clear communication fosters a culture of quality.
- Setting high standards helps maintain output quality.
- Prior art research is essential for informed design decisions.
Transcript
0:00 When you use AI for writing, it's actually really important does not take your first instinct and go deep on it. Naturally, what are you going to do? You're going to copy and paste this content, put into chat GPT, put into codeex, and tell it to do some with it. If all you've given the AI is one idea, it will do what you say and follow that one idea. When you tell the AI, I'm not sure about exactly which idea I want to explore, it truly knows that context window is seated with the entire breath of options. And it's much easier to tell AI to pick certain elements of it. And it's much easier for it to propose different ideas that you might not be thinking about as you go down one specific vertical because it has the context of everything you're exploring.
0:40 All right, everyone. Today's episode was one that we have been waiting to do for a while, which was exactly how do you use AI for writing? Is there is there such thing as too much? Is there a such thing as too little? We talk about a couple things over with Aaron, the co-founder over at Boundary, which is one, what models should you use for AI for writing? Two, how do you use AI to actually plan out presentation slide decks that you're going to give to an audience that has never met you? How do you not have a reputation of being a slot factory by accident? We talk we go through the general outlining process, how we use AI during the outlining process all the way from like starting with breath for search to grabbing tweets and blog posts that are relevant to it all the way down to actually producing slides that are generated by AI and actually show really interesting animations and again don't feel like slop even though they're still using AI behind the scenes.
1:35 And the last thing that we talk about is how do you build true engineering docs internally in your team that record some of the decisions and what level of AI do you built into it? What level of automation do you give to people so that again your team isn't exhausted by AI slop being regurgitated around between everyone. We don't want teams of Claude talking to Claude. We want humans talking to humans but by leveraging the tools that are out there today. So with that let's get started. How's it going everyone? So today's episode on AI that works is going to be one that I'm particularly excited about. Sadly Dexter can't make it, so we'll have to go ahead with myself and I believe Aaron's going to be joining in just a second.
2:14 But just to give you a brief intro, this is AI that works. This is a show where we talk about real systems that leverage AI and help us build real pipelines that actually go to production. One of the things that we like to do is skip all the hype and go to things that are practical and ways that we operate our companies today. Today's episode is one in particular that we are super excited about, which is how do you use AI for writing? I think there's a lot of controversy out there. There's people out there that say I will never use AI for writing. There's people where I mean we have all seen the LinkedIn slop where everything is full slop. So finding that striking that balance and figuring out where that is and how good the models are at it and how to make the models better at it is the whole topic for today's conversation. And I think a particular place that we're going to dive into is in the angle of what models do we use exactly how do we make certain decisions in terms of how much AI writing is allowed and also second dimension which is is that okay like is it okay to have a lot of slop writing on the wall and how much slop is acceptable with me I've got my co-host today Aaron do you want to give a brief intro >> yeah I'm the co-founder boundary.
3:27 before this I worked at Amazon for like seven years working on EC2 and Prime Video and yeah happy to be here. >> All right Erin let's get into it. So we're going to talk about using AI for writing. I know you are a writer that has been writing for quite some time. you you choose your words very very wisely. How much writing is acceptable for AI in your mind and how do you get our team to kind of meet that bar? I think the process of writing should always start with the human. like the human should outline what the outline is. They should outline that like the main talking points and then yes, you could use AI to like fill out part of the document. But I do prefer like starting out writing as much as as much of it as you can yourself. It really depends what you're writing. Is this like a technical doc?
4:19 Is this like a blog post? If it's a blog post, I would only write it myself. If it's like an internal doc that like it's a technical doc and we're reviewing together, I do prefer sort of like having the main ideas, the main outline and then just having AI fill in the blanks cuz you know it's not like I'm presenting to the whole internet. >> Okay. So, it sounds like there's some dimension of like who's the audience. If the audience is a well-established audience and you want levels of detail, AI is good. But if it's a broad audience that doesn't know you, you prefer no AI at all.
4:53 >> Yeah, exactly. I mean, what about you? >> So, I kind of flop back and forth. I actually find that AI is an amazing way to convey the idea I have to all sorts of people. Sometimes when I'm rushed for time or it can like contextualize a conversation much much better. So, like let's say it's a domain that I'm not as experienced in, >> the act of leveraging your AI in writing. I think if you do it thoughtfully raises questions in your mind that you haven't thought of asking because you're like oh why did why did the model mention that component in it like I think a great example for is like when you're chatting with customers sometimes a really rookie mistake that a lot of bad founders make mostly myself is you're talking about the thing that you are building and it's really easy to forget the message the most important thing is to talk about the outcome that you are using so I'm not saying that you should use AI to talk to customers but what I am saying is leveraging it to draft a small sentence here and there can just briefly reiterate and remind you back that oh yeah focus on the outcome. So I think covering for your weaknesses is a part that I find AI incredibly powerful in. Like you said when it comes to a broad audience I don't trust AI for Like I I don't want a blog post that I wrote written by AI out there because it is it basically affects my reputation in the way and like I don't want to be known as a slot factory. So, it's not like you're against the AI writing itself, but you're against the perception of AI writing.
6:25 Like, you'd totally be fine if people were fine with it on like making a blog post fully AI written provided you read it. >> Assuming it's good writing. Yeah, I personally have no morality clause against it. But I know there's a lot of folks that like and rightfully so. There's so I mean, we've all seen the startup websites that look you can read the claudisms in a startup website now. It's like you can just see it and it's so clear. There's like this small text or like there's these phrases that are like three words, three words.
6:54 >> Yeah. It immediately like lowers the reputation of the author or the website or the company. >> I think it just signals that you just didn't bother to think of these words yourself. and some AI is doing it for you. >> Now that we've gone over the high level, I have three specific things that I want to show as an example that I think are going to be amazing. One, I think we'll just cover really quickly what models we like to use. and I think both of us probably have different preferences.
7:22 and I think it's going to be interesting to know that. >> Two, I want to go over a real I want to go over two practical examples immediately after this. So, the second example, the second thing I want to talk about is how we prepared for the presentation that we gave at the most recent conference. Yeah, >> I think that was a very interesting collaboration of both AI to leverage AI for some of the writing but almost none of but not much of the ideation. Well, actually some of the ideation too. And then also I want to talk about the third thing which is our beeps platform which is how we do AI for internal teams in our system where we do heavily use AI but we still somehow manage to hold it to some level of a standard though sometimes it is pure slop.
8:01 >> Yeah. I mean and on that note, I also want to touch on a point where it's like at the end of the day, you're trying to transmit ideas, whether it's through writing or maybe some other media like like slides or a video. and now it is much easier to make like insane slides with like animations to actually like show what you're thinking. So, >> yeah, >> that's a little teaser about what we're going to talk about in the second part.
8:25 But let's start with the most easy part. What models do you like to use when you're using AI for writing? what model are you using? >> I just use cloud models like ost 5.5. >> okay. >> And the reason is >> medium high. >> I usually do like high. but I'm doing more like medium thinking and I don't know they seem to be changing how many thinking tokens it emits on each level. So, but yeah, usually high to medium and I have tried a like astra and soul. The problem with Astra and soul for me is that it's just so much I feel like it just emits like a scientific paper. I'm sure it can be prompted to not do that, but I'm too lazy sometimes to tell it like what writing style I want.
9:12 >> >> Okay, that's that's really interesting cuz I have the exact opposite preference for writing. Yeah, >> I actually strongly prefer the soul models and I think it's just a matter of like the ways we like to read are different. >> Yeah. >> I like to read the more like practical like literally just like here's the facts, bullet points, nothing else. >> Yeah. Yeah. Yeah. Yeah. I think I like to read maybe OPOS has more of a little story or like maybe like slightly better structure. It was definitely super sloppy. before 5.5 it was actually terrible. Like I'd rate it like a zero out of 10.
9:47 It was literally non-comprehensible. It's like its own language at some points. It's like using metaphors all over the place. I find that I find that telling these models to use like Google Dev Docs style writing helps. >> >> I've seen you do that actually a few times. >> Just because Google has literally like writing guidelines that like they write they wrote about them and it's probably in the training data. they just have so much engineering content that they've written. so >> let me pull that up really fast just so people get an idea of what that is. So like every page in the de and I think this is because Google has like it's one of the few companies that has a very holistic single developer documentation site >> and because of a single one it tries to enforce a very strong policy across everything.
10:32 >> Yeah. >> And it literally talks about everything. It's like it actually talks about like here's your organization's documentation structure. It tells you how to view the engrams viewer because like we want to minimize the number of words that are being produced in any documentation style. >> Yeah. >> it has like actual it has actual like how to actually write >> preferences as well. It gets a little bit deeper in and in more detail as well.
10:56 >> Oh yeah, there's like it's really really detailed. Yeah, >> when we were writing our developer docs, I actually downloaded all this and started having AI leverage this because like to be candid, most systems are some stuff should be written by humans like the concepts pages. >> Yeah. >> But actual documentation how-to guides, like I see more and more people use AI to write code anyway. So having a how-to guide that's more practical, it doesn't have the whole story around it, just tells you the meat and details, and it's more dense is much more acceptable now than it used to be. But concepts are still useful for humans as well along with models and having that follow this kind of pros is highly highly useful.
11:36 >> Yeah. >> So okay. So use Opus 55. Do you ever use Fable? >> I mean after Opus 5.5 came out I stopped using all the other models including Fable 5.1. Now Fable 5.2 came out. So maybe I'll use that. >> I'm about to cancel your codeex. >> I'm starting to use that. I mean, yeah, maybe maybe I need to get ultra code or whatever it is, a 12x speed thing. >> I will say the main reason that I use GPT models is I feel like they're slightly faster.
12:06 >> and I specifically don't use Astra, I use Soul. And I think for that is because when it comes to writing, like you said, it's about idea creation. I use as much as possible of like speed as the main thing that helps my brain think because I can't writing unlike engineering tasks is not something I can like put on a long form task for context switch away paralyze something else and then come back. I have to kind of serely do writing >> at least for myself >> and therefore speed ends up being the biggest bottleneck. Yeah, I mean I like to do like a breath first search across many ideas and AI does help with that but it basically gets converted into like a soup of concepts in my brain and at some point you need to tie them together into a neat structure. and that that just takes time. I I don't think there's like a shortcut to that.
12:54 You literally have to like soak in the ideas. Same like with code, you know how code used to be and now you were mentioning this week like man I feel like I miss just like sitting down and coding for a while. >> I think the same process can be happening with writing if you're not writing stuff yourself or you're not sitting with your ideas yourself. Like the act of typing out each word and letter just helps slow you down and allows you to like form these thoughts in a more structured way. With that, let's go on to the next thing which is breath first search and leveraging AI for that. So this second piece I think is a really fascinating one. We recently went to a conference code. Talks shout out to Benedict and the rest of the team Alphalist putting together a great conference in Hamburg, Germany. but as we are prepping our slide talk together, I actually learned a lot from Aaron on exactly how he does his thinking process and how he uses AI for writing. So I'm going to screen share.
13:53 I'm gonna show this. I'm gonna show my whole screen. So please again, yeah, that works. We provide safety and security. So if you run into any issues where you're seeing something you shouldn't, please don't please don't go sh on Twitter about it. We'll edit in the video later. All right. So let's start off with how we did this presentation talk. Before we get into that, maybe I should give Should I give people a sneak peek of what the talk ended up being?
14:15 >> Yeah. Yeah. >> Okay. So these are some of the slides that we ended up producing in the end. and I'm just going to briefly go through it just so you guys get an idea of like what the slides end up looking like and like you can kind of get an idea for like what the story ended up being. I'm not going to tell the whole story over time, but it'll give you an idea of roughly what we're talking about.
14:38 And like I think the main purpose that we want to go is how do we go from ideas to actually going through and like coming up with concepts over here that are like actually tied to the final raw idea we started with how we used AI for this process as well. >> Yeah, you're just here mentioning how everything is like super disjointed. There's many tools in these like >> loop programming languages absorb more things, more tooling >> and >> and I'm like they haven't absorbed anything past production and then like what would that look like? We talk about vertical integration. We talk about concept called hyper observability and like talk about how tracing code is really ugly and like you're kind of to see the story. the talk will be live.
15:25 We might do a proper episode on the talk later. Yeah, but like I think the gist that you're seeing is like there's a story in place over here that is that hopefully doesn't feel like AI slop. And I think that's the purpose of using AI for writing. If you use it well, you get to do incredible transfer of ideas without anything feeling like slop. And that's like the balance that we're trying to do. and then it just talks about a few more things. I mean, you get the idea at this point. like it's not >> it's not that fascinating but I think the more interesting thing is how we did the process. So Erin, why don't you talk through this a little bit and then we'll go into the script and I can kind of walk us through.
16:01 >> Yeah. So essentially this is literally a scratch pad. Like if you were to translate this to a notebook, you'd see like a ton of scribbles all over the place. >> Yeah. >> so there's no real like outline to this document or anything. It's just like a dump of ideas. >> and this actually was a later addition that we added after the fact while ideas were the first thing we started with. >> The way if you like keep scrolling down, you know, I can just >> Yeah. So, we have the title >> piece by the way.
16:33 >> We started with the title. >> The title is the most important thing >> and it's about like software factories and what the missing piece is for software factories. So, like I if you if you go all the way down because I started I think down I I actually started adding things at the top which is funny. >> I just started Aaron has actually watched Silicon Valley so he likes to do middle out. >> Fill out the top, fill out the bottom and just middle you know or I guess middle in.
17:03 >> So like I Where should I go? Oh yeah. >> Yeah. It's just here like you know I've started writing like a structure like okay a software factory little look. Some of these are just like screenshots that I saw that were interesting. And I don't have an at this point I don't have an opinion yet on these things. I just know that someone, you know, produced this this video like I shipped 2,000 PRs last month like Lauren from SpaceX and I'm just kind of like thinking about that and it's almost like I'm loading my context window and just being like okay I am just like loading information loading context and each of these will eventually emit some structured English you know so it's like software factory you know maybe there's a a section here like how to build one versel has an example on how to build one like what can I learn from that and then you know there's a bottleneck here there's like humans decision making spread out tooling you know you can keep scrolling down and then it's just like random ideas like oh what if everyone using Python already had the software factory pieces in place from day one like what if this is secretly a programming language thing or or like for example we say like oh you can just run tests Right? Like today we say run the test and we're like oh yeah I'll just go run like go test or like v test or whatever but I just started working with this concept of like before you had to figure out what even was a test like what assertions did you add or how did you add assertions like >> if any of you have ever written C code or C++ code running tests is not as it's not as easy as just run the test.
18:44 >> Yeah it's a beast of a task. Yeah, it's like go figure out yeah, everything. and and so like for example, here I have imagine the C devs, they had to invent their own testing framework. Sometimes it sucked. >> And then I'm like, oh my god, are there any like startups that have like pitched testing as a as a product? >> I don't know if I I wrote it here, but >> they're actually I mean I I mean it's I think we had >> Yeah. So I mean I I'll give a here.
19:19 I mean there's not one slide of this one. There's many slides. >> Yeah. So there's many different stories here like >> I think we had the startup like this one avatar. This literally came from Aaron having that idea of like I want to tell a story of like automated testing and you literally used to buy this company has raised millions of dollars literally to automate unit testing >> and it seems ridiculous today right it's just like I don't know it's it's a cool story right like the point of these talks and and blog posts and everything like humans want a good story and also the story needs to make sense and you have to like learn something so I'm just like you know putting stuff in here like I talk about how CI is super lucrative like we have these software factories so like what are the components one of them is CI and it's like okay CI is super lucrative like we're writing way more code shipping way more code like there's some startups spending like 20 million on entropic and then scroll all the way down and then yeah they they have this concept that they call like hyperobservability in their blog post >> and then >> and then yeah So, it's just like closing the loop like what are the ideas from here? Like SpaceX did vertical integration and there's a couple of interesting stories there as well. So, like like I said, this all seems super disjoint. I'm literally pulling like a random screenshot from somewhere. I'm pulling like random CI things from somewhere else and I'm just putting them in this like context soup from me and I literally just kind of go on a walk maybe or like start thinking about these things and start forming various like threads in a way. and so like obviously we're building a programming language as well. So like how does that translate to our efforts? like what what is the stuff that you can do with BAML when you're like fully vertically integrated like SpaceX, you know, like if we're the first language to tackle like production essentially. what does that look like? What's the stuff that you can do? and so I just you know put like interesting things here like you know how do you capture exceptions like what's the stuff that sentry does to capture traces when an exception happens and you know here's a a set of things going >> and you guys can you guys can see like this like obviously we are not going to go read all the blog post of what sentry does but in this thread of this idea really quickly we can part out go to chat GBT have it go read a bunch of their blog posts and just see at a high level what are they doing to see if this is the thread that's worth interesting to kind of explore I think this exploration phase is super underutilized by many people during writing and one of the key takeaways I had from Aaron actually cuz I had this urge I love this idea that Aaron proposed in the very beginning of like oh this idea of vertical integration like SpaceX literally reduced a part of a cost from 120,000 to 3900 that's a beautiful story and my hunch immediately after that I kind of took that idea and I built built a whole deck around it and I was like going down that road and the key learning I had from Aaron here actually was when you use AI for writing or actually probably just in general for good quality writing and AI just amplifies this more it's actually really important to not do that right away not take your first instinct and go deep on it go allow yourself to go deep and there and I reflected on this after the conference >> to go wide you mean allow yourself to go >> sorry to go wide not deep >> and I reflected on Why going wider even earlier is better because naturally what are you going to do? The process of doing this is literally what is the next step here of some kind? You're going to copy and paste this content put into chat GPT put into codeex and tell it to do some with it. Maybe you'll prompt it better and it'll do something more interesting but effectively we're going to paste this as a context window.
23:10 If all you've given the AI is one idea, it will do what you say and follow that one idea. The value of going broad is when you tell the AI, I'm not sure about exactly which idea I want to explore, it truly knows that context window is seated with the entire breath of options. And it's much easier to tell AI to pick certain elements of it and it's much easier for it to propose different ideas that you might not be thinking about as you go down one specific vertical because it has the context of everything you're exploring. I mean, AI is really good at joining ideas together. I mean, you could literally say like, you know, write a story about a pelican talking to a muppet doing some blah blah blah and like it'll just tie it together into some coherent thing.
24:01 so this similar thing can happen here, but you do have to be careful of you do have to make sure that it does make sense and there's like some data backing the stories that you're telling. >> Like one really interesting idea like off of all the things we've had, we were talking about PGO, we've been talking about like optimizing the GC and these are all ideas we had on the team and like reducing sampling rates. But one idea that should be obvious in hindsight but wasn't was we can actually use profiling as a way of basically sampling rare PS where like if you have a match statement with three arms and only some of them are rare well guess what we only will actually will densely trace the more rare ones and everything else get kind of gets dropped because it's like not really a problem. It's a thing that happens all the time. It's very obvious in hindsight, but again, as a part of this talk and this idea of coming up with stories, it's very useful to use AI to come up with these concepts and join those ideas together like Aaron was saying here.
25:01 >> Yeah. And so >> there's another one I came out with which is like, hey, you can only capture all the IO code, so everything else is deterministic. And like we were just like, holy crap, that's just a good idea. We should do that regardless. But also a talk can form really interesting concepts there. >> Yeah. Yeah. There's like interesting concepts in here of like but even before I go even further I like step back out and I say okay programming languages were hard to adopt but now things have changed you can rewrite it all in Rust or you know you can use another programming language like BAML you can just swap things instantly to test things out >> if you're like just experimenting with your factory I guess your software factory >> this is that startup right there that got killed Now Stone has a really interesting question. As this outlining is being made, are you using your own manual research or using Claw to help you narrow in narrow in and populate this outline at this phase?
25:56 >> So a lot of the research comes from me browsing maybe like X or like browsing hacker news. So a lot of this actually just comes from my brain and like my own context literally like just the data that I'm ingesting, you know, from a day-to-day basis. but of even the Sentry blog post for example I had seen that somewhere like how do they capture trace source maps >> and I had seen that a while back maybe like even years ago >> and so yeah it just comes from there but I do ask I do ask AI like hey I have this idea right >> like the startup thing or like the SpaceX thing maybe you heard something similar but you don't have all the details >> so definitely I do ask cloud to like give me more details and I can just read about it and like I just post the whole screenshot in here and and maybe something will happen with it.
26:51 >> And like for example, we would have not found a startup that raised 35 million in 2002. It's just not going to happen. Let's be real. And AI was it's phenomenal for like taking this idea and taking that. >> Yeah. 35 million today is like insane. 20 in 202 >> 2002 >> 2002. Yeah. Today is insane. There's also these awesome tweets by Theo that he made where he's like, "Oh yeah, I just ported this like I just wrote the TypeScript compiler in Rust and like that concept came from Aaron being like you can just rewrite things but that was inspired by seen this on Twitter."
27:20 >> Yeah. So there's this amalgamation that we're trying to do which is like we're letting our brain dump as we happen and the the practice at least what Aaron taught me was dump from your brain fill in details using AI when some ideas are more interesting and then search for context that you've probably not heard of that are just wild ideas from AI like again using AI as well. >> Yeah. Yeah. And then there's a second part to this whole thing which is once all that was done then we started writing the slide and obviously every I mean every YouTube video every thumbnail everything starts from the thumbnail. So we just started with like what is a hook slide?
27:59 and in our case I don't know if it was a good hook slide but like this was the one that we picked. >> Yeah. >> And then we just started like outlining the key slides and there's a lot of things that are crossed out actually and there's a lot of things that didn't make it into the final deck but it start I think the key let me see if I can scroll. main thing. the problem with just vibing the whole thing and not having an outline is that you might end up somewhere. You're like, am I even answering the question in the title of the slides?
28:26 It's literally just our own you literally just forget because it's not outlined. If you're able to read the outline and each part of the outline answers a question or poses a question that's related to the title and you could just read all the titles in your slides and it tells a very cohesive and very simple and concise story like you're golden. >> And you can see over here at this point we're still really liking the Raptor 3 idea. This was sadly me really liking and pushing this a little bit more than I should have probably or like this was the best idea we had at the time. And the final slide deck did not have the Raptor 3 in it. But this idea of like writing it down was like coming up with the Raptor 3 of software development. And like the funny thing that we realized while we did this is like I think there's a there should be a question in here. We were asking ourselves the question like when you're trying to build a rocket that goes to Mars, that's a very aspirational goal.
29:20 And when it comes to building the Raptor 3 of Soft Done, you're basically asking like what is the equivalent of going to Mars or Software Deon? And I both concluded we could not come up with something. So we really had to abandon ship on that idea and just like it's just not a good story. And yes, AI will vibes off something. If we tell it to come up with the equivalent of Mars for software development, it will give us something. But this is that human element that you have to apply of like is that in good faith? Is that in good taste? And like is that the right thing you want to really hit on?
29:51 >> Yeah. >> I want to show the second part of this now, which is what we did after this. So, funnily enough, I was using pod. but as I was doing this, what I told this thing to do was I literally took the transcript and all the notes and give it access to notion. And once it did this, I just told it to start using our brand guide and everything else and start putting slides together. And it came up with a lot of slot. You can literally start seeing the slot that I made. And these are screenshots along the way. And like this stuff is not very good. But I think the most interesting thing that you can do with AI that you could never do before is you could generate so many versions of everything that you're never able to do again that you would never be able to do before. So like eventually I concluded that the style I like the most you've seen me and Dexter talk. We love Excal. It's a phenomenal product. I think it has like a really nice way of storytelling when you do this. Well, we basically built a bunch of slides that talked about this with different concepts, different titles, and different ways. And instead of actually like anchoring on something, we literally just like went through and like found like the most interesting things. So, like what I what I love about this one, I'll show you. I love this UI. So, you can first of all, Claude made this. This is incredible.
31:08 This would be impossible to build in the past. And the fact that you can just do this and prompt this to make this kind of slide deck is incredible. But the most interesting idea was like it was talking about how software is a belt and it literally put like humans in the loop and it's talking about different steps of it and like you were going to replace some of this stuff with AI and then it started like talking about all these other tools and it was like oh you're actually slowing them down. But the funniest thing I saw >> Yeah. I mean there was an interesting concept of like you know people are saying I'm shipping 2,000 PRs >> or whatever. Yeah. But what you really want to do is like create experiments like all you want to do is like just create an experiment look at the metrics and then do something else. I think the concept and the word PR like anchors people to like you know pushing to GitHub and then there's an agent comment on things and then there's a bunch there's like a whole process involved with just the word pull request >> and it's like >> can we stop with the 2000 PR thing and then just like talk about what you're trying to do which is a like fix the bugs and run experiments do you need CI/CD to run an experiment what if you just like do a feature flag or like swap a function or in real time. I don't know, some wild ideas, right? Obviously, yeah, it's just like just trying to rethink what people are doing with software factories. But yeah, there's this cool animation of languages sort of like eating each part of the tool chain like Bon for example. Bon added testing and a bunch of other stuff and S3, you know, >> and like I don't really know if this idea would make it or not. Maybe we'll use this in a future talk, but like I would have never had the patience to build this kind of storytelling here and like just being able to experiment with like these kind of wild ideas. I think this is the benefit of AI and be able to come up with these concepts. But the last tip that I'll give you when it comes to you building slide decks with AI is first have a good outline. You need to work with someone. You need to do reference search. You really need to explore ideas. But the thing that I have found the most powerful way to make your make slides not feel like disgusting and I think this is again just a good tip when you do slides in general. The way that you make content engaging is just don't put words on the slides.
33:27 And it turns out it's very hard to have AI AISMs in your slides if you just have less words >> because the likelihood of an AISM is based on the frequency of words on the side. so the trick that I use is I just tell the AI like delete every possible word and like maybe you can sense it like one shared core, but I mean a human could write that as well and that's not like too far off.
33:51 these slides could very well have been written by exactly by a human. And all the words here are picked by me just to be very particular like I it did not automatically start saying efficiently build incredible products. that was like a thing that I had to kind of gear it towards cuz the phrases it was originally using were not the ones I liked, but it was able to creatively take my juices and have it happen in that way. I think that's it for AI slides and how you build presentations with AI and the breath and how where the AI feeds in. So, it seems like if you were to summarize all of this, Erin, how would you say that? And if there's questions in the chat, meanwhile, feel free to drop that.
34:28 >> first, figure out who your target audience is. figure out if you need to write out blog posts or what the medium is. AI has unlocked creating little explainable videos to people or like you know doing a bunch of diagrams that before were very very very expensive to create. humans are very visual creatures. So this might be a better thing than you know some random blog post. Even if it's a technical thing, you could just do slightly more like animations and things to make people understand what's going on. and start breath breath first search with ideas and then coales them into one single unified structure using an outline and then start writing. And you might have to create many outlines and you might have to write many scripts but you'll have a better product in the end.
35:24 Cool. someone asked like, "What do I use for slide creation?" Honestly, if I'm completely transparent so the first draft of slides did not work. so I actually didn't do that. I actually abandoned that work tree. I made a new work tree after that. And this one I was much much more particular on and I steered it in the right direction. >> It's just React. So like, RIP, Canva, and all these other platforms. >> It's literally just React, Google. I just if I can if I can move up. I literally just use HTM this is a plain HTML system. I do not use any I do not use any framework. I literally just had it build its own and I basically said and I but I did have it go and refactor the framework like twice to make the animations very smooth along the way. So it's HTML it's JavaScript. I don't even know if it's React to be completely honest. I actually have no idea what powers this >> are going to be.
36:18 >> Yeah, like make some slides. >> I think I am about to publish these slides. If you want to access them, you guys can scan the QR code. I will post them. you'll get access to it really fast. This was the thing. >> But yeah, definitely definitely do not use any existing slide platform. Your iteration speed is so low. Like look at this. Look at this cool freaking animation that I built. >> Like look at this. It's it was freaking magical. First you can swap everything out to Baml. So it's magical. And it's like boom. You just get rid of all these tools that you're used to using and like they just all go away. Like could you imagine building the animation like still have GitHub actions like could you imagine building this animation?
36:56 >> Yeah, it would take like 5,000 $5,000. >> I would need a whole team of people just building slide decks for me all day long. >> Yeah. >> And like this is kind of what this works with. >> Don't go overboard, you know? It's like >> Yeah. >> You know, something happens in music production. I make music on the side too. And like with music production, people start adding reverb to everything. because it sounds cool. and then it just makes everything super muddy. So I think use things in moderation.
37:27 >> okay, let's go to the second part of this though. people might have I I'll check out the slide dev thing. It might be interesting. if people have more questions about this, definitely drop them in. I think there's a second thing I want to talk about though. The second thing I want to talk about is engineering docs. Engineering docs with AI is a whole different beast. we have our own opinions on this. I suspect me and you are somewhere aligned but somewhere misaligned on certain things and that's I think that's part of the process of this. I'm going to pick apart some of these but do you want to describe your general philosophy of building an engineering doc and how you think about this?
38:03 >> I mean we try to practice a culture of writing. I think writing your thoughts down make sure that you've thought about many many of the corner cases. and in in these kind of docs, I still think an outline is super useful. an outline is super useful. And also, if you're going to use AI to write this, you should always say, "Look, I'm going to present this to someone that has no idea. They have not seen the code. They have not read the code. Please explain as if they were like a like entry-level engineer." every time every single technical doc no matter how complex it was here or at Amazon I always wrote it with the expectation that a entry-level engineer would be able to understand it by the end >> and there's another thing that we found at least internally that's useful which is the doc is not an engineering implementation doc it is a how am I going to use this kind of doc and what is the how what concepts does a end user need to not what concepts does a implementer need to know cuz those >> are often very different.
39:13 >> Yeah. Sometimes I I I tell the AI like write it as if almost as if this was almost the end user doc essentially the actual documentation. >> Like one really easy example is like string interpolation. When Antonio was writing string interpolation you can see like this had multiple versions of this thing on here. had this written on here, but like when he wrote this, there's a small summary. Now, we do a couple of things on here. So, this is actually fully written by AI. However, we actually don't let humans read this from AI. So, the trick is we want humans to read it and humans to comment on it.
39:49 There's no API to comment. There's only a human API to comment. I guess you can use computer use now, >> but it's not with the e it's not with the ethos of the system. So a human has to read it, but you can the author can use AI. And what that does is it creates a really interesting paradigm where if an author produces too much slop, we literally ping you on Slack being like, let me actually I have a funny one right now.
40:12 >> Oh yeah, there is one that I I don't know if you made or someone made. >> That was me. That was me. I I made one that was like absolute. >> Oh yeah, you guys can read it, too. we can show you literally it was like unreadable. >> >> Yeah, but like here's this in Slack for example, right over here. You can actually see what's going on, which is like >> Avery created a beep last night and he was like slightly slop do not read yet.
40:39 Just letting us know that it's not ready for human consumption. I was like, "Oops, you said not to read." And I like clearly there was a thing. But you can see the level of communication that we have established in the team culture on this which is it is not meant to be slopp and the quality must be high and when you think about string interpolation there's so many thoughts that you have to do and because we're designing a language we have to make no mistakes effectively like you know slightly less than cloud at least and we actually have to go through and do a lot of prior art research and oftentimes our design dos have prior art research where we talk about like different things like for example JS s allows SQL directly inside of JS actually many languages do and what does that look like do we want to enable that capability and then we start outlining goals non- goals and the design decisions in place that start describing it so like one of the things we wanted was we wanted auto dentation so you can just like you can just indent your strings and it'll just auto dend it for you just so it reads nicer along the way so we have all these goals in there and we just describe exactly how this works and the goal is at the end of this. Let's see if I can show some of the comments.
41:50 you can actually see some of the comments that people leave. You can read comments and I have earlier ones. Earlier one comments are actually better to read because then you can actually see the kind of feedback that >> you need faster. >> I'm trying to give the feedback. I do need I I actually high mouse sensitivity. >> Better ergonomics here. Obviously, this is a vibe coded tool. We We don't know what this code looks like underneath.
42:15 >> and we never will, >> but it's been pretty useful. >> Oh, yeah. There's some comments here. Let me find the actual ones. These are older beeps. Let me find the more recent one. Like the CLI redesign that Avery did. You can just see like how we're having these conversations. We're literally just talking about different things along the way. We're just highlighting different concepts. And again, like we Avery knows that I'm going to read every word of it. So, he's going to design it in a way that makes sense. and the level and similarly that means that my comments are taken very seriously because he knows that I'm putting the effort into it and we can have an actual faithful discussion around this in a good way. Where's the one that's like the level of detail? I think metrics like our reflection system had a ton of comments because like it was just not reflection as it turns out is a complicated concept.
43:06 >> Yeah. And you can see like some of these some of these docs get to be multiple pages because of how complicated they are and like yes it doesn't mean that we write short docs and doesn't even mean that we don't use AI like this is written by AI but the important part is someone needs to understand exactly how C is going to go do and sometimes yes we have AISMs but the idea is AISMs are well understood it's like yes in prior art it's okay to have more AISMs than in the main readme because >> yeah I mean >> prior art is just like catching everyone up to speed like Not everyone on a team is going to go understand reflection in every single language at all times, but the person writing the bet better.
43:43 >> Usually, you want to put your proposal at the top in a technical doc like here's what's happening. Here's the standard library changes and then you dive into everything. >> So, someone can just get like a see like in here you say what you can do, right? We we specify the problem, >> we tell you literally how you use this stuff and then you dive into the design. that way you can get a mental framework on what to look for. you might have a lot of questions when you first see the AP.
44:10 >> I'll leave you guys with one last thing which is like actually the AI workflow that we use on here. So we don't prescribe anyone use any model. It's actually really simple. You can just download all these beeps. And once you download all these beeps, I actually don't even know how to write a BP manually anymore. I'll open this in cursor I guess. >> yeah, we just have a prompt. I think every tool that we make is self-escribing.
44:32 so this is another one of those tools. and each tool just has like, hey, here's how you would use this tool in the future for another agent to use. That zip file basically just downloads into here. It downloads every BEP into here. And every beep has a skill attached to it that literally just has a CLI baked in that says exactly how to use it. You can just like bet pull bet push and it just does the whole thing like git but it's not git because git is not very good for docs because of merge conflicts and a bunch of other reasons that we're not going to get into right now.
45:06 >> Bap is a ble enhancement proposal by the way. >> Yes. and what we do here is like it's we have comments. So again you can fetch all the comments but you cannot and oh we did make it so you can reply to a comment. You just cannot create a comment. So again the code the author of the beep is given more convenience >> than the readers of the beep. >> And that has a nice balancing function >> because the author will literally be told in the team being like why are you producing beeps? Why are you that are slop and we will remove their beep privileges and their beeps will be depp prioritized in terms of how the other team devotes reading their bets.
45:44 >> So it's like a self-balancing system on the quality side of it. and yeah, we just use Claude to write all the stuff out and like address all the concerns on there or any agent really. Any questions from anyone on there or Aaron, any other thoughts you want to leave around the beeps thing? >> no. I mean, yeah, just build these you can build these kind of tools yourself and deploy them and and then just use a whole system for writing docs. That being said, we are like kind of using a bunch of cloud artifacts to also share some docs. So I think it's just a cloud artifact is inherently less friction which leads to people using them and we just need to create a system that makes this beep site even less friction than writing a cloud artifact.
46:34 >> and also cloud artifacts you know you have like HTML you can add a little animation do that kind of thing and we haven't updated our website yet to do this kind of thing. so yeah, we have to add that in. We have to keep updating it and making it more flexible. >> And I mean the main benefit of having this is like we don't use this for every design doc in the company just for a little bit more transparency. We use this specifically for new language features or new capabilities. A lot of the other stuff can be notion docs, it can be Slack docs, it doesn't really matter. But if it's a thing that affects the language, it needs to be in here kind of approach.
47:13 and I found that to be a very useful structure behind the scenes. I have a couple of questions to ask you. on top of this, now we've talked about three different ideas. We talked about what models we use. We talked about how to use AI to build slide decks. >> We talked about >> how what structure we've put in place to actually have engineering docs and the quality of writing that we expect on them. And obviously, if people want to see this, there's there can be a link to the website. that you guys can go poke around and like go see if it's interesting or like how we write it.
47:42 like our sandboxes map is kind of interesting probably reading it. But in as a final closing thought when we introduced these first few processes, what do you think? What do you remember your first reaction to? I actually don't remember >> >> like when we first said we're going to use write beeps on here. >> I don't know. It could have felt overkill potentially. I'm not sure. it's like oh man another tool to maintain but I think agents has made it easier to to do this. but that being said I love I love having the culture of a culture of writing and I think every just having people write makes them better thinkers for sure. So yeah I like it. I like the comment section. I think initially we did a version of this where some features didn't really work or the layout didn't really work and then it didn't really get much use and then we iterated on it and then it became better.
48:41 >> Yeah, it did take a while to actually find a workflow that worked. And the reason we even sought this out for context is like before we were literally sharing markdown files and and after that we were sharing like Slack DMs and they would just get lost. There was no like written record like Aaron says like there's no culture writing. There's no written record of where certain docs live >> or how decisions are taken. Yeah. >> Yeah. And I think in the world of AI where you're moving extremely fast, having a written record of what decisions were made and why, specifically the why, because if you need to go back and walk through and go back and like open a different door, like you need a written record really quickly or building that context is like too expensive now.
49:22 >> Like code bases are >> there's just things are moving so fast. Like think of how much software will be created in the next 3 years. Like you're going to create all of these beeps in one go with like a single prompt. a lot of these decisions will be done for you. but there will be just more decisions just for humans to understand and humans to take. So you want a written record of what those decisions were.
49:49 >> I mean, was it Bezos who was talking about like, hey, I I I don't work that many hours a day, but like when I do work, I have to make every decision perfectly correct, and it's more important that I get all those decisions correct than like any amount of work that I do. >> Yeah. Exactly. >> Like that's effectively going down to every human in the chain. >> I could imagine. >> And right >> Oh, yeah. Yeah. Yeah. It's like going down every human in the chain and figuring out if all the decisions were correct. But >> and the writing is like the way of transferring that idea. I could imagine this website having like working proof of concepts for each of the things.
50:21 >> Yeah. >> Like actually working things and it's like, "Oh yeah, try out the demo here." >> And then you can just like say a comment and it'll just rewrite the thing and be like different. >> so it'll be interesting. >> All right, I think that's it. if anyone's got any more questions, we'll stick around for a little bit, but otherwise, it's been a blast.
Summary
- Start with human-generated outlines and ideas before using AI to fill in details.
- Use AI to brainstorm and explore a wide range of ideas, rather than diving deep into a single concept too early.
- The choice of AI model can significantly impact the writing quality; preferences vary between users.
- For presentations, create engaging slides with minimal text to avoid AI-generated clichés.
- Establish a culture of writing within teams, ensuring documentation is clear and accessible to all levels of expertise.
- Use AI to draft technical documentation while requiring human review to maintain quality.
- Encourage collaboration and feedback among team members to improve the writing process.
- Maintain a written record of decisions to facilitate understanding and context in fast-paced environments.
Questions Answered
How can AI be utilized for writing without limiting creativity?
To effectively use AI for writing, it's crucial to provide it with a broad context rather than a single idea. This allows the AI to explore various options and suggest ideas that may not have been initially considered.
What role does documentation play in AI and engineering?
Effective documentation is essential in AI development, as it provides a structured approach to writing and minimizes unnecessary verbosity. Companies like Google exemplify this with their comprehensive documentation practices.
Why is the exploration phase important in the writing process?
The exploration phase is often underutilized in writing. It involves gathering various ideas and insights, which can then be synthesized into a coherent narrative. This phase allows for creative connections and deeper understanding.
How can AI improve the process of creating presentations?
AI tools can generate visually appealing and engaging presentation slides, allowing for a variety of concepts and storytelling methods. This capability enhances the overall quality and creativity of the presentations.
How can teams ensure high-quality output in collaborative projects?
Establishing clear communication and quality standards within a team is crucial. This includes setting expectations for documentation and design processes to minimize errors and enhance the overall quality of the work.