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

# jaccard init

> Create an agent project ready for the platform with jaccard init, and hand it to your coding agent. Choose the model provider, model and coding agent.

```bash theme={"theme":{"light":"github-light","dark":"github-dark"}}
jaccard init support-bot                                     # asks for what it needs
ANTHROPIC_API_KEY=... jaccard init helper --provider anthropic --coding-agent none
```

`<NAME>` is the directory and the agent's name: 1 to 40 lower-case letters, digits and `-`, starting with a letter and not ending with `-`. The name may not end in `-anthropic`, `-openai` or `-openrouter`. `init` refuses an existing directory, one inside another project, and a name that's already a deployed agent.

`init` signs you in if needed, then asks for:

1. The model provider and its API key. It checks the key and asks again if the provider rejects it.
2. A model, from the newest ones the key can use. Press Enter for the default, or pick **Other** to type any model ID. For OpenRouter, the list holds only models that support tool calls, without their `:free` variants.

It creates the project, explained in [Project structure](/docs/get-started/project.md), and commits it to git. It stores the key in `.env.local` and as the agent's secret. Then it asks which of your installed coding agents to start, and starts it with a prompt to follow `JACCARD.md`. With none installed, or with `--coding-agent none`, it prints the prompt for you to paste.

When `--eve` names an exact version, `init` keeps the project on that eve minor: the default `eve@1.0.0` writes `"eve": "~1.0.0"` to `package.json`, so installs take eve 1.0 patches but not eve 1.1. A spec without an exact version, such as `eve@latest`, keeps eve's own `^` range, and `init` stops at step 2 if the platform packages don't support the eve that installs.

A project made with `--eve eve@0.78.0` also gets `.claude/skills/upgrade-eve/SKILL.md`, a skill your coding agent follows to [move the agent to eve 1.0](/docs/operate/upgrade-eve.md).

| `--provider` | Key variable | Default `--model` |
| - | - | - |
| `openai` | `OPENAI_API_KEY` | `gpt-5.6-luna` |
| `anthropic` | `ANTHROPIC_API_KEY` | `claude-opus-5-5` |
| `google` | `GOOGLE_GENERATIVE_AI_API_KEY` | `gemini-3.8-flash` |
| `openrouter` | `OPENROUTER_API_KEY` | `openrouter/auto` |

> [accordion] Running init from a script or a coding agent
>
> When stdin isn't a terminal, `init` asks nothing: `--provider` is required, the key comes from its variable unless `--no-key` is given, a rejected key is an error, and you must already be signed in. If a later step fails, `init` keeps the project and prints the commands that finish it by hand.

```bash theme={"theme":{"light":"github-light","dark":"github-dark"}}
jaccard init [OPTIONS] <NAME>
```

| Option | What it does |
| - | - |
| `<NAME>` | The agent's name, and the directory created for it. |
| `--provider <NAME>` | The model provider. Asked for on a terminal when omitted. One of `openai`, `anthropic`, `google` or `openrouter`. |
| `--model <ID>` | The model to use, skipping the picker. Defaults to the provider's default. |
| `--no-key` | Don't check, write or store a key. |
| `--coding-agent <NAME>` | The coding agent to hand off to, or `none` to print the prompt. Asked for on a terminal when omitted. One of `claude`, `codex`, `gemini` or `none`. |
| `--eve <SPEC>` | The eve version to create the project with, as a package spec. An exact version keeps the project on that eve minor. Default `eve@1.0.0`. |


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