Avocado Studio
Updated: Dec 4, 2026
Edit your existing Next.js or Astro site by describing the change in chat, then approve it in a preview before it publishes
About Avocado Studio
Describe a copy change in a chat box, or click a block on the rendered page and edit its fields, and an agent rewrites the content, images and SEO metadata inside the components of the Next.js or Astro site you already run. Avocado Studio is the open-source layer that adds that editing surface, with a draft preview of your own application and a publish step that writes back to your CMS or content files.
The people who get the most from it are the developers and platform teams who own the codebase, plus the marketers and content editors those teams decide to hand editing rights to. Nothing about the existing site is regenerated or migrated: your components, design system, CMS and hosting stay where they are.
Wiring the editor into a project you already have
- Install Node.js 22 or later, the one stated prerequisite, then run npm create avocado-site@latest to scaffold a site, the editor and the AI layer in one project.
- In an existing Next.js app, choose Wire Avocado into this project: it writes the editor API route, the page routes, the block manifest and the request rewrite without touching files it did not create.
- For Astro 5 or later, add the @avocadostudio-ai/astro integration, which renders your own .astro components with no React islands and nothing ported.
- Mark the components you want editable once, following the Next.js integration guide, and those fields become the surface chat and click-to-select work against.
Who ends up editing the site, and who should not switch
Once a developer has done that one-time wiring and markup, marketers and content editors change copy, add sections and swap images by describing the change or clicking the block, then approve the result in a preview. Components, the design system and code review remain with the developers, which is the division of labor the product is built around.
An AI builder such as Lovable or v0 generates a new site, which is a different job; Avocado edits one you already own and migrates nothing. The site says plainly that a team wanting a hosted no-code tool to build a new site from scratch will be better served by a hosted builder, and the product is not a replacement for the CMS, DAM or design system it coordinates.
A second front door through the MCP server
A separate package, @avocadostudio-ai/mcp-server, exposes pages, blocks, media, publishing and undo history over the Model Context Protocol, so Claude Code, Claude Desktop and other MCP hosts can make the same edits a person makes in the editor. It runs over stdio or streamable HTTP with a bearer token.
For a developer already working inside an agent host such as Claude Code, that puts a website change in the same session as the code change rather than a separate browser tab. Teams arriving through that route still hit the same review step, since publishing runs through the pipeline and rules already in place.
Avocado Studio Pros & Cons
- Apache-2.0 license covers commercial use, modification and self-hosting
- Self-hosted on your own infrastructure, with control over data, prompts and integrations
- Your AI spend goes straight to Anthropic, OpenAI or Gemini; Avocado does not resell tokens
- Packages ship on npm with readable source
- Framework support is narrow: Next.js 15 and 16 on the App Router, and Astro 5 or later
- Node.js 22 or later is required to run it
- The GitHub repository is not public yet; source is distributed through npm packages
Key Features
Chat-driven editing
Describe the change in plain language and the agent updates copy, components and SEO metadata in place.
Click-to-select editing
Click a block on the rendered page and edit its fields in a property panel instead of hunting through a schema.
Live draft preview
Changes show up in your own running application, with your components and schema, before anything is published.
SEO field editing
Page titles, meta descriptions and social images are fields the agent can rewrite across pages for you to approve.
AI image handling
Generate an image, upload one or search Unsplash in the same chat that rewrites the copy, with alt text edited alongside.
Multi-model routing
Bring Anthropic, OpenAI or Google Gemini API keys and route text, image and multimodal tasks to different models.
CMS content adapters
Templates cover Sanity, Contentful, Strapi and a plain JSON file, and other stores connect through a content adapter that writes back only the fields that changed.
Next.js and Astro support
Next.js 15 and 16 on the App Router can run the orchestrator inside your own app, while Astro 5 and later get an integration that renders your own .astro components.
MCP server
@avocadostudio-ai/mcp-server exposes pages, blocks, media, publishing and undo history to Claude Code, Claude Desktop and other MCP hosts over stdio or streamable HTTP.
Frequently asked questions about Avocado Studio
Can an agent publish a change without anyone approving it?
No. The agent proposes a plan that you approve or discard, you see the result in a preview before anything ships, and publishing runs through your own approval and release pipeline. The stated design goal is that nothing reaches production because an agent decided it should.
Can I try Avocado Studio without an AI API key?
Yes. Without a key the pages render, click-to-select works and the property panel edits real fields; only the AI chat needs a model key. A live demo, which is the real editor running on a sample site, opens in the browser.
How is Avocado Studio different from Lovable or v0?
Those tools generate a new site from a prompt. Avocado edits the site you already have, inside your own components, design system, CMS and hosting, so nothing is migrated and nothing is locked into a platform.
What if my CMS is not Sanity, Contentful or Strapi?
Built-in templates cover Sanity, Contentful, Strapi and a plain JSON file, and any other store connects through a content adapter. Publishing sends back only the fields that changed rather than overwriting whole documents, so references, assets and rich text survive.
Can I keep a static Astro site's edits in version control?
Yes. On a static site, publishing can write the page back to a file that is committed, reviewed as a diff and rebuilt, which keeps review in Git rather than in a vendor dashboard.
Can I edit my site from the ChatGPT or Claude apps?
The ChatGPT and Claude apps cannot reach your site on their own. Claude Code, Claude Desktop and other MCP hosts can, through the Avocado Studio MCP server; putting an Anthropic key into Avocado's own editor is the other route to Claude-run chat.

