Skip to Content

Getting started

Paste one prompt into your agent and you are set up. Then ask about the page you are on.

conciv puts your coding agent inside the app you are running, where it reads the page you are on and edits the source that renders it.

New here? What is conciv shows how it works.

Quick start

Pick your framework, then copy this prompt into your agent.

Set up conciv in this project. conciv is a dev-only AI agent widget for my running app.

1. In my app folder, the one with package.json, run `npx @conciv/cli@latest init --yes`, with pnpm dlx, yarn dlx or bunx instead of npx if the project uses that package manager. Do any step it prints as a snippet yourself. If it stops on uncommitted changes or the install fails, stop and ask me; do not pass --force or change a release age policy yourself.
2. Check that init added conciv() to the plugins of my Vite config.
3. Check that the claude CLI is installed, logged in and on the PATH of the shell that starts the dev server. conciv does not install it or log in; if it is missing, tell me.
4. Start the dev server with my dev script and open the app. A conciv button shows in the corner. Log me in: run `npx @conciv/cli@latest auth link <the app URL>` in the app folder and give me the link it prints, or tell me to click the conciv button and type the 6-digit code the dev server prints.

Then open the conciv panel in your app and ask about the page you are on:

Prompt
What is on this page, and which file renders it?

Use conciv

Build your own

Work with agents

Manual setup

The prompt runs these steps for you. To do them by hand:

Installation

With pnpm, yarn or bun, run it with pnpm dlx, yarn dlx or bunx instead of npx.

init asks what to set up and shows the plan. It writes nothing until you say yes. What init changes:

  • It adds @conciv/it to your dev dependencies.
  • It wires conciv into your bundler config.
  • It adds a conciv section to AGENTS.md, so your agent knows the conciv commands. With Claude Code, CLAUDE.md gets it too.
  • It installs the conciv plugin for Claude Code, when Claude Code is on your machine.
  • It connects Claude Code, Codex, Gemini CLI and opencode, when it finds them, so the agent in your terminal can drive your open tabs.
  • It adds the @conciv/skills docs pack, only if you check that box.

Next.js with a src folder

init writes the two instrumentation files to the project root. Next.js reads them from the folder that holds your routes. If your routes live in src/, move both files there.

Each bundler has its own page with the manual setup and its edge cases: Vite, Next.js, webpack, Rspack and TanStack Start.

Start your dev server

Start your dev server the way you always do. conciv starts with it. It adds a conciv button to the corner of every page.

Terminal
npm run dev

A few things to notice:

  • conciv runs in dev builds only. A production build leaves it out.
  • The chat runs an agent CLI on your machine, claude by default. It must be on the PATH of the shell that starts your dev server, and logged in. See Connect your agents for the others.

Log in

The engine can read your project and run commands, so it answers only browsers you let in. Click the conciv button. Your dev server prints a box with a 6-digit code:

Dev server terminal
╭──────────────────────────────────────────────────────╮
│ conciv: a browser asks to connect to this engine     │
│ From:    Chrome 142 | macOS at http://localhost:5173 │
│ Code:    482913                                      │
│ Link:    http://localhost:5173/#conciv_otp=482913    │
│ Expires: 10:42:07                                    │
╰──────────────────────────────────────────────────────╯

Type the code in the panel, or open the link. You log in once per browser. Learn more in Logging in.

Ask about the page

Open the panel and ask about the page you have open. The agent reads the rendered page first, then finds the file that renders it.

Prompt
What is on this page, and which file renders it?

Ask about the page

A scripted session in the real panel. It plays in your browser, with no server.

Ask about the page

  1. You: What does the button on this page do?

    The agent calls page_text

    The agent calls page_find

    It is the counter from src/App.tsx. Each click calls setCount, so the label goes up by one: Count is 1, Count is 2, and so on.

The agent reads the open page and names the file that renders it.

A few things to notice:

  • The crosshair beside the composer pins an element to your message, with its source file when conciv finds it.
  • When the agent edits your source, your dev server reloads the page.
  • A risky action shows a card first: Allow once, Allow always or Deny.

On this page