Skip to content

Hollware: a headless CMS where the agent is the main editor

By Sergio Azócar · · 7 min

Why I stopped editing content through PRs and built Hollware, an open-source, agent-first headless CMS native to Cloudflare.

Topics: AI agents, Open source, ArchitectureRead in Spanish

For years my website was a repo with Markdown inside. Writing a post, adding a talk or fixing a date was all the same thing: open the editor, make the change, open a PR, review it, merge it and wait for the deploy.

At Skyward, where I work, the same happened with the blog and the job posts. Content that isn't code, living as if it were.

And that's the right way to do it with Nuxt Content or Astro. The content lives in the repo, so to change content you have to touch code. There's no other way.

The problem wasn't writing, it was everything else

What started to bother me wasn't writing. It was the paperwork.

If I wanted to fix something from my phone, I couldn't. If I asked an agent to add a new talk, it did it in seconds, but it still ended up as a PR that had to be reviewed and deployed. The agent was fast and the process was still slow.

What I wanted was simple: tell an agent "publish yesterday's talk" and have it in production right away. No PR, no laptop.

What I evaluated

The first thing I looked at was EmDash, and I considered it seriously because it was almost exactly what I wanted. But its approach is something like WordPress for the agent era: the CMS is also your site. And I already had a site I liked. I didn't want to migrate my frontend, I wanted to migrate only the content.

Then I went through headless CMSs. Several really good ones, but none clicked: either the costs didn't convince me, or the AI integration was an add-on glued on top. And in all of them the path was the same, consuming a REST API that lives in another cloud, from a site that lives on Cloudflare.

Every option asked me to change something I didn't want to change. That's where Hollware started.

Hollware

Hollware is a headless, open-source CMS native to Cloudflare, designed from day one for the agent to be the one running it. Agent first isn't a feature, it's the decision every other one comes from.

The agent is the main editor. Everything you can do with the content and the structure of a site you can do over MCP: create collections, create drafts, fill in the frontmatter, translate, validate and publish. The admin exists for a person to review and approve, not to fill in forms.

Contracts are checked on write. Each collection declares what's valid: the frontmatter schema, the components allowed in the body and rules across entries. If something doesn't comply, the error goes back to the agent in milliseconds, not in a CI pipeline ten minutes later.

Markdown is the source of truth. It's what agents write and read best, and the diffs are readable.

Always headless. Hollware doesn't render sites and has no themes. Your frontend stays yours: Nuxt, Astro, React, whatever you use.

Everything lives on your Cloudflare account. Workers, D1, R2 and Queues, deployed to your own account, and what it costs depends on what your sites use.

Thinking about it, it's taking Context Architecture to content. The site's structure, the schemas, the rules and the style guide are data the agent reads before writing, and the contracts are the mechanism that fails when something stops holding. The agent doesn't guess what's valid, it looks it up.

Why Cloudflare

This was the decision that mattered most to me. If your site and your CMS live in the same place, it makes no sense for the site to travel half the internet to ask an API for its content.

With Hollware, a site on Cloudflare reads content over a service binding: a typed call between two Workers, without going through the internet and with no tokens to manage.

// your site's wrangler.jsonc
"services": [
  { "binding": "HOLLWARE", "service": "my-cms", "entrypoint": "Hollware" }
]
const found = await env.HOLLWARE.getEntry('my-site', 'blog', slug, 'en', {
  formats: ['document'],
})

If your site lives somewhere else, it can also read over HTTP with a read-only token, or with the packages for Nuxt, Astro, React and Vue.

What it looks like when the agent gets it wrong

This is the part I like showing the most. Say the blog collection says the description is 160 characters max and the tags are a closed list. The agent writes a draft with a 190-character description and the tag cms, which doesn't exist.

Hollware won't let it publish, and answers this:

{
  "ok": false,
  "errors": [
    {
      "path": "/frontmatter/description",
      "message": "Too big: expected string to have <=160 characters",
      "fix": "Set the field \"description\" to a string of 1 to 160 characters."
    },
    {
      "path": "/frontmatter/tags/0",
      "message": "Invalid option: expected one of \"vue\"|\"nuxt\"|\"cloudflare\"|\"ai\"",
      "fix": "Set the field \"tags[0]\" to one of \"vue\", \"nuxt\", \"cloudflare\", \"ai\"."
    }
  ]
}

Look at the fix field. The error isn't written for a person reading a log, it's written so the agent knows exactly what to change. The agent shortens the description, picks a valid tag, validates again and moves on. I didn't have to step in.

And the error blocks publishing, not saving. The draft stays saved with its errors until someone fixes them.

The agent operates, the judgment is mine

"Agent first" can be read as "the AI writes everything and I sign it". That's not it.

This very post is a good example. The story, the pain, what I evaluated and why I discarded it are mine. I told them to an agent, it organized them into a draft and got the real error you saw above by running Hollware's contracts. I edited it until it sounded like me. Then it uploaded it as a draft, filled in the metadata, translated it and I approved it.

Without an experience to tell, there's no post. What the agent saves me is everything that isn't thinking: the formatting, the metadata, the translation, the PR that no longer exists.

And some things never go through the agent. Who can get in, what role each person has and what each token can do is handled in the admin or the CLI, never over MCP. Agents get in with OAuth or a personal token, and people with a passkey or their Google or Microsoft account, no passwords.

How I built it

With agents, obviously, and with the same rule: the agent executes and the judgment is mine.

Before writing a line of code I settled the technical decisions one by one: D1 as the single source of truth, the official MCP SDK and Comark for Markdown, among others. Then I split it into stages, each with an exit criterion that was verified before moving to the next one.

The first commit was on October 11 and 1.0 shipped on the 29th. Today it's 11 packages, and the hardest part of the whole project was the name (seriously).

This site already runs on Hollware

This site is a static Nuxt site, and its content is no longer in the repo. It lives in Hollware. When I publish something, Hollware notifies the site, the site rebuilds with what was published and a couple of minutes later it's in production.

What used to be a PR is now a sentence.

Try it

Since I know you won't install it yourself, paste this into your favorite agent:

Install Hollware on my Cloudflare account following https://hollware.com/install.md

That page is written for agents: it asks you what it needs, installs, deploys, connects itself over MCP and writes a first draft. If you'd rather do it by hand, start with npm create hollware and follow the quickstart.

If you try it, tell me what breaks: issues are welcome. And if you like the idea, give it a star on GitHub. It looks like little, but it's what helps others find it.

PS: "Hollware" comes from Sleepy Hollow, for the headless horseman (headless, it was obvious), and from my former main in World of Warcraft, a death knight called Malware, whose "ware" all my alts inherited (DKs cast diseases, diseases are viruses and viruses are malware). Plus it sounds like software or hardware.

One email per new post.

That's it. No spam, and you can unsubscribe anytime.

I measure email opens and clicks. Details in the privacy policy.

Keep reading