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

# Deploy your agent

> Deploy your agent with jaccard deploy, get its URL, chat with it from your terminal, and keep its sessions durable when it restarts.

`jaccard deploy` uploads the project, builds it on the platform, and returns once the new version is serving. eve's own `eve deploy` deploys to Vercel instead.

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

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 you name can start or continue a session: see [Who can call your agent](/docs/operate/access.md).

A request body over 100 MB is refused.

An unchanged project uploads nothing. If the rollout fails, `jaccard agent get my-agent` says why. Or open the agent's **Overview** tab in the [console](/docs/operate/console.md).

Every option is in the [command reference](/docs/reference/cli/deploy.md).

## Talk to the deployed agent

From the project folder:

```bash theme={"theme":{"light":"github-light","dark":"github-dark"}}
jaccard agent connect
```

This opens a chat with the deployed agent in your terminal, signed in as you. To watch what it does, run `jaccard logs my-agent --follow` in another terminal.

## Use packages with native binaries

The build bundles the agent into `.output`, and a package with a native binary (`sharp`, `better-sqlite3` and others) is in that bundle only when the agent definition lists it. Without it, the deploy succeeds and the agent fails at start.

```ts theme={"theme":{"light":"github-light","dark":"github-dark"}}
// agent/agent.ts
export default defineAgent({
  model: "...",
  build: { externalDependencies: ["sharp", "better-sqlite3"] },
});
```

The build runs on Node 24 on Debian trixie (glibc, x86-64), with compilers for packages that build from source. A package whose install script has to run also needs an entry in pnpm's `allowBuilds` (or `onlyBuiltDependencies`) setting.

## Check the sandbox provider

When the platform builds your agent, it reads the sandbox provider eve recorded for the agent and its subagents. If eve selected `DefaultSandbox`, the build stops before publishing. The build log names the affected agent or subagent. If eve recorded a custom provider or omitted the root provider, the build prints a warning.

To use a Jaccard sandbox, install the version of `@jaccard-ai/eve-sandbox` for your eve release and configure the affected agent's sandbox module. Edit the affected node’s existing `sandbox.ts` or `sandbox/sandbox.ts` module. The scaffold puts the root module at `agent/sandbox/sandbox.ts`. A subagent can have its own module, such as `agent/subagents/reviewer/sandbox.ts`. This example uses eve 1.x.

```ts theme={"theme":{"light":"github-light","dark":"github-dark"}}
import { defineSandbox } from "eve/sandbox";
import { defaultEnvironment } from "@jaccard-ai/eve-sandbox";

const image = "debian:trixie-slim";
export const environment = defaultEnvironment({ hosted: { image }, docker: { image } });
export default defineSandbox(() => environment.open());
```

Older CLIs that upload their own Dockerfile receive a warning to upgrade for provider verification.

For eve 0.78 and the 1.x sandbox package, use `k8s` in place of `hosted`. To check an already deployed revision whose source is unchanged, run `jaccard deploy --no-cache` to request a fresh build.

## The workflow world

Sessions survive the agent restarting only when the image is built with the platform's workflow world, `@jaccard-ai/world`. `deploy` refuses a project that doesn't use it unless you pass `--local-world`. It checks that:

* `package.json` lists `@jaccard-ai/world` in `dependencies` (not `devDependencies`), at the release line for the project's eve version.
* The agent definition (`agent/agent.ts`, or `agent.ts` at the root) selects the world.

`jaccard init` sets all of this up. To add it to an existing project, take the line for its eve:

```bash theme={"theme":{"light":"github-light","dark":"github-dark"}}
pnpm add @jaccard-ai/world@^0.2.1   # eve 1.1
pnpm add @jaccard-ai/world@^0.2.0   # eve 1.0
pnpm add @jaccard-ai/world@^0.1.0   # eve 0.78 to 0.82
```

```ts theme={"theme":{"light":"github-light","dark":"github-dark"}}
// agent/agent.ts
export default defineAgent({
  model: "...",
  experimental: { workflow: { world: process.env.JACCARD_WORKFLOW_WORLD } },
});
```

Only the image build sets `JACCARD_WORKFLOW_WORLD`, so `pnpm dev` on your machine keeps eve's local world.

> [accordion] When the check fails, and deploying without the world
>
> The error names the package and version to add:
>
> ```text theme={"theme":{"light":"github-light","dark":"github-dark"}}
> Error: this agent needs @jaccard-ai/world ^0.1.0 for eve 0.78.0; run: pnpm add @jaccard-ai/world@^0.1.0
> Or deploy with --local-world (sessions do not survive a pod replacement).
> ```
>
> To deploy with `--local-world`, keep the `process.env` form above or remove the `world` key. A world named any other way makes the agent crash on start.


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