1
00:00:00,000 --> 00:00:06,559
So the result of all of these shenanigans is that we are now able to use Claude Code either here

2
00:00:06,559 --> 00:00:13,279
locally on my computer as always or remotely have Claude Code work for us in the cloud.

3
00:00:14,560 --> 00:00:19,360
And there are five different ways that you can do it and they all have, well not all of them,

4
00:00:19,360 --> 00:00:23,600
some of them have some differences and I'm going to quickly go through all five of them

5
00:00:23,600 --> 00:00:29,520
and experiment with some of them. And I say some of them because AmpliPix having some production

6
00:00:29,520 --> 00:00:33,439
outages at the moment which slightly limits what I can do but it doesn't matter because the ones

7
00:00:33,439 --> 00:00:38,319
that I can do right now are still some of the coolest. So the simplest thing you can do is that

8
00:00:38,319 --> 00:00:46,560
if you have any command you've got like hey what's two plus two, which no doubt Claude Code will not

9
00:00:46,560 --> 00:00:53,200
have much of a problem with, it's thinking about that four, you can put an ampersand before it

10
00:00:53,200 --> 00:01:00,880
and then that same thing will not run on your computer but it will spawn AmpliPix in the cloud

11
00:01:00,880 --> 00:01:06,720
and run it and get you back the answer. But that's the thing that has a production problem right now

12
00:01:06,720 --> 00:01:11,440
that means that it's not going to work for me and a subset of users and not clear quite which subset

13
00:01:11,440 --> 00:01:15,440
it's not able to do it right now which is too bad and running slash login doesn't

14
00:01:15,440 --> 00:01:21,360
do anything. But it will work for you and more than that you could put in any instruction you

15
00:01:21,360 --> 00:01:28,160
want you can put in and redo my readme and write me a new document whatever you want you can put

16
00:01:28,160 --> 00:01:32,959
it in there and it will go off and do it and you should experiment. And once you've done that you

17
00:01:32,959 --> 00:01:39,680
can do slash tasks and you'll see a list of what else is running out there and that's pretty cool

18
00:01:40,319 --> 00:01:45,279
and yeah this these are all unfortunately I've got I've got nothing there but you will have things

19
00:01:45,279 --> 00:01:49,440
if you've just kicked something off and you can kick multiple things off and have them all

20
00:01:49,440 --> 00:01:54,720
off and running as different tasks at the same time just as you could press plus and have lots

21
00:01:54,720 --> 00:01:59,440
of them running on your own box but but it doesn't need to be on your box it can be out there on the

22
00:01:59,440 --> 00:02:06,080
cloud running in a little sandbox environment and when it completes you get back the results and I

23
00:02:06,080 --> 00:02:11,199
should mention that that the work that's happening on the on the cloud when you kick it off the full

24
00:02:11,199 --> 00:02:16,960
context of the conversation so far is sent off to the cloud so it can continue at work it's already

25
00:02:17,039 --> 00:02:22,000
been doing up to that point and that's pretty cool okay so that's the first way to do it the

26
00:02:22,000 --> 00:02:27,119
second way is that you can also just call from the command line I've got add a claw code you

27
00:02:27,119 --> 00:02:33,279
can just say clawed dash dash remote and then just put a command in here like uh again what is two

28
00:02:33,279 --> 00:02:38,240
plus two but or something more meaningful now this is also not working at the moment for me

29
00:02:38,240 --> 00:02:43,039
but it will work for you you should try it you'll see it's great uh and for me I'm gonna get an

30
00:02:43,119 --> 00:02:47,440
error message there we go unable to create remote session thank you anthropic but it's been that way

31
00:02:47,440 --> 00:02:52,160
for for a couple of days but uh I'm sure it'll be fixed very soon it'll certainly be fixed by the

32
00:02:52,160 --> 00:02:57,279
time you see this and so you should try it and see it but luckily for us there are another three ways

33
00:02:57,279 --> 00:03:01,839
to do it that all have some differences and other ways that I would typically do it and that's what

34
00:03:01,839 --> 00:03:07,839
we're going to do next let's go for for number three and number three is to go to claude.ai

35
00:03:08,399 --> 00:03:14,720
code which comes up with this kind of interface and the first time you come into this if you this

36
00:03:14,720 --> 00:03:18,800
should have happened in the previous flow when we first came into it that they call the onboarding

37
00:03:18,800 --> 00:03:24,160
you may have needed to set up an environment and the first time it does it so this comes up like

38
00:03:24,160 --> 00:03:28,639
this and it asks you whether you the network access it does it actually with like three big

39
00:03:28,639 --> 00:03:35,520
buttons on the screen do you want none trusted or full and trusted is the usual one to pick there

40
00:03:35,520 --> 00:03:40,240
and this is known as your cloud environment and you can think of it as a setup of the thing

41
00:03:40,240 --> 00:03:46,399
out there on the cloud that is able to run things remotely and what you can then do is pick a repo

42
00:03:46,399 --> 00:03:50,880
which which uh you can see I've been playing around with this but finally is the name of our

43
00:03:50,880 --> 00:03:57,279
repo and then finally you can give a command and that command will then run on the cloud this is

44
00:03:57,279 --> 00:04:05,039
a web browser this is a little claude code thing if I say what is two plus two which is again not

45
00:04:05,119 --> 00:04:11,679
the best use of opus 4.6 and you can see it calls the session basic arithmetic expression

46
00:04:11,679 --> 00:04:17,040
starting claude code all this thing is happening somewhere this this this machinery is spinning up

47
00:04:17,040 --> 00:04:21,519
trillions of floating point calculations are happening in order to calculate two plus two

48
00:04:21,519 --> 00:04:25,839
and it does indeed get the right answer and we could continue the conversation there

49
00:04:25,839 --> 00:04:30,720
or we could put a fresh chat message right here okay so let's put this to actual work

50
00:04:31,359 --> 00:04:36,399
I'm saying please read all the documents in the planning directory then design the market data

51
00:04:36,399 --> 00:04:42,320
back end in detail write a new document called market data design that has code snippets and

52
00:04:42,320 --> 00:04:48,640
examples to implement all the market data functionality that's a good task let's assign it

53
00:04:48,640 --> 00:04:55,040
so we're doing this in a web browser so off on the cloud it's launched a new session that's

54
00:04:55,040 --> 00:05:00,640
happening right now claude code is spinning up in an isolated environment it's reading all the

55
00:05:00,640 --> 00:05:05,200
documents and this is all happening my machine is idle nothing's happening on my machine I know you

56
00:05:05,200 --> 00:05:11,600
get it uh so it's all running and uh I'm gonna let it do its thing and and then I'm gonna hope

57
00:05:11,600 --> 00:05:17,600
to see that in github there's going to be a new file created for the design of our market data

58
00:05:17,600 --> 00:05:23,440
I'll see you in a sec so one thing I'll say is that claude code on the web is a bit slower a

59
00:05:23,440 --> 00:05:28,640
tad slower than running it locally this just took 10 minutes to write a document and it's also a

60
00:05:28,640 --> 00:05:33,519
little bit flaky it's called a research preview you can see it says there maybe by the time you

61
00:05:33,519 --> 00:05:37,200
see it it's going to be a bit more stable but I had to ask it twice because one of the times it

62
00:05:37,200 --> 00:05:43,839
just seemed to sort of stop and be like all right that's it I'm out peace out but uh asking it again

63
00:05:43,839 --> 00:05:49,040
and and then just being a bit insistent and waiting and being patient and it has now done

64
00:05:49,040 --> 00:05:57,519
something and it's written 1490 lines and if I flip over to the github repo you'll see at the top

65
00:05:57,519 --> 00:06:02,799
here that there is indeed uh something that's been pushed that's waiting for a pull request

66
00:06:02,799 --> 00:06:08,239
so we can see what it's done and choose whether or not to accept it in github and so we'll do

67
00:06:08,239 --> 00:06:13,200
that I'll press this compare and pull request button up it comes it says comprehensive

68
00:06:13,200 --> 00:06:18,959
implementation update for the market data subsystem and here it is it's made a file

69
00:06:18,959 --> 00:06:23,679
called market data design it's put it in the planning folder and it's a big old document

70
00:06:23,679 --> 00:06:30,239
with lots of stuff about how it should work and some code snippets and other things this all looks

71
00:06:30,239 --> 00:06:35,200
like it's been very thoughtful uh I'm going to take its word for it I'm going to think that that's

72
00:06:35,200 --> 00:06:40,959
a nice bit of planning that's been done we will go ahead we'll press the create pull request button

73
00:06:41,920 --> 00:06:49,279
so that we do this then we are going to merge in this request confirm the merge and that is now

74
00:06:49,279 --> 00:06:54,640
going to be part of the main branch so that if it says merged up here if I go back to the code

75
00:06:54,640 --> 00:07:02,399
and if I go into planning we will see that uh hopefully yes market data design.md is a new

76
00:07:02,399 --> 00:07:08,160
document in here and this document was written in its entirety by Claude Code here it is with

77
00:07:08,160 --> 00:07:13,920
a table of contents with Claude Code running on the web so to recap I've shown you three ways to

78
00:07:13,920 --> 00:07:19,920
run Claude Code remotely using the ampersand uh in just in a Claude Code session running locally

79
00:07:19,920 --> 00:07:26,480
using Claude dash dash remote from your computer from a terminal the third way is by going to

80
00:07:26,480 --> 00:07:33,359
claude.ai code and then using Claude Code on the web just in a browser which is kind of cool and

81
00:07:33,359 --> 00:07:41,040
now for the fourth way the fourth way is if you have the Claude mobile app on your phone you open

82
00:07:41,040 --> 00:07:48,239
it up the main navigation has a has a it says chats projects artifacts and then it says code

83
00:07:48,239 --> 00:07:54,480
and if you tap there then it will come up with a list of the sessions the same sessions that you

84
00:07:54,480 --> 00:07:58,959
had listed out just there on the screen a moment ago and there's a black button that says new

85
00:07:58,959 --> 00:08:04,239
session and you can press that and it's exactly the same interface that we were just looking at

86
00:08:04,239 --> 00:08:10,399
and basically we can do exactly what we just did from your phone you can give it an instruction

87
00:08:10,399 --> 00:08:13,839
I want you to write this document I want you to build this feature I want you to do this

88
00:08:13,839 --> 00:08:19,279
and then submit it and then when you come back there will be something ready for you to build a

89
00:08:19,279 --> 00:08:26,000
pull request and merge in your github repo and you can drive it all from your phone and you can have

90
00:08:26,000 --> 00:08:30,480
many sessions running you can kick off multiple of these from your phone and I don't know why that

91
00:08:30,480 --> 00:08:34,640
feels so cool why that's so much better than just being able to go to a web browser and do it but

92
00:08:34,640 --> 00:08:39,119
somehow it does and you should do it just so that you've had that experience of bringing it up and

93
00:08:39,119 --> 00:08:42,559
you should pick some moment to do it like when you're out at dinner somewhere or something and

94
00:08:42,559 --> 00:08:46,799
you just sort of casually drop in oh I'm just going to my team work on a few a few bits of

95
00:08:46,799 --> 00:08:51,200
few features that they're going to build for me just a second and then I'll check it out over

96
00:08:51,280 --> 00:08:59,359
over dessert so yeah you should do that that is the fourth way to drive claude code remotely and

97
00:08:59,359 --> 00:09:07,840
now a drum roll please for the finale for the fifth way to run claude code on the web I bring

98
00:09:07,840 --> 00:09:14,880
you to github right here we are in github we are looking at the finally repo here it is and I want

99
00:09:14,880 --> 00:09:21,359
you to flip over to issues now we're in a github issue no issues it's a nice state to be but we're

100
00:09:21,359 --> 00:09:26,960
going to make one press new issue to come up with a new issue and the name of the issue is going to

101
00:09:26,960 --> 00:09:37,599
be build complete market data back end that's going to be what we're about to do okay let me

102
00:09:37,599 --> 00:09:42,559
paste in all my instructions I want you to read all the documents in the planning directory then

103
00:09:42,559 --> 00:09:49,520
build the complete market data back end including an interface to a provider of market data a

104
00:09:49,520 --> 00:09:56,640
unified market data interface and a market data simulator all of that with full unit tests that's

105
00:09:56,640 --> 00:10:04,799
what this issue is about and I'm going to add the the immortal tagging at claude and with that

106
00:10:04,799 --> 00:10:12,080
simple instruction I am I am saying that I want claude to do this work for me that's it and now

107
00:10:12,080 --> 00:10:16,880
with that I'm just going to press the create button so that is something which I have I have

108
00:10:16,880 --> 00:10:23,359
messaged I have I've tagged it as being at claude that's how I want this to happen and what we are

109
00:10:23,359 --> 00:10:29,840
hoping is that this issue is going to be one which is going to be sent to anthropic to our claude in

110
00:10:29,840 --> 00:10:36,559
the cloud to take care of this on our behalf and just a few seconds later this appears suddenly

111
00:10:36,559 --> 00:10:42,559
out of nowhere I did nothing I just pressed enter suddenly claude bot now claude code is

112
00:10:42,559 --> 00:10:51,440
working I'll analyze this and get back to you view job run and so with that just by virtue of tagging

113
00:10:51,440 --> 00:10:56,640
it with claude we have launched a claude uh instance that's running doing stuff there's

114
00:10:56,640 --> 00:11:02,799
its to-do list it appears again I didn't touch it I promise it appears there all within this

115
00:11:02,799 --> 00:11:08,799
github ui it's off and running just because we tagged it in an issue and this makes all of those

116
00:11:08,799 --> 00:11:14,239
shenanigans a few minutes ago worthwhile right this is really cool so you can now just create

117
00:11:14,239 --> 00:11:20,719
issues in your repo tag claude and have something spin up in the cloud and have it run for you on

118
00:11:20,719 --> 00:11:24,799
this and look at that it's read all the planning documents that got ticked off again this time you

119
00:11:24,799 --> 00:11:29,440
saw my hands were up here I was gesturing you knew that I didn't do anything uh so obviously this is

120
00:11:29,440 --> 00:11:33,119
going to take a while the fact that it took 10 minutes to write the documents means that it could

121
00:11:33,119 --> 00:11:38,239
be off off taking a long time over this but but just think about how you could set up a ton of

122
00:11:38,239 --> 00:11:43,119
different issues a bit like we set up jira tickets last week and you could have lots of claude

123
00:11:43,119 --> 00:11:46,960
claude code instances working on them in parallel and that's cool