Add Tencil to your Vite project.
The Vite plugin loads Tencil during development. It works with React, Vue, Svelte and other Vite apps.
npx tencilvite.config.ts
import tencil from 'tencil/vite'; export default defineConfig({ plugins: [react(), tencil()], });One plugin
npx tencilfindsvite.configand adds the plugin next to the ones you have. It loads the overlay only whilevite devruns, from the daemon on your machine.React, Vue, Svelte and more
The plugin works for every app on Vite: React, Vue, Svelte, TanStack Start, Astro and others. Your agent always gets the page, the markup, a selector, the visible text and the size of what you clicked.
Source files in React apps
With React 19, Tencil also includes component names, source files and line numbers to help the agent find the code to edit.
Hot reload shows the result
The agent edits your code in place and Vite's hot module replacement updates the page. Progress streams onto the pin while it works, and you can reply on the pin to follow up.
Frequently asked questions
Using Tencil with Vite.
All of them: the overlay runs in the browser, on top of whatever renders the page. React apps also get the component and source file of what you click.
No. It only loads the overlay during vite dev, from the daemon on your machine.
Load one script in your development HTML: <script src="http://localhost:4747/tencil.js" async></script>. Without the daemon running, it does nothing.
More integrations
Tencil works the same everywhere: point at an element, say what should change.
- Next.jsAdd one component to your Next.js root layout, click any element of your dev site and tell your coding agent what to change. App and pages router.
- ReactIn React apps, Tencil hands your coding agent the component you clicked and the components that render it, each with its file and line. Next.js, Vite, TanStack Start and more.
- Any dev serverNot on Next.js or Vite? Load one script in your development HTML and point at any element of your Rails, Laravel, Django, Phoenix or static site to prompt your coding agent.
- Claude CodeClick any element of your running app and Claude Code makes the change, under your own login. Every pin is a Claude Code session you can resume in a terminal.
- T3 CodeClick any element of your running app and T3 Code makes the change. Every pin is a real T3 Code thread in your project, so you can continue it there.
- CodexClick any element of your running app and Codex makes the change, under your own login. Every pin is a Codex thread you can continue outside Tencil. Free, local, no account.
- EnsembleClick any element of the app an Ensemble thread is running and its agent makes the change. Every pin is a chat on that thread’s checkout, on any model Ensemble runs.