Skip to contentNew postv0.25 is out: agent-ready content, from 56 to 81

Agent-ready content pipeline

Markdown in.
TypeScript out.

You own your website's content.
qino makes it type-safe.

Join the Cloud waitlist

What developers say

I thought using Markdown for content would be easy. Then I saw how much wiring and formatting it takes.... qino just handles all of that, amazing tool!

Jeremy Marcillaud

Jeremy Marcillaud

Fullstack Engineer, Rainbow

Why qino, and why now?

In the AI era, it makes less and less sense to keep your content apart from your code, for one simple reason: agents are only as good as the data you give them.

Agents already read your code, grep it, edit it, and open PRs, without asking permission. Your content deserves the same. Behind someone else's API, it adds friction and limits what your agents can do.

As Lee Robinson wrote after moving Cursor's site from a CMS to Markdown: "With AI and coding agents, the cost of an abstraction has never been higher."

Markdown is a fantastic format for content, and LLMs love it. But on its own, it has two problems:

  • No guardrails. Without structure, content quickly becomes a mess.
  • No editor. Non-developers can't publish without a developer.

qino solves both. Define your content with Zod schemas and query it with end-to-end types, in any framework. qino check validates every edit your agents make, and the cloud editor lets everyone else publish without touching code.

With qino, you own your content layer without giving up the convenience of a cloud CMS.

Let your agent set it up today!

qino takes minutes to set up

qino works with what you already have: Markdown files in your repo, a TypeScript config, and your framework of choice.

01 — Markdown on disk

.
├── content
│   ├── posts
│   │   ├── hello-world.md
│   │   └── typed-content.md
│   └── authors
│       ├── camille-laurent.json
│       └── jonas-weiss.json
├── qino
│   ├── collections
│   │   ├── posts.ts
│   │   └── authors.ts
│   └── index.ts
└── src
    └── ...

02 — qino

const postsCollection = qino.defineCollection({
  directory: "/posts",
  extension: ".md",
  schema: PostSchema,
  relations: {
    author: authorsCollection,
  },
});

03 — In your app

await postsCollection.getEntries();

// [
//   {
//     title: "Hello world",
//     author: { name: "Camille Laurent" },
//     _meta: { slug: "hello-world" },
//   },
//   {
//     title: "Typed content",
//     author: { name: "Jonas Weiss" },
//     _meta: { slug: "typed-content" },
//   },
// ]

Supported file types

Reads the files
you already have

Markdown

MDX

JSON

Same URL. HTML for people, Markdown for agents.

Hand your route's request to negotiateMarkdown, and the page's own URL answers in Markdown when the Accept header prefers it. Prerendered sites get the same through a host rewrite.

Browser

GET /docs/concepts/relations
Accept: text/html

HTTP/2 200
content-type: text/html; charset=utf-8
vary: Accept

<!DOCTYPE html><html lang="en" class="dark">…

Agent

GET /docs/concepts/relations
Accept: text/markdown

HTTP/2 200
content-type: text/markdown; charset=utf-8
vary: Accept

---
title: "Relations"
description: "Typed references between entries and how they resolve."
canonical: "https://www.qino.works/docs/concepts/relations"
---

# Relations

> Typed references between entries and how they resolve.

Built from your source

Page Markdown comes from your content files, not scraped HTML. You decide what each MDX component becomes.

A Markdown URL for each page

Each page you declare gets one, such as /blog/hello-world.md. An unknown slug gets a Markdown 404 that links to llms.txt.

An llms.txt that keeps up

qino build writes llms.txt and llms-full.txt from your template and the pages you declare.

Three ways to model content

Collection

Unordered list of of entries

A flat folder of similarly shaped entries such as posts/*.md. Great for blog posts, events, team members, etc. Views filter, sort and paginate.

Read more about collections
Tree

Hierarchy and order, first-class

Nested folders with anchor files and _order.json. Great for docs, guides or a knowlegde base. Build a sidebar without validating a single body.

Read more about trees
Item

One file with its own role

A single file, such as pages/home.md, with a unique schema. Great for pages or navigation.

Read more about items

qino makes your content a relational database.

Declare a relation and a frontmatter string becomes a typed foreign key. Any primitive can point at any other; the view decides how many hops resolve, up to 6.

qino/posts.ts
const postCollection = qino.defineCollection({
  directory: "/posts",
  extension: ".md",
  schema: z.object({
    title: z.string(),
    author: z.string(),
    categories: z.array(z.string()),
    tags: z.array(z.string()),
  }),
  relations: {
    author: authorCollection,
    "categories[*]": categoryCollection,
    "tags[*]": tagCollection,
  },
});
posts.author
authors
posts.categories[*]
categories
posts.tags[*]
tags

A broken relation should fail the build, not the page.

When a view resolves a relation, qino checks that the linked entry exists. If it doesn't, the build fails, so broken links never ship.

One command between your content and a broken build.

The CLI runs before your framework does, so content errors surface in the terminal instead of at request time.

qino build

Generate types

Checks every definition, validates every content file against its schema, and writes qino/_generated/types.d.ts. Add it to your prebuild script in package.json and every deploy is gated on valid content.

qino check

Validate content only

Fast feedback in CI or on save. Relation fields are treated as ordinary strings and are not followed.

qino lint

Validate definitions only

Checks that content and media folders exist, that no two primitives own overlapping paths, and that relations target the same instance.

Let your agent set it up.

Install the qino skill, then ask your coding agent to set up qino. It models the content you already have into collections, trees, and items, wires qino build into your build, and keeps going until it passes.