Headcode is the content platform built for the agentic web. Model content as code, let agents draft and publish through MCP, and ship updates at the speed of thought.
Built with
Define entries, globals, and relations in TypeScript. Migrations are diffable, reviewable, and reversible - no more GUI drift between environments.
Every workspace exposes a Model Context Protocol server so agents can read, draft, and publish content with the same permissions as your team.
Draft changes stream into your running Next.js app in real time. Review agent-generated edits side-by-side with the rendered page before you publish.
Zero-config deploys with edge caching and on-demand revalidation. Your content scales to zero when idle and to the edge when it matters.
One Node process with a SQLite file and images on disk. Better Auth signs in editors and MCP clients, so no cloud account is needed.
Because the last generation of content platforms was designed for humans clicking through forms, not for agents composing entire sites on your behalf.
Headcode treats content as a first-class dataset your agents can query, diff, and evolve. Every field has a schema, every change has a review, and every agent has a scoped identity.
We shipped a 40-page marketing site in an afternoon by pairing Headcode with an agent. The humans just approved diffs.
Ready to build? Open the admin and create your first entry.