Tangen

A code-first, type-safe headless CMS with a real admin and native AI. Define it in TypeScript, run it on any framework, and own every layer.

In private beta. Free and open source, MIT licensed, works with any framework.

app/content-objects/post/schema.ts
// Your content model is TypeScript. Reviewed, versioned, pushed.
import { defineObjectType, field } from '@tangen/cms'

export default defineObjectType({
  name: 'post',
  localized: true,
  fields: {
    title:  field.text({ required: true }),
    body:   field.richtext({ localized: true }),
    author: field.relation({ targetType: 'author' }),
  },
})
One content core powers every surface you build. Websites, mobile apps, native iOS and Android, even IoT, all over REST, GraphQL, or a typed SDK.
  • Next.js
  • Astro
  • Nuxt
  • SvelteKit
  • React Native
  • Flutter
  • iOS
  • Android
  • IoT

Why Tangen

AI-native, not bolted on

Queue as much as you need. We work through it one request at a time.

Schemas as TypeScript

Most requests land within two working days. Larger work is planned with you.

Typed end to end

Types flow from schema to SDK. A wrong field breaks the build at your desk, not production.

Workspaces and environments

Many workspaces, one install. Dev, staging and production, data-isolated. Push per environment, promote when ready.

Live preview, included

Editors see drafts render on the real site as they type. AI edits preview too, from the same state.

Batteries included

Roles, localisation, flows, jobs, webhooks, media, forms and a full admin. All optional, never in your way.

Built on Bun and Elysia

Tangen runs on Bun and Elysia, a modern runtime and a Bun-native web framework, both built for speed. You feel it in the small moments that add up: installs, cold starts, and requests that come back before you blink.

The figures below are from Bun’s published benchmarks. Real numbers depend on your project and machine.

30x

faster installs v/s npm

4x

faster startup v/s Node.js

0

build step, native TypeScript

1

toolchain, runtime to tests

See it in action

This is what your team works with daily, not just a monotonous wall of settings.

  • Live preview in the Tangen admin

    Live preview

    See the page as you write it.

    Edit content and watch it render on your real site in real time. No publish-and-refresh loop, and no premium add-on to unlock it.

  • Schema builder in the Tangen admin

    Schema builder

    Model content without leaving browser.

    A visual builder that writes real TypeScript back to your repo, so designers and developers stay in sync on one schema.

  • AI assistant in the Tangen admin

    AI assistant

    Describe it. Watch it build.

    Ask for a type, a draft or an image and the assistant writes into the same draft your editors see, previewing live as it goes.

Made to be loved

Whether you build by talking to an agent or by writing every line yourself, Tangen meets you where you are, and never makes you choose.

For vibe coders

Talk to your project. Watch it build.

  • Describe to build.

    Explain a feature in plain English and get real schema and drafts you confirm.

  • Content AI.

    Generate and fill fields, rewrite copy and draft entries, all inside the editor.

  • Bring your agent.

    Point Claude Code or Cursor at it over MCP and let it model, seed and wire content.

  • Instant feedback.

    AI edits stream straight into live preview, so you watch the result as it happens.

For serious coders

Own every layer, typed from schema to query.

  • Typed SDK.

    A fully typed client where a wrong field is a compile error, not a runtime surprise.

  • TangenQL.

    A clean, expressive query language for filtering, sorting and relations across REST and GraphQL.

  • API playground.

    Explore and test the REST and GraphQL API right in the admin, with real auth.

  • Code-first, in git.

    Schemas, routes and config are TypeScript in your repo. Review them, version them, ship them.

AI-native

  1. Agent tools, permission-scoped

    Agents call list_types, search, create and publish through the Model Context Protocol. Every call is bounded by the key’s grants, and every write is attributable.

  2. RAG over your content

    Published content is indexed as you publish it, so assistants answer from what your team wrote, with sources.

  3. Describe it, and it builds

    Say what you need in plain words and Tangen drafts the type, its fields and sample entries for you to confirm.

How Tangen compares

Tangen borrows the best ideas from the tools you already know, adds an AI-native core, and then gets out of your way on pricing.

vs Supabase & BaaS

A database, plus the CMS.

Supabase nails the database and APIs, then leaves the content layer to you. Tangen ships that layer: typed content, a real admin, localisation and AI, all ready to use.

vs Payload & code-first CMS

Code-first, and AI-native.

Like Payload and Strapi, Tangen is code-first, TypeScript and self-hosted. It adds a framework-agnostic admin and native AI, with MCP and RAG in the box, not a plugin.

vs hosted SaaS CMS

Yours, with no paywalls.

Contentful, Sanity and Contentstack rent you a platform. Tangen you own outright: no per-seat pricing, no metered calls and no paywall on preview, roles or environments.

Comparisons reflect the common positioning of each tool and are meant to help you choose, not to knock anyone. Every product named here is excellent at what it set out to do.

How it works

From npm install to a running blog backend, with a typed API and an admin, in about ten minutes.

  1. Define

    Model your content in TypeScript. Types, fields, relations and localisation, all living in your repo.

  2. Push

    Run tangen push to migrate your database and generate types. Idempotent, reviewable and per environment.

  3. Build

    Query over REST, GraphQL or the typed SDK from any framework. Then hand the same project to your AI.

  4. Deploy

    Self-host anywhere you already run things. Any cloud, any region, your infrastructure, your data.

Define a content type, push it, and query it from anywhere, with your own AI agent doing the rest. Request access and we will get you set up.