# Overview

Canonical URL: https://developers.iagenify.com/sdk/agent/bridges/
Language: en

Four ways to give the engine capabilities it does not have on its own: a file system, a shell, terminals, and tools of your own.

Status: files · shell · terminals · customTools · plain objects · no server route

The engine runs in your process, so anything your process can reach, it can reach — through an object you pass. A phone's browser storage, a container, a desktop application's own API: none of it needs anything on our side.

| Option | Gives | Page |
| --- | --- | --- |
| `files` | A workspace that is not a disk | [files](/sdk/agent/bridges/files) |
| `shell` | `bash` somewhere other than this machine | [shell](/sdk/agent/bridges/shell) |
| `terminals` | Shells that outlive an answer | [terminals](/sdk/agent/bridges/terminals) |
| `customTools` | Tools of your own, beside the 35 | [customTools](/sdk/agent/bridges/custom-tools) |

## An agent on a phone {#example}

```javascript
const phone = await api.storage.device({ deviceId });

const agent = api.agents.create({
  runtime: "local",
  machine: phone,
  model: "gemini-3.5-flash",
  files: phoneBridge(),          // its browser storage, reached from your page
  shell: phoneShell(),           // a sandboxed shell in the page
});
```

## When a bridge is required {#required}

| machine | files | Otherwise |
| --- | --- | --- |
| A computer (`filesystem`) | optional | The machine's own workspace is used |
| A phone | **required** | `files_required` at creation |
| A cloud workspace | **required** | `files_required` at creation |

The refusal names the six operations and which of them are missing, so a half-written bridge fails at creation rather than in the middle of a run.

## The tool list follows the bridges {#tools-follow}

- No `shell` on a phone or a cloud workspace → no `bash`. Nothing would run it.
- A phone → no `terminal`, ever.
- A cloud workspace → `terminal` only when you supply `terminals`.
- A computer → both, from the machine itself.

> **A tool that cannot run is not declared**
>
> Rather than offering bash and failing, the engine leaves it out — and the system prompt loses its instructions with it. The model never plans around something that is not there.

- [files](/sdk/agent/bridges/files): The six operations.
- [customTools](/sdk/agent/bridges/custom-tools): Your own tools, with a category.

```python
phone = api.storage.device(device_id=device_id)

agent = api.agents.create(
    runtime="local",
    machine=phone,
    model="gemini-3.5-flash",
    files=PhoneBridge(),          # its browser storage, reached from your page
    # The Python engine has no shell bridge: leave "bash" out of a phone's tools
    tools=["read", "list", "glob", "grep", "write", "edit", "move", "delete"],
)
```
