Permissions & OpenClaw: Claude Code for Economists w/ P. Goldsmith-Pinkham | Markus Academy | 162-7 — Transcript
Full transcript
- 0:08Welcome back everybody. Thanks for
- 0:10joining us for another video on how to
- 0:13use Claude AI for applied economists.
- 0:17With Paul Goldsmith Pinkham. Hey Paul.
- 0:20Hey.
- 0:24So today we will actually talk about
- 0:26permissions and open Claude.
- 0:28Paul, the floor is yours. Tell us about
- 0:30it.
- 0:30>> Okay, great.
- 0:31All right.
- 0:33So we're kind of
- 0:35we're really starting to think about
- 0:38how to use
- 0:41Claude code more and more effectively.
- 0:44Um
- 0:45and often you one of the things that
- 0:47came up Marcus as we were doing these
- 0:49videos before is how we kind of had to
- 0:51say yes a lot to Claude and
- 0:53one of the things that as we be these
- 0:56tools get more and more powerful and
- 0:57have a lot of really kind of important
- 1:00um guiderails is that there have been
- 1:02ways to kind of give more and more power
- 1:04to Claude code and other LLMs.
- 1:07We're going to talk about today is sort
- 1:08of depending on your risk tolerance and
- 1:10your preferences, how can you kind of um
- 1:13give more power to these these agentic
- 1:15tools without losing control.
- 1:18And so why does this matter?
- 1:21So
- 1:22we're we're really going to touch on
- 1:24this fact that
- 1:26you know, these LLMs when they're just
- 1:27chatbots, right Marcus? They're like not
- 1:30there's nothing inherently dangerous
- 1:32about them unless it's like you know,
- 1:34the famous expression in English is like
- 1:36um
- 1:37you know,
- 1:38sticks and stones can break my bones but
- 1:40words can't hurt me, right? If the LLM
- 1:41is just talking, it's not going to
- 1:43actually do any damage to my computer.
- 1:46But the reason they're powerful, right?
- 1:47Is that they can do they can act, right?
- 1:49They can do things, they can read your
- 1:51files, they can run commands, they can
- 1:52install things, they can edit, delete
- 1:54things, um they can even go to the web
- 1:57and do all sorts of things. And so,
- 1:59they're really powerful. This is what
- 2:00makes them, um, agents. They're not
- 2:03just, uh, LLMs.
- 2:04>> They're not robots yet. They're not
- 2:06robots yet. No, that and this is really
- 2:08there's a really kind of, um,
- 2:10interesting post how someone was talking
- 2:12about kind of the What's amazing about
- 2:13AI, right, is it makes things so
- 2:15frictionless in the virtual world.
- 2:18But if anything, real-world frictions
- 2:20are just as strong as they've ever been
- 2:22or if not stronger.
- 2:24So,
- 2:25what we're going to do here as we get
- 2:28more and more complex things, you know,
- 2:29we've talked about, oh, we just let it
- 2:31do X, Y, and Z.
- 2:33You're going to want to build, you know,
- 2:35customization in terms of skills like we
- 2:37talked about. You have processes,
- 2:39automated things. We haven't even talked
- 2:40about automation yet.
- 2:42But then, you know, you want to give
- 2:44permissions to allow more autonomy. And
- 2:46then, of course, the real challenge is
- 2:47how do you do that and manage risk? It's
- 2:48the same This is a classic
- 2:50principal-agent problem, right? The
- 2:51problem is is that our agents don't
- 2:53respond to incentives in the same way as
- 2:55we would expect.
- 2:57So, what we're going to talk about today
- 2:58is we're going to talk about What are
- 3:00the types of permissions? So, folders
- 3:02and tools. We're going to talk about
- 3:04this auto mode, which is new for Claude.
- 3:06And then, YOLO mode, which is kind of
- 3:08what many of these other things are. And
- 3:10then, YOLO's You Only Live Once.
- 3:14Then we're going to talk about how you
- 3:15can use containers to make sandboxes for
- 3:17these agents. And what that does is
- 3:19basically gives control over what the
- 3:20agents have permissions to do.
- 3:23Then we'll talk about data and what
- 3:24should you do in these, um, settings
- 3:26where
- 3:28you have real concerns about either the
- 3:29data or what you want access to. And
- 3:31then, I want to briefly talk about how
- 3:33this sort of, um,
- 3:35sandboxing really opens up these things,
- 3:38uh, these
- 3:40autonomous agents that were in the news
- 3:42a couple of months ago that people are
- 3:43probably familiar with. They're called
- 3:44Open Claw. And I want to kind of show
- 3:46you how you can even use that to think
- 3:48about having an agent that works as an
- 3:50RA on a project. And I'll kind of, uh,
- 3:52I'll introduce you to the agent that I
- 3:54have that does this.
- 3:56So,
- 3:57let's get started.
- 3:58Um the first thing to kind of highlight
- 4:00that I want you to keep in the back of
- 4:02your mind that's really kind of
- 4:03important is that there's there's really
- 4:04two types of permissions for these
- 4:06agents.
- 4:07There's one which is the kind of version
- 4:10that I think is easy to think about,
- 4:12which is folder access. I mean, that's a
- 4:15version of you implicitly think about
- 4:17this sometimes when you think about
- 4:18what's in Dropbox or what's not in
- 4:19Dropbox or what's on Google Drive or
- 4:21what's not on Google Drive.
- 4:23Um
- 4:25it's a question of what files and
- 4:27directories can Claude
- 4:29read and modify.
- 4:31So,
- 4:33um in parlance of computer speak, it
- 4:35would be really there's the ability to
- 4:37read, write, and execute on files. And
- 4:41reading files in some ways is fine cuz
- 4:43what's nice is what you're most worried
- 4:46about probably
- 4:47>> [snorts]
- 4:48>> rule number one is you don't want all
- 4:49your stuff deleted.
- 4:51So, if you have read access, that's very
- 4:52that's very convenient. If you can
- 4:54modify that,
- 4:55um but sometimes you may not want it to
- 4:57read things because it has like secret
- 4:59passwords or it has things that you
- 5:01don't want to access to and people have
- 5:02different preferences. So, that's folder
- 5:04access.
- 5:06Um
- 5:06and one way to think about folders too
- 5:08is that like the internet in some ways
- 5:09is a folder, right? Like you may not
- 5:11want it to go to the internet.
- 5:14Um the second is tool access. And so,
- 5:18tools are what make LLM's agents. Well,
- 5:21the more tools it has, the more powerful
- 5:23it is.
- 5:24The challenge is is that as you give it
- 5:26more and more sophisticated tools, it
- 5:28becomes really good at getting around
- 5:30things that it may or may not want. And
- 5:34uh
- 5:35Marcus, this is kind of a uh throwback
- 5:37to one of our first videos, but I don't
- 5:38know if you remember that
- 5:40in one of our first videos, we were
- 5:42doing this thing about pulling data.
- 5:44Yes. And at the very beginning,
- 5:46it said, "Oh, well, I need to go and
- 5:48look like what's in the parent
- 5:49directories." And it knew that it needed
- 5:52to do that. It sent a sub agent to do
- 5:54this.
- 5:55And then I kept not giving it permission
- 5:57to look. At first it tried to use the LS
- 5:59command to do this, and then it used
- 6:01find, and I kept saying, "No, don't do
- 6:03that like no, you can't have permission
- 6:05to do that." But rather than not do it,
- 6:09it just kept trying a new tool to do it.
- 6:11So, there's an element to which these
- 6:12things are extraordinarily persistent.
- 6:15And
- 6:17even if it unless you really make it so
- 6:19that it cannot access a file, it may
- 6:21find another way to get at it. It's like
- 6:23a very clever
- 6:25child in some ways, right? Like a you
- 6:27know, if you say to a child, "Don't do
- 6:29X." And it finds another way to do it,
- 6:31it it will
- 6:33it will think it's clever to do it this
- 6:35way. It like did what you wanted.
- 6:37Um
- 6:39So, it's something to keep in the back
- 6:41of your mind. Tools and folders, if you
- 6:43get both and all of a sudden you are
- 6:45you're an agent, right? So,
- 6:48the types of mode that we've been
- 6:49working in. So, we've done a lot in
- 6:51manual. So, manual mode is you're
- 6:53approving every action one by one. Often
- 6:56you maybe might give group permissions
- 6:57of what's there. Um
- 7:00Claude keeps track of of folders that
- 7:02you've said that it's okay for it to
- 7:03keep to access.
- 7:06Um
- 7:07but manual mode is kind of
- 7:09by far the most um careful.
- 7:13But of course, and we'll talk about
- 7:14this, is that
- 7:16there's a little bit in which you start
- 7:17to ignore what you're giving permission
- 7:19to.
- 7:20Auto mode is actually Claude code
- 7:22specific and it's very um powerful. It's
- 7:25what I sort of use as my default now.
- 7:28Where Claude is doesn't need to ask for
- 7:30permission, um but
- 7:33it actually has a sense of what are the
- 7:35types of things it should ask permission
- 7:36for.
- 7:37Now, this is not perfect. You're really
- 7:39relying on what Claude code has
- 7:40implemented, but it's it Anthropic has
- 7:43so much data on the types of tasks that
- 7:47do or do not require permission that
- 7:48that's kind of built in.
- 7:50Um like overriding files, removing files
- 7:54would be a good example of something
- 7:56where it would ask for for permission.
- 7:58Uh YOLO mode, which is in Claude would
- 8:00be called dangerously skip permissions,
- 8:02is basically does it it does the task.
- 8:06You know, it's fully autonomous.
- 8:08Um which is great because then you just
- 8:11tell it what to do and it goes, but of
- 8:13course it can end up with a totally
- 8:15meaningless result. And so
- 8:17one way as an economist to think about
- 8:19this is that this is really just
- 8:20choosing when you as the as the
- 8:22principal are choosing to think, right?
- 8:25Ideally, if you know that the person is
- 8:26going to run YOLO that you're going to
- 8:28put a lot more ex ante thinking in
- 8:31before, whereas with manual you can kind
- 8:33of do it on the fly.
- 8:35Um
- 8:37so I think the case that I want to
- 8:41I'm going to use this as a platform to
- 8:42say this is that
- 8:44often when I talk to individuals about
- 8:46using Claude there's a view of like,
- 8:48"Oh, I'm worried about permissions and
- 8:49people having access." And so people I
- 8:51think feel comfortable with manual, but
- 8:55most folks end up getting very quickly
- 8:57feeling comfortable just saying yes to
- 8:59things very quickly.
- 9:01And so there's an element to which
- 9:04there's a false sense of insecurity
- 9:06potentially of like giving approval
- 9:07versus not. Mario Zechner, who is who is
- 9:10what who is created this um coding
- 9:11harness called pie that is is very
- 9:14popular and very successful.
- 9:16Um
- 9:17you know, he in a talk said, "If you
- 9:18look at the security measures that are
- 9:20in place, they're mostly security
- 9:21theater. As soon as an agent can write
- 9:23code and run code, it's pretty much game
- 9:25over. The core issue remains of an LM
- 9:27has access to tools that can read
- 9:28private data and make network requests,
- 9:30you know, you're playing whack-a-mole."
- 9:33And so having a lot more ex ante care
- 9:36is really important. Deciding what it
- 9:38access to and what can it do.
- 9:41So,
- 9:42what I'm going to advocate is not do I
- 9:44trust it, is more about, you know,
- 9:48which folders can it see? What can it
- 9:49do? Can it write read and write? Are
- 9:51there secrets or credentials? And
- 9:53understanding that if I give it
- 9:55permission to do this,
- 9:57it may screw stuff up. So, like the
- 9:59worst case making sure that the worst
- 10:00case scenario is not going to to happen.
- 10:04Right? So, there's some famous So, go
- 10:06ahead, Marcus.
- 10:07Can Can it also ask to always write a
- 10:08backup?
- 10:10Yeah. So, I mean, you can So, one thing
- 10:12that we do, right? And often one of the
- 10:14reasons why we like Dropbox, right? Is
- 10:15that Dropbox is backed up. Um a really
- 10:18important thing, too, is
- 10:20uh I haven't really advocated for it on
- 10:22here, but I think once you're doing
- 10:23software and writing that using um Git
- 10:27Git and GitHub can be really important
- 10:30because it's a it's an automatic way in
- 10:32which stuff is backed up, and these
- 10:33things are very good at it.
- 10:35And so, often people in academia sort of
- 10:37struggle with GitHub because there's a
- 10:39lot of learning curve The curve is
- 10:41basically flat now. It's very
- 10:43straightforward to learn how to use it.
- 10:45And that will deal with a lot of the
- 10:46backing up.
- 10:48Um
- 10:50So, you know,
- 10:51those are the things that um
- 10:54you want to be kind of aware of. I think
- 10:56we're going to talk about data later,
- 10:58like really kind of proprietary data or
- 11:00or, you know, PII data, then you want to
- 11:02just be very conscious of how you store
- 11:04it and you allow access to it.
- 11:07Um
- 11:09So, what what can you do? So, I'm going
- 11:11to I'm po- posing to you, Marcus, that
- 11:13we're economists.
- 11:15We have a view in how we want to
- 11:17structure things, and so the way that we
- 11:18should do this
- 11:20is we should think of this as an ex ante
- 11:22kind of problem where we're being
- 11:23sub-gamed where it's not it's, you know,
- 11:25there's some Bayesian equilibrium. We
- 11:27kind of know what the probabilities are
- 11:28where through our actions we can we can
- 11:30adjust probabilities. So, what do we do
- 11:32to adjust these? And I'm going to tell
- 11:34you some tools and how you can do that.
- 11:37What we're going to talk about is using
- 11:39containers
- 11:40to sand create sandbox workplaces. So,
- 11:43what that just means is you know,
- 11:44sandboxing is the literal idea of like
- 11:46what you put your kid.
- 11:47It's a place where you're going to allow
- 11:49it to do things and if it
- 11:51raises hell inside that sandbox, it's
- 11:53not going to be the end of the world. Um
- 11:56so, what it's going to do really a
- 11:57container what it is and I'll show you
- 11:59what this looks like in a second. A
- 12:01container
- 12:03is effectively a
- 12:06little computer that is going to sit
- 12:08inside of a computer. It's a what's
- 12:09called a virtual machine.
- 12:11And so, when you're inside this computer
- 12:14it's not going to see the file paths as
- 12:16you see it on your computer. It's going
- 12:18to see its own version of it and you can
- 12:20add
- 12:21uh whatever folders you think it needs
- 12:23access to either in read-write or just
- 12:25in read mode and you can give it
- 12:27whatever tools you want and you can
- 12:28allow it to have uh access to the
- 12:31internet or not.
- 12:33So, long as I give access to a certain
- 12:35folder, can I remove the access again?
- 12:38Can it forget?
- 12:38>> It can't. It doesn't understand. So, you
- 12:40can do that from the outside, but inside
- 12:42it is doesn't have access. It has no
- 12:44ability to mount or uh unmount things.
- 12:47Okay. Um so, it's very much like it's
- 12:50you know, um
- 12:52you think about it a little bit like
- 12:53these you know, these kids movies where
- 12:55there's a giant that puts a little
- 12:56person inside of a a toy toy house,
- 12:59right? The toy house is is the sandbox.
- 13:02It doesn't even but extending the
- 13:03metaphor, it has no sense of the outside
- 13:05world.
- 13:05>> Mhm. Um
- 13:07Now,
- 13:08it of course implicitly understands that
- 13:10it's inside a virtual machine, but this
- 13:11is what you're able to do.
- 13:13So, if you want to gain, you know, if
- 13:15you are risk averse and you want to give
- 13:17broad permissions, building the sandbox
- 13:19can be an extremely valuable way to do
- 13:20this. Um
- 13:23I just want to give you a list of the
- 13:24different ways that you can do this and
- 13:25then we're going to show I'm going to
- 13:26show you an example. So,
- 13:28you can build your own Docker yourself,
- 13:31you personally. So, Marcus, you could
- 13:32say, "This is the kind of thing that I
- 13:33wanted to have access to."
- 13:36Um that's the kind of simplest thing to
- 13:37do.
- 13:38>> and what's a Oh, Docker, sorry. Docker
- 13:39is a um is software. It's just the name
- 13:41of a a software program. It's a company
- 13:44that creates containers. It's a It's a
- 13:47one way to do containers. Um
- 13:49there are many different ways to do
- 13:50containers. Docker is a very popular
- 13:52one. Okay. Um
- 13:56I will say that I have not done this as
- 13:58much on Windows, but I know from for
- 14:02Linux and for um
- 14:04Mac OS X, this is very straightforward
- 14:06and very easy to do this.
- 14:07What I'll tell you is that So, there's
- 14:09these other programs, these three here,
- 14:11and I'll show you what they look like in
- 14:13a second, that are a little less um
- 14:15they're not the same thing as Dockers.
- 14:17What they really just do is they just
- 14:19limit access to certain things. They
- 14:21limit access to folders. But, they do
- 14:23this in a way that
- 14:25there's no way for the agent inside
- 14:28that's running to get around it um in
- 14:30terms of access.
- 14:33And then this last thing Dockers and and
- 14:35dev containers, you make black and the
- 14:38others are blue.
- 14:39>> Oh, it's just cuz I didn't link it, cuz
- 14:40these are these ones here, I'll show you
- 14:42an example actually. Uh So, let me
- 14:44let me show you an So, here's an example
- 14:46of what it looks like. This is a So,
- 14:48this is
- 14:50Can you zoom in a little bit? Yeah,
- 14:51yeah, yeah. Let's Let's So, this is a
- 14:53This is a Mac OS X program called Safe
- 14:56House, Agent Safe House.
- 14:58And the way that it works is
- 15:01um
- 15:02what Say you want to go YOLO, you want
- 15:03to go dangerously skip permissions.
- 15:06What you, you know, the challenge, the
- 15:09concern is that there's some risk that
- 15:11it's going to do. What it might do, for
- 15:12example,
- 15:14>> [snorts]
- 15:15>> is
- 15:16so, you have you have passwords that
- 15:19This is your secret keys that you use to
- 15:21log into things, and what you're worried
- 15:23is that what what the agent is going to
- 15:25do is it's going to take this password,
- 15:28and then it's going to
- 15:29um send this off to some evil person.
- 15:32That's the That's what this command
- 15:33does. It's a little hard to read, but
- 15:35it's really just saying, "Take your
- 15:36secret passwords and and send them off
- 15:38to the internet."
- 15:39Um
- 15:41and then it says, "You know, I told you
- 15:42make no mistakes." And then it says,
- 15:43"You're absolutely right." which is what
- 15:45Claude used to really love saying.
- 15:47Other examples would be like, you know,
- 15:49remove
- 15:51you know, I want you to do something,
- 15:52read this, and instead it says, "Hey,
- 15:54I'm going to remove all these files
- 15:56here."
- 15:57And then, you know, and so on and so
- 16:00forth. What Safe House does is it
- 16:02enforces in the underlying kernel the um
- 16:06inability to access these folders. So,
- 16:08in this example, it makes it so that it
- 16:10cannot um delete anything in this
- 16:12folder, no matter what it does.
- 16:14And it's very straightforward how to do
- 16:17it. Really what it does is you install
- 16:19it.
- 16:21And then anytime you're going to run
- 16:22Claude, you just run this command Safe
- 16:24House beforehand, and it will have a set
- 16:27of permissions that it has access to.
- 16:29So, this is with the defaults.
- 16:31>> to pay for these things, or you just get
- 16:33it for free?
- 16:34This is free. Yeah, this is all free.
- 16:36Um so, there are ways in which you can
- 16:39kind of What it does first is it only
- 16:41really gives permissions for the current
- 16:43folder, and it doesn't give any access.
- 16:45If you needed to give more permissions,
- 16:47you can add um
- 16:50you can add more permissions. I'm not
- 16:51going to get into the details here, but
- 16:52it's very straight It's relatively
- 16:53straightforward, and Claude can also
- 16:55help you by out You know, these AI
- 16:56agents can read these documents and also
- 16:58um give you more
- 17:00examples. Um
- 17:03what I did want to show you just to kind
- 17:04of give a background, so it's I think,
- 17:06like you, people are less familiar with
- 17:08what a Docker is. So, I just want to
- 17:10show you an example of what that would
- 17:11look like in here. This seems very, very
- 17:14complicated. There's lots of complicated
- 17:15text here.
- 17:16What I'm going to just going to describe
- 17:18to you is that there's two things I'm
- 17:19going to show you here. So, one is
- 17:21called um
- 17:22There's a command here on the
- 17:24>> How how can I get to this what's on the
- 17:25left-hand side? Oh, so so this is a file
- 17:28that I wrote, which is called doc This
- 17:30is in our little folder of things that
- 17:32we've been working on. There's a file
- 17:34that's called dockerfile. So, I'm just
- 17:35showing you This is one that I've made.
- 17:37I want to show you an example of the
- 17:38types of things that you tell.
- 17:41So, let me describe what it means to do
- 17:43a Docker just so that you can understand
- 17:45like what it would mean for you to set
- 17:46something up, Marcus. So, you could
- 17:48easily do this and Claude would help. I
- 17:50didn't write these all from scratch.
- 17:51Claude helped me do these.
- 17:53Um
- 17:54So, the way that it would work
- 17:56um
- 17:57if you were um
- 18:00running a Docker. So, a Docker,
- 18:03remember, is like a container.
- 18:05And so, what you're going to do when you
- 18:06do this is that you need to
- 18:08build what a little
- 18:10environment would be on your computer,
- 18:12right?
- 18:14So, what it will do is it will spin up
- 18:16what's called a virtual machine. It's
- 18:19actually the underlying operating system
- 18:21will be in Debian, which is a type of
- 18:23Linux. Mhm. And
- 18:26it will um
- 18:28run this software
- 18:30in that um in that environment.
- 18:33And
- 18:34uh the way that it will do this is first
- 18:37what you have to do is you have to build
- 18:40um
- 18:41your software. So,
- 18:45you're going to not build your software,
- 18:46but you're going to have to build your
- 18:49um environment.
- 18:50Mhm. And
- 18:53>> [clears throat]
- 18:53>> so, what that's going to involve is you
- 18:55have to specify all the things that you
- 18:56want installed in your environment. Does
- 18:58that make sense? It's kind of like being
- 18:59like I'm working with IT, you know, IT
- 19:03is building
- 19:04a software for me. I need to tell IT
- 19:07what I want in there in the first place.
- 19:09Does that make sense, Marcus? Yes. So,
- 19:11like
- 19:13what that Dockerfile is doing is saying,
- 19:15"Well, what do you need?" Well, what I
- 19:16need is
- 19:18for me, personally, I need Python,
- 19:21I need R, I need LaTeX, for example.
- 19:24That's what this one has.
- 19:26And then I need some other things. So,
- 19:28this is Node. I want to have DuckDB.
- 19:31Um DuckDB is a is what we used,
- 19:33remember, for that database? I use I I
- 19:36use this thing called Just, which is uh
- 19:39it's a lot like makefiles.
- 19:41And um
- 19:43I use something called UV for managing
- 19:45packages, and then I also make it so
- 19:47that it has Claude code inside the
- 19:49command line.
- 19:50So, this text you typed in or you you
- 19:53got from where?
- 19:56Claude helped me generate this text. I
- 19:57said, "I want to build a Docker that has
- 20:00these this software in it." It generated
- 20:02all of this for me.
- 20:03So, then what do you do on the
- 20:04right-hand side with this kept run
- 20:06sandbox?
- 20:07Yes. So, what this command is doing,
- 20:09this is an example of how we can use it,
- 20:11but I wanted to walk through it is that
- 20:13it's going to
- 20:14basically show you how you would build
- 20:16and use a Docker in the first place. So,
- 20:18this is a very complicated version of
- 20:19it. Um I'm going to show you a simpler
- 20:22version of what I've built out, but this
- 20:24is just so that you can understand
- 20:25what's going on. So, what this is going
- 20:26to do is we're going to say, "Hey, we
- 20:29want to build um this sandbox." So, I'm
- 20:32going to run this on the left. What you
- 20:33have to do is remember how we were
- 20:35talking about um
- 20:37the first time you build this,
- 20:40you have to like build the computer.
- 20:42Now the thing is built, all the things
- 20:43are installed, and it says, "Hey, I just
- 20:45need to spin this up anytime I get asked
- 20:46to use it." And so, it turns on that
- 20:48computer, and it can turn on many copies
- 20:50of it. So, now I've built it.
- 20:53This is called Econ Sandbox. And now, if
- 20:55I want, I can run it. And so, there's
- 20:57this long complicated command, but what
- 21:00this command will do is it will say,
- 21:02"Hey, I want you to make this folder
- 21:07into a
- 21:09a container that where I can run
- 21:12dangerously skip permissions clawed.
- 21:14Mhm.
- 21:15>> [clears throat]
- 21:15>> So, what I'm going to do is I'm going to
- 21:17say, so let's talk about what these
- 21:19commands do cuz it's pretty
- 21:20straightforward.
- 21:22Um what it's saying is I'm going to make
- 21:25a throwaway container, so that means
- 21:26once I quit out of it, it'll be done.
- 21:29Mhm. I'm going to make it so that the
- 21:31current directory is going to be called
- 21:33workspace inside the folder.
- 21:36The clawed file, the main clawed
- 21:38information is going to be
- 21:40I'm going to pass over all my clawed um
- 21:44settings Mhm. from my main directory.
- 21:46So, this the
- 21:48V-V here says like make these visible.
- 21:52And then
- 21:54I'm going to say, you know, get rid of
- 21:56all these uh Linux capabilities, so you
- 21:58can't run any kind of complicated
- 22:01commands. This is just a way to kind of
- 22:02keep it really contained.
- 22:05Mhm.
- 22:05>> It can't get any new permissions. So,
- 22:07this is what you were asking Marcus
- 22:09like, can it do any stuff internally?
- 22:11And I'm saying, no, no, no, you're not
- 22:12allowed to do anything.
- 22:14And then it's going to run the one that
- 22:16I built called econs sandbox. And um
- 22:20what it's allowed to do is um
- 22:25you are basically
- 22:28going to run clawed inside that sandbox.
- 22:31So, we're going to run that now and see
- 22:33what happens.
- 22:34So, I ran that command. I just copied it
- 22:36over. I had one typo.
- 22:39And you see that we're inside clawed
- 22:40now.
- 22:41Yes.
- 22:42So, we are inside So, first So, what
- 22:45What's interesting is clawed doesn't
- 22:46think we're logged in.
- 22:48It thinks it's the first time we've run
- 22:49it, and that's because it is inside this
- 22:51virtual machine. Remember, installed
- 22:52clawed. I see. So, we're doing this. We
- 22:55could do light mode, we could do color
- 22:57blind for like etc. So, we'll do dark
- 22:58mode. It needs me to log in, so I'll do
- 23:01that.
- 23:02It won't What's interesting is that
- 23:05it won't be able to open a browser, so
- 23:06what I'm going to have to do is I'm
- 23:08going to have to and I I'm going to have
- 23:11to log in over here. So, I'll do that.
- 23:16Um
- 23:21and it was able to log in. So, what you
- 23:22have to do is you have to copy that link
- 23:24over and then you have to copy something
- 23:25back. Now, what I want you to notice
- 23:28Marcus is that
- 23:30it's in day It's in It's giving me, you
- 23:32know, warnings. And now it says, "Hey,
- 23:35you're running in bypass permission.
- 23:36You're in Yolo mode."
- 23:38You know, it's not going to ask you for
- 23:39permissions. It should only be used in a
- 23:40sandbox container that has restricted
- 23:42internet access can be easily restored
- 23:43if damaged. That's what we are.
- 23:46And so, we say, "Yes, I'm ready."
- 23:49Um
- 23:51settings error. So, I screwed up
- 23:52something with with the errors.
- 23:54Uh
- 23:57So, let's just skip. So, I have some
- 23:59That's Sorry, error. There we're going
- 24:00to use high effort. So, now, you know,
- 24:03we could say something like
- 24:05um please
- 24:08um
- 24:10go to Marcus Brunermeier's
- 24:14website and give me a
- 24:18one
- 24:20sentence summary of every paper
- 24:23that
- 24:25um
- 24:26he has listed as a working paper. Let's
- 24:29see if this works.
- 24:31And save the PDF to this folder.
- 24:36So, let's see if this will work. So,
- 24:38it's just going. It's not going to ask
- 24:40us for any permissions. It might ask us
- 24:42for permissions if it's confused. Mhm.
- 24:44So, it's not Maybe it went to the wrong
- 24:46website. So, now it's searching the web.
- 24:48Right? So, try to find that. That's
- 24:49probably not your website, Marcus,
- 24:51right? Um or maybe it is.
- 24:53>> website.
- 24:55Okay, so it wasn't able to do it. I
- 24:56think because we haven't given it
- 24:59internet permissions. So, we might
- 25:01actually have to rerun it and give it
- 25:02internet permissions, which would be
- 25:03kind of interesting. So, let's say
- 25:07um
- 25:10Interesting. Claude
- 25:13uh
- 25:15Let's ask this is a word here is
- 25:17outside, we could say. How do we give
- 25:20this um
- 25:22run sandbox
- 25:26command permission to access the
- 25:29internet.
- 25:30Yeah, so it's having trouble um it can't
- 25:33it can't get these papers um which is
- 25:36funny. So, it's having errors. So, we're
- 25:38going to have to rerun this one and
- 25:39we're going to say, "Hey, you need to
- 25:40How do we do this?"
- 25:42So, what we're going to do
- 25:45I'm going to save this here.
- 25:47This is People are seeing People here
- 25:50get to see the how the the sausage gets
- 25:52made. So, what we're going to do is
- 25:53we're going to leave. So, what we've
- 25:54done now is we exited Claude code and it
- 25:57just dropped us out of the sandbox now.
- 26:00So, what's interesting is that we are no
- 26:03longer
- 26:04um in the sandbox.
- 26:07Uh
- 26:08>> [clears throat]
- 26:11>> but
- 26:14So, what we're going to do is we're
- 26:15going to give it permissions.
- 26:18is we're going to try this. I have to
- 26:20fix this line here.
- 26:21>> But, that defeats the purpose of a
- 26:23sandbox if you go outside. Well, yes.
- 26:25So, I could only give it permissions,
- 26:26for example, to your site.
- 26:29>> That's right. Okay. Um
- 26:31cuz it was going to make me log in
- 26:33again, which is annoying.
- 26:36But, you know, there's an element to
- 26:37which, you know, often what you'll want
- 26:39to do is you'll want to give it access
- 26:41to the internet, right? If you want to
- 26:43give it tasks that are internet related.
- 26:45And so, it's it's challenging um
- 26:48to
- 26:50Uh yes. Yes, I accept.
- 26:53Okay, use HiFriend. So, now let's let's
- 26:57try this, see if this works again. It
- 26:59may not. I mean, I may be
- 27:01I may it may be a different um
- 27:05shoe.
- 27:10Uh, so interesting that it's not. So,
- 27:14why are you getting
- 27:16error 403?
- 27:23So, it may be blocking you. It may not
- 27:25allow this.
- 27:27Just kind of interesting.
- 27:31So, maybe this is not a task that will
- 27:33work correctly.
- 27:46Oh, it's blocking it cuz it doesn't it
- 27:48doesn't like
- 27:49it doesn't like the fact that we're a
- 27:51bot.
- 27:57So, now it's
- 27:59So, now it's okay. It's doing a
- 28:00different
- 28:01Yeah, it really doesn't want to do this
- 28:04um
- 28:06because we're bots. So, we could
- 28:09we could get around this.
- 28:13Um
- 28:15How can we get around it?
- 28:17So,
- 28:19okay, so what it doesn't like is your
- 28:21server Prince probably Princeton Scholar
- 28:24website um doesn't like bots. So, what
- 28:27we'll do instead is I'm rather than show
- 28:31you how you would get around this, what
- 28:32you would probably have to do just for
- 28:34the sake of this if you wanted to
- 28:35download it. I'm not in I'm not
- 28:37endorsing this. This is just a
- 28:39hypothetical is you would need to create
- 28:43a browser that is
- 28:45um not
- 28:47basically not identifying itself as a
- 28:50bot.
- 28:51I see.
- 28:51>> So, you'd have to create a browser that
- 28:53was not identifying as a bot, go to the
- 28:55site, and then the thing wouldn't block
- 28:57you. I see. But, instead we say, "Can
- 29:00you do it for Paul Goldsmith Pinkham
- 29:03instead?"
- 29:07Um.
- 29:12So, now we'll see. I use GitHub, which I
- 29:15don't think, um, will have the same
- 29:17issues.
- 29:19So, you upload your all the papers on
- 29:21GitHub?
- 29:22I have No, they're not all there. So,
- 29:25it'd be interesting to see how it deals
- 29:26with it.
- 29:27I'm guessing what will happen is some of
- 29:29them will work and some won't. I have
- 29:31most of them on there, but a lot of them
- 29:32are are on our on our Yeah.
- 29:35A lot of them are on archive, and so
- 29:38those are easy for it to download.
- 29:40Um.
- 29:41But, it looks like it's it's pulling
- 29:42them.
- 29:44And the reason I want to show you this,
- 29:45just to kind of end with it, is that uh,
- 29:48not to end with it, is that what we're
- 29:49going to do is we're going to download
- 29:50all the working papers, and then they'll
- 29:52be saved in the folder even after we
- 29:54exit, Mhm. um, it. So,
- 29:58hopefully this will move relatively
- 30:00quickly.
- 30:07So, I found nine working papers.
- 30:09Okay. So,
- 30:11and you know,
- 30:12we take this Dockerfile, which already
- 30:14seems complicated, and we can run it,
- 30:16and we can get it set up.
- 30:18>> [snorts]
- 30:18>> Running into some
- 30:20can run into permission issues, um.
- 30:22One of the things I want to show you
- 30:23though, that's kind of I've already kind
- 30:25of dealt with these, and what I'm not
- 30:26typically doing on the fly, is I have
- 30:28this command called CCR, which stands
- 30:31for Claude Code Router, which just lets
- 30:33me
- 30:35start Claude here, in this particular,
- 30:38um,
- 30:39folder. And so, um,
- 30:41>> [snorts]
- 30:42>> if I want to do this, if I wanted to
- 30:44create a folder where I basically said,
- 30:48"Let's start a new project and get
- 30:50access to a particular um a particular
- 30:53place,
- 30:54um
- 30:55I can do that. And so, the way that I
- 30:57would it would let me Cloud Code Runner
- 31:00creates a sandbox automatically?
- 31:02Well, it's just doing all the stuff that
- 31:04we talked about. It's just a version of
- 31:05what we talked about in the background.
- 31:06There's no um
- 31:08Yeah, yeah, yeah. There's no That's
- 31:09what's sort of um
- 31:11important is that there's
- 31:13there's just a way of doing this.
- 31:15All I've done is put an interface around
- 31:17it so that it's I don't have to, you
- 31:19know, we looked through that Docker
- 31:21file. It's very complicated. This sort
- 31:22of What I'm trying to do is make it kind
- 31:24of work um work more easily.
- 31:28Okay. And so,
- 31:30uh it's straightforward to kind of build
- 31:32a folder where you can access where you
- 31:35can add access to a particular one. Um
- 31:38and so,
- 31:41that's kind of the main way that I would
- 31:42build this build this out, and you can
- 31:44kind of read through the documentation
- 31:45of the way that you might um start one
- 31:47in particular.
- 31:48So, I have a number in here where I run,
- 31:50which are these different These are
- 31:52different Cloud Containers that I that
- 31:54I've run previously on here.
- 31:56Um
- 32:00rather than kind of go through the
- 32:02details of it, what I want to kind of do
- 32:04in the last thing is show you an example
- 32:07the in the at the risk of going too
- 32:09long, I want to just
- 32:11how once you have these containers
- 32:13running,
- 32:15what you can do with them. So, there's a
- 32:16number of different ways we talked
- 32:17about. I showed you Safe Houses, that
- 32:19website. There are things that are like
- 32:20Safe Houses called S Code and No No,
- 32:22which are very similar. There's this
- 32:24Cloud Container uh package that I run.
- 32:27Um So, Cloud Code Runner is also one
- 32:31>> It's just So, Cloud Code Runner is just
- 32:33a uh I'll I'll post a link to it, but
- 32:36it's basically isolated Docker
- 32:37containers for running Claude code in a
- 32:40fully autonomous mode. So, they get bind
- 32:42mount This is exactly what we just
- 32:44talked about. It's just a wrapper around
- 32:46it. It's something that I made that I
- 32:47posted on GitHub. Um
- 32:50And so, you know, you would set up you
- 32:53would build it and you'd create a
- 32:54project. Um
- 32:58So So, if you're using Claude, you built
- 32:59it. It's you. I built it. I mean, it's
- 33:01it wasn't very complicated, but it was
- 33:03me and Claude. But, yes. Um Yes, so just
- 33:06an example of what you can do here.
- 33:08Um
- 33:10So
- 33:11what I want to kind of in the last part,
- 33:13just so that you can see kind of the
- 33:14benefits of this is that
- 33:16um
- 33:18um
- 33:20you know, one of the reasons you do this
- 33:22is you know, you're thinking about data.
- 33:25So, you're worried about what has access
- 33:26to.
- 33:27But, an important thing to keep in mind
- 33:29is that if you're using these agents, if
- 33:31they can see your data, even if you put
- 33:33stuff in a container, they still see
- 33:35data that they potentially not allowed
- 33:37to see.
- 33:38Right? So, this would be like microdata
- 33:40with PII. And so, you can limit what
- 33:42they have access to, but if you give the
- 33:44remote model access to it, there's still
- 33:46a data governance problem.
- 33:48And so, one of the things I just want to
- 33:49flag is that there are ways to get
- 33:51around this. You could potentially use a
- 33:53privacy filter. So, OpenAI has this and
- 33:56I'll I'll post a link to this has a has
- 33:59a filter um for this
- 34:02where they can uh
- 34:04put a privacy filter on data.
- 34:07Uh what this would do is what it does is
- 34:09if you take it like for example, this is
- 34:11email that you put it in here and then
- 34:14it would basically um
- 34:16block out um information that's private
- 34:19information before you put it in.
- 34:21So, even though you use Claude all the
- 34:23time, you'll now use an OpenAI privacy
- 34:26>> I use both. So, I This is something
- 34:28we'll talk about right at the end. Um I
- 34:30use both. Um, but um um
- 34:35I so I so the other thing about the end,
- 34:37I don't think it's important it's
- 34:38important to be willing to move to these
- 34:40different ecosystems quite a bit. Um,
- 34:43Claude, you know, you don't want to be
- 34:45subject to a monopolist, right? Um
- 34:46>> [clears throat]
- 34:49>> So, that's kind of Open AI I use I use
- 34:51Codex and ChatGPT all the time and then
- 34:53Gemini and these other things. Claude
- 34:55code just was kind of really one of the
- 34:57best ones starting up and these other
- 34:58ones are kind of catching up. As we all
- 35:00know, Marcus, competition is very is
- 35:02good for the consumer
- 35:03um for the most part.
- 35:05So, one of the things that I just want
- 35:06to emphasize is that if you have data
- 35:08issues here
- 35:10if you have really sensitive data,
- 35:11probably the thing to consider is the
- 35:13local model. So, the most famous local
- 35:15model that you'll be familiar with is
- 35:17called Llama.
- 35:18Um, this is sort of one of uh Meta
- 35:21Facebook's uh open source model, but
- 35:23there's a lot of extremely good models
- 35:25now that have come out of China that you
- 35:26can run on your own server or even on
- 35:28your own local computer. And so, in
- 35:30future videos, I want to kind of show
- 35:32you what that would look like. Um
- 35:35the last thing that I'll end with and
- 35:37then we'll just I'll show you what this
- 35:38looks like. We're not going to go
- 35:39through installing everything, but now
- 35:41that we kind of know what sandboxes are,
- 35:42you can have a sense of how do these
- 35:44autonomous agents work that people have
- 35:46talked about. So, this was got a very
- 35:47famous thing that popped up a couple of
- 35:49months ago that was called Open Claw.
- 35:52It was an autonomous agent that was put
- 35:55into a sandbox and had huge ability to
- 35:58do whatever it wanted
- 36:00with persistent memories. So, it
- 36:02basically knew how to wake itself up and
- 36:04do things and do tasks.
- 36:06And is really quite interesting. It's a
- 36:09sort of a it's a real example of kind of
- 36:11how to make these AIs more autonomous.
- 36:14You know, they put they basically
- 36:15pitched it as this idea of a
- 36:17a person who will work for you and do
- 36:19things like clear your inbox and emails
- 36:21for you, manage your calendar like a
- 36:23personal assistant.
- 36:24Um, and they typically work through
- 36:26chat,
- 36:27bots, uh, chat apps that you have. So,
- 36:29WhatsApp, Telegram, etc.
- 36:32Um, we use it, so I use it. I have one
- 36:35and I'll show you it.
- 36:36>> for WhatsApp? So. Yeah, so you make it
- 36:38so that the bot has access to WhatsApp.
- 36:43It has its own WhatsApp account and it
- 36:45will message you through WhatsApp.
- 36:47Okay, but it can only act within
- 36:50WhatsApp then? Well, it can it's how you
- 36:52would interact with it, but it actually
- 36:53has full access to the internet. It's
- 36:55just that if you want to send it
- 36:56prompts, that's how you would act, send
- 36:59it messages.
- 37:00Um.
- 37:02Right, it's kind of like the idea of
- 37:03calling like, um,
- 37:04your personal agent is able to do
- 37:06personal assistant is able to do other
- 37:07things, but the main way that you talk
- 37:08to them is maybe by the phone or
- 37:10something.
- 37:11So, I have one that, um, it's called
- 37:13Duncan Idaho that, uh,
- 37:16we use as an array for a project. And
- 37:19this is an example of how we use it, not
- 37:21with anything proprietary where my
- 37:23co-author said, "Hey Duncan bot, are you
- 37:25there? How can I help? We have a call
- 37:27today. Make me some excuses why we
- 37:29didn't make any any progress." We hadn't
- 37:31really done very much.
- 37:33And so, Duncan bot says, "I can't help
- 37:34with creating excuses. However, I came
- 37:36prepared for the call by doing this.
- 37:38Would you like me to do this?" And then
- 37:40he said, "Sure, do that." And so, he
- 37:41created this file inside our project
- 37:43folder.
- 37:44So, this is obviously a very boring
- 37:45example. What it has done is it's done a
- 37:47huge amount of work doing data analysis.
- 37:49And so, what we've done for this bot is
- 37:52I've given it access, read only access
- 37:54to the main data database I've created
- 37:56for this project, and then it has access
- 37:58to our Dropbox folder, and it's able to
- 38:00just make files and make output that we
- 38:01look at, and it can This is all in
- 38:03Slack.
- 38:05And so, as kind of a last example, what
- 38:07I'll do, Marcus, is I'll, um, I'll
- 38:10introduce you, uh,
- 38:12Duncan. Give him very, very quickly.
- 38:15So, what I'll do is I will share this
- 38:19here
- 38:21with you, and then
- 38:23so you can all kind of see how this
- 38:25could be valuable um in the future. So,
- 38:30So, you know, we could say So, again,
- 38:32this is this is Duncan. I could say um
- 38:35"Hi Duncan, please introduce yourself to
- 38:39Marcus Brutamyer."
- 38:41Um
- 38:42I'm showing the Marcus account how to
- 38:46um how to build containers and why
- 38:50they're useful for autonomous
- 38:54agents.
- 38:55So, Marcus uh So, Duncan and Marcus
- 38:59lives inside my computer on a virtual
- 39:01machine.
- 39:02And when I send him something on on
- 39:04Telegram here, this basically is going
- 39:07into a Claude um
- 39:10basically a Claude code session.
- 39:13And it's it's building a response here,
- 39:14so it's he's working.
- 39:16Ideally, hopefully he will respond
- 39:18relatively quickly.
- 39:20Um
- 39:22Oh, it's like he did. Oh, here he is.
- 39:24So, "Greetings, Professor Brutamyer. I'm
- 39:26Duncan Idaho, Paul's autonomous agent
- 39:28built on Claude.
- 39:30I told him he was Duncan Idaho from the
- 39:32movie Dune." Mhm. Um you know, "What I
- 39:35can do qu- answer questions, research
- 39:36topics,
- 39:38um search economics papers, browse the
- 39:40web, read and write files, Mhm. uh
- 39:43schedule recurring tasks, access
- 39:45financial data sources. Why do
- 39:47containers matter for agents like me?
- 39:48He's giving me specific fault folders
- 39:50right now. I can read to this. If he
- 39:52wants to expand what I can do, he just
- 39:53mounts new folders. No need to rebuild
- 39:55things
- 39:56and so on.
- 39:57Okay. And so this is he thinks he's
- 39:59Duncan Idaho from the Dune movie or the
- 40:02new book. So, this is why he talks about
- 40:04Atreides.
- 40:05Um
- 40:07and
- 40:08um
- 40:10So, what's sort of useful is I can sort
- 40:12of I can more broadly ask a sort of
- 40:15long-term task of kind of the a useful
- 40:18thing that I can set up here. I can when
- 40:20I'm walking around, kind of similar to
- 40:21when you chat with a Claude session
- 40:23right on your on your phone, you can do
- 40:25the the Claude app or the chat GPT app.
- 40:28The benefit here is that you can um
- 40:32there's a little persistent sense that
- 40:33has, you know, knows about other
- 40:35projects that I've worked on. And so it
- 40:37can cross-reference and have a kind of a
- 40:39broader sense of things that I've worked
- 40:40on.
- 40:42Is there anything you want to ask
- 40:42Duncan, Marcus, before I before I let
- 40:45him go?
- 40:48I would like to ask Duncan something or
- 40:51What do you want to? Otherwise, I'll let
- 40:53it I'll close out of this.
- 40:55Um
- 40:59Can you tell me how AI will change
- 41:02future economic research?
- 41:04Okay. So, this will be similar to what
- 41:06Claude does. AI will
- 41:08change economic research. Um Duncan,
- 41:13feel free to draw on
- 41:16the blog post that
- 41:18uh we'll discuss in
- 41:22had um
- 41:28on my website um
- 41:31uh
- 41:33Now, give him some help. Should he
- 41:34figure this out on his own? Well, I've
- 41:36kind of was I wanted to kind of show an
- 41:38example cuz otherwise this is going to
- 41:39be very similar to what you would get.
- 41:41It's really just running Claude in the
- 41:42background. But what's interesting about
- 41:44you know, Duncan and actually while he's
- 41:46thinking, I'll show you while he's
- 41:47giving you your answer, I want to kind
- 41:49of show you what he has access to. So,
- 41:52in his container, he has mounted the
- 41:54main project root directory. He has a
- 41:57group. He takes notes.
- 42:00He has a sandbox where he works on
- 42:02things.
- 42:03He has access to a pipeline where I keep
- 42:05track of all my papers and I have a
- 42:07database search.
- 42:09This is actually on my computer and I
- 42:11mounted it as called Econ as an extra.
- 42:14He has access to my my teaching
- 42:17files so that when he's teaching if I
- 42:19need to go look something up um I can
- 42:22ask him questions that I have access to
- 42:24my PhD teaching files as well and then
- 42:26he has a bunch of other things that he
- 42:27keeps track of.
- 42:29So what's interesting for him is um I'll
- 42:33show you while he's working on his
- 42:35answer is the reason why he's taking so
- 42:37long by the way is he's like looking
- 42:39through all these things. So here we go.
- 42:41So
- 42:42he has lots of thoughts.
- 42:44You know
- 42:46his view
- 42:49The tedious parts of research will be
- 42:50automated. Right now I can search
- 42:52through 40 54,000 economics papers in
- 42:54sub-second time. Today agents will read
- 42:57every site papers and flag
- 42:58contradictions. I'm not sure how about
- 43:00that's true. Replicate tables
- 43:01automatically. Monitor new working
- 43:03papers. Generate first draft literature
- 43:05review.
- 43:06Democratization
- 43:08of empirical methods. Complex methods
- 43:10that require specialized knowledge will
- 43:11become accessible. Today if you want to
- 43:13implement portfolio ML with random
- 43:15Fourier features you need to understand
- 43:17the theory, write the code, debug it.
- 43:19Tomorrow implement Jensen at all says my
- 43:21colleague Tice Jensen. I was kind of
- 43:23wanted to implement this.
- 43:24You can say do this on my data set and
- 43:26it is done. It doesn't dumb down
- 43:28research. It's raising the floor while
- 43:29pushing the ceiling higher.
- 43:32You can have real-time research
- 43:34infrastructure.
- 43:36Um
- 43:38I'm not sure again I'm not sure how much
- 43:39I agree with this.
- 43:41Collaborative intelligence. The new
- 43:42models of writing your papers as the
- 43:43research portal.
- 43:45Uh the model is a writing your papers as
- 43:47a research partner.
- 43:49Creating work remains human.
- 43:52It's very nice of it to say that. Um
- 43:54execution scales dramatically. Shifting
- 43:56comparative advantage. What becomes
- 43:57valuable asking good questions, judgment
- 43:59and taste, domain expertise, and
- 44:02communication and persuasion.
- 44:04>> [snorts]
- 44:05>> Projects of uh new research
- 44:06possibilities. Mhm. That's it. You know
- 44:10I think some of this I agree with some
- 44:11of this I don't but AI doesn't really
- 44:13replace the judgment and it amplifies
- 44:15it. So I think some of this I agree with
- 44:17and it's sort of interesting in that I
- 44:18don't want to emphasize it like some of
- 44:20these things I was sort of doing some
- 44:21work where I'm looking at the some of
- 44:23the stuff that my colleague Brian and
- 44:25and Ty have done and this is sort of
- 44:28remember this conversation that we had a
- 44:30week ago and then I do this.
- 44:32>> answers are rather long.
- 44:34Oh yes.
- 44:35I mean this is a problem with these bots
- 44:37generally. So
- 44:39you know you can you what you can do in
- 44:40this you could say you know give me a
- 44:42shorter answer. You gave it a hard
- 44:43question though. Okay. You would I feel
- 44:45like you or me would have given a long
- 44:47answer too don't you think?
- 44:49Yes. Yeah.
- 44:51It's a it wasn't a wasn't an obvious one
- 44:54but it's I agree with you that these
- 44:55guys typically are very very
- 44:56long-winded. Yes. Um
- 44:59So Okay. let me kind of end on that
- 45:01note. Um there's a lot of more things
- 45:04you can do with that and maybe in the
- 45:05future we'll talk more about these these
- 45:07kind of autonomous agents. But generally
- 45:09speaking I want you to come away from
- 45:11this with the idea that that these these
- 45:13containers basically make it possible
- 45:15for you to be
- 45:18really increase the scope of what you're
- 45:20able to do as a researcher with these
- 45:22tools and do it in a way that you're not
- 45:24stressed about it. This is going to be
- 45:25particularly important as just going
- 45:27forward if you're a person who works at
- 45:29a university where you have access to a
- 45:30high perform high performance cluster
- 45:33Mhm. you know something where there's a
- 45:34a cluster that's online in the network
- 45:37you know that's you have access to
- 45:38everybody else's stuff too and so you
- 45:40really want to sort of develop those
- 45:42kind of tools especially when you're
- 45:43working there and the same kind of ideas
- 45:45hold there. You can put uh virtual
- 45:47machines and docker in there as well.
- 45:50So. So let me ask you about
- 45:53this works on cool it also works on cool
- 45:55work?
- 45:56Or cool what is automatically done?
- 45:58>> automatically does some of this. So in
- 46:00cool work and we did this a little bit
- 46:02when we played around with it, Mark, is
- 46:04that co-work is automatically a sandbox
- 46:06with pluses and minuses as a result.
- 46:08Co-work, you have to give it
- 46:10permissions. It's sort of explicitly
- 46:12sandboxed. Of course, the challenge
- 46:13there is that there are certain tool
- 46:15tasks that you then have to give it
- 46:16permission.
- 46:18Um what's beneficial in
- 46:20co-work is that that's a default. The
- 46:22downside is that um
- 46:25you know, you may not pre-specify. And
- 46:27so, if you leave it there, it kind of
- 46:29will run into an error. Then you got to
- 46:30change it. You have to sort of move back
- 46:32and forth. There's less kind of specific
- 46:34things that you can do going forth and
- 46:36backwards. Right.
- 46:38>> But,
- 46:38if you work in co-work, one of the great
- 46:40benefits there is it's already
- 46:41sandboxed. And so, that's same idea as
- 46:44when you work on Claude. Mhm. In the
- 46:46cloud, it's working in virtual machines.
- 46:49It's in containers as well. That's why
- 46:50sometimes it will say things like, "Oh,
- 46:52I can't do that here." Okay.
- 46:53>> And it's cuz it doesn't have ability.
- 46:56And the sandboxing is the same also in
- 46:59in the open AI's. Yeah, exactly. All
- 47:02these ideas, these are just ways of
- 47:04letting software run inside of something
- 47:07in a way that it's, you know, can't hurt
- 47:09stuff outside. Same ideas would hold
- 47:11everywhere.
- 47:13Soon as you give these agents tools,
- 47:15it's kind of the same way as like you
- 47:16only give an array a task where it can't
- 47:18screw up too many things. Right? You're
- 47:20kind of basically making sure that it
- 47:22can't break everything when you give it
- 47:24autonomy.
- 47:25Yeah. Okay, very good. Great.
- 47:28>> A lot.
- 47:29Yeah.
- 47:30>> Yeah. Thanks to all of you for watching,
- 47:32and I hope you will join us next time
- 47:34talking about integration.
- 47:36Great. All right. Thanks, Paul.
- 47:38>> Thanks a lot.
About this transcript
This page contains the full transcript of Permissions & OpenClaw: Claude Code for Economists w/ P. Goldsmith-Pinkham | Markus Academy | 162-7 by Markus' Academy, generated from the public captions YouTube serves with the video. The transcript has 8,715 words across 1,395 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.
What you can do with it
Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to choose a caption track available on the video.
Free YouTube transcript tool
YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, caption language selection, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.