Point at any dev site, prompt your agent.
Tencil runs in the browser, on top of whatever renders the page. For Rails, Laravel, Django, Phoenix, a static site or anything else, one script tag in your development HTML is the whole integration.
npx tencillayout.html
<script src="http://localhost:4747/tencil.js" async></script>One script tag
Load the overlay from the daemon on your machine, in development only.
npx tencilprints the tag when it finds neither Next.js nor Vite.Nothing without the daemon
The script comes from
localhost. For anyone without the daemon running, it does not load and nothing appears. Keep it in your development layout anyway, so production pages never ask for it.What the agent gets
On any page, your agent gets your prompt, the page, the markup of what you clicked, a selector, its visible text, its size and position, and a screenshot if you attach one. It then searches your repository for the template that renders it.
Found from the port
The daemon matches the page to its project through the port your dev server listens on. Behind Docker or a proxy, the overlay asks once which project the page belongs to and remembers your answer.
Frequently asked questions
Using Tencil with Any dev server.
Not by itself: the component and source file come from React. On other stacks the agent gets the markup, selector and text, which is usually enough for it to find the template.
Yes. The overlay sits on top of the rendered page, so it does not matter what rendered it. Your agent edits the template in your repository.
Yes: start the daemon with --port, or set TENCIL_PORT, and load the script from that port.
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.
- ViteA Vite plugin for React, Vue, Svelte, TanStack Start and Astro: click any element of your dev site and tell your coding agent what should change.
- 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.
- 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.