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

# Deploy your first agent

> Create an agent project with jaccard init, let your coding agent build it with you, deploy it, and then talk to it from your terminal.

## Before you start

* **Access to Jaccard.** Request it at [jaccard.ai](https://jaccard.ai).
* **Node.js 24 and pnpm 11.25.0** or later.
* **Docker (optional)**, to run the agent on your machine with `pnpm dev`.
* **An API key** from OpenAI, Anthropic, Google or OpenRouter.
* **A coding agent:** Claude Code, Codex, Gemini CLI or any other.

**1. Install the CLI and sign in**

```bash theme={"theme":{"light":"github-light","dark":"github-dark"}}
npm install -g @jaccard-ai/cli
jaccard auth login
```

On a remote machine, such as over SSH, `login` prints a link to open on any device, then asks for the code the page shows after you sign in. [Install and sign in](/docs/get-started/install.md#sign-in) has the details.

**2. Create the project**

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

`init` asks for your model provider, its API key and a model, then creates the agent project in `my-agent/`. It stores the key as the agent's secret. [Project structure](/docs/get-started/project.md) explains each file.

**3. Build it with your coding agent**

`init` starts your coding agent in the project. It asks what your agent should do, writes the instructions and tools, and asks you before deploying.

With any other coding agent, start it in `my-agent/` and give it this prompt:

Read JACCARD.md and follow "Build the agent with a coding agent": interview me, write agent/instructions.md and the tools, then ask me before deploying.

Read JACCARD.md and follow "Build the agent with a coding agent": interview me, write agent/instructions.md and the tools, then ask me before deploying.

To try the agent on your machine before deploying, run `pnpm dev` in the project.

**4. Deploy**

Deploy through your coding agent, or yourself:

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

`deploy` uploads the project, builds an image, waits until the new version is serving, and prints its URL, `https://my-agent-<organization id>.jaccard.app`. Only members of your organization can call it. The agent now shows in the [console](/docs/operate/console.md).

**5. Talk to it**

From the project directory:

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

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, or open its **Logs** tab in the [console](/docs/operate/console.md).

## Next

> [card] [Build your agent](/docs/get-started/project.md)
>
> What each file does, and how to change the model, tools and sandbox.

> [card] [Connect an agent to Slack](/docs/connect/slack.md)
>
> Mention your agent in a channel or DM it.

> [card] [Command reference](/docs/reference/cli/overview.md)
>
> Every command, its options, and what it prints.


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