Skip to Content
DocsPluginsComparisonChangelog
0
DocsChangelog

More

Discussionsllms.txtllms-full.txt
Getting startedWhat is concivComparisonRequirementsPlaygroundExamplesAPI reference

Engine and widgetSessionsHarnessesTools and code modeAgents and permissionsSkills

Use conciv
Bundlers
Agents

Engine and widget

What runs where when conciv is on, what a turn does, and where conciv keeps its state.

conciv is two programs that your dev server starts together. The engine runs in node and runs the agent. The widget runs on your page and is the chat you type into.

What runs where

vite.config.ts
import {} from 'vite'
import  from '@conciv/it/plugin/vite'

export default ({
  : [
    (), // <- starts the engine and adds the widget, in development only
  ],
})

Build plugin

The build plugin is @conciv/it in your bundler config. In development it starts the engine and adds the widget to every page. A production build leaves both out. Learn more in Bundlers.

Engine

The engine is a node server inside your dev server's process. It listens on 127.0.0.1 only, on a port of its own. It answers only browsers that logged in. Learn more in Logging in.

Widget

The widget is the conciv button, the panel and the quick terminal. It mounts in a shadow root, so your styles and its styles stay apart. It talks to the engine over one websocket.

Harness

A harness is the agent CLI the engine runs a turn with, such as Claude Code. It runs on your machine, with your own login. Learn more in Harnesses.

A turn

A turn is one message from you and everything the agent does to answer it:

  1. The widget sends your message to the engine over the websocket.
  2. The engine runs the harness in your project folder, with conciv's tools added.
  3. The agent calls tools. It reads the page, drives it, edits files and runs tests.
  4. A risky call waits on a permission card in the panel. It goes on once you answer.
  5. Text, tool calls and cards stream back into the panel.

If the socket drops, the widget dials again. A running turn picks up from its last event. Learn more in Tools and code mode.

A first session

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

conciv / transcript

A first session

  1. You: What is on this page?

    The agent calls page_text

    This is the Vite + React starter page. It has a Get started heading, a counter button at 0, and links to the Vite docs and community.

  2. You: Start the counter at 5.

    The agent calls page_settext

    On the page, the count is 5.

    The button now reads Count is 5. To keep it, change useState(0) to useState(5) in src/App.tsx.

Add an instruction…

One turn: a message, the agent reading the page, and its answer.

Outside agents

An agent CLI in your own terminal can reach the engine too, over MCP. It drives your open tabs with the same tools. Learn how in Outside agent.

Where state lives

The engine keeps its state in .conciv/ at your project root. The folder has its own .gitignore, which ignores everything except settings/.

.gitignore
server.json
trusted-browsers.json
conciv.db
chat-system-prompt.txt
mcp-endpoint.json
  • server.json holds the engine's port and token. The engine reuses the port on its next start.
  • trusted-browsers.json lists the browsers that logged in.
  • conciv.db is a SQLite file. It holds sessions, chat history and saved permission answers.
  • chat-system-prompt.txt is the prompt the engine gives the agent, written on every start.
  • mcp-endpoint.json holds the engine's MCP address. The engine writes it on every start.
  • claude-connect/ holds the Claude Code plugin that init sets up. Its bridge reads mcp-endpoint.json.
  • settings/ holds project settings saved from the widget. Git does not ignore it, so you can commit it.
  • bin/conciv is the conciv command. It comes first on the PATH of the agents the engine starts.

Move the folder

Set stateRoot to keep .conciv/ somewhere else. Learn more in Configuration.

Next steps

  • Sessions: what a conversation holds, and where it is kept.
  • Tools and code mode: how the agent calls conciv's tools.
  • Agents and permissions: what decides when a card asks you.

API reference

Every published conciv package, what it is for, and the guides that use it.

Sessions

A session is one conversation with the agent: its messages, its queue and its harness transcript.

On this page

What runs whereBuild pluginEngineWidgetHarnessA turnOutside agentsWhere state livesNext steps
Edit on GitHubView .mdOpen in ClaudeOpen in ChatGPT