> ## Documentation Index
> Fetch the complete documentation index at: https://docs.rkat.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Mobpack

> Portable multi-agent deployment with signed archives and trust policies.

For the full guide, see [Mobpack](/guides/mobpack).

<Note>
  This page is intentionally deployment-focused and CLI-heavy. Use [Examples: Mobs](/examples/mobs) first if you want to understand the multi-agent runtime before packaging it, and continue to [Examples: WASM](/examples/wasm) if your next step is browser delivery.
</Note>

## Pack a mob directory

Bundle a mob directory into a single portable `.mobpack` artifact containing the definition, skills, hooks, and config.

```bash theme={null}
rkat mob pack ./mobs/release-triage -o ./dist/release-triage.mobpack
```

## Sign a pack

Attach an Ed25519 signature at pack time for trust verification on deploy.

```bash theme={null}
rkat mob pack ./mobs/release-triage \
  -o ./dist/release-triage.mobpack \
  --sign ./keys/release.key
```

## Inspect a pack

View the contents, metadata, and signature status of a `.mobpack` without deploying.

```bash theme={null}
rkat mob inspect ./dist/release-triage.mobpack
```

## Validate a pack

Check structural integrity, schema conformance, and signature validity.

```bash theme={null}
rkat mob validate ./dist/release-triage.mobpack
```

## Deploy a pack

Run a `.mobpack` as a live mob with a prompt. The trust policy controls whether unsigned or unknown-signer packs are accepted.

```bash theme={null}
rkat mob deploy ./dist/release-triage.mobpack \
  "triage latest regressions" \
  --trust-policy strict \
  --model claude-sonnet-4-6
```

Deploy to an RPC service instead of one-shot CLI:

```bash theme={null}
rkat mob deploy ./dist/release-triage.mobpack \
  "boot triage service" \
  --surface rpc
```

## Trust policies

| Policy       | Unsigned packs  | Unknown signers | Invalid signatures |
| ------------ | --------------- | --------------- | ------------------ |
| `permissive` | Allowed (warns) | Allowed (warns) | Rejected           |
| `strict`     | Rejected        | Rejected        | Rejected           |

Trust policy resolution order:

1. CLI flag: `--trust-policy strict`
2. Environment variable: `RKAT_TRUST_POLICY=strict`
3. Config file: `trust.policy` field
4. Default: `permissive`

## Next step

After packaging and deploy flows, continue with [Examples: WASM](/examples/wasm) for the browser-target delivery path.
