DocsAI — Product Requirements Document

public docs-ai v2 ·by andre ·Mar 22, 2026 productoreference

One-liner

AI-native client deliverable portal for agencies. AI agents publish markdown → clients see branded, access-controlled pages with view tracking. Open-source engine + hosted cloud (Vercel/Cal.com model).


The Problem

Every company using AI agents (Claude Code, Cursor, Copilot) generates markdown files that sit in git repos, invisible to anyone who doesn’t cat files in a terminal. The output is trapped.

The gap between “AI generated a great document” and “client can see it professionally” is manual work: copy to Notion, export to PDF, upload to Drive, send link. That manual step kills the speed advantage of AI.

For agencies specifically: multiple clients × multiple deliverables × need for branded, access-controlled output = an unsolved workflow.


The Insight

Documents shouldn’t be edited by humans anymore. They should be authored by AI agents and published automatically. The human’s job is to review, approve, and share — not to format, upload, and manage links.

The defensible version isn’t “we render markdown better” — it’s “the only platform purpose-built for agencies to publish AI-generated deliverables for clients, with workflow depth that documentation platforms won’t build.”

Analogy: DocSend meets GitBook, but for AI-native agencies. Content stays in git (zero vendor lock-in); the platform handles branding, access control, view tracking, agent-to-agent workflows, and the “last mile” to non-technical stakeholders.


Users & Personas

PersonaHow they interactPrimary need
AI Agent (Claude Code, Cursor, Codex, ChatGPT)API / MCP / CLI skill (/publish)Push markdown → get URL back. Discover capability via llms.txt + .well-known/*.
Team Member (agency staff)Web UI, light editingBrowse, organize, approve docs.
Client (external)Read-only branded viewSee deliverables professionally. Approve, comment, download.
Public visitorBlog / case study pagesSEO-friendly content, brand presence.

Priority order: AI Agent > Client reader > Team member > Public visitor.


Core Concepts

Document

A markdown (or MDX) file in a project folder with YAML frontmatter:

---
title: "Brand Guidelines — Acme Corp"
role: client
version: 3
author: andre
created: 2026-03-22
tags: [marketing, reference]
---

Body uses controlled tag taxonomy (Domain × Type, optional Subdomain) and can compose components from @cofoundy/ui when published as .mdx.

Project Space

Documents grouped by folder. Maps to URL: docs.cofoundy.dev/{role}/{project}/{slug}.

Access Roles


What’s shipped (V1, March 2026)


What’s coming next

V1.1 — Agent-Native Surface

Comply with emerging agent-discovery standards:

V2.0 — Stack Migration

Migrate to Next.js 15+ (App Router, RSC) to consume @cofoundy/ui design system natively. Unblocks visual richness, MDX components, and multi-tenant V3.

V2.1 — Visual Vocabulary

MDX docs compose components from @cofoundy/ui:

V2.2 — AI Capabilities Beyond Authoring

URL-driven AI features on every doc:

V2 — Workflow Loop

The actual moat:

V3 — Distribution & Open Source

OSS engine + hosted cloud (Vercel/Cal.com/Sentry/PostHog model):


Architecture (target state)

Agents (Claude Code / Cursor / Codex / ChatGPT / Hermes)

   ├──/publish skill, MCP, REST API


Next.js 15 (App Router, RSC, MDX)

   ├── @cofoundy/ui (design system: 70+ components)
   ├── Agent-native surface: llms.txt, openapi.json, .well-known/*
   ├── AI endpoints: translate, explain, summary, chat


Cloudflare Pages + D1 (permissions, analytics, comments, approvals) + R2 (assets)

   └── Cloudflare Access (OTP, OAuth, SSO V3)

Why this could be a startup

  1. Timing — AI coding agent adoption growing 25-28% CAGR. The volume of AI-generated markdown is exploding.
  2. Wedge — Agencies (Cofoundy = customer zero). No markdown-native tool serves this workflow today.
  3. Counter-positioning — Content stays in git, not proprietary blocks. Zero vendor lock-in.
  4. Moat is workflow — Per-client spaces, view tracking, approval flows, agent-to-agent handoff, white-label.
  5. OSS distribution — Differentiates from closed competitors (GitBook, Mintlify), builds community, defangs platform risk.
  6. Expansion — Agency deliverables → consulting → legal (contracts) → marketing (content) → any team using AI for external stakeholders.

Status

For the team-facing extended version (architecture details, risks, open questions, strategic decisions log), see /team/docs-ai/prd-full.