Latest / AI Infrastructure / AI Infrastructure addicts
Transcript
- 0:00I was going to I was going to show you
- 0:01something here.
- 0:03>> Yeah.
- 0:05>> I got a I I contacted my employer saying
- 0:08like
- 0:09I can't see how much I'm spending. It
- 0:11says you're on the you're seeing the
- 0:13free plan because I'm using the cloud
- 0:15API.
- 0:20So if I go to settings usage.
- 0:25Okay. No, I guess. So yeah, long story
- 0:28short, I'm I've used $80 this month.
- 0:32>> 80?
- 0:34>> Yeah. Is that good?
- 0:35>> That's a lot more than me, bro. You
- 0:36always keep saying, "How can I use so
- 0:38much AI credits?" And now you're using a
- 0:40lot more. [laughter]
- 0:42>> So if I But I I'm pretty sure that I
- 0:45looked at Claude yesterday. You talked
- 0:48about trust and um about trusting the
- 0:51code. Now you have seven, but that's
- 0:53your VS Code spend. That's different,
- 0:55right? That's not your cloud.
- 0:59That's GitHub. Yeah.
- 1:04But how much?
- 1:06>> You have no budget.
- 1:08>> But still, it makes it look like I've
- 1:10got 75% premium requests used.
- 1:17>> I I just don't understand it. I mean,
- 1:19how if I can't understand
- 1:21how I'm spending money
- 1:24on
- 1:26AI? Yeah. So, it basically kind of
- 1:28shocked me because if I'm like, if you
- 1:31had to How much are you spending on AI
- 1:33right now? Then
- 1:35I pay Well, I'm always confused between
- 1:38Singapore dollars and US dollars. I
- 1:40think what I'm seeing is Singapore
- 1:42dollars 30 for an entropic monthly
- 1:44subscription. and I added another 30 in
- 1:47my wallet with a $20 monthly cap. So in
- 1:50total if I I spend everything I I I'd
- 1:53hit 50 if it's in dollars 50 and then
- 1:58and just just to
- 1:59>> screen froze.
- 2:01>> Yeah, it's frozen for me too. Hold on.
- 2:03Let me see if I can just switch to my
- 2:07>> You're in a
- 2:08>> FaceTime camera.
- 2:09>> Funny pose.
- 2:12I I like to use the my my uh my phone
- 2:16because the quality is so much better.
- 2:18>> Okay. That was 50 on Antropic, right? Um
- 2:22when you
- 2:24>> Yeah. So, sorry when I said you spend 80
- 2:26is more than me. I did not take into
- 2:27account Chad GPT and uh Gemini U
- 2:31subscriptions.
- 2:32>> So, you're spending you're spending like
- 2:34100. The the scary thing is is like I'm
- 2:37like if if my employer said, "Oh, Kai,
- 2:40you're spending too much on Claude.
- 2:42We're not going to finance your $80." I
- 2:45feel like it's the same thing with AWS
- 2:47because I have my own AWS account just
- 2:50for like learning and doing things.
- 2:53And that cost me like 30 bucks a month
- 2:56because I can't get it lower than that
- 2:59because I've loaded up with some S3. So,
- 3:01I'm just I'm I'm a little bit worried
- 3:02that as a as a worker that I have to
- 3:05take on these costs and like my wife
- 3:08like bemonones me about our Netflix and
- 3:10all these other subscriptions if if we
- 3:13all if if I have to maintain an AI
- 3:15subscription of 100 bucks a month. I
- 3:18mean, is that is it's a bit annoying,
- 3:20but I guess it's worth it. But,
- 3:24>> bucks is Yeah,
- 3:25>> 100 bucks is something but like it's
- 3:26worth it. I mean I do feel I do feel
- 3:30energized and
- 3:32>> and motivated to get things done with
- 3:34with the help of AI you know never mind
- 3:36it like completing my code like the
- 3:39planning everything it really really
- 3:41helps at least me
- 3:43>> never mind it also taking on a funny
- 3:45thing right I was installing posgress on
- 3:47an EC2 instance in the Singapore AWS
- 3:50region and it was taking a very long
- 3:53time it looked like it was hanging I was
- 3:55using a packer build script right
- 3:56supposedly completely finishes in 15
- 3:58minutes but just adding Postgress now it
- 4:00was like hanging for 10 minutes before
- 4:01it even like finished the Postgress
- 4:03installation which I put early in the
- 4:05installation process [gasps] and after
- 4:07troubleshooting it with AI for a while
- 4:09it just said well you know we looked we
- 4:11we signed in we had package generate a
- 4:14separate uh debug SSH key so I could log
- 4:16in to see to monitor the progress and we
- 4:18we concluded that the the transfer was
- 4:21just slow because we're downloading from
- 4:22like universal DBN packages and Um, and
- 4:27so it suggested a couple of mirrors, but
- 4:29then we had to validate because the
- 4:31machine was ARM and not all mirrors
- 4:32support ARM packages.
- 4:34>> And so it did some latency like we ended
- 4:38up writing a latency checker for the
- 4:41several um Singapore
- 4:43>> mirrors available for like DBN ports or
- 4:46whatever. And I ended up with like um
- 4:49and and then there was a an edge case
- 4:52where one of the mirrors maintenance
- 4:54page show that they were no longer
- 4:56supported but according to the benchmark
- 4:58results had like a sub millisecond
- 5:00latency which turned out to be a treat a
- 5:02redirect to an error page and so it
- 5:04didn't validate the the actual binary
- 5:06contents of of the package that was
- 5:08supposed to be there. Right. So it just
- 5:10Yeah. So it it responded 200. Okay. But
- 5:12the actual contents of the index was an
- 5:15error page.
- 5:16>> Yeah. So, so then we ended up with like
- 5:17a whole a whole script to validate
- 5:20mirrors for Ubuntu package for DBN
- 5:22packages that are ARM compatible. Uh
- 5:25well, any compatible because it checked
- 5:26the architecture of the of the u of the
- 5:29the kernel, right? So, so just to say
- 5:31like yes, AI is so exciting, but as part
- 5:34of my process, I ended up writing a
- 5:37benchmark script for [laughter] the
- 5:38Singapore.
- 5:39>> Yeah, you get nice little surprises and
- 5:41bonuses and and all sorts of artifacts
- 5:45out of it.
- 5:47Oh my gosh. So,
- 5:50>> finished.
- 5:50>> I want you to pick up on with on you on
- 5:52the um
- 5:55Sorry, I lost my train of thought. I'm
- 5:57just I'm just I'm just kind of like I
- 6:00don't know. I'm just like [snorts]
- 6:02>> It's too early.
- 6:04>> Yeah, it is a bit early. Yeah. I'm just
- 6:06thinking that like how how much is AI
- 6:08worth to me? It's like it's now just
- 6:10it's now undeniable. I cannot live
- 6:13without it. I'm just a little bit sad
- 6:15about it.
- 6:16>> It's funny because originally I had like
- 6:18these these talks and panel discussions
- 6:22and everyone agreed like we we we do a a
- 6:24Friday, no AI Friday to make sure that
- 6:27our muscles are still being exercised. I
- 6:30haven't even thought about that in the
- 6:31last four months to consider no AI
- 6:34Friday cuz [sighs]
- 6:36>> are we are we addicts? Are we I mean you
- 6:38talk about your supply all the time. I'm
- 6:41talking how I can't live without it. Are
- 6:43we
- 6:45addicted to AI?
- 6:50Sad is it? I don't think it's sad. I
- 6:53think the amount of output and I don't
- 6:55think it's illusionary output as well. I
- 6:58think it's real output. there's a 100%
- 7:01sure that I couldn't do what I've built
- 7:03today without the assistance
- 7:06uh and also the motivation that it gives
- 7:08you you know because no matter what you
- 7:10come up with it will come up with like
- 7:11something that looks plausible and once
- 7:13and then some cause fallacy once you're
- 7:15down the the road you just persist until
- 7:18it's there and then you need AI to get
- 7:20you out
- 7:23um yeah but but when I was saying costs
- 7:26for AI and I think like entertainment
- 7:28subscription is similar Right. Actually,
- 7:31like my chip is the good thing about
- 7:33OpenAI is it's completely shared with my
- 7:35family. Maybe it's not good that my son
- 7:36is using it all the time because he's
- 7:38literally giving like verbatim
- 7:41assignments like here's a story analyzed
- 7:44for literature like
- 7:45>> yeah I got I got my wife using Claude
- 7:49>> and she
- 7:51the interesting thing she said yesterday
- 7:53in the car [clears throat] was that she
- 7:56wanted to cancel it but then she said to
- 7:57me because I think Gemini does the same
- 8:00thing but then I asked Gemini a question
- 8:03and it completely messed it
- 8:05and Gemini got it really right. Um, and
- 8:07Claude got it right. So now I'm thinking
- 8:09I shouldn't cancel the subscription. I
- 8:11was going, "Yeah, maybe you should keep
- 8:13Claude."
- 8:14>> I subscribed Gemini last month when I I
- 8:17was I think it was a bug with OpenAI
- 8:19when they did the release. That's it
- 8:21showed like that you had used all your
- 8:22budget at some point. It displayed that
- 8:24all the time. So, I was out of codeex
- 8:26and cloud and I was like, well, I really
- 8:31want to like continue and I was hoping
- 8:34betting on Gemini 3 coming out anyway.
- 8:36So, I was like, I might as well, you
- 8:38know, subscribe to that while I'm at it
- 8:39with the intention to cancel it if it
- 8:41wasn't worth it. And I think I should
- 8:43cancel it
- 8:45>> Yeah. But it's the same thing like I
- 8:47have Netflix, Disney Plus, and Amazon
- 8:49Prime. I mean, honestly, Amazon Prime is
- 8:52very small amount.
- 8:54>> Mhm. Um, and and
- 8:56>> yeah, yeah, Amazon Prime is the
- 8:58cheapest.
- 8:59>> Yeah.
- 8:59>> Yeah. And yeah,
- 9:02>> Disney Plus, I think I want to cancel it
- 9:03because the most expensive and honestly
- 9:05the output is so bad.
- 9:06>> What What about cloud services like like
- 9:08AWS? I mean, you must have like a $30 a
- 9:11month type thing that I do.
- 9:14>> Oh, yeah. I um I do have an AWS account.
- 9:17I think it's something around that. I
- 9:19have a CDM for the project which is
- 9:23backed by static S3. I have no like it's
- 9:26all serverless. I don't even use
- 9:27lambdas. It's all static basically. Um
- 9:30just the route 53 uh the TLS like the
- 9:34certificates.
- 9:35Um but the TLS is free, right? But it's
- 9:38also the
- 9:40uh what's it? Well, the CloudFront
- 9:42distribution itself. Uh what else? uh
- 9:45the the the route 53 like domain
- 9:48registration because I do have some
- 9:49domains via namecheep but I think it's
- 9:51so much easier to just go through AWS
- 9:53and like the cost difference make it
- 9:55like
- 9:57building
- 9:57>> account I guess the $30 a month I mean
- 10:00I'm aggregating it but it's because I
- 10:02maintain
- 10:04you know eight domains that I've never
- 10:06really used in my life but I still pay
- 10:08for them because I'm an idiot. So this
- 10:10this this topic will be like how to like
- 10:14all of the useless stuff we pay for.
- 10:16[laughter]
- 10:16>> Yeah, something like that.
- 10:19Um, sorry, I'm still trying to gather my
- 10:21thoughts. There was something I wanted
- 10:23to chat to you about. Um
- 10:27yeah, you you mentioned that like
- 10:28switching to plan you you don't use plan
- 10:31mode anymore like I I
- 10:34>> so so because planning is like under the
- 10:38spec kit where it creates a detailed
- 10:41multihase and then boils it down to each
- 10:44individual file exactly what needs to
- 10:45change.
- 10:46>> Oh this is because you spec it right?
- 10:47You don't need plan what you're saying.
- 10:49So now if I like initially when I did
- 10:51that I went into cloud and as usual fire
- 10:54up plan mode to create like a bunch of
- 10:55to-do items and then read the spec but
- 10:58what I found is that cloud sometimes
- 11:00just changes the plan like even though
- 11:02the task description are clear this is
- 11:04what you need to do in this file and it
- 11:06just goes and does something slightly
- 11:07different and then in the overall design
- 11:09things don't work anymore. I I've seen
- 11:11cloud do that. So I'm actually now cloud
- 11:14code plan mode is detrimental to my
- 11:17>> that doesn't sound good at all.
- 11:20I'm I'm plan mode. I'm plan mode all the
- 11:23way, man.
- 11:24>> That's why you start, right? But I've
- 11:25also the reason why I sent you that
- 11:27message is because I saw two or three
- 11:28threads on Reddit uh yesterday because
- 11:30with the new Opus 4.5 release, they also
- 11:33revised the way plan works and they said
- 11:35for Opus even it's worse because now OPU
- 11:37spends up spins up sub agents and then
- 11:40works off summary results and as a
- 11:43result doesn't get like as good a um a
- 11:47plan anymore. So people are complaining
- 11:49that
- 11:50>> is like a a better planning model, isn't
- 11:53it?
- 11:54>> Yes. But it spins up sub aents to
- 11:56explore the codebase and then works off
- 11:58those results which are inaccurate.
- 12:01So if if you were to use Opus, which is
- 12:03a more expensive per token cost,
- 12:05>> you get more you get other things you
- 12:07don't want with it. Is that is that what
- 12:09you're saying?
- 12:10>> No. No. If you were to use Opus, which
- 12:12is like very more expensive per token,
- 12:14uh it would itself read and understand
- 12:17everything and then make a make a plan
- 12:18out of it, right? But because they're
- 12:20trying to save cost, they are like
- 12:23having Opus more as the orchestrator
- 12:24spinning up sub agents that go and read
- 12:26things then create summaries and then
- 12:29feeds that back to Opus. As a result,
- 12:31those summaries are not as accurate and
- 12:33Opus makes incorrect plans. That's the
- 12:36complaints that I read on Reddit um
- 12:38today and and I was like actually it's
- 12:40not a problem for me because I'm not
- 12:42even using plan mode anymore. Even
- 12:44before the update, I already noticed
- 12:46that there was something wrong with it.
- 12:48>> In in your screencast you you shared
- 12:50with me there's something else that I
- 12:53didn't quite understand or I haven't
- 12:55seen before. You using anti-gravity, I
- 12:57guess, right?
- 12:58>> I'm using what? Sorry.
- 12:59>> You were using anti-gravity.
- 13:01>> Anti-gravity. Yeah. Yeah, there was this
- 13:02workflow thing that I had.
- 13:04>> Yeah, but like you were choosing there
- 13:05was an option down by the model where
- 13:07you were choosing if it was like
- 13:09>> Oh, that's high, medium, or low
- 13:11reasoning or something.
- 13:13>> Oh, that's a that's a codeex plugin. No.
- 13:16>> Oh, can you just show that? Like what?
- 13:17Why? Why would you
- 13:21>> twiggle that toggle?
- 13:24>> Uh, which one is it? This one.
- 13:29>> Yeah. Can you just zoom in down there?
- 13:32So to see your
- 13:33>> how would I zoom in? I can do this. Is
- 13:36that zooming in?
- 13:37>> Um Oh, I thought you might use the the
- 13:40Apple zoom which is like I don't know
- 13:43what I think you have to enable
- 13:45>> but you can read it, right?
- 13:46>> Yeah. Yeah, it's good. But
- 13:48>> the setup is to put on your VS code your
- 13:50chat window on the right on this right
- 13:52sidebar.
- 13:53>> Yeah.
- 13:53>> And by default you will get your co your
- 13:56Visual Studio Code
- 13:57>> um here. Right. And you can choose
- 14:00codeex. Yeah,
- 14:01>> those are the ones that you get with
- 14:02your your co-pilot subscription.
- 14:05>> Yeah, and I'm locked into 4.5, that's
- 14:07for sure.
- 14:08>> I mean, um,
- 14:09>> and then
- 14:10>> I have installed another plugin here
- 14:13which is called Codeex.
- 14:16So, I have the the Claude Code plugin,
- 14:18but I also have the codeex plugin, the
- 14:20OpenAI codeex. Where is it?
- 14:22>> Yeah, it was up the top there. I think
- 14:23it was at the top. Uh,
- 14:26>> this one.
- 14:26>> Yeah. So when I I started using codeex
- 14:29through this CLI um it was horrible
- 14:31because you couldn't paste screenshots.
- 14:33It was really bad compared to Claude Code
- 14:35right. So I installed this plugin and
- 14:37here you can put images you can easily
- 14:40refer to files things that the CLI don't
- 14:43really has properly and down here when
- 14:45you select the model that's where then
- 14:47you can now access with your I have chv
- 14:50plus right $20 a month I can access now
- 14:53in my VS code through that subscription
- 14:57GPT 5.1 codeex with high reasoning I
- 15:00think it's a promotion they're trying to
- 15:01see how well the model does
- 15:03>> I don't understand why why couldn't the
- 15:04the co-pilot chat expose 5.1 C codeex
- 15:08max. So this is something also I just
- 15:11read on on uh on Reddit the other day
- 15:13was people asking like what's the
- 15:15difference between running Sun 4.5 here
- 15:18and running Claude Code son here in the
- 15:20in the terminal I can run them both
- 15:22right and one of the comments and I
- 15:24don't know if this is verified said that
- 15:26the context that VS codeense is much
- 15:29smaller 65k tokens instead of like the
- 15:33200,000 tokens that you get um in in
- 15:35Claude Code so so that's why they are
- 15:38able to offer for these at like 1x
- 15:41within your VS code copilot subscription
- 15:44because they're not as effective.
- 15:45>> Yeah, but we I'm more I'm more u
- 15:48concerned about your codeex one, not
- 15:51clawed. Why why why can't you use codeex
- 15:53max in your copilot chat? Why do you
- 15:56have to install the codeex uh
- 15:59>> because it's a different subscription?
- 16:02>> But isn't Codex OpenAI
- 16:05and isn't and that's owned by Microsoft
- 16:07pretty much. But I'm paying it's
- 16:09different if you pay Microsoft vs code
- 16:11and OpenAI is still its own its own
- 16:14entity, right? They have a partnership
- 16:15and an investment.
- 16:16>> Oh, I see. I thought I thought there was
- 16:18I I assumed there there'd be some really
- 16:21tight integration
- 16:23>> because
- 16:23>> you know Microsoft is a customer of
- 16:25OpenAI like a partner and they get
- 16:27access to some models
- 16:28>> because because it is a bit of a like a
- 16:31maze to I mean you must spend half your
- 16:34day working out which extension, which
- 16:38optimization,
- 16:39which thing to to use to get the best
- 16:42out of your subscription. It's a
- 16:44nightmare if you're like a if you're in
- 16:46like a corporate environment, you know,
- 16:48I'm not I'm not even allowed to install
- 16:50the extension. I think uh
- 16:52>> uh corporate environments I'm not
- 16:54talking about and I'm on a corporate
- 16:55laptop actually, but luckily they have
- 16:58not locked that down. Um and this VS
- 17:01Code subscription is through the GitHub
- 17:04organization. I I I used to have my own,
- 17:06but I canceled it. Uh and then the
- 17:08company has seats, right? Um so this one
- 17:11is controlled by the company and okay
- 17:13and it can see how much each of us is
- 17:14using. This one is my personal codeex
- 17:17which of obviously if I work on company
- 17:20um source code that would probably not
- 17:22be acceptable that I am using my
- 17:25personal codeex with like the open eye
- 17:28uh plus subscription versus the VS code
- 17:31agreed
- 17:33um like you know part of the GitHub
- 17:35organizations we discussed.
- 17:37>> Yeah. Um,
- 17:38>> I'm just using the chat. Um, but also
- 17:41then you have you need to learn how to
- 17:43set up your workflow. I installed this
- 17:45codeex plugin the moment they announced
- 17:46it. Like, hey, we have a codeex plugin
- 17:48and that's it. Like, I added that in. I
- 17:51saw that I could paste screenshots and I
- 17:52was like, hey, let's, you know, I like
- 17:54that more. And I go between the codec
- 17:56cli and the plug-in however I feel like.
- 17:58And like I said, most of my workflow is
- 18:01Claude Code. Um, but then sometimes
- 18:04because I look at my usage here and I
- 18:06say, "Oops, I'm close to my weekly or
- 18:08whatever." Then I start like, "Can I not
- 18:10do some of these task with Colex
- 18:11instead?"
- 18:12>> Yeah,
- 18:13>> I think maybe it was maybe it was like
- 18:15some sort of FUD, but I saw I saw a news
- 18:20article or tweet that that evidently
- 18:22Open AI is giving
- 18:26free AI open AI to to India or something
- 18:29crazy. Did you read that or am I just am
- 18:32I just racist? [laughter]
- 18:36>> Pl the sixth on both or is it the fifth?
- 18:38[laughter]
- 18:39Uh no, but um that would mean that if I
- 18:43re answer it, incriminate myself. That's
- 18:45not what I meant. But anyway, [laughter]
- 18:47oh yeah, I found it. I found it. Um, I
- 18:51mean it's not being I guess I I mean I
- 18:54think it's a little bit unfair to offer
- 18:57a whole country something that we
- 18:59ordinarily have to pay for.
- 19:01>> Well, how much of you how is your salary
- 19:03compared to I don't think it's unfair.
- 19:06>> Oh, for Christ sake. You're going to
- 19:09Okay. So, whole India gets open AI.
- 19:12>> Why not? [snorts]
- 19:13>> Um,
- 19:17okay. As long as it's confirmed that
- 19:19they're in India. [laughter]
- 19:21You have to cut that out.
- 19:24>> What do you mean? As long as it's
- 19:25confirmed.
- 19:27>> No, no, never mind. I didn't say
- 19:28anything.
- 19:28>> I mean, you should move. I mean, I'm
- 19:31just thinking that like in in the in a
- 19:33dystopian future that that Vincent moves
- 19:36to India just because he's addicted to
- 19:38his uh codec subscription and this is
- 19:42the only way it can be sustainable.
- 19:46I don't see it as an addiction. It's
- 19:48more like an ambition. An ambition of
- 19:51Yeah. It's about upskilling myself,
- 19:54building something real, not just like a
- 19:56toy project. And and honestly, I often
- 20:00ask myself, why do I spend time on doing
- 20:02this when I could just, you know, do my
- 20:06work and then go to the beach in Vietnam
- 20:08and kite surf, you know? So, so it's
- 20:12more our ambition because how much like
- 20:15how much time do we have left to um to
- 20:19realize? Yeah. Yeah. Yeah. That's one
- 20:22thing. I mean, moving to England two
- 20:24years ago has been a huge culture shock
- 20:27to me because there's a lot of people in
- 20:29England and probably Europe who work
- 20:32like 4 days a week. I'm like, dude,
- 20:34you're in your you're in your freaking
- 20:36prime. It's your it's your obligation to
- 20:39your family and to you to work as hard
- 20:42as possible to maximize everything so
- 20:45that you can you know retire early if
- 20:48anything and then
- 20:49>> retire with a broken back and inability
- 20:51to walk properly anymore and not enjoy
- 20:54the time with your kids. I mean there's
- 20:56a there's a there's a good reason why I
- 20:58I I really like um Scandinavian
- 21:00countries when I work there because
- 21:02>> Oh no. So you're going to tell me no. we
- 21:04actually should be working four days a
- 21:05week and that's why we use AI.
- 21:08>> Uh
- 21:10I mean I'm saying that right. It's a
- 21:14flip coin because when COVID finished I
- 21:16know so many of my friends from
- 21:18Singapore who were cooked up in you know
- 21:21at home decided like that's it you know
- 21:23I'm I'm not spending my life working.
- 21:25I'm going to go travel for the first
- 21:27year. Some of them took a sabbatical and
- 21:29then all the tech layoff happened and
- 21:31then half of them couldn't find a job
- 21:33because the market was saturated.
- 21:35>> So what are they doing now?
- 21:37>> Your friends
- 21:39>> panhandling in Bali.
- 21:42>> So So the So on one side I I'm saying
- 21:46you should spend your youth with your
- 21:48children. You should you know you have
- 21:50to balance it like work life balance
- 21:53even though it's your prime. But I'm
- 21:55saying that and I'm doing the opposite,
- 21:57[laughter] right? I'm up in my bed on
- 22:00on, you know, doing system design
- 22:02specifications from my phone uh or while
- 22:05I'm having a coffee outside. Um and I'm
- 22:08not spending enough time, you know,
- 22:09doing the things that I can enjoy right
- 22:11now. Um so yeah, I'm not consistent.
- 22:16>> Yeah, it's a difficult topic. the um
- 22:21there's a guy that I've been following
- 22:22for years uh Eddie Osmani. He's he's big
- 22:25in the web world and I used to be big in
- 22:27the world. I don't know if I used to do
- 22:29stuff for the W3C and and browser
- 22:32engines in the beginning of my career
- 22:34and I think I'm come across Eddie Osmani
- 22:37then
- 22:39and he's still around.
- 22:42He's he's like a a lead at Google and he
- 22:46wrote an open he wrote an AI book or
- 22:48something.
- 22:49>> I think I saw I follow several Gemini
- 22:52CLI like core team members to find out
- 22:54if they are doing some improvements to
- 22:56the product and I think I saw somebody
- 22:59share this like uh Gemini CLI things as
- 23:02well which I was like I'm going to have
- 23:04to look at it but then
- 23:06I mean most of these are like oh this is
- 23:09>> yeah I know about that. you know about
- 23:11that. This is like use Claude
- 23:15>> create custom commands. I mean this
- 23:17>> create custom commands. Okay. Yeah. Yep.
- 23:19We know about that. I I to be honest I'm
- 23:21not as I pointed out yesterday I don't
- 23:23like things polluting my command space.
- 23:28I'd rather use um
- 23:32the way that Claude the way that you
- 23:34trigger an agent or a skill in Claude is
- 23:37just by text
- 23:39but via the prompt and it works
- 23:41reliably. I I I never get the feeling
- 23:44that oh no it's not triggering the right
- 23:47MCP or
- 23:48>> that's the weird thing about using these
- 23:50tools is that we are used to find menus
- 23:53and buttons to click on
- 23:55>> whereas right now in words we say
- 23:58something and that kind of triggers the
- 24:00LLM to more like oh
- 24:01>> and you can see that it triggered it.
- 24:04>> Yeah. Yeah, but the thing is like they
- 24:06have this thing of agents, right? But
- 24:08you don't really know like, oh great,
- 24:09there's agents. And sometimes it's like
- 24:11decides to use it. But you can actually
- 24:13just say like, oh, by the way, you know,
- 24:15send off uh an explore agent to go
- 24:18through the codebase and find wherever
- 24:20this might be applicable and it just
- 24:22spawns an agent and does that like
- 24:24there's no button to click,
- 24:26>> right?
- 24:26>> Yeah. Yeah.
- 24:26>> What's the words that I use to trigger
- 24:28>> me? At one time I I used agents to
- 24:32depend a bot merge everything in my in
- 24:34my 300 repos. It worked really well.
- 24:37Um, but I I want to kind of tie it into
- 24:40that because I shared with you something
- 24:42that I saw in the change log of cloud
- 24:44code and they said they improved the ask
- 24:46user input tool and I was like oh so
- 24:49that's the thing it's called it's like
- 24:52ask user question tool to autosubmit
- 24:54single select questions on the last
- 24:55question and so
- 24:57>> right so so when I saw the name of the
- 24:59tool now I suddenly like have maybe like
- 25:04son will know that if if the user
- 25:07says something or ask me a question
- 25:08about this, it will automatically change
- 25:10>> so you know how to use it. Yeah. Just
- 25:13>> there's a lot of learning here like just
- 25:15to know when an agent is spinning
- 25:18knowing that you're you you can you're
- 25:21in plan mode so you can get the prompts
- 25:23knowing the dialogue for an MCP call.
- 25:28>> There's a lot of learning and
- 25:29unlearning.
- 25:33>> Okay. because I saw somebody on Reddit
- 25:36complain like the latest update on the
- 25:38plan mode behavior has broken my
- 25:40workflow. And I'm like, yeah, who cares?
- 25:44I mean, that's part of of of of your
- 25:47job, not only to know how to phrase
- 25:49things to trigger the behavior that you
- 25:50want to see in the model, but also
- 25:52realize that that behavior is no longer
- 25:54the most efficient and change the way
- 25:55that you prompt a model.
- 25:56>> Yeah.
- 25:57>> So, learning and unlearning, which is
- 25:58why it constantly changes. [snorts] You
- 26:01know, I can see some people struggling
- 26:03with this. I mean, I can see some
- 26:05Anyway, so tip three, use your MCP. We
- 26:09all know about that stuff.
- 26:10>> I think struggling because of the
- 26:12non-determinism, right? Because
- 26:15supposedly everything is perfect and
- 26:18when you say something, it's going to
- 26:20act the way you expect it to work. Yeah.
- 26:22The problem is like what I just noticed
- 26:24here. It's triggering on the tabs being
- 26:26in in the Golang file as an indentation
- 26:29and then it's it's update tool not
- 26:31working and then it's it sometimes goes
- 26:33to our I'm going to do an here do with a
- 26:35cat or I'm going to use Python to update
- 26:37the file. Like what? Stop stop.
- 26:41>> Yeah, I I mean I can see some people
- 26:44struggling. Maybe I'm just belittling my
- 26:47some of the people I've come in contact
- 26:49with, but uh but I can see [laughter]
- 26:53>> be very specific.
- 26:56>> I can see some people struggling, but
- 26:57maybe maybe it's a skill we can all
- 26:59learn. Okay, tip four. I think that I
- 27:02think leverage memory addition. So I
- 27:05think I'm I'm when when someone says
- 27:08memory, I'm thinking beads already.
- 27:12Do you use do you use slashmemory
- 27:16>> and used to be with a hashtag to just
- 27:18update the cloud MD file I think but
- 27:19they might have changed that. So the
- 27:21thing about beats is exactly the thing
- 27:23like before right at some point if cloud
- 27:25code shell is so much better than beats
- 27:28I must be able to get rid of it quickly.
- 27:31So if if if it's tricking up my LLM more
- 27:33than it's helping I need to be able to
- 27:35remove it right.
- 27:38And regarding memory, I mean I remember
- 27:40when a long time ago you would say
- 27:42something like uh please remember to do
- 27:44this always. Then it it would
- 27:46automatically pick that up and feedback
- 27:47like hey if you put the hashtag it will
- 27:50automatically write it to the cloud MD
- 27:51file and then the slashmemory was
- 27:53supposed to be something similar but
- 27:54maybe they've updated it, right? I don't
- 27:56know that.
- 27:57>> Yeah.
- 27:58>> And and this is for Gemini, right? This
- 28:00is not for Claude Code.
- 28:02>> Check restore as an undo button. Um,
- 28:05>> that's also again is just a double
- 28:08escape.
- 28:10>> Oh, yeah. Yeah. Then you get the menu
- 28:12and you can choose. Yeah.
- 28:15>> I use it a few times actually. It's I
- 28:17love it.
- 28:18>> This applies to Claude. Uh, well, tip
- 28:21six it read Google Docs.
- 28:26Um, I think Claude Claude Claude desktop
- 28:28could do this. I noticed that it
- 28:30integrates quite well in my
- 28:31>> actually Opus 4.5 has been significantly
- 28:34improved around um doing those
- 28:37multiflows where it goes across
- 28:38documents. I never do that because I do
- 28:40coding task and I don't have to deal
- 28:41with Google Docs but a lot of the
- 28:43entropic examples on their blog post
- 28:45related to Opus 4.5 is the token you the
- 28:48token usage effectiveness of Opus 4.5
- 28:51when doing these tasks. Um, and
- 28:54>> the whole MCP drama that is now because
- 28:56Entropic created it and now they're
- 28:57saying, "Well, we don't do MCPS like
- 28:59that anymore." You can actually hint on
- 29:01your tools um with information about how
- 29:05to use the tool in a script so that Opus
- 29:07will write a script to use the tools to
- 29:09then execute everything in one go.
- 29:11That's one of the things like I I joked
- 29:12about yesterday with like on Facebook
- 29:14was like everybody wrote these MTPs with
- 29:17all these tools. Now you have to go and
- 29:18update them all because now you have to
- 29:20go and indicate how to use that tool in
- 29:21a script for
- 29:22>> open. Yeah, I saw your I saw your
- 29:24LinkedIn thing.
- 29:26>> Yeah, the the we talked about playright
- 29:29before, but every time I use playright
- 29:30at work, the the token limit gets gets
- 29:33exceeded and then it does that horrible
- 29:35compacting uh phase which I've now
- 29:38turned off. So I don't know what's going
- 29:40to happen now that I've turned it off
- 29:41thanks to you. Does it just stop?
- 29:44The thing about MC about playright right
- 29:47I think this MCP server is is is wrong.
- 29:50It's not good design because
- 29:52>> it's like one of the one of the what do
- 29:55you call it flagship MCPS but carry on.
- 29:59Well, to me
- 30:02after after adding playright scripts to
- 30:06my my you know my API with a with a web
- 30:09app to go through the flows user flows
- 30:12you know login get redirected to
- 30:14keycloak um sign in get back to the app
- 30:17then validate that you can do this but
- 30:19not that if depending on your group
- 30:20membership and things like that these
- 30:22type of user flows very hard to test
- 30:24with uh integration testing golang or
- 30:26something like that right because you
- 30:27need to parse the respon from keycloak
- 30:29to find the the the session token or the
- 30:32whatever it's complicated. So um after
- 30:36building those playrights flows I was
- 30:39really impressed with pay playright
- 30:41because what you get is a full trace of
- 30:43screenshots context like this is what
- 30:44what the it has like this YAML
- 30:46representation of a web page of the tree
- 30:48of the like the DOM the document object
- 30:50model of what are the different elements
- 30:52and how they're nested and what their ID
- 30:54>> how do you see this YAML does it spit it
- 30:56out
- 30:56>> you see it also if you if you use the
- 30:58dev tools Chrome MCP when you're doing
- 31:00like you wanted to investigate some
- 31:03problem in your web app, it can launch
- 31:05Chrome, which is way lighter than the
- 31:07than than the than Playright itself
- 31:10because Playright requires a plug-in,
- 31:12but Chrome can run on its own with the
- 31:14Chrome MCP. So, I like that one. And it
- 31:17can launch it and then the LLM will say,
- 31:19okay, I take a snapshot and it shows you
- 31:21like a YAML document tree. And then when
- 31:24you uh when it sees like let me check
- 31:26the response from the API server. It
- 31:28goes to the JavaScript console in the
- 31:29browser and runs a small script that
- 31:32uses the React app state and um does a
- 31:35query like hey I have this session token
- 31:37and everything and then boom it it does
- 31:39the query from within the console which
- 31:41is way more powerful than what you can
- 31:42do just within the terminal right so so
- 31:44this type of actions amazing for like
- 31:47live troubleshoot yes it's going to eat
- 31:48your tokens and I think they [snorts]
- 31:50made some as well
- 31:51>> I use playright with a a brow an
- 31:53existing browser so that has all my
- 31:55tokens and all that stuff I But then
- 31:57what I what I think the mistake is of
- 32:00this MCP a playright MCP server to drive
- 32:04a browser which is like send the message
- 32:07uh to the browser get the response then
- 32:09send the whole conversation to the API
- 32:11to then generate the next step which is
- 32:12your context window then send a message
- 32:14to the browser get the response append
- 32:16it then send the whole thing
- 32:17>> I agree it's a it's a nightmare it's a
- 32:19nightmare
- 32:20>> right so what I think makes the most
- 32:22sense is like the execution logic of
- 32:25opus which is you have a stra a trace
- 32:28you kick off the playright flow and and
- 32:30actually within the playright browser
- 32:32window you get that next to the error
- 32:34where it happens like hey I'm supposed
- 32:35to see this button but it's never
- 32:37visible and I time out then it gives you
- 32:39like this error and you can click uh
- 32:42copy prompt and you can paste it into
- 32:45into your model and it says like you are
- 32:47working on this problem this is the
- 32:48playright test this is source file this
- 32:50is the this is the snapshot of the
- 32:52browser context and this is the error
- 32:53message that that that we're stuck on
- 32:55and then the whole context is there.
- 32:58That's like much better than like do
- 32:59this then do this, then do this, then do
- 33:01this, do this, and send the conversation
- 33:02over the whole time. You get the whole
- 33:04flow and you know, you run through it.
- 33:06That's exactly the idea of Opus, right?
- 33:08You run through a process. You put the
- 33:11>> So, so wait a minute. Is this a solved I
- 33:13don't really understand. Is this a
- 33:14solved problem with with Opus or is this
- 33:18>> Yeah, the the big innovator of Opus is
- 33:20that it identifies like how to chain
- 33:23several tool calls and then run them and
- 33:25then get like send
- 33:26>> I need to I need to try this. I'm
- 33:29struggling.
- 33:29>> So that's why they say Opus is way more
- 33:31token efficient. Opus 4.5 is way more
- 33:33token efficient and bottom line cheaper
- 33:36than Sun 4.5. So if you can if the model
- 33:39can really be efficient with its tokens,
- 33:41but it has to fit the use case. I think
- 33:43>> I thought we started the conversation
- 33:44saying that the playright MCP sucks. So
- 33:46it the playright MCP can just stay as it
- 33:49is and Opus can basically compensate.
- 33:52>> The playright MCP is the wrong tool
- 33:54because it's going to send your
- 33:55conversation across every time the whole
- 33:57context window, right? It's going to do
- 33:59an X tool execution, get a little bit
- 34:01more appended to the context, send
- 34:03everything over and then send back uh
- 34:05response tokens appended.
- 34:07>> But how do I set up?
- 34:08>> So MCP server is bad. The actual ability
- 34:11to run traces and capture the trace is
- 34:14good because that's the concept of a
- 34:15full execution and get the result of
- 34:17that execution, not do every individual
- 34:19call and send the conversation over
- 34:22every time. You see the difference,
- 34:23right?
- 34:24>> Yeah. But what are what are my practical
- 34:26steps to get my playright flows more
- 34:28efficient then use opus?
- 34:32Uh
- 34:34well so what you said earlier was kind
- 34:37of correct because you said like opus
- 34:38will fix it because it should be able to
- 34:40change the chain those MCP tool calls uh
- 34:43and then do the whole flow and get the
- 34:45output. I have I don't know that. But
- 34:47what I do know
- 34:49>> is I got to have a play
- 34:51>> the playright uh tracing capability and
- 34:54using the MCP with current model doesn't
- 34:58doesn't work that way for me. Okay.
- 35:00>> But it would be interesting to know if
- 35:02if OPUS is therefore like what you said.
- 35:04So Opus solved that. Right. Maybe it is
- 35:06right.
- 35:07>> Let's let's let's carry on looking
- 35:08through this thing. Do I I to be honest
- 35:11I don't use the ad symbol anymore
- 35:13because every time I press it it
- 35:15launches UI. I just I just paste the
- 35:18relative path.
- 35:20>> Is this for Gemini?
- 35:21>> Yeah. But I think the same works this
- 35:23works in Claude I think.
- 35:25>> Yeah. Yeah. Yeah. But in cloud it just
- 35:27like drops down the file list and then
- 35:29you just tap complete the file and then
- 35:31it kind of like sends the
- 35:32>> I'm used to like copying relative path
- 35:34from VS Code and just pasting it in. So
- 35:38for a while and I'm not sure who I think
- 35:39it's Gemini doing this when you relative
- 35:42copy relative path when you paste in
- 35:44Gemini it adds the add some symbol on
- 35:46its own.
- 35:47>> Oh really?
- 35:48>> In the in the Gemini CLI. Yes. So if you
- 35:50copy a relative file it actually like
- 35:52creates it as include this file in in
- 35:54the in the in the query because you're
- 35:55going to need it anyway which I don't
- 35:57fully agree with. Sometimes I I remove
- 35:59the ad sign and I say and go through
- 36:02this file bit by bit if you need it like
- 36:06search for these strings and then go
- 36:07through it. I don't want to send the
- 36:08whole file, right?
- 36:10>> Uh
- 36:12cuz I have a feeling you're I mean this
- 36:14to me here is an anti pattern because
- 36:16like
- 36:17>> the minute I do something like this I
- 36:20feel AI is just going to do some really
- 36:22crazy answer. Like I feel like some
- 36:25people,
- 36:27okay, I'm not I'm not trying to I'm not
- 36:29trying to I'm not trying to like
- 36:30identify my my colleagues, but some
- 36:32people don't know about diff
- 36:33>> and it's kind of scary
- 36:36>> and like they should be using diff to
- 36:38see the changes. They should not be
- 36:40doing something like this.
- 36:41>> I I was going to say the biggest problem
- 36:43there is the extension. It's it's a
- 36:45Python file. [laughter]
- 36:47>> Okay, next. On the-fly tool creation.
- 36:52What the hell is that?
- 36:57Um,
- 37:02>> don't know. I don't know what that Do.
- 37:04You know what that is? Sorry, my
- 37:05mother's up. It can use its coding
- 37:08abilities to fabricate new ones as
- 37:10needed.
- 37:12>> Oh, I think I think I think it's like
- 37:13creating
- 37:15Oh, yeah. Like in in
- 37:17>> write a Python script to parse it. Yeah,
- 37:19like Claude skills has this has this uh
- 37:23>> directory where you dump in scripts
- 37:25which can help it do its thing. I think
- 37:27it's it's alluding to that.
- 37:29>> Yeah. And which is I think very valid.
- 37:31Um which which is kind of like related
- 37:33to the blog post again, right? Where
- 37:35where they can they can create the
- 37:38scripts to do the work and then you know
- 37:40just put the pass in the input and then
- 37:42see the output without having to you
- 37:44know pass the full context across each
- 37:46time. And so you save tokens that way.
- 37:49Yeah.
- 37:51>> Use Gemini CLI. Okay. It's just like
- 37:54using YOLO mode. Okay. This is all
- 37:56boring stuff.
- 37:58I I never do things like this. I don't
- 38:01>> I haven't but like
- 38:03>> I know about it.
- 38:04>> Speckit. I thought speckit had some
- 38:07scenarios where it told inside the
- 38:09prompt to say give me sub agent prompt.
- 38:14Charlie.
- 38:17>> Okay,
- 38:19hold on. Oh god. Unfortunately, this is
- 38:22the time I need to help my kids get to
- 38:25school.
- 38:25>> Yeah. Anyway, I thought thought it was a
- 38:27good chat. Maybe I can merge the two
- 38:29that we had and
- 38:31>> Yeah, make it entertaining on some some
- 38:33things.
- 38:35>> All right. See you.
- 38:36>> See you.