Conceive it.
Your coding agent, living inside your running app.
Add conciv to your build. Then chat, let it drive the page, and run your tests,
without ever leaving the thing you're building.
Website · Example app · Docs · Report a bug
conciv puts an AI dev agent inside the app you are already running. Add conciv to your Vite, Next.js, webpack or Rspack config, and a conciv button appears in your dev preview. Open it and you're talking to an agent that can see the page you're building, drive it, edit your source, and run your tests, all in the same window, without a second terminal or a context switch.
It's dev-only (never shipped to production) and harness-agnostic: it drives a real coding CLI under the hood (Claude Code by default, or Codex, OpenCode, Gemini CLI or Pi), so the agent is as capable as the tool you already trust.
- 💬 Chat in-app: talk to an agent that sees your running page, streams its reasoning, and calls tools live.
- 🕹️ Page control: it grabs elements, clicks, fills, inspects React props/state, and live-edits the DOM to preview changes.
- 🧪 Live tests: add the test-runner plugin, run Vitest or Playwright, and watch pass/fail result cards render right inside the app.
- 🧩 Plugins: add a plugin to
pluginsorconciv/plugins/and get new agent tools with their own cards and panels. - ✅ Approvals: when the agent asks for permission, a card in the thread lets you approve or deny it.
- 🔌 Vite, Next.js, webpack and Rspack: dev-only, never in your production bundle.
- 🤝 Harness-agnostic: Claude Code, Codex, OpenCode, Gemini CLI and Pi behind one capability interface.
- 🌘 Zero style leak: the widget lives in an open Shadow DOM, isolated from your app's CSS.
The build integration (@conciv/it, on @conciv/unplugin) starts the conciv engine (@conciv/backend, a hono
server) on its own port on 127.0.0.1. The engine runs the harness (Claude Code by default) and the plugins, and the
integration adds the Solid widget (@conciv/app) to your page. The widget talks to the engine over oRPC. The first
time a browser opens the widget, it asks for a 6-digit code the dev server prints in its terminal.
No install needed: open conciv.dev, click "Try it live", and paste the
pairing prompt into Claude Code (or run the npx @conciv/try command it shows). The widget on
the landing page connects to the agent on your machine. Everything stays local: the engine binds
127.0.0.1 only, gated by a one-time token, and prompts never touch our servers.
npx @conciv/cli@latest initor install it yourself and add conciv to your app's vite.config.ts:
npm i -D @conciv/itimport {defineConfig} from 'vite'
import conciv from '@conciv/it/plugin/vite'
export default defineConfig({
plugins: [conciv()],
})Install and log in to the agent CLI you want (Claude Code by default), start your dev server, click the conciv button in the corner of your app, and type the code your terminal prints.
Override defaults via conciv({harness, plugins, port, …}). Next.js uses @conciv/it/plugin/nextjs, webpack and
Rspack @conciv/it/plugin/webpack and /rspack; see the quick start.
Teach the agent new tricks with a plugin. List it in plugins (an npm package or a local
directory, with options as ['name', {...}]) or drop it in conciv/plugins/, and the engine loads
it live. A plugin adds agent tools, a result card per tool and panels in the widget, and can be
added or removed while the app runs. Plugins ship
with a real test harness: @conciv/backend-test-utils boots the real
engine with your plugin loaded and a fake model.
The page and terminal plugins are built in. The others are separate installs:
- 🧪 Test runner: runs your tests (Vitest and Playwright). The Tests tab streams live rows, and a card shows the finished run in the thread.
- 🎥 Recorder: records the page with rrweb and gives the agent a distilled log of what you did.
- 🧭 TanStack: build errors, the route manifest and server-function calls of a TanStack Router or Start app.
- 📱 iOS: builds, runs, screenshots and reads the logs of a native iOS app on the simulator.
| Area | Supported | Not yet |
|---|---|---|
| Harnesses | Claude Code, Codex, OpenCode, Gemini CLI | Pi |
| Bundlers | Vite, Next.js, webpack and Rspack (no module graph) | Rollup, esbuild |
| Tests | Vitest, Playwright | Jest, node:test |
Install these. Everything else on npm under @conciv/* comes in automatically:
| Package | What it is |
|---|---|
@conciv/it |
The one you install. @conciv/it/plugin/vite, /nextjs, /webpack, /rspack. |
@conciv/cli |
npx @conciv/cli@latest init sets a project up; conciv tools is the CLI the agent drives the app with. |
@conciv/plugin-test-runner |
The test-runner plugin: plugins: [['@conciv/plugin-test-runner', {runner: 'vitest'}]]. |
@conciv/backend-plugin-api |
What a plugin's engine part imports. |
@conciv/frontend-plugin-api |
What a plugin's browser part imports. |
@conciv/backend-test-utils |
Starts the real engine with your plugin loaded and a scripted model, for a plugin's own tests. |
@conciv/try |
npx @conciv/try --token <t>: try conciv live on conciv.dev with the agent already on your machine. |
Every package, published or internal, is listed in packages/README.md.
Full docs live at conciv.dev and in
apps/site/content/docs: quick-start guides per bundler, usage
(chat, page control, live tests, approvals), harness and test-runner configuration, and
troubleshooting.
Every package, app and source directory carries a README.md with its purpose, invariants, side effects and the command that verifies it. Start from the three top-level blueprints and follow the links down.
- packages: packages/README.md - the npm packages: engine and plugin, shared contracts, the browser widget and UI kits, host framework SDKs, and private repo tooling.
- apps: apps/README.md - the conciv.dev site, the Storybook and the example host apps.
- native: native/README.md - the Swift ConcivWidget iOS SDK and the ConcivDemo app.
- Everything is ESM, Node >= 26, one pnpm workspace with catalog-pinned dependencies and turbo as the task graph.
- Code shared between the browser and Node lives in a contract package (
protocol,types,grab, and the plugin APIs); the browser never imports a server entry. - The public package set is every workspace package that is not
private(readPublishedNamesinpackages/publish);@internal/*packages are never published and are inlined where they are used. - The engine binds loopback only; cross-origin access is gated by the engine's Host and Origin checks in
packages/backend-defaults/src/engine.
- The engine writes its SQLite database and port file under the project's
.concivfolder, registers itself in the conciv home folder (CONCIV_HOME, else the platform data folder), and writes the iOS pairing file to~/.conciv. - Harness adapters read the user's agent transcripts (
~/.claude,~/.codex,~/.pi, opencode's database) and spawn the agent binaries. - The Vite plugin boots the engine process, injects the widget meta tags and script into served HTML and serves the widget boot script from the dev server.
conciv-publishpublishes to npm, pushes git tags and force-pushes theconciv-swiftmirror.
- Run:
pnpm typecheck && pnpm lint && pnpm testat the repo root (turbo runs every package;pnpm lintis one oxlint over the repo), orpnpm test:affectedfor packages changed sinceorigin/main.
Issues and PRs are welcome. This is a young project moving fast, so the best first step is to run the example app, find something rough, and open an issue.
pnpm install
pnpm dev # runs the tanstack-start example with conciv wired inSee CONTRIBUTING.md for setup, everyday commands, and PR guidelines.
MIT © conciv
conciv · as in
@conciv/it. Say it out loud.
Built with hono, Solid, and a real coding agent living in the page.