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

# jaccard deploy

> Upload your agent project, build it on the platform and roll it out with jaccard deploy, which returns once the new version is serving at the agent's URL.

```bash theme={"theme":{"light":"github-light","dark":"github-dark"}}
jaccard deploy                                   # the project in the current directory
jaccard deploy --agent analytics --project ~/src/analytics
jaccard deploy --tag v2 --build-arg NODE_ENV=production
jaccard deploy --push-only                       # upload, don't build
jaccard deploy --no-expose                       # keep the agent off the public gateway
```

An unchanged project uploads nothing. If the rollout fails or times out, the [console](/docs/operate/console.md) shows the platform's message on the agent, and its **Logs** tab has the platform's events.

The agent gets the URL `https://<agent>-<organization id>.jaccard.app`. Anyone can reach that address, but only members of your organization and the callers listed in [`jaccard.toml`](/docs/reference/jaccard-toml) can start or continue a session. `--allow-cidr` also limits which addresses can reach it. List a caller's IPv4 and IPv6 ranges: a caller that connects over IPv6 is matched by its IPv6 address.

```bash theme={"theme":{"light":"github-light","dark":"github-dark"}}
jaccard deploy [OPTIONS]
```

| Option | What it does |
| - | - |
| `--project <PATH>` | The project to deploy. Default `.`. |
| `--app <NAME>` | The image's name, when it differs from the agent's. Defaults to the agent name. |
| `--tag <TAG>` | Image tag. Defaults to `sha256-<source digest>`. |
| `--dockerfile <PATH>` | Dockerfile to build with. Default `Dockerfile`. |
| `--build-arg <KEY=VALUE>` | Build argument, repeatable. |
| `--no-cache` | Build without the layer cache. |
| `--agent <NAME>` | The agent to deploy. Defaults to `--app` when you pass it, else to the project folder's name. |
| `--replicas <N>` | `0` stops the agent without deleting it. The next deploy without `--replicas` starts it again. Default `1`. |
| `--sandbox-image <IMAGE>` | Image for the agent's sandboxes. |
| `--allow-cidr <CIDR>` | Only these address ranges can reach the agent, repeatable. Default is any address. |
| `--no-expose` | Deploy without putting the agent on the gateway. |
| `--local-world` | Deploy without `@jaccard-ai/world`, skipping its check. Sessions then don't survive a restart of the agent. |
| `--push-only` | Upload the source but do not build or deploy. |
| `--no-deploy` | Build and push the image but do not deploy it. |
| `--eject-dockerfile` | Write the generated Dockerfile into the project and stop, so you can edit and commit it. |
| `--no-wait` | Return once the deploy is recorded, without waiting for the rollout. |
| `--timeout-seconds <N>` | How long to wait for the new version to be serving. Default `180`. |

`--local-world` is explained in [The workflow world](/docs/operate/deploy.md#the-workflow-world).

The agent name is 1 to 63 lower-case letters, digits and `-`, starting with a letter and not ending with `-`. `deploy` refuses any other name before it uploads. It also warns about any channel whose file is missing from the project, naming the `channel add` command that writes it.

The platform also refuses a new agent whose name ends in `-anthropic`, `-openai` or `-openrouter`, or is longer than 52 characters, because the model router reserves those names. The refusal reads, for example, `agent name "foo-openai" ends in -openai, which the model router reserves`, or `agent name "<name>" is <length> characters; at most 52 can be routed`. It refuses a new agent whose name ends in `-runtime` too, because the agent runtime reserves those names: `agent name "foo-runtime" ends in -runtime, which the agent runtime reserves`. An agent deployed before these rules keeps deploying under its name.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.