# kosa8 agent run

Start an agent sandbox from a kit

## Usage

```
kosa8 agent run KIT [ARGS...]
```

## Flags

| Flag | Type | What it does | Default |
|---|---|---|---|
| `--allow-unpinned` | bool | run a kit whose setup installs software that is not pinned to a version and digest |  |
| `--dry-run` | bool | show what would run without creating the sandbox |  |
| `--keep` | bool | keep the sandbox after the agent exits |  |
| `--name` | string | sandbox name |  |
| `--no-network` | bool | deny all network access, overriding the kit |  |
| `--skill` | stringArray | an imported skill (see kosa8 skill add) to give the agent inside the sandbox; repeatable | `[]` |
| `--workspace, -w` | string | host directory the agent may see (default: current directory) |  |

## Example

```
  kosa8 agent run claude -w .
  kosa8 agent run claude --name review -w ~/src/app --keep
  kosa8 agent run codex --no-network --dry-run
```

---
Source: https://docs.kosa8.com/reference/agent-run/
