Latest / AI Infrastructure / Agents built the AWS emulator
Transcript
- 0:00Okay, just, I just wanted to show the view like at 4, 5 p.m.
- 0:07I don't know if you can see the tower, like the Bitexco Tower, but the sunlight is shining off.
- 0:11Wow, it's a lovely day.
- 0:15Yeah, well, this is the regular day in Vietnam, but you can see how the 4 p.m. sun.
- 0:18Oh, can you angle the camera down a bit so I can see the buildings?
- 0:23Oh, yeah.
- 0:23It looks like Singapore.
- 0:26Yeah, so this is, this is.
- 0:28the Phu My Hung area, which used to be swamps,
- 0:30but now it's full of construction.
- 0:32So all of those villas that were there for like 50 years
- 0:35now are being replaced by restaurants
- 0:37and some of them being removed.
- 0:40You see, they're all kind of the same, right?
- 0:41It was a huge development and people buy them
- 0:44and then they open a restaurant
- 0:46and then you have motorbikes everywhere on the street.
- 0:49They open an office.
- 0:50So there's no zoning laws here, which is kind of sad.
- 0:54In a way, it's kind of, you know,
- 0:56it's nice that everybody just does whatever they want but in a way if you live in a nice area
- 1:00then you suddenly have cars everywhere and and then people get upset because they want um
- 1:08they don't want cars parked on the street so they um they put all kinds of cones uh so there's a
- 1:16restaurant but then the neighbors put cones and then the street is like overloaded i don't know
- 1:21you don't have that problem in the UK I guess
- 1:23because there's strict laws, zoning
- 1:25laws of what you can do in each
- 1:27area, right?
- 1:28Yeah. Yeah. I'm not a huge fan of zoning laws because I guess it's just a sliding scale or something, right? Like you want to be free to do things and you don't want the government to basically weigh in all the time.
- 1:42Yeah.
- 1:47So you do need building control and zoning, but sometimes it's a bit much, I feel. I think the balance can be quite weird.
- 1:56So in Belgium, we were really bad.
- 2:00Well, they are.
- 2:00Oui.
- 2:00We are.
- 2:01I grew up.
- 2:03I don't know.
- 2:04I think at this point in my life, I've lived more outside of Belgium than in Belgium.
- 2:09But we, Belgians, have a lot of problems.
- 2:14And we have a name for it.
- 2:15It's called lintbebouwing.
- 2:16It means that there's like one street.
- 2:19and because there's no regulation on how people build,
- 2:22you literally have like a street
- 2:24and then the houses are all built along the street.
- 2:27And then behind those houses is nothing.
- 2:29It's like a strip with like a lint really means like a line.
- 2:35So if you drive from Belgium into the Netherlands,
- 2:39you immediately see the difference
- 2:40between a nice well-organized country
- 2:43where everything is neatly zoned
- 2:46and then Belgium, which is
- 2:49the roads.
- 2:51Your car starts bumping on the roads
- 2:52at least back in 2006
- 2:54when I left.
- 2:58Crossing the border
- 2:59is like you hit
- 3:00the road starts bumping.
- 3:02dear
- 3:02The lights on the street are
- 3:04triple the lights that you have
- 3:06in the Netherlands because Belgium
- 3:08even you can see them from space
- 3:10because they put lights everywhere.
- 3:12I'm looking forward to go back in
- 3:14January.
- 3:15so yeah
- 3:16I'm looking forward to the Belgian trip
- 3:19how long has it been since you last were in Belgium again?
- 3:26I think
- 3:28probably
- 3:30since at least 10 years
- 3:32I think the last time I went was in
- 3:342016
- 3:34wow that's going to be a lot i suspect
- 3:36yeah
- 3:39I'm going to see all the
- 3:40cultural enrichment
- 3:44I mean in a good way
- 3:44hashtag controversial
- 3:49the the obviously the the thing that disappoints me about about the belgium thing is that
- 3:55is that my AI related proposals,
- 3:59my talks at Config Management Camp,
- 4:02I guess I didn't get accepted.
- 4:04I even followed up asking for feedback
- 4:07and I didn't get feedback.
- 4:08So I'm a little bit disappointed at the organizers,
- 4:13but I'm still booked in to go.
- 4:14You tell them.
- 4:16You tell them in their face.
- 4:18You didn't recognize me?
- 4:20I go every year.
- 4:22Finally, the first year I propose
- 4:23and you guys don't even give me feedback
- 4:25on what's wrong with my proposal.
- 4:26That's not very encouraging.
- 4:28That's not a very nice community organized event.
- 4:31I guess they're super busy.
- 4:32I don't know.
- 4:34Well, maybe my proposals genuinely sucked, but, well, there's that.
- 4:39Maybe you don't know what they compare to.
- 4:42I mean, I got my talk about CDK Terrain.
- 4:45I guess the only reason is because there might be an audience that actually like,
- 4:49I mean, there might be people that like to use CDK for Terraform after the...
- 4:55I think, as I was saying, my colleagues independently started using CDK Terrain.
- 5:04Like, what you've built is commendable, Vincent.
- 5:07So, oh, yeah, of course.
- 5:07Not just me, right?
- 5:08I mean, it's a community.
- 5:10I couldn't do it alone.
- 5:11yeah
- 5:12Claude, what's his name?
- 5:14John Steinig, Eduardo
- 5:15Codex.
- 5:16Codex.
- 5:18Simon
- 5:19Heather
- 5:20Gabe
- 5:22there's quite a few people that are
- 5:24and Torsten of course
- 5:26the person who offered the Open Construct
- 5:29and basically manages
- 5:31the Open Constructs Foundation
- 5:32that originally was created with
- 5:34Elad Ben-Israel and Sebastian Korfmann
- 5:36you know the foundational people
- 5:37okay
- 5:38behind the framework
- 5:40So it's only possible and also because of, yeah, there is a kind of a foundation there, yeah.
- 5:45And so you were messaging me earlier about a demo that you have with the new AWS emulator.
- 5:58Am I right to assume that you somehow got CDKTN running on the emulator
- 6:06and you've got some value out of it.
- 6:11Yeah, actually, that would be an interesting little demo.
- 6:19Where is that session gone?
- 6:23God darn it.
- 6:26Anyway, did I close it?
- 6:31I don't even know where it is.
- 6:33It doesn't matter.
- 6:34I can ask any new agent to spin it up.
- 6:38I'll spin up the agent
- 6:39so basically what I've built
- 6:43is
- 6:44I'm running a workshop in Singapore
- 6:46on the 28th
- 6:48on Saturday which is with
- 6:50you know, Co Dojo
- 6:52from Michael Cheng who
- 6:54does work for GovTech
- 6:56and talks a lot about, he's very
- 6:57Michael Cheng is awesome.
- 6:58yes, sorry
- 7:00and if Michael
- 7:01yeah
- 7:02he
- 7:02is listening
- 7:04howdy
- 7:05howdy from the UK
- 7:06he's
- 7:06he's the OG behind a lot of the meetups in Singapore, right?
- 7:12And then he started going to meetups with a camera
- 7:15and a sound setup and everything,
- 7:16yeah
- 7:17and then getting volunteers,
- 7:18trying to cover every meetup that's happening across Singapore
- 7:21yeah
- 7:21and setting up cameras and having everything recorded and online,
- 7:27creating speaker profiles,
- 7:30capturing the event and the attendees
- 7:32and what the meetup was about,
- 7:33creating a little website that gives you the ability to review that even today i'm like oh
- 7:38yeah there's a there's a recording of of that like event that's only thanks to michael and his
- 7:40yeah
- 7:45volunteers yeah
- 7:45Yeah, recording this stuff and documenting this stuff is so important.
- 7:51yeah
- 7:51I just, a little aside, with AI, it's so important to record your meeting correctly.
- 7:59Like, it's so important to have that artifact so that as AI improves,
- 8:07that you can sort of throw in those meeting artifacts
- 8:10and summarize and learn from those artifacts.
- 8:14So I don't know if you feel the same way,
- 8:20but I'm pretty keen, even when we're meeting face-to-face
- 8:24in Belgium, Vincent, that we record our conversations.
- 8:28oh yeah that's not a bad idea to set up some time for that i'm there for a whole week
- 8:32we can sit in a nice Belgian café
- 8:35in the Belgian winter
- 8:36have some french fries
- 8:38a beer
- 8:40a nice duvel
- 8:41and listen to the horses
- 8:43in the center of Gent
- 8:46if that's still the case
- 8:47I didn't see horses last time I was in Ghent
- 8:50but Jesus
- 8:51I'm gonna be sad
- 8:52it was when?
- 8:541820 were you last in?
- 8:56no so even when I was
- 8:58I go there from high school
- 9:01all the way to uni right
- 9:02So from when I started high school, goddammit, I finished in 2001, so 18 years, sorry, six years before that.
- 9:12So 1997, 98?
- 9:17we must be very close in age i don't think i
- 9:20I'm from 82, you're like three years older, I think.
- 9:24oh all right but i i i went to university in 98 myself
- 9:33maybe because yeah
- 9:3398.
- 9:35Sorry.
- 9:35Yeah, well, I started in 2001, Uni, in Ghent.
- 9:39So the thing what I was referring to is,
- 9:41at some point, they had a project around the city of Ghent
- 9:43where they diverted all the cars into parking areas around the city.
- 9:48And the center of the city is car-free.
- 9:50cool
- 9:51There's no cars allowed.
- 9:52yeah
- 9:53So you're only having bicycles, trolleybuses, and horses.
- 9:57So, like, I have a story of a friend of mine who had a hearing problem.
- 10:02And his parents were traveling at the time he was receiving his in-ear, the first time they built the in-ear, according to the ear channel.
- 10:11So, he stayed in Belgium and didn't travel with his parents because he had behind-the-ear hearing aids.
- 10:18And he wanted to get the new in-ear ones because they are obviously better and less visible.
- 10:24Yeah.
- 10:25And so, he was very excited.
- 10:26So he stayed with us for a couple of weeks and we took him there to pick up his earring aids, new ones.
- 10:33And right after, well, they asked him, you know, he's a funny guy.
- 10:39So they asked him, like, what do you think about your voice?
- 10:41And he says, good, I guess.
- 10:43It was like, what am I supposed to say about my own voice that I, you know, never really clearly heard?
- 10:48But anyway, well, once we go outside, he was like, horses?
- 10:54Do I hear horses?
- 10:56so
- 10:56yes there are like chariots and horses uh at least back then you know um even in 2000
- 10:56click click click click click
- 11:02so you never heard them before oh sweet
- 11:05so many like small little details um that he shared with us about like you know differences
- 11:11he had a lot of techniques like whenever somebody would say something he was actually very good at
- 11:16lib reading so he even though he didn't hear or understand you always he would very he would pick
- 11:17Mm-mm.
- 11:22up very quickly uh and then the second thing is he would always like say really is it real
- 11:29because he wants you to repeat it or he he's trying to guess more or get more context like
- 11:35he didn't actually like fully hear what you said but he's he's got pieces so he's just trying to
- 11:41without revealing that he didn't hear it he had a lot of like defensive mechanisms and when you
- 11:46don't know it you like some people did they were like what's wrong with you like are you not
- 11:51That's interesting.
- 11:52hearing me and yeah
- 11:53That's interesting.
- 11:53I just, I'm comparing that with my experience with AI.
- 11:58And if anything, I really wish AI would ask me more questions.
- 12:02I'm always having to add like a suffix, ask me how, or ask me for clarifications.
- 12:10You know what I mean?
- 12:11Like AI doesn't have that sense sometimes, at least the ones I'm using to ask me for clarification sometimes.
- 12:24It's probably just me.
- 12:28So anyway, we got a bit distracted there.
- 12:30Did you want to show the...
- 12:33I guess you don't have the demo ready, right?
- 12:37Of the AWS emulator and CDK Terrain.
- 12:37I just...
- 12:43Yeah, I just asked, I thought Haiku would just be able to find the directory on my laptop and spin up the EC2 instance.
- 12:51and it's reading the Terraform state
- 12:53and it's getting really confused.
- 12:55It's simple.
- 12:56It just needs to flip a toggle
- 12:58and run Terraform apply
- 12:59and then the EC2 instance spins up.
- 13:00Okay, so you've used the AWS emulator in anger.
- 13:04How does it compare with LocalStack
- 13:04No.
- 13:08and floky, flotchy, floky?
- 13:14Yeah, I didn't try Floki in this case.
- 13:17What I really wanted was the...
- 13:20So basically, the CDK workshop is API gateway invoking Lambda, IAM policies, a Lambda invoking another Lambda, like a proxy Lambda, and I guess S3 buckets, not too much.
- 13:35So I thought, I know that the AWS emulator announced last week is very early stage and has a lot of gaps.
- 13:41So they even say it's absolutely not complete.
- 13:45It's a very early release.
- 13:46And when I asked Opus, it says, yeah, looks like most of it is there, but it's all automated built from the AWS API services, like from the Smithy API contracts, right?
- 14:03So...
- 14:03expected something like that.
- 14:07It's cool that they've
- 14:09sanctioned something because
- 14:10there was a few sort of AWS
- 14:13projects I've been following
- 14:14which were promising
- 14:17to be
- 14:18some sort of emulator but didn't really
- 14:22transpire
- 14:23to be one.
- 14:26yeah so what what the so the first thing that happened is i wanted to say it's it's all built
- 14:31like rust a single binary um on rust that spins up really fast uh but it's like 900 megabyte at
- 14:39least the one that i built so to build it it also takes a lot like when i first evaluated it on the
- 14:40relaxed
- 14:46macOS, Opus said like, yeah, it doesn't have a Darwin release.
- 14:50Like it doesn't have an ARM Darwin release.
- 14:53So it spun it all up in Docker to avoid.
- 14:56Like it does have an ARM Linux release.
- 14:58So when you run it in Docker or Colima or whatever,
- 15:02it runs a little Linux VM on your machine.
- 15:04And then you can run the AWS emulator in there
- 15:06without having to rebuild it.
- 15:08Because if you want to rebuild it,
- 15:10the estimates of Opus is you need like a lot of CPU kernels,
- 15:14vCPU and a lot of memory a lot of disk space and because i'm like running agent fleets my disk
- 15:21is actually running out so i just told opus all right spin up a build instance so it's it spun up
- 15:27like this 16 core 128 gigabyte memory instance to build the emulator and then estimated about 40
- 15:34minutes build time but it got stuck after 30 minutes um so it builds every module like every
- 15:41Rust create independently. That's all in parallel.
- 15:43So you have a lot of cores
- 15:45in use at the same time. But then
- 15:47after that, it needs to link all of those
- 15:50library files
- 15:51with a dynamic
- 15:53linker, like LD,
- 15:55Linux linking. So that needs
- 15:57to like, that actually was a single
- 15:59CPU, like a single core at
- 16:01100% load that
- 16:02was not benefiting from the
- 16:05multi-core instance. So
- 16:07Opus, funny enough,
- 16:09I don't know, I asked it, isn't there
- 16:11like an instruction in the readme but there is a ldd or like lld there's like a parallel linker
- 16:18that can link up things in parallel and opus suggested it so while that initial one cpu
- 16:25linker was running it started a second build which just took like a few seconds on the original
- 16:31crates because nothing changed and then the linker itself also just took like a few minutes so like
- 16:38The total build time is just, I don't know, 30 minutes or so if you build from scratch.
- 16:43So that's pretty beefy.
- 16:45But if you use the right multi-threaded linking process, it can build really fast.
- 16:52and you're talking about building cdk tn with awc so i didn't quite understand what you're building
- 16:57No, here I'm talking about because the emulator is very early stage and has a lot of gaps,
- 17:03I had to make some changes.
- 17:04oh i see
- 17:04They do not accept PRs.
- 17:06and then yeah i can see it's all rust i was going to mention that the other sort of
- 17:06so I just created my own
- 17:08like get patch
- 17:11so basically
- 17:12Fable came up with the actual patch
- 17:14that I needed to support the workshop
- 17:16and then it rebuilt the whole thing
- 17:20yeah
- 17:26aws thing i noticed was this project which was in local web services and the guy that was working on
- 17:34it uh is an aws employee so i was i was at least i think he was maybe he isn't now i the i was
- 17:43thinking that this would be the the the aws emulator but but this one here yeah you're right
- 17:47Python
- 17:48I think
- 17:50It's not going to fly.
- 17:51This one seems...
- 17:52Floki is in Java
- 17:54I think
- 17:55yeah
- 17:55This one's looking promising.
- 17:57So once you have that Rust binary,
- 18:00it's, I'm assuming, super fast to work with.
- 18:03It's way faster than the cloud, right?
- 18:07yes the goal of this emulator is for local like agents to quickly um you know spin up things
- 18:14against an emulated environment and verify things and spin things down with a lot less memory
- 18:19than the other solutions.
- 18:22But I heard it's still quite beefy.
- 18:26Like for my workshop, it estimates that each candidate,
- 18:30if we all apply at the same time,
- 18:32because that's how workshops usually go, right?
- 18:34Everyone kind of follows along.
- 18:35So everyone runs Terraform apply at the same time.
- 18:38So it estimates that the memory requirements
- 18:41for a single attendee is easily five gigabyte.
- 18:45And you know what actually took up a lot of that memory?
- 18:48No.
- 18:49I'm running a VS Code like Monaco Editor
- 18:52and it runs the language server,
- 18:54the TypeScript language server.
- 18:57Yeah, and the TypeScript language server with VS Code
- 19:00spikes up to like six gigabytes of memory
- 19:02just parsing node modules
- 19:04and providing type information.
- 19:07So it was really fun to spin up a workshop
- 19:10because Opus was like,
- 19:12hey, you know what?
- 19:13We can modify the configuration
- 19:14of the TypeScript language server
- 19:16to eliminate the TypeScript type definition
- 19:20for all these node modules.
- 19:21And then I said, why don't we use TypeScript Go?
- 19:24Why don't we use TypeScript 7?
- 19:27And then it found the TypeScript 7 Visual Studio Code extension,
- 19:32which is not allowed to be used.
- 19:34The licensing does not allow you to use it
- 19:35So why don't you run your demo in the cloud?
- 19:36with non-Visual Studio Code, apparently.
- 19:40Because like, oh, you are.
- 19:41That's exactly what I am telling you that I'm doing.
- 19:43I'm running, I'm holding.
- 19:45I need 5 gigabytes of memory per attendee.
- 19:49but so for each participant you're going to have a cloud instance for them
- 19:54So I'm not doing that.
- 19:56Yes, we could spin up ECS task definitions per attendee,
- 20:00like one container,
- 20:01but I'm actually using a single EC2 instance
- 20:04and it can hold,
- 20:07I think it's R7 Graviton,
- 20:11holds about seven.
- 20:12I think we estimated seven attendees per instance.
- 20:15So I'm going to open source the whole infrastructure for it.
- 20:19But it spins up an instance and shards the attendees.
- 20:22So if you say I have 14 attendees and you say the instance type, the size,
- 20:26it's going to shard the attendees across the instances.
- 20:29So if one instance dies, then not everyone in the workshop stops having access to it.
- 20:35But yes, there is a blast impact.
- 20:39basically I'm
- 20:41saving money by not using
- 20:43ECS
- 20:43I don't have to do
- 20:45like it's just simply having a single
- 20:48EC2 instance with a public endpoint
- 20:50and I put Caddy in front of it
- 20:53it serves the workshop like
- 20:54a dedicated workshop per
- 20:56attendee
- 20:58in Docker containers
- 21:00everything, it's running now
- 21:02let me open the link
- 21:02okay that's how did you get in roped into doing are you getting obviously you're getting paid to
- 21:08run this workshop, right?
- 21:09no no this is no um i don't know where which screen i should share
- 21:13What?
- 21:14Who's paying
- 21:16for the compute
- 21:17to get the stacks running?
- 21:18i'm using one ec2 instance for five hours it's like five dollars or less like three dollars
- 21:23to host seven attendees yeah it's on my account plus i have a community builder um uh
- 21:23Okay.
- 21:31So what is your goal to run
- 21:32budget.
- 21:34this demo just so that people
- 21:37so you teach
- 21:37Because I wanted to do it.
- 21:40who pays for your flight
- 21:42and everything for Christ's sake
- 21:44I wanted to go to Singapore.
- 21:47so you're doing this
- 21:48I pay for my flight.
- 21:48so you're upscaling people
- 21:50Yeah.
- 21:51through the goodness of your heart
- 21:52but it's going to be recorded by Michael Cheng
- 21:54so it should have some distribution
- 21:56right
- 21:57okay so this is the the every attendee will get a key a session name and a key and um
- 22:07and basically when they go to that dns it goes into a reverse proxy that is caddy ZeroSSL
- 22:16with TLS via
- 22:18I don't know if you know Kadi
- 22:19do you know Kadi
- 22:21something's running I'll just give it access
- 22:24I don't know.
- 22:24so Caddy
- 22:25Oh, Caddy.
- 22:26Yeah, yeah.
- 22:26I was one of the first users of Caddy.
- 22:28Kadi
- 22:29oh yeah sure you were
- 22:31Okay.
- 22:31weren't we all
- 22:33aren't we all
- 22:36at least you didn't say
- 22:37you were one of the first users of Traefik
- 22:41Victor
- 22:43how is
- 22:44vector is not
- 22:45traffic
- 22:47no I wasn't one of the
- 22:50yeah I know Traefik
- 22:51I mean I'm more of a Kong kind of guy
- 22:54oh my god
- 22:55that's just Lua and Nginx
- 22:57that's OpenResty
- 22:58with a brand on it
- 22:58yeah I know
- 22:59I know
- 23:00anyway
- 23:01I know but it works really well though
- 23:02Caddy is amazing
- 23:04it's the best
- 23:04I love it
- 23:07the https integration with uh Let's Encrypt was chef kiss chef kiss
- 23:12ZeroSSL
- 23:16Yeah, it's my favorite reverse proxy at the moment for simple projects.
- 23:18and i'm trying to remember the guy the the guy behind it he's from the church of the
- 23:24Saints.
- 23:27Matt Holt or something like that.
- 23:28Okay.
- 23:29All right, so this is what the attendees get.
- 23:29M. Holt.
- 23:32They get a key, and when they join, it also runs a workshop.
- 23:38it actually runs a statically like built off that of the workshop uh which has a couple of
- 23:45modifications because there's no AWS required here um so if you compare that to the the one
- 23:51that's live that is the actual you know uh it has a disclaimer about cost and blah blah blah
- 23:56Mmm.
- 23:58so this one is meant you use your own AWS account um I don't provide you anything this one is
- 24:03actually, it is a static compile of the box mode because it's inside the box.
- 24:09So then it has a couple of different steps.
- 24:12For example, I don't have AWS UI.
- 24:14So if I go to the writing constructs, here there's a whole section about finding the
- 24:23function and looking at the, like going to the monitor in the UI.
- 24:28If you go to the same one here, CloudWatch Logs, it's all CLI commands
- 24:34because we don't have a UI in the emulator.
- 24:36And that's fine.
- 24:37That's fine.
- 24:39So that's the box.
- 24:41Sorry, did you just repeat that?
- 24:43You don't have a what in the emulator?
- 24:45AWS emulator doesn't come with the console.
- 24:48It doesn't come with the UI.
- 24:50There's no AWS UI there for you.
- 24:52Oh, okay.
- 24:53I understand.
- 24:54Yeah.
- 24:56That's interesting, actually.
- 25:00Yeah.
- 25:01Okay.
- 25:02You can combine these two.
- 25:05How do I add tap?
- 25:07How do I split?
- 25:09Split view.
- 25:10Yeah.
- 25:11Oh, man, I'm loving split blue.
- 25:12Do you know you can hold down command, option, and then click,
- 25:16and then it opens on the right all the time?
- 25:18Okay.
- 25:20So here it is.
- 25:20Okay.
- 25:22You can have the workshop on...
- 25:26when i do it in the i i recommend that the workshop will actually be on the
- 25:30on the display and i will walk through it and anyone who wants to do it at their own pace
- 25:35and then ask me questions they can do it at their own pace um
- 25:38Have you done this before?
- 25:40It sounds like you're going to be chucking down a lot of knowledge down, people.
- 25:46I don't know if people are for that.
- 25:48This is going to be a lot of stuff.
- 25:48ready for it yeah no this workshop is really good have you never done the cdk workshop like
- 25:49Yeah.
- 25:54AWS actually runs it for companies, and we ran it in my previous company.
- 25:56oh
- 25:58no I haven't actually
- 25:59Yeah, it's the official...
- 25:59I didn't know about this
- 26:02so
- 26:02so you're basically building on the CDK
- 26:06workshop
- 26:07well that's interesting
- 26:08Yeah, so this CDK workshop is a repository that uses Hugo in the past.
- 26:13It's like seven years old by Elad Ben-Israel and his team.
- 26:14hmm
- 26:16And then they archived that repo, and they made it in the catalog,
- 26:20so it's no longer public.
- 26:21but I could still access the original markdown
- 26:24so I modified it to
- 26:26basically run
- 26:27oh that's really cool man
- 26:30completely
- 26:30on Terraform. So if we look
- 26:32here, hello
- 26:34cdktn, it's exactly
- 26:36the same thing. I just didn't
- 26:38do the Python one, so it's
- 26:40the same except I want it nicer.
- 26:41yeah well it's great that you're doing this i i there's been a lot in the news lately about
- 26:46unemployed youth and upskilling people who don't know about stuff.
- 26:52And I sometimes think to myself, like the videos and the podcasts that I make,
- 26:56that's my attempt to basically share knowledge.
- 27:00But I really like how you're going out on a limb and creating this material,
- 27:07this structured material, and doing a workshop.
- 27:10This is good.
- 27:11do you see this little progress tracker at the top
- 27:13Beautiful.
- 27:15what this does
- 27:17I need to white
- 27:18so this is using Cloudflare durable objects
- 27:21so when this
- 27:23do I have the Cloudflare here
- 27:27dashboard
- 27:29I guess here
- 27:30so this is all Opus
- 27:33built for your
- 27:35question that you asked me about
- 27:37like the Cloudflare MCP and the
- 27:39code mode so I build a little
- 27:41dashboard
- 27:44for data so I
- 27:45have data these are my
- 27:47deployments so this
- 27:49tracker here at the top when you scroll and you complete you can put yourself on the on the board
- 27:57if you want to right so you can put in your name your email so this is the sensitive data that the
- 28:03agents should never see that you want code mode to protect right so that comes to the next part of
- 28:08this this this talk um for you okay your question um you have sensitive data in cloudflare and you
- 28:17don't want the agents to show those emails in the transaction log that's my yeah so so people can
- 28:20Oh, yeah.
- 28:24if they want enter their name and then they will be on poc this dashboard oh shit i don't know the
- 28:35secret what's the secret for so no no no i'm just gonna put up a dashboard of uh the progress of
- 28:40Oh, so not only are you just introducing people to CDK Terrain,
- 28:52everyone during the workshop they don't have to put their name they don't have to put their name
- 28:52oh that's cool
- 28:57but that's gonna give me data for my next presentation at in singapore which is about
- 29:03policies and preventing agents from raising private data such as email addresses and if
- 29:08cool man
- 29:10nobody signs up with their email then i will just generate a bunch of fake data which you will see now
- 29:15Oh my God, you're prolific compared to me.
- 29:18This is really good stuff.
- 29:19I think you're getting your hopes up a little bit much.
- 29:20why
- 29:22I mean, I'm going to be amazed
- 29:23i cannot find a secret
- 29:24if one person in your workshop gets through all this material.
- 29:29so that's what i'm gonna know because i'm gonna see
- 29:32if people complete it.
- 29:35Ha ha ha.
- 29:35There's even a validation step.
- 29:37So when you say use the hit counter,
- 29:39like for example here,
- 29:40when you deploy the API gateway,
- 29:43when you run the Terraform apply,
- 29:46it's going to tell you to put that endpoint in here.
- 29:51And when you click next,
- 29:53oh man you're completely gamified can i run through this as a can i offer to run through
- 29:53it's going to call a verification.
- 29:59this as a guinea pig yeah
- 30:02like i can spin up an instance uh and give you access yes yes it would be good i suggested
- 30:08michael as well to go through it first because i think the the biggest issue with the workshop
- 30:13like that in limited amount of time is usually it'll be a second set up laptop uh you know is
- 30:18the laptop have enough memory and capability to you know have the node cs version and everything
- 30:22setup and and this kind of like takes that away right people just get a box they they sign in
- 30:25hmm
- 30:28they can run the um the cdk in it so i'm i can copy this i added oh what the hell it's offline
- 30:35Okay, let's
- 30:36can I share my screen? I wanted to have a
- 30:40closer look at
- 30:42wait one one one thing where the hell is the
- 30:42the emulator.
- 30:44One last thing.
- 30:47why haiku is so bad oh it found it okay hold on a minute i need to run one comment
- 30:53You're using
- 30:54what's haiku again? You're using
- 30:55the very basic
- 30:57Sonnet, Claude
- 30:59you're using haiku
- 31:01just because it's cheap
- 31:03yeah there it is yeah i just want to see sometimes you just want to know if like the cheapest model
- 31:08can do what it needs to do like does your repository have enough so you see obviously
- 31:12these are fake email addresses that Opus was using when it was trying to verify that everything
- 31:16works as expected. So here's my trial. So you can see wherever it actually verified, it recorded
- 31:25that endpoint. Again, this is, I don't know why it needs to keep it, but maybe that's part of the
- 31:31sensitive data demo, right? That the agents would not see these live endpoints or whatever.
- 31:35That's just a little scenario that I told Opus to come up with. Yeah. And another cool thing,
- 31:37okay well
- 31:41hold on when you click define here when then it goes into like verify it like hit it every curl
- 31:49command that you get here in the workshop is then showing that endpoint that you created
- 31:54back then you see that endpoint is the one that you so you can just copy it and run it
- 31:57oh so the the docs live update and
- 32:02yeah
- 32:03yeah i mean i had a little bit of fun anyway that's the last thing so that's all i did for
- 32:07the workshop that's going to happen in two weeks time and it literally just took like two days to
- 32:10Cool. So if anyone's listening to this who is around Singapore, you should go and meet Vincent and do his demo and learn a lot about how to stand up infrastructure using the cutting edge tools, AI and CDK and all the rest of it.
- 32:13build all of this it's insane
- 32:32And speaking of, can I just replace the share here?
- 32:34now let me stop yeah yes
- 32:36I just wanted to have a closer look at the AWS emulator.
- 32:40So can you see my screen?
- 32:43It's like 64,000 files of Rust.
- 32:49Yeah, I can see the screen.
- 32:49Quite a lot of markdown.
- 32:52I don't know what the hell that markdown is.
- 32:54Steering.
- 32:59Operations.
- 33:02what I'm guessing
- 33:03is that that's context for the
- 33:06agents to build
- 33:08maybe there's the Smithy like
- 33:11let's have a look at
- 33:12docs
- 33:12I opened one of them
- 33:13Lambda or something
- 33:15but that's the coolest thing about my experiment
- 33:17you know building this
- 33:18you know this
- 33:18oh it's like issues and
- 33:21building this web
- 33:22this web box
- 33:25for people to attend.
- 33:26I never even looked at the code.
- 33:29And I just, even Opus just went,
- 33:31okay, step one of the workshop
- 33:33tells me to run Terraform Apply.
- 33:35So it stands up the emulator,
- 33:38runs Terraform Apply,
- 33:39and then does the next step.
- 33:41So it even built like a whole bash script
- 33:43of part one, part two, part three.
- 33:46It runs them in line
- 33:47and then validates if the emulator can do it.
- 33:50um yeah so you have a whole end-to-end verification thing
- 33:50It's insane.
- 33:56Yeah, and then it told me, like, okay, so the emulator does not, like, it runs QuickJS.
- 34:02So when you build a Lambda, a Node.js Lambda, it actually runs a QuickJS engine.
- 34:06It's not the real Node runtime that you run in AWS.
- 34:09So it doesn't support some of the, like, the Lambda handler, for example, that is currently the official one on my website, doesn't work with QuickJS.
- 34:19So the workshop version of the website, the workshop, is using the JavaScript that works with QuickJS.
- 34:28And then the second thing is the QuickJS can invoke, I don't know, it can invoke like many services.
- 34:35So you can invoke from your Lambda, you can invoke DynamoDB to write data into it.
- 34:39You can do this and do that.
- 34:41But you cannot invoke another Lambda.
- 34:43Like that's blocked in the emulator on the version that I had last week on Thursday.
- 34:50But Fable just highlighted part three, step four fails because the emulator doesn't support one Lambda invoking another Lambda.
- 35:01And then it built a little patch.
- 35:03It just patched that one emulator feature and just made it so that it can invoke a Lambda.
- 35:10Another thing that the emulator didn't do is IAM policies.
- 35:13So part of the workshop is to actually create a DynamoDB table to record data.
- 35:20So Lambda has to get access to write into DynamoDB.
- 35:24And this is a very important step of the workshop
- 35:26because it teaches you how to grant permissions across different services in AWS
- 35:31and how easy it is with AWS CDK because you just take your table
- 35:34and then you grant your Lambda to have access to that table to write or read only.
- 35:38And this is a very important part of the workshop.
- 35:40But when the emulator doesn't support IAM policies,
- 35:43it just gets 200 OK on the first step,
- 35:46even when you didn't grant any permissions.
- 35:49So again, Fable built the IAM policy component
- 35:53in such a way that if you don't grant the table permissions
- 35:58to be written to from the Lambda,
- 36:00it will actually fail the workshops
- 36:02and you have to go through that step.
- 36:03Again, small little patches that Fable did,
- 36:06then build a new binary of the emulator,
- 36:10put it into the container,
- 36:12build a container image,
- 36:12spun up and do the whole test.
- 36:15Fable did all of that in just two, three hours
- 36:18to build the whole workshop
- 36:19with the custom emulator and everything.
- 36:21It's insane.
- 36:22That is insane, sorry that's very hard for me to
- 36:25I mean, it's a very, very well-defined problem.
- 36:29It's very easy for Fable to define
- 36:32what is the steps that need to pass.
- 36:33It's very easy for Fable to hand that off to Opus to build
- 36:37and then verify that the result works.
- 36:39So when you have a very well-defined task,
- 36:42You can have it completely autonomously
- 36:44be done by the agents, depending on how many tokens you have.
- 36:47Yeah, I've got to try this emulator.
- 36:50I've got to try.
- 36:51I was just noticed that there is an IAM directory here, but.
- 36:56Well, maybe the version that I tried on Terzid
- 36:59is already outdated, right?
- 37:01Maybe if I try a new version of the emulator,
- 37:04it will already do some of this stuff.
- 37:07I'm also
- 37:08What happened?
- 37:08I wonder how
- 37:09Oh, shit.
- 37:10I wonder how it
- 37:15it just like smithy changes
- 37:15So guess what?
- 37:17and stuff like that
- 37:18You know what happened?
- 37:20what
- 37:20So my whole workshop is on spot instances,
- 37:23which is like 60% discount.
- 37:25The instance got terminated.
- 37:28I guess I'll pay $10 instead of $3.
- 37:34issue ID
- 37:38just seeing the engineering
- 37:40behind this is quite interesting
- 37:41it's like
- 37:42it's all
- 37:43no one's name right
- 37:45it's this particular
- 37:47issue fixer agent
- 37:50So when AWS announced this emulator, they said it's been built by agents running for I don't know how long.
- 37:56They said like thousands of agents have been building it over a certain period of time, and they don't accept any PRs.
- 38:02I think it makes total sense.
- 38:04They have just an agentic process running along,
- 38:08just slowly ticking off and verifying and building everything.
- 38:14Unfortunately, for one of the big projects that I'm working on,
- 38:15but I
- 38:18the gaps are too big.
- 38:20I can't use it for a lot of stuff.
- 38:21Do you see the spaces between the commits?
- 38:24It's kind of insane, right?
- 38:25It's like two minutes between each commit here.
- 38:31i wonder if they if they're still using git or they are using like if they used already
- 38:36another cicd mechanisms and version control
- 38:38It's going 24 hours a day.
- 38:42It almost doesn't make sense.
- 38:44Look at this.
- 38:44It's like two.
- 38:45There's a two-minute gap.
- 38:46I mean, I'm exaggerating, but it's about that.
- 38:50Between every commit here, it's...
- 38:52I can show you some of my repositories
- 38:55with one or two minute commits
- 38:57and 100 commits built by agents.
- 38:59Oh my God, I can't...
- 39:00I've got one of those sort of like feelings of dread almost.
- 39:04Like we're just living in a new fucking era.
- 39:07When shit like this is...
- 39:08When you look at a commit history...
- 39:10Like I remember...
- 39:12You keep telling about all of these tools
- 39:15to control commits,
- 39:16and I keep telling you your metrics are all wrong
- 39:19for this new, like,
- 39:21agentic era. Everyone is
- 39:23moving to the higher layer, the intent
- 39:25layer. You cannot verify or
- 39:27review code. You have to
- 39:29define, like I said, you have to have
- 39:29Yeah, I know that.
- 39:31a very well-defined problem.
- 39:32I know that, Vincent.
- 39:33It's just that I just can't help but think that it wasn't that long ago
- 39:36when I was sitting with my team,
- 39:40going through the commits that landed on Trunk in the last day
- 39:46and making sure that the team was aware of what was happening
- 39:52with the code base, including myself, as a lead.
- 39:56but that you don't relinquish that
- 39:58this is a big problem with the way that a lot of people are adopting AI
- 40:01and vibe coding, they think that you completely do not control anything
- 40:05but you control very much the verification process
- 40:09and everything, right?
- 40:11yeah yeah yeah i mean but it's still come on man i just wanted to acknowledge that like
- 40:18the world has changed like freaking big time when when you see things like this
- 40:26it's insane how what is the extent of the good history here so it's it all kicked off in october
- 40:35It's not even that long.
- 40:39It's a folder.
- 40:44Yeah, I've got to study this.
- 40:45I mean, this is fascinating.
- 40:47I mean, this is a game changer.
- 40:50And is it fair to say that AWS is doing pretty well?
- 40:54I wonder how the other clouds are doing in the face of AI modernization
- 40:59or what do we call it?
- 41:01I think this is just basic everyone.
- 41:02AI-ification?
- 41:07I mean, in terms of when you say cloud providers,
- 41:10I think everyone has to adopt this, right?
- 41:13You see, Microsoft is adopting it very well.
- 41:13sure but like i'm you know since we're a podcast here we're quick
- 41:17Microsoft did a really great job
- 41:19adopting it
- 41:21that's sarcasm i'm sure
- 41:24yeah because Microsoft
- 41:26didn't really go down for like
- 41:2724 hours at all
- 41:29what is the google gcp story because everyone seems to to bash
- 41:38Google for having crappy models.
- 41:40have you forgotten
- 41:42that Microsoft 365
- 41:4365 was down for 24 hours.
- 41:45I'm talking about Google now.
- 41:47Everyone's bashing Google.
- 41:47Google.
- 41:48Yes.
- 41:50Why we...
- 41:51Googly gun drops.
- 41:51So everyone likes to hate on Google
- 41:54because they have these...
- 41:55They were TensorFlow.
- 41:57They had these custom hardware built for LLMs.
- 42:01And then Gemini was like blowing everyone out of the water
- 42:03with the 1 million context.
- 42:04But they didn't really recover from that, right?
- 42:07They're still kind of struggling, it seems.
- 42:09Well, yeah, that's the story.
- 42:13They open sourced their Goldfish versus Elephant practice.
- 42:19That was a blog post that became, they made it a framework.
- 42:24You know this one?
- 42:24Gold? No.
- 42:26You don't want to share that?
- 42:28Yeah, Google Goldfish Elephant.
- 42:33So there was this Google engineer that shared months ago.
- 42:41Where is the share?
- 42:43We talked about it on the podcast as well.
- 42:48Because to be honest, he's not introducing anything revolutionary.
- 42:53To me, this is just exactly a repeat of what Steven Yege wrote,
- 42:58beats are for Blobfish.
- 43:03There's a couple of things that I really liked about this.
- 43:07It's a good summary.
- 43:08So Beads are for Blobfish is very clear.
- 43:10I like the comparison that an agent is born with zero context.
- 43:17You fill up the context, and very quickly the agent is useless
- 43:22because the context has filled.
- 43:24So beads is a way to keep agent context tracked.
- 43:31Do you still use beads, by the way, or you don't feel the need?
- 43:37Honestly, I need something like that.
- 43:40With Atlassian MCP, the V2 one, it's better.
- 43:44But anyway, let's get back on points.
- 43:46So then you have this one from Elephant and Goldfish model,
- 43:51which there was an original Medium article.
- 43:55Dave Ranson did that article, I think, in March, or was it?
- 44:002026, where he talks about April 2026.
- 44:05and he shared about some of the practices
- 44:07that within the engineering teams within Google were following.
- 44:12And they're basically grill me type of practices, right?
- 44:16You ask the agent to ask questions for you to fine tune onto your...
- 44:21Ask
- 44:23Find the alignment between the user intention
- 44:26and the agent's understanding, right?
- 44:28Because you can say one word
- 44:30and it can be interpreted into many, many different ways.
- 44:35so there was
- 44:35I mean, I like to use a prompt like, ask me how I want it.
- 44:41Ask me how I want it.
- 44:45yeah so he has some really good examples and prompts in here which all honestly like
- 44:49Matt Pocock's grill-me skill with domain driven design you know is the same except it's a little
- 44:55bit more useful because people you know kind of really like the ideas of domain driven design
- 45:02and bounded context and Matt Pocock's skills really help there.
- 45:05So it's very similar.
- 45:07You ask questions, you find alignment, you find a shared language.
- 45:11And that's your, if I understand correctly, this is like your elephant, right?
- 45:15You build your whole, your overall view, no code, right?
- 45:18There's no code.
- 45:21You're defining a shared language.
- 45:23And then you have your goldfish, right?
- 45:23Hmm.
- 45:26They come along and they pick up pieces of work in that shared language
- 45:29Yeah.
- 45:30and they deliver.
- 45:31Okay, thanks.
- 45:32I'm beginning to understand now.
- 45:34Thanks for the explanation.
- 45:36yeah and then they made it they made it in october they made it like in october 22
- 45:41they said here's the the thing as a as a framework for you to use so
- 45:45So what does the elephant look like?
- 45:47A bunch of intentions or...
- 45:50What is...
- 45:50yeah i'm actually curious because we we actually we use Google Conductor as well right
- 45:57so i think it's like an evolution of of uh of conductor or a different approach
- 46:02which it's like there's these different schools of thoughts, right?
- 46:05You have the spec-driven development, which people say is like waterfall.
- 46:08You have the, you know, Conductor, Spec Kit.
- 46:12All of those are spec-driven development.
- 46:15Then you have the get shit done.
- 46:17You know, I want to work closely with the agent on small little problems
- 46:20and, you know, iteratively develop them instead of like more waterfall type of processes.
- 46:27as conductor was their attempt in this spec- driven development
- 46:32world.
- 46:33And I feel like I never used Get Shit Done.
- 46:36I have friends who really like it.
- 46:38I feel like maybe the elephant goldfish model
- 46:41is similar to that.
- 46:42Again, I'm out of that here.
- 46:44I actually don't know.
- 46:47I haven't tried these because I'm still
- 46:50using a Spec Kit-like variation.
- 46:53So speaking of skills and approaches and techniques, I recently tried P-Stack from Potato on one of my apps I can maybe share.
- 47:06yeah i i use a lot of her skills but like i said i have my own
- 47:10so i i don't i just take what i like from other people
- 47:12Oh, yeah, I used her verification skill.
- 47:16yeah i use the same
- 47:18it was a bit weird because I had my end-to-end tests already
- 47:23but it just seems like I guess now I have a skill
- 47:26I don't know.
- 47:27so it's a little bit easier, it's a little bit more Asian friendly
- 47:31and then the other thing I thought that was really interesting
- 47:35am I sharing my screen?
- 47:37Yes, I can see the verify LTA bus.
- 47:40so what was interesting I thought was
- 47:43was the fact that it managed to discover the features
- 47:49of my Singapore bus app, like the fact that it auto-refreshes,
- 47:55the fact that it shows you the closest stop.
- 47:58yeah what is this opus did this like custom
- 48:01Opus 5.5 and the verification, create verification skill.
- 48:04yeah nice
- 48:06And I thought that was really interesting.
- 48:07And then you can also ask it to create a feature map.
- 48:09are those specs Playwright
- 48:13Sorry?
- 48:14are those spec.js Playwright specs
- 48:17or what are those
- 48:19they are hand to hand drive
- 48:19Yeah, yeah, that Playwright.
- 48:21yeah it's what I told you
- 48:21It's Playwright.
- 48:23how people should use Playwright right
- 48:25no stupid MCP you write proper
- 48:27specs and you run them and the models get
- 48:29you know nice feedback
- 48:29Yeah, yeah.
- 48:30I mean, I was doing that before.
- 48:30like code mode for tests
- 48:34like in fact it didn't seem worryingly it didn't seem to pick up on some of my old specs so whatever
- 48:41uh huh
- 48:43so but but maybe we should talk about the ideas behind these things rather than like
- 48:43but
- 48:48i mean it's it's because honestly Lauren Tan Matt Pocock they both have a lot of overlapping ideas
- 48:56they have some really good presentations um Matt Pocock has a course that my colleague did
- 48:56yeah
- 48:57yeah
- 49:01and um it's interesting but but i really like uh Lauren Tan's presentation where she highlights
- 49:11if you follow her on Twitter
- 49:13you basically saw everything
- 49:15that she presented but in the presentation
- 49:17she really like organizes
- 49:19it in a very nice
- 49:19Yeah, yeah.
- 49:20when I see it I'm like shit I wish I was
- 49:23presenting like that because it ties
- 49:25everything neatly together and how everything is
- 49:25Yeah.
- 49:26Yeah, her AI engineer video was great.
- 49:27connected
- 49:32talk is really good
- 49:33and and yeah like i um yeah i just wanted to quickly show the the artifact where it sort of
- 49:34yeah
- 49:41like you know shows shows the the feature map a little bit better hopefully i'm showing the right
- 49:42the UI.
- 49:47screen okay uh yeah Potato, Pocock they're they're great and it and the fact that they're so popular
- 49:47Yes, it's the
- 49:48Itobus feature map.
- 49:58that means that they're actually filling a huge demand, right?
- 50:04but they have different angles like Matt Pocock is a great explainer he has beautiful courses
- 50:04I mean, yeah.
- 50:12he visualizes things and explains them really well but i feel and this is my personal opinion
- 50:18that he doesn't have the hands-on large project experience
- 50:22that then you get from Lauren Tan.
- 50:22Mmm
- 50:23And Lauren Tan is great at explaining as well,
- 50:24Mmm
- 50:26but she has all of these hands-on skills.
- 50:28yeah
- 50:28She's like, yeah, but it shows that she actually runs
- 50:323,000 PRs merged in a month,
- 50:34yeah
- 50:35even if it's a stupid metric,
- 50:36and she admits that.
- 50:37She says, it just visualizes a little bit
- 50:38Vincent your explanation of the differences there
- 50:39what we are doing.
- 50:42was 100%
- 50:43Exactly how you feel, right?
- 50:45exactly
- 50:45so yeah Lauren is
- 50:46Yeah.
- 50:47doing great
- 50:49and you know how it is
- 50:52it's like you and I are bashing
- 50:54away at AI. And when I use the verification skill, I go, yeah, but it has value. But I'm at the same
- 51:02time like, yeah, I knew that. But yeah, I mean, yeah, exactly. Yeah, that said, my depreciating
- 51:06they make it very applicable
- 51:07they make it very applicable
- 51:13comments aside, it's very good. And like the other things that she's doing around
- 51:22formal verification.
- 51:24I think we talked about that last pod.
- 51:27I use her state machine graph and state machine
- 51:32like um Quint modelling and uh what's the other one TLA+ yes i run them i literally had an agent
- 51:36TLA+.
- 51:41last night doing a full because i had the race condition um and then i want to make sure that
- 51:46Ooh.
- 51:46the fix meets like the you know doesn't actually solve the race condition in a in a proper way
- 51:53so i usually the way it ends up with me i don't take on her stack but i ask opus uh here's a tweet
- 52:00where she talks about state graph
- 52:01and showing all of the ways that the state machine
- 52:04can end up in an invalid state or a faulty state.
- 52:08So I just point Opus at that tweet
- 52:13and also the repo where it lives,
- 52:15and I tell it, clone it locally, find the skill,
- 52:17and see how it applies.
- 52:19It's all on the cursor.
- 52:21the tweet
- 52:23Usually, yeah.
- 52:24Usually I ask Opus, like,
- 52:27find how I can apply it into this particular
- 52:30problem that I have
- 52:31and then it picks up the skill and then I
- 52:34inline it or
- 52:35it's a separate agent usually
- 52:37there's so much good stuff here actually
- 52:39I like the no comments one
- 52:41because I do
- 52:42I don't know about that one
- 52:44she
- 52:45could explain it better than I can though
- 52:47you know sometimes
- 52:49I can tell you
- 52:49AI just
- 52:50where I don't agree with it
- 52:51AI adds a lot of comments which can
- 52:55cultify the project. So this one is about
- 52:59removing those comments that sort of
- 53:02make no sense anymore, which is
- 53:05well i can tell you i agree a lot with what she says but and i and one of the biggest issues that
- 53:05...
- 53:12biggest concerns that i have is you know how agents are working on independent pieces of work
- 53:21right so sometimes and this is a very common pattern that they do is they have to put a mock
- 53:27somewhere or they will put like a little proxy or like a function um like a placeholder that
- 53:33does like actually mocks the function doesn't do anything like not implemented error which
- 53:35Yeah, I work around.
- 53:38not a workaround um of a seam that you don't have the other side of the implementation or
- 53:44somebody else is working on it you have a clear contract and you may have an api mock between them
- 53:44Okay, okay, yeah.
- 53:49Right, right, right.
- 53:50right right so it's not a workaround it's it's it's a placeholder it's a temporary
- 53:54like function and i'm always afraid that they they will be lost and so one of the biggest things that
- 54:02she says is if you give the agents permission to put to do's then another agent comes along
- 54:08sees the to do and follows that pattern which obviously absolutely you know to do's get out
- 54:14of hand. But I want to have a way for agents to really know that, like, okay, I can put a to-do
- 54:15Mm-hmm.
- 54:23here. And it's very tricky, right? The to-do should be... So this is where I think comments still need
- 54:29to be there. Yeah, that's quite a lot. I mean, again, a lot of these skills... You know, another
- 54:29yeah i love this i love this skill here i gotta use this one bro
- 54:37bro
- 54:43the presentation that I don't know if I shared it with you, but there was this five days ago,
- 54:48AI engineer released a video from Anthropic. I forgot her name, but she shares, she talks about
- 54:53hmm
- 54:56how you used to use Opus 4.6, how that evolved towards 5.5 and 5.2 Fable. So the video came out
- 55:05after they released 5.2 Fable. And she talks about, this is like how you change, because this
- 55:11bro skill, for example, I think it was very relevant when you have Opus 5.
- 55:15mm
- 55:15But then they really trained Opus 5.5 to make it
- 55:20better. I will admit I'm still having
- 55:24pages and pages of agent text that I have to go through where I'm like, also
- 55:27bro, I want you to shorten it. For this
- 55:31particular question that I have, I want you to keep it short.
- 55:35Um...
- 55:35yeah the on the topic of skills uh in in my in my client they have a skill repository but
- 55:44it's gone stale like there's no one really actively updating it
- 55:49and uh and hence i'm always careful to disable the company's skills and
- 56:00what's my point here
- 56:02I don't know, Clay.
- 56:05Sorry.
- 56:05these these skills from a third party i.e potato are great and and i would i would use them judiciously
- 56:17and I have my own skills of course
- 56:21but the
- 56:22I really feel
- 56:23I wanted to basically
- 56:24make a point that
- 56:26the skills that are produced by
- 56:29by my client
- 56:31really need to be updated
- 56:33Same edition as
- 56:35So this is the thing that I wanted to go over,
- 56:39which I think highlights the problem that you're mentioning.
- 56:43Skills need to be...
- 56:46I think that's what PeaceTech also...
- 56:48Sorry, Potato, Laurentan really highlights
- 56:51and Matt Pocock, I really like the word that you use.
- 56:55Their interviews are interesting.
- 56:57But it's called gardening, right?
- 56:59We're basically making sure that the agents and the plants can grow
- 57:03and are flourishing.
- 57:04So we are responsible for maintaining those skills.
- 57:05Hmm.
- 57:08identifying where the agents are repeating mistakes
- 57:11Hmm.
- 57:11and curating the environment for the plants to grow nicely.
- 57:16Yeah.
- 57:17Matt, one thing that struck me about what Matt said is the vocabulary,
- 57:22the power of certain words is so critical.
- 57:27And I often find that every company has their own glossary, right?
- 57:32But sometimes it's just not really well stated anywhere.
- 57:36And it needs to be, right?
- 57:38I went very hard in on the glossary concept and the grill me and the domain driven.
- 57:45The danger is you need several iterations on getting it right.
- 57:50And it's very annoying.
- 57:51You know, you can do the glossary definition with the agents of terminology.
- 57:57But you have to be careful because what happened with me is some words, I forgot what they meant.
- 58:03So when we talk and then we use this glossary, I was like, can you repeat to me again what exactly that word means?
- 58:09mmm
- 58:09Or is that including that particular concept in that word?
- 58:13Haha
- 58:13Because I'm not sure.
- 58:14So this glossary, yes.
- 58:16That's what Matt talks about.
- 58:20He says what people always really like about my course is that they actually really like domain-driven design.
- 58:25They write the shared language.
- 58:28And it's a rediscovery.
- 58:29and i think it's a really like a lot of these original um practices uh of of like software
- 58:35development get a new breath of fresh air like life uh in this new new age so they become a bit
- 58:40Yeah, but just a quick aside about glossary.
- 58:42more practical when you work with agents but but
- 58:47In the real world, in enterprises, especially when they operate in different markets,
- 58:52the meaning of different things becomes pretty blurred depending on a lot of environments or a lot of context.
- 59:00So it's a hard task for any enterprise.
- 59:06yeah that's kind of what my my team members also were like i have um he's kind of a bit of a thought
- 59:12leader for me at least in terms of like domain driven language he highlights how how it really
- 59:18cuts at the edges like you just highlighted he said the same thing um but but right now it was
- 59:19Hmm.
- 59:24more a language that me and the agents were sharing for a very like i'm working on one one
- 59:29platform and there's different systems within and they each have their responsibilities so we don't
- 59:36have too many other people it's just me and the agents and i'm trying to get more people working
- 59:41on this but like it's not that like when we defer define one term um if i if it's a if it's an
- 59:48overlap between the bounded context and the agents will very quickly highlight and i don't have a lot
- 59:52of problems like disembogating those but this is the talk the one that i wanted to to mention
- 59:57this is the Rethinking Claude Code best practices um by lydia from anthropic
- 1:00:02All right.
- 1:00:03So, oh, so you've taken screenshots and you've...
- 1:00:10what I wanted to
- 1:00:11You're sharing that with your team or something.
- 1:00:13yes I was sharing it with my team
- 1:00:15but I didn't take the screenshot where she talks about
- 1:00:18the curating part because cloud code
- 1:00:21is
- 1:00:24very well
- 1:00:27designed based on
- 1:00:28many many users within Anthropic and how they use it
- 1:00:31so she goes over some of the practices that changed
- 1:00:33this is how we used to do things this is how we do things this is how you migrate from your
- 1:00:38existing Claude Code setup towards the new way of how you should steer the model and so she
- 1:00:43highlighted one of the skills was like slash doctor um is it prompt improve or or it's basically
- 1:00:50a skill that helps Claude highlight old ways of doing things that opus 4.8 needed or cleaning
- 1:00:57up your CLAUDE.md cleaning up your skills and the words within your skill if you have like big
- 1:01:02important, important.
- 1:01:03Yeah, that's...
- 1:01:04She says today,
- 1:01:06that was necessary back then.
- 1:01:07Yeah.
- 1:01:08But today, it actually causes the model
- 1:01:10to get distracted
- 1:01:11and to maybe do steps
- 1:01:12that it can actually skip
- 1:01:13because it knows more.
- 1:01:13Yeah.
- 1:01:15Like Fable 5.2 is really good.
- 1:01:16And also, this is really
- 1:01:18how I've been using Fable.
- 1:01:21And she's highlighting
- 1:01:22and that's a pattern
- 1:01:23that they are making available
- 1:01:26as a new feature called projects in beta.
- 1:01:28But you can do this already without,
- 1:01:30without and we've talked about this with with herder and and rex maybe but you have your
- 1:01:35fable as the orchestrator that keeps the overall goal and then you have it can spin up a separate
- 1:01:37Yeah, that's been up.
- 1:01:42session like you highlight i actually have dedicated agents that um like i have an opus 5.5
- 1:01:48agent that needs to deliver the work and it does that by actually like spinning up sub agents but
- 1:01:53even then they say you shouldn't ask opus to spin up too many sub agents anymore apparently it's
- 1:01:58better when it does itself these days, himself, themselves, I
- 1:02:00All right.
- 1:02:02So, do you manage to use Rex or you just orchestrate inside Claude yourself?
- 1:02:02don't know. So, so we have this initiative about always updating
- 1:02:08Out of curiosity.
- 1:02:14your tools and finding time to breathe. So I haven't taken a
- 1:02:19pause. I think this is another thing you need to make time for.
- 1:02:23I spending a lot of time to read and I try out skills to fit
- 1:02:26them into my existing workflow. For example, you asked me to use
- 1:02:29beats, I really like a proper task tracking that I can hand
- 1:02:33off to the agents. Right now, I feel like I regressed because
- 1:02:37Mm-hmm.
- 1:02:37of because of pressure. So I really need to take some time to
- 1:02:43to re configure. Yeah.
- 1:02:43to consolidate yeah yeah there's there's a lot of i mean i love this actually i love uh
- 1:02:52rethinking or looking at the way i do things and improving on it
- 1:02:55and you have to do a lot of that sort of activity
- 1:02:57It's a luxury you have if you don't have like,
- 1:03:00maybe if you're in an enterprise environment
- 1:03:02where there's a lot of approvals and paper pushing,
- 1:03:05but if you're in a very like,
- 1:03:07delivered this yesterday environment,
- 1:03:11it's very hard to stand still and improve your tools.
- 1:03:12maybe
- 1:03:15yeah
- 1:03:17like
- 1:03:17It's a luxury to stand still and change your workflow.
- 1:03:21yeah
- 1:03:23here's something I could do with your advice on
- 1:03:25I was struggling to explain myself. A colleague had a PR for driving an agent in AgentCore, like one of those strands based ones.
- 1:03:35And his prompt was like a page long, a page of text, like do this, do that, do this, do this, do that, do that.
- 1:03:46Ultimately, all I was doing was working out if a security finding was a false positive or not.
- 1:03:58And instinctively, how do I explain this?
- 1:04:02But if you're using Opus 5.5, you don't have to give it much to go on.
- 1:04:07You know, this is your context.
- 1:04:09This is the source code.
- 1:04:11This is the finding.
- 1:04:12Is it a false positive or not?
- 1:04:14You know, in my opinion, I could use Jev almost.
- 1:04:20um but but though my colleague was like like a full page like thing oh i need to uh
- 1:04:28what do you call it reach consensus maybe run this with other agents to find out if it's a finding
- 1:04:34and i was like no no you've made it too complicated dude like models are good nowadays
- 1:04:40how old is the code
- 1:04:43well this this pr was was one day old but you know what i mean it's like like yeah i'm trying
- 1:04:47like today
- 1:04:51I mean like this week
- 1:04:52like this month
- 1:04:52yeah this week i'm trying to tell my my colleague here that like you don't need
- 1:04:56to engineer something like you would do maybe three months ago you can quite easily get by
- 1:05:06Did he write everything himself
- 1:05:08or did he ask Opus to write it?
- 1:05:09I think he must have got Claude to write it.
- 1:05:13So the next thing I need to figure out is that this is my task today,
- 1:05:13Yeah.
- 1:05:18my stretch goal, is that given his extensive prompt,
- 1:05:22it's a bit like using Claude's skill creator.
- 1:05:25I need to basically prove a point that his longer prompt is not any better than just a simple prompt.
- 1:05:27Yes, evals.
- 1:05:31And obliration, what's it called?
- 1:05:33Obliration?
- 1:05:39uh how to operate
- 1:05:41It's called obliration.
- 1:05:44Prompt obliration.
- 1:05:46It's chaos engineering on prompts.
- 1:05:49You basically delete paragraphs and then run an eval
- 1:05:53and see if the agent is still working or not, randomly.
- 1:05:54okay i don't know if do Strands or AgentCore give any frameworks for that because i need
- 1:06:00i need to do that now that's that's my one of my things i need to figure out
- 1:06:05But I was struggling to argue with my colleague, like, please, it doesn't need to be so complicated.
- 1:06:12Just have it simpler.
- 1:06:13i mean instead of telling him did you ask him how he evaluated and came to that prompt
- 1:06:21Well, I think he's gone through a whole bunch of iterations.
- 1:06:24It's just built on one, just a cue.
- 1:06:27Yeah, because I had the same with Opus when I was working on an AI reviewer for Terraform plans, where it was really constrained. And we wanted to get like kind of a fixed response as the end result.
- 1:06:45So part of it, oh, no, I remember where it was.
- 1:06:48It was in elicitation.
- 1:06:51So when an agent needs to stop and elicit more information,
- 1:06:54I've had a deterministic, like the result from the agent
- 1:06:58would go into another, you know, into a deterministic function.
- 1:07:02So it needs to be able to parse that, right?
- 1:07:04So actually, I think it was using a tool to verify
- 1:07:07that the response was matching the rules
- 1:07:09before it then resends it out back
- 1:07:11because then it goes into Slack that gets formatted.
- 1:07:14into an um an interactive card that gets presented to the user to say a b or c or another response
- 1:07:20it's a bit like ask user question but from AgentCore to Slack right so um and i also ended up with
- 1:07:21Yeah.
- 1:07:27with with an iteration an iterative loop where he kept saying okay i'm running the agent uh and i'm
- 1:07:32i'm verifying um if it's responding according to the format that we expect and then you know it
- 1:07:38keeps growing, keeps, keeps, you know, modifying and it says all the instructions aren't good
- 1:07:44enough because the agent came back with something that wasn't right or it took.
- 1:07:47yeah another thing that caught me off guard i didn't realize Strands had memory
- 1:07:51so i was just like i was a little bit yeah i was i was i noticed that it was building up on its
- 1:07:54It's AgentCore memory, I think.
- 1:07:58memory and i'm like i don't actually want that i want it to be lean and mean because i'm like
- 1:08:04when I switch up a model, you know, I'm developing on Sonnet
- 1:08:07and then I might switch to Opus.
- 1:08:10I feel like all this memory that you've gathered here is just dust, right?
- 1:08:15I mean, it's not going to help us in the future, really.
- 1:08:19memory systems are a huge market as well
- 1:08:20It might be useful in the sense that, like,
- 1:08:25it's maybe seen the finding before and it doesn't need to re-evaluate it,
- 1:08:31but then still it's kind of garbage in that sense.
- 1:08:33oh it's obliteration prompt obliteration
- 1:08:37yeah so
- 1:08:39anyway that's my task today and I should actually get
- 1:08:42back to work Vincent
- 1:08:43I need to do this eval on
- 1:08:46agent call and this
- 1:08:47Obliteration.
- 1:08:48It's obliteration.
- 1:08:51I need to do some prompt evals
- 1:08:51No, yeah, but
- 1:08:52but strengths
- 1:08:54has a lot of eval libraries
- 1:08:56and capabilities for you to run. I wouldn't be
- 1:08:58surprised if they even provide this as a
- 1:09:00capability. I know that Omni from AWS
- 1:09:02is an offering that allows
- 1:09:04you to take
- 1:09:06you can even get all of the sessions from like actual live sessions and then feed that into
- 1:09:13your agent setup and then rerun evals over and over to to see if you hit the mark on your quality
- 1:09:14ok
- 1:09:20control um and then yeah the the Claude skill- creator skill does that like locally very quickly
- 1:09:20yeah yeah okay yeah i'm gonna i'm gonna do that right now i'm excited uh
- 1:09:30but you have whole solutions
- 1:09:31yeah
- 1:09:33you know like judge evals
- 1:09:35even master like back more than
- 1:09:37a year ago March 2025 was doing
- 1:09:37yeah i guess the one issue with invoking the AgentCore is that it is a little bit slow
- 1:09:39that
- 1:09:44it's
- 1:09:46it's not definitely
- 1:09:46which one
- 1:09:48the Bedrock AgentCore
- 1:09:50when you invoke it on the cloud
- 1:09:51it's a bit sluggish
- 1:09:52what is slow
- 1:09:55just getting up and running
- 1:09:59I think I have some ideas
- 1:10:01to make it fast
- 1:10:02anything else you want to say
- 1:10:05in the podcast besides like the video
- 1:10:08comment on the pod
- 1:10:10I promised you a demo on policy, like on basically, yeah, the PII one.
- 1:10:16PII logging stuff.
- 1:10:19I have it all built, but it's the second part of the workshop.
- 1:10:23So the first part is running the workshop, getting information, like the dashboard,
- 1:10:27the trackers of the humans, the people,
- 1:10:28Mm-hmm.
- 1:10:30and then doing agentic work without actually exposing PII data
- 1:10:35by enforcing strict policies that block these calls.
- 1:10:40I've got the demo working, and thanks to your questions,
- 1:10:44I created it as an example of my talk.
- 1:10:45okay we can look into that yeah this this topic of of logging
- 1:10:48Next time.
- 1:10:53if you're a mature enterprise right you you have your production uh boundary in place right so that
- 1:10:59people don't view the logs of production unfortunately um it's hard to get there sometimes
- 1:11:08well it looks like like for example state graph their positioning is you can't trust an agent
- 1:11:17so you scope the token so they generate short- lived tokens scoped for certain tasks
- 1:11:23so that the agent can't do simply that thing,
- 1:11:26which is similar to having a policy
- 1:11:28that blocks certain tool calls, right?
- 1:11:30An MCP tool call.
- 1:11:31yeah but but there's a lot more to it because like because people
- 1:11:34But it would also solve your code mode problem
- 1:11:36because if you execute script
- 1:11:38and the token isn't allowed to do things,
- 1:11:40then even if the script runs,
- 1:11:41the token will block it
- 1:11:42because the token doesn't have the scope for it.
- 1:11:44So it could be one way of doing it.
- 1:11:47Your agent lives in a sandbox.
- 1:11:50It doesn't have any credentials.
- 1:11:51The requests that go out,
- 1:11:52the tool calls that go out
- 1:11:53Ok
- 1:11:54are injected with tokens that are scoped
- 1:11:56for that particular task.
- 1:11:58So if that token cannot read the logs
- 1:11:59then even if the agent uses a script
- 1:12:02to do A, B, C, D
- 1:12:03and one of those steps is read the logs
- 1:12:05the token will simply block it.
- 1:12:07So you don't need to do your complicated setup.
- 1:12:08yeah i i i get that but there's more to it like for example uh it's a human problem here really
- 1:12:15because like you have a human who who owns a particular service
- 1:12:21in a production or enterprise environment,
- 1:12:24you don't want that engineer to have production access to the logs.
- 1:12:29But, of course, depending on where they are and the maturity,
- 1:12:32they might need access to the production logs
- 1:12:35because they're debugging a problem, right?
- 1:12:37Because the software...
- 1:12:38and then a very common setup in an enterprise is to have zero trust and to have break rest
- 1:12:43access so the people don't have standing access to production except if there's an incident and
- 1:12:44Yeah, yeah.
- 1:12:48they raise the ticket.
- 1:12:48yeah but that but but but it gets a bit so so people maybe break that glass and then they copy
- 1:12:55in the logs into into claude and then you kind of have the same problem you know what i mean it's
- 1:13:01like you could you could have all these controls around your agent not doing it but then many in
- 1:13:07many cases uh engineers nowadays will use the break glass and just copy the freaking logs into
- 1:13:13Claude.
- 1:13:14but then your
- 1:13:15enterprise
- 1:13:17device management
- 1:13:19system has
- 1:13:19set up all these rules inside Claude
- 1:13:23and these monitors and metrics.
- 1:13:26And even if they use a not allowed cloud enterprise,
- 1:13:30sorry, cloud session that gets private logs,
- 1:13:34then they get flagged.
- 1:13:38Which you said people are not...
- 1:13:40Yeah, like a detective control.
- 1:13:42Well, let's not talk about it now.
- 1:13:44It's actually pretty fresh stuff at my workplace,
- 1:13:47so I don't want to talk about it right now.
- 1:13:49it's a common problem
- 1:13:50it's a problem I hear a lot
- 1:13:54Exactly, exactly.
- 1:13:54do you think if you move to background
- 1:13:56agents you remove that problem
- 1:13:58No, I don't think it's a technical problem.
- 1:14:01do you understand background agents
- 1:14:01It's more of a...
- 1:14:04No, I don't.
- 1:14:06it's an agent that doesn't run on the engineer laptop
- 1:14:09it doesn't
- 1:14:11I think it's one of the talks
- 1:14:13of the evolution that she talks about
- 1:14:15how people work with Claude
- 1:14:16like you used to steer it
- 1:14:18you used to need to see the session
- 1:14:19you used to need to read the messages
- 1:14:20to understand the concept
- 1:14:21we're moving away from steering
- 1:14:23the agent is no longer running on your laptop
- 1:14:25the agent is no longer running with your permissions
- 1:14:27there's no way for you to copy logs into it
- 1:14:33interesting that sounds very mature though
- 1:14:36okay i need the toilet
- 1:14:38it's my talk at Red Hat Singapore on the 27th it's about background agents and the different
- 1:14:44enterprise agentic adopting patterns
- 1:14:44Okay, cool.
- 1:14:46Okay, well, I'm glad to talk to you
- 1:14:47because you can help me solve these problems.
- 1:14:50And if anyone's listening and they know better,
- 1:14:52please comment below.
- 1:14:54And if you learned something...
- 1:14:54and if you're in Singapore
- 1:14:56come to the Red Hat meetup
- 1:14:57about the
- 1:14:59enterprise agentic adoption
- 1:15:02patterns
- 1:15:02Awesome.
- 1:15:03with background agents
- 1:15:05to solve these problems
- 1:15:05Okay, cool.
- 1:15:06Thank you.
- 1:15:08Okay.
- 1:15:09Cheers, Vincent.
- 1:15:10yeah
- 1:15:10Thanks.
- 1:15:11Thanks ever so much.
- 1:15:12See you.