@fronti/core
v1.0.4
Published
Visual-first AI coding agent for local codebases. Select elements in browser, describe changes, agent applies edits.
Downloads
218
Maintainers
Readme
Fronti - Visual Layer for Claude Code
Fronti brings Claude Code's powerful agent capabilities into your browser. Point it at any localhost project, select the element you want to change, describe what you need, and Claude updates your codebase instantly.
- Visual interface for Claude Code running on your localhost
- Works with React, Next.js, Vue, Tailwind, Astro, Svelte, and any web stack
- Handles UI changes, refactors, API integrations, logic updates, and test generation
- Perfect for rapid prototyping and production refinements
Quick start
Install the Chrome extension Fronti Chrome Extension
Install Fronti Core
npm install -g @fronti/coreInstall Claude Code CLI
npm install -g @anthropic-ai/claude-codeStart your project
- Open your project in your editor
- Start your local development server (e.g.,
npm run dev→http://localhost:3000)
Edit visually
- Launch the Chrome extension, select an element, describe the change, and let Claude apply it to your codebase
What you can do
- Redesign components, restyle layouts, and update content directly from your browser
- Refactor logic, connect APIs, adjust data flows, and generate tests using Claude's agent capabilities
- Create new sections and reusable components with production-ready code
- Apply batch improvements like accessibility fixes, theme updates, or design token changes across your entire project
- See changes instantly with your existing dev server and hot reload
Why Fronti?
Get the speed of hosted AI tools with complete control over your codebase.
| Feature | Hosted AI Builders | Fronti | | --- | --- | --- | | Works with your existing codebase | No | Yes | | Code stays on your machine | No | Yes | | Visual click-to-edit interface | Limited | Yes | | Full agent capabilities | No | Yes |
How it works
- The Chrome extension provides a visual interface over your localhost dev server
- The
@fronti/corepackage connects your browser to Claude Code CLI - Claude executes changes locally in your codebase
Built for web development
- Turn visual feedback into code changes in minutes
- Works with any framework or design system
- Everything runs locally on your machine
Requirements
- Node.js 18 or newer
- Claude Code CLI (
npm install -g @anthropic-ai/claude-code) - Fronti Core (
npm install -g @fronti/core) - Fronti Chrome Extension
- Chromium-based browser (Chrome, Edge, Arc, etc.)
- Local dev server running your project
All Claude requests run through Claude Code CLI, which requires an active Anthropic subscription.
Development
Build each extension independently when working from source.
Chrome extension
cd chrome-extension
npm install
npm run buildLoad the unpacked extension from chrome-extension/dist in Chrome.
VS Code extension
cd vsc-extension
npm install
npm run compile
npm run package # Outputs visual-editor-ai-<version>.vsix in vsc-extension/Install the generated .vsix in VS Code (Extensions panel -> ... -> Install from VSIX).
Contributing
Contributions are welcome:
- Fork this repository.
- Create a feature branch (
git checkout -b feature/my-improvement). - Commit your changes (
git commit -m "Describe your change"). - Push the branch and open a pull request.
License
Fronti is distributed under the MIT License.
Support
If Fronti helps your workflow, please star the repo and share feedback.
