An open-source layer for Astro sites. MIT, beta 0.1.

Edit your Astro site on the page.It saves back to the CMS you already have.

SimulatedThis headline is editable. Double-click it, or focus it and press Enter; type; Enter saves, Esc cancels.

Inti.js is an open-source layer for Astro sites, whether you write them by hand or with a coding agent. Double-click a text on the rendered page and the change is written to WordPress, Kitsuden, Strapi or Keystatic. A model composes sections from the blocks you declared, and agents edit the same content through an MCP server.

$ git clone https://github.com/intijs/inti.git

Not on npm yet: the packages will be published under @intijs. Until then, install from git. The Quickstart has the commands.

Double-clicktypeEntersaved toWordPressKitsudenStrapiKeystatic

Four facts, each one checkable in the repository.

4 CMSs

Read and write back

WordPress, Kitsuden, Strapi and Keystatic. Contentful and Sanity are read-only.

Astro 5·6·7

Each major checked in CI

A clean project is installed, built and served for every major on every push.

13 tools

MCP server for agents

Read, edit, insert, move and draft. INTI_MCP_READONLY=1 drops the write tools.

MIT

Every package

Open source and in beta: the APIs may still change before 1.0.

What editing on the page looks like.Change the text and see what would be saved.

This is a simulation that runs only in your browser, with sample content. In a real project the editor calls an astro:actions endpoint on your server, and the adapter writes the change to your CMS.

https://example.com/ [simulation]
Try it: double-click an outlined text, type, press Enter. A single click also works here.
HeroBanner, sample content
data-inti-field="heading"

Fresh bread every morning

data-inti-field="subheading"

Sample text for a made-up bakery. Click here and type to change it.

data-inti-field="cta.label"See the menu

In the real editor the text changes on screen at once and reverts if the save fails.

What the editor would send Not sent

Action:
inti.updateBlockField
Written by:
@intijs/adapter-wordpress
Credentials:
stay on your server

Input of the action (example ids):

Last changes:

    Refused by default in productionIn production Inti rejects every write unless a plugin you register decides who is editing. WordPress passwords and Kitsuden agent keys live only on the Astro server.

    Why does Inti.js exist?The missing piece in Astro.

    Static site generators and modern frameworks had a major trade-off: either lock yourself into a proprietary SaaS, or settle for admin panels disconnected from the real page.

    ToolWhat it doesWhat it does not
    Astro Content LayerTyped read from any sourceNo write path, no editing
    KeystaticIn-repo admin UINo editing on the page (Inti adds it, with its adapter)
    TinaCMSVisual editingGit-based only: it does not reach your existing headless CMS
    StoryblokVisual editingOnly on their own SaaS
    Inti.jsEditing on the rendered page, written back to WordPress, Kitsuden, Strapi or Keystatic. AI that composes with your blocks, and an MCP server.It is not a CMS: no admin UI, no user management, no database of its own. In beta.

    Editors compose. The design stays in code.Slide to compare the two approaches.

    A free-form page builder lets anyone add CSS and markup to a page. Inti has no free-form CSS editing: editors work with the blocks, fields and variants your developers declared.

    Free-form page builderDeclared blocks with Inti

    Anything can be changed, including the design

    • Editors can add arbitrary CSS and markup to a page.
    • Fonts, spacing and layout can drift away from the design system.

    Editors change the content, not the design

    • Vocabulary in code: blocks, fields and variants are declared by developers.
    • Double-click and Enter: the text is saved to the CMS it came from.
    • No free-form CSS: there is nowhere to type it.
    • AI with your blocks: a model composes only with what you declared.

    The Inti philosophy: powerful like Oxygen, simple like Elementor.

    Developers define the component vocabulary in TypeScript and Astro code (full control and performance). Editors compose freely with that vocabulary. Because there is no free-form CSS editing, editors cannot break the design or bloat the page.

    Explore features

    What Inti adds to an Astro site.Without touching your CMS database.

    Inti is a thin, lightweight layer between your Astro frontend and the content you already have.

    Inline editing with real write-back

    Double-click any text or heading on your Astro page, type the new content and press Enter. Inti updates the view at once and writes the change to WordPress ACF, Kitsuden rows, Strapi dynamic zones or Keystatic files. If the save fails, the text on screen reverts.

    Optimistic UIAstro Server Action: inti.updateBlockFieldReverts if the save fails

    Visual page composer

    Add, duplicate, reorder and configure. Every block gets a toolbar with an auto-generated properties panel. Developers define the vocabulary in Astro code; editors compose freely without breaking the CSS.

    Drag & drop reordering

    Personalization without JS

    Create content variants per audience (device:mobile, country, preferences). Everything resolves on the Astro server, with no extra weight in the client bundle and a control group for metrics.

    Zero client-side JavaScript

    Keep the SEO your client already set up

    Inti automatically reads metadata from the most popular WordPress plugins (Yoast, RankMath, AIOSEO or SEOPress) and from Strapi SEO components, normalizing it into a single page.seo object. The <IntiSeo> and <IntiStructuredData> components render canonical tags, Open Graph and Schema.org JSON-LD graphs natively on the server.

    Yoast / RankMathJSON-LD GraphSitemap with lastmodllms.txt

    Cloudflare & edge ready

    With the optional @intijs/cloudflare package: D1 for content and experiments, Durable Objects for realtime and limits, R2 for media, and Workers AI.

    Optional: Inti does not depend on Cloudflare

    Clean, secure architecture.Your credentials never touch the browser.

    Visitors get nothing from the editor (CI checks it on Astro 5, 6 and 7), tokens and passwords never leave the server, and in production a write nobody allowed is answered 403 before it reaches your CMS.

    1. Editor Browser

      Double-click on the Astro-rendered block. The editor sees the final production layout while typing.

      POST /_actions/inti.updateBlockField
    2. Astro Server Action

      Runs strictly on the server. Evaluates the beforeWrite plugin and authenticates the editor.

      Credentials + who may write
    3. WritableAdapter

      Translates the mutation into the CMS's native format (ACF array, Kitsuden UUID row, or Dynamic Zone).

      Block normalization
    4. Your Target CMS

      WordPress, Kitsuden, Strapi or Keystatic saves the change where its content already lives.

      Saved as ordinary blocks

    AI that builds with your blocks.No generated HTML, CSS or code.

    The AI runs on your Astro site and in its editor, never inside the CMS. It composes with the blocks and fields you declared, the proposal is previewed on the page, and it is written only when accepted.

    @intijs/genuiSimulated: no model is called
    The three blocks this simulation knows. Anything else gets no proposal:
    In the real package:The model picks from your declared blocks and fills in their fields. It generates no HTML, CSS or code, and everything it returns is validated before it is used. You bring your own model key, or Workers AI.
    Proposal preview, sample contentProposal: nothing is saved yet
    Example block type: OpeningHours
    @intijs/mcp

    Editing for agents (Claude Code, Cursor)

    The adapter's write path, exposed as Model Context Protocol tools. Agent writes use the CMS credentials in the server's environment and do not pass through your beforeWrite plugins: limit them with INTI_MCP_READONLY=1 or a restricted CMS user, validate what they insert with INTI_MCP_VOCABULARY, and have them work on a draft.

    inti_get_pageinti_update_fieldinti_create_draft
    MCP setupClaude Code

    # today, from a built clone:

    $ claude mcp add inti -- node /path/to/inti/packages/mcp/bin/inti-mcp.js

    # once published:

    $ claude mcp add inti -- npx -y @intijs/mcp

    > "Read the home page and make the hero heading more direct."

    → inti_get_page, then inti_update_field

    Adapters for the CMS you already have.One contract, whichever CMS.

    Any adapter that implements WritableAdapter gets inline editing. WordPress, Kitsuden, Strapi and Keystatic read and write; Contentful and Sanity are read-only today.

    @intijs/adapter-wordpress

    Headless WordPress

    ACF Flexible Content layouts map 1:1 to Inti blocks. Read via the standard REST API (wp/v2) and written using secure Application Passwords stored in your Astro server's environment variables.

    • Gutenberg Mode: standard headings and paragraphs are inline-editable with a conservative parser.
    • Optional Companion Plugin: inti-bridge.php for atomic patches without full-array round-trips.
    • Inherits SEO metadata from Yoast, RankMath, SEOPress, or AIOSEO.
    src/pages/[...slug].astroTypeScript
    import { WordPressAdapter } from '@intijs/adapter-wordpress';
    import { registerBlocks } from '@intijs/core/registry';
    import BlockRenderer from '@intijs/core/astro/BlockRenderer.astro';
    import VisualBridgeAuto from '@intijs/core/visual-bridge/VisualBridgeAuto.astro';
    
    registerBlocks(import.meta.glob('/src/blocks/*.astro'));
    
    const adapter = new WordPressAdapter({ endpoint: import.meta.env.INTI_WP_ENDPOINT });
    const page = await adapter.fetchPageBySlug(Astro.params.slug ?? 'home');
    ---
    <BlockRenderer blocks={page.blocks} />
    <VisualBridgeAuto />

    Questions people ask first.Short answers, checkable in the repository.

    Does Inti replace my WordPress, Kitsuden, or Strapi?

    No. Inti never becomes your CMS. Your database, users, taxonomies, and original admin panel stay as they are. Inti is an Astro layer that reads your content and lets you edit it on the real page with direct API write-back.

    How does Inti guarantee that editors cannot break the design or add messy CSS?

    Inti has no free-form or inline CSS editing. Developers define the allowed blocks, fields, and variants in Astro components in code. Editors compose freely with that strict vocabulary, keeping pages fast and true to the design system.

    What happens if the network drops or the CMS returns an error while editing?

    Inti uses Optimistic UI with automatic rollback. If the server returns a validation error or a network failure, the on-screen content reverts immediately to its previous state and displays a toast with the error details.

    How are CMS credentials protected in production?

    WordPress Application Passwords, scoped Kitsuden agent keys, and Strapi tokens never reach the client. Writes go through astro:actions, on the server. Moreover, in production Inti rejects every write unless a registered plugin authenticates the editor's session.

    Which Astro versions and deployment targets are supported?

    Inti is verified in CI against Astro 5, 6, and 7. It deploys anywhere Astro runs: standalone Node.js, Docker, Vercel, Netlify, or Cloudflare Workers (the optional @intijs/cloudflare package adds D1, Durable Objects and R2 backends).

    How do AI agents like Claude Code or Cursor integrate with Inti?

    Through @intijs/mcp (Model Context Protocol). Agents call tools such as inti_get_page, inti_update_field or inti_create_draft. Their writes use the CMS credentials in the server's environment and do not pass through beforeWrite plugins: limit them with INTI_MCP_READONLY=1 or a restricted CMS user, validate what they insert with INTI_MCP_VOCABULARY, and prefer drafts.

    Get started today.Three steps from a clone.

    Not on npm yet: install from git

    The packages will be published under @intijs. Until then the scaffolder runs from a clone of the repository and the project installs the packages from it. Once published, the whole thing is npm create inti@latest.

    1. Clone and build

      The packages are built from the repository. You need git and Node 22.12 or later.

      git clone https://github.com/intijs/inti.git
      cd inti && npm install && npm run build && cd ..
    2. Scaffold your site

      It asks which CMS you use and sets up Astro, the adapter, the actions and a starter block.

      node inti/scripts/scaffold-local.mjs my-site
    3. Run and edit

      Open the page, double-click a text, type and press Enter. With no CMS it saves to a local JSON file.

      cd my-site && npm run dev

    Prompt for my coding agent

    For Claude Code, Cursor, Codex or any other agent. Paste it as it is.

    Set up Inti (https://github.com/intijs/inti) for me. Inti is in beta and is NOT on
    npm yet: do not run `npm install @intijs/...`, `npm create inti` or `npx inti`.
    
    1. Clone https://github.com/intijs/inti.git next to this project. In the clone run
       `npm install` and then `npm run build`. It needs Node 22.12 or later.
    2. Before writing any code, read AGENTS.md and llms.txt in the clone. AGENTS.md is
       the canonical setup: if another document disagrees with it, AGENTS.md is right.
    3. For a new site, run this from the folder that contains the clone:
       `node inti/scripts/scaffold-local.mjs <name> --cms <wordpress|kitsuden|strapi|keystatic|local> --yes`
       Use `local` if I have not named a CMS.
       For an existing Astro site, follow "Installation" in the clone's README.md and
       then the complete setup in AGENTS.md. No step there is optional.
    4. Use only the APIs, import paths, options and environment variables that appear
       in AGENTS.md, in a package README or in the source under packages/. Never
       invent one. If you cannot find what you need, stop and tell me.
    5. CMS credentials stay on the server: never in client code and never in a
       PUBLIC_ variable. In production Inti refuses every write until a plugin with
       resolveActor/beforeWrite is registered in src/middleware.ts; do not work
       around that.
    6. When you finish, start the dev server and tell me which page to open and
       which text to double-click.
    Terminalexample session

    $ node inti/scripts/scaffold-local.mjs my-site

    Packing the Inti packages into inti/.inti/tarballs…

    ◆ Which CMS do you use? WordPress (REST + ACF Flexible Content)

    ◆ Install dependencies? Yes

    ✓ Project created in my-site (WordPress)


    Next steps:

      cd my-site

      cp .env.example .env # and fill in your CMS details

      npm run dev

    Move your frontend to Astro.Keep your CMS and your editors' admin.

    MIT licensed, in beta (0.1), and checked in CI against Astro 5, 6 and 7. Not on npm yet: install from git.

    Open sourceMITBetafor Astro 5, 6 & 7