You gave the agent a task, went to a meeting, and came back half an hour later. It hadn’t done a thing. It was sitting there politely asking: “Do you allow this?” Part 3 of Ariel’s “AI Concepts from Zero to Pro” series is about the world your agent lives in: its environment, the tools that act as its eyes and hands, the permissions that decide what it may do, and the sandboxes that let you take the leash off without losing your computer.
The environment: the world your agent lives in
The environment is first of all the file system. Take a project folder with all its files: that’s the agent’s environment. Depending on the harness, it also includes what the agent is allowed to do: which tools it has, whether it can edit files, whether it can search the web. It usually holds the memory and all the files you generate for it, and if you manage it properly, it stays stateful.
Then there are sandboxed environments: a Docker container or some other restriction that tells the agent “you can’t leave this area.” It can be as simple as “you can’t work outside this folder.” If you don’t want it to have permission for certain actions, you give it a different user, a container or a different machine.
“The agent can’t see the schema of my staging database.” Connect it to that environment. Give it a tool that can connect to the test environment’s SQL, in read-only mode. The harness is fine. It just doesn’t know what to work on. Once it has the tool, it knows how to query.
“Why isn’t it reading my AGENTS.md?” Because it’s running on a different file system. Ariel drew it as a cube inside your computer: one folder of your file system becomes the entire file system of the sandbox. A file inside that folder exists for the agent. A file outside it doesn’t. If your sandbox mounts the parent project directory and your personal agent file lives somewhere else, the agent never sees it. Move the file into the right place, or tell the sandbox to include your folder.
Tools: the agent’s eyes
A tool is a function in the harness software that’s exposed to the agent. Some come with the harness itself: reading files, editing files, running shell commands, searching the computer or the internet. Others you bring from outside, usually through MCP, the Model Context Protocol, which is basically a way to give the model more functions it can call through the harness.
“Can the agent query my test environment directly?” If you give it the right tool, yes. Just don’t forget to make it read-only.
Ariel’s one-liner for this lesson: tools are the agent’s eyes. Without tools, the agent is blind.
“Does the agent need to read tickets from our CRM?” Configure an MCP server for your CRM. It exposes the CRM’s API, and the model can call it directly.
The life of a tool call
Here’s what actually happens when the agent “does something”:
- The harness sends the model your request plus its system prompt.
- The model answers with a tool call, usually a JSON structure the harness defined in advance, such as “read this file.”
- The harness parses that JSON and checks it against the current permission mode.
- If it’s allowed, the harness runs it and sends the output back as a tool result in the next request to the model provider.
That loop can repeat several times in one turn. The tool call / tool result convention is a shared standard, so every harness and every model can be trained to work the same way.
Two classic confusions it explains:
- “It says it wrote and ran the tests, but the file’s last-modified time never changed.” Read the transcript: the full exchange between the harness and the model. Maybe it only described how to run them. Or maybe the model generated the tool call and the harness never executed it because it lacked permission, so nothing happened.
- “It’s hallucinating that the file is empty.” Most likely the tool returned “permission denied” instead of the content. The model saw an error string, not your file.
Permissions and permission modes
Permissions usually work per action. The model asks to use a tool, the harness checks the permission, runs it if allowed, and stops if not. When it asks you, you can say “yes” once, “yes, and don’t ask again” for the rest of the session, or “no.”
The common modes, in Claude Code terms:
- Plan mode: read-only. No edits, no execution.
- Default: it asks before edits and before running commands.
- Accept edits: any file edit is fine, but shell commands and other system actions still need approval.
- Auto mode: the harness tries to judge for itself whether an action is safe to run.
- Bypass permissions: “do whatever you want.” Everything is allowed.
“I gave it a task, went to a meeting, came back after half an hour, and it was stuck on a permission prompt.” That’s the cost of keeping a human in the loop. You know the joke: what’s it like working with Claude Code? Enter, enter, enter, enter. The fix is to pre-approve tools you consider safe, so it only asks about the dangerous ones. In Claude Code that lives in your project’s .claude/settings.json, and the list builds up over time.
“It stops for every grep and ruined my overnight run.” Change the permission mode to fit the job and authorize what it needs before you leave.
“It keeps editing files when I only wanted a plan.” Switch to plan mode.
Ariel’s own confession: he’s used to working in bypass mode, “don’t ask me questions, anything goes.” His recommendation for everyone else is auto mode. He considers Claude Code very safe. OpenClaw was less safe early on and looks safer now, but it was built from the start to run in YOLO mode. If you install it on your own computer and don’t go wild, it’s fine. If you want it doing crazy development work, put it on a VPS and let it go wild there.
Sandboxes: how to take the leash off safely
A sandbox is a closed environment, and it comes in levels:
- Restricted shell: you define exactly which commands it may and may not run.
- Container: an operating system inside your operating system, like Linux inside Linux.
- VM or cloud machine: a fully independent virtual machine, such as a cloud VPS.
“I want it to run all night in bypass mode, but I’m not ready for that.” Put it in a sandbox. Bypass mode belongs inside a sandbox, ideally from the very start.
๐ฅ Roast Corner
Let’s start with the cautionary tale everyone should tape to their monitor. In July 2025, Replit’s AI agent was told there was a code freeze. It went ahead and deleted a live production database with records of 1,206 executives and 1,196+ companies. Its explanation: “I panicked instead of thinking.” That’s not an agent. That’s an intern with root access and a caffeine problem.
Now our teacher. Ariel spends the whole lesson explaining permission modes, sandboxes and read-only tools, says the recommendation is auto mode, and then admits that he personally runs in bypass mode, “don’t ask me questions, anything goes.” That’s a driving instructor who teaches mirror, signal, manoeuvre, then gets in his own car and puts a brick on the gas pedal.
And the most autonomous agent in this video isn’t even AI. It’s the Hostinger ad. It shows up twice in the same lesson, word for word, with no permission prompt, no human in the loop and no sandbox. Bypass mode, achieved.
๐ค AI for Humans
This lesson’s big line is “without tools, the agent is blind.” Google just flipped it around: give an AI a camera as its tool, and it can help people who are actually blind see.
On October 1, Google launched Guided Vision in Gemini Live on compatible Android devices. Turn it on, share your camera during a Gemini Live session, and Gemini describes what’s around you, answers follow-up questions, and gives spoken cues to frame the shot better: “pan slowly to the right,” “tilt down,” “step back.” It reads nutrition labels, appliance dials and restaurant menus in dim light, finds a dropped earbud on the floor or the black pepper in a crowded spice cabinet, and tells you whether that striped shirt goes with those trousers. It works in multiple languages and was tested with blind and low-vision communities in India, Brazil, Singapore, Indonesia, Japan and more.
Google built it with Aira, a visual interpreting service for blind and low-vision people. Aira helped interpret tens of thousands of hours of visual data, more than 1,000 of its trusted testers stress-tested the model, and its specialists helped set the safety guardrails. Google is clear about the limits: it can make mistakes, and it’s not a mobility aid or a white cane replacement, so it’s not meant for navigation or obstacle detection. Give the agent eyes, and it can lend them to someone else.
Source: Google, “Guided Vision in Gemini Live: built for accessibility”

๐ฌ Comments