# Requirements (/docs/requirements)

conciv runs on your machine, inside your dev server. It needs four things: Node, a bundler it plugs into, a browser
for the panel, and an agent CLI to answer in the chat.

## What you need [#what-you-need]

| Needs     | Supported                                                           |
| --------- | ------------------------------------------------------------------- |
| Node.js   | 22.19 or newer                                                      |
| Bundler   | Vite 6, 7 or 8; Next.js 15.3 or 16; webpack 5; Rspack               |
| Browser   | A current desktop browser; tested in Chromium and Firefox           |
| Agent CLI | Claude Code, Codex, Gemini CLI or opencode, installed and logged in |
| Build     | Development builds only                                             |

## Node.js [#nodejs]

conciv needs Node.js 22.19 or newer. Its per-user registry is built on `node:sqlite`. Every published package
declares that floor in its `engines` field.

Your app itself can target any runtime. Only the dev server process that runs conciv needs Node 22.19.

## Bundlers [#bundlers]

conciv plugs into your bundler through `@conciv/it`. Each bundler has its own entry.

| Bundler         | Versions        | Entry                       | Notes                                                                              |
| --------------- | --------------- | --------------------------- | ---------------------------------------------------------------------------------- |
| Vite            | 6, 7 and 8      | `@conciv/it/plugin/vite`    | The full feature set. Also Astro and TanStack Start, which run on Vite.            |
| Next.js         | 15.3 and 16     | `@conciv/it/plugin/nextjs`  | `withConciv` plus two instrumentation files.                                       |
| webpack         | 5               | `@conciv/it/plugin/webpack` | The chat and page tools work. The agent cannot read the dev server's module graph. |
| Rspack          | tested with 2.x | `@conciv/it/plugin/rspack`  | The same as webpack.                                                               |
| Rollup, esbuild | none            | none                        | The entries exist but do nothing yet. Serve the app with Vite instead.             |

The Vite and Next.js ranges are the `peerDependencies` of `@conciv/it`. webpack and Rspack have no declared range.
conciv is built and tested against webpack 5 and Rspack 2.

A native iOS app runs through the [iOS setup](/docs/bundlers/ios), in early alpha. It needs Xcode and the iOS
simulator, plus a web dev server with conciv to run the engine.

## Browsers [#browsers]

The panel runs in the page your dev server serves. Use a current version of a desktop browser. The widget is tested in
Chromium and Firefox. Other browsers are not in the test matrix.

## Agent CLIs [#agent-clis]

The chat runs an agent CLI on your machine, with your own login. conciv does not install it or log you in. The CLI
must be on the `PATH` of the shell that starts your dev server.

| Agent       | Command    | In conciv                                                     |
| ----------- | ---------- | ------------------------------------------------------------- |
| Claude Code | `claude`   | The default. Chat, permission cards, `/` commands and images. |
| Codex       | `codex`    | Chat. Codex never asks. Its sandbox limits what it can do.    |
| Gemini CLI  | `gemini`   | Chat, with permission cards.                                  |
| opencode    | `opencode` | Chat. Its permission asks do not reach conciv yet.            |
| Pi          | `pi`       | No chat yet. Its past sessions show in the session list.      |

Learn more in [Connect your agents](/docs/agents).

## Development builds only [#development-builds-only]

conciv runs only in development:

- `vite dev` starts it. `vite build` leaves it out.
- `next dev` starts it. `next build` and `next start` leave it out.
- webpack and Rspack run it when the build mode is not `production`.

Learn more in [Keep conciv out of production](/docs/recipes/keep-conciv-out-of-production).

## Next steps [#next-steps]

- **Install it**: [Getting started](/docs/getting-started) takes the shortest path.
- **Pick your bundler**: [Vite](/docs/bundlers/vite), [Next.js](/docs/bundlers/nextjs),
  [webpack](/docs/bundlers/webpack) and [Rspack](/docs/bundlers/rspack).
