Go to file
Hongming Wang a620e5a7a3 docs: comprehensive content for all 15 documentation pages
Previously 7 pages were stubs ("Coming soon"). Now all 15 have full content:

- index.mdx: SaaS subdomain table, runtime adapters, MCP/SDK links
- quickstart.mdx: 3 setup options (dev-start.sh, docker-compose, manual), SaaS alternative
- concepts.mdx: added external agents, Lark channel, tokens, MCP integration
- architecture.mdx: system diagram, 4 components, infra services, health detection, deployment modes
- api-reference.mdx: all 80+ routes across 19 categories with auth requirements
- channels.mdx: Telegram, Slack, Lark/Feishu adapters with config examples
- plugins.mdx: two-axis model, 12 built-in plugins, install safeguards
- schedules.mdx: cron syntax, concurrency handling, supervision, org template examples
- org-template.mdx: YAML structure, defaults layer, plugin UNION, template registry
- self-hosting.mdx: dev-start.sh, docker-compose, env vars, production deployment
- observability.mdx: activity logs, Langfuse, Prometheus, liveness, WebSocket events
- troubleshooting.mdx: 10 common issues with fixes

Build verified: 19/19 static pages generated.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-16 10:05:12 -07:00
app feat: add External Agents, Token Management, MCP Server docs 2026-04-16 09:14:45 -07:00
content/docs docs: comprehensive content for all 15 documentation pages 2026-04-16 10:05:12 -07:00
lib feat: add External Agents, Token Management, MCP Server docs 2026-04-16 09:14:45 -07:00
.gitignore init: scaffold doc.moleculesai.app with Fumadocs + Next.js 15 2026-04-14 21:01:17 -07:00
mdx-components.tsx init: scaffold doc.moleculesai.app with Fumadocs + Next.js 15 2026-04-14 21:01:17 -07:00
next.config.mjs init: scaffold doc.moleculesai.app with Fumadocs + Next.js 15 2026-04-14 21:01:17 -07:00
package-lock.json feat: add External Agents, Token Management, MCP Server docs 2026-04-16 09:14:45 -07:00
package.json feat: add External Agents, Token Management, MCP Server docs 2026-04-16 09:14:45 -07:00
postcss.config.mjs init: scaffold doc.moleculesai.app with Fumadocs + Next.js 15 2026-04-14 21:01:17 -07:00
README.md init: scaffold doc.moleculesai.app with Fumadocs + Next.js 15 2026-04-14 21:01:17 -07:00
source.config.ts init: scaffold doc.moleculesai.app with Fumadocs + Next.js 15 2026-04-14 21:01:17 -07:00
tsconfig.json feat: add External Agents, Token Management, MCP Server docs 2026-04-16 09:14:45 -07:00

Molecule AI Documentation

The customer-facing documentation site for Molecule AI, deployed at doc.moleculesai.app.

Built with Fumadocs + Next.js 15 (App Router) + Tailwind v4 + MDX.

Why Fumadocs

  • Open source (MIT) — we self-host on our own domain, no vendor lock-in
  • Next.js 15 native — matches the canvas stack already in the platform monorepo
  • Flexible — can grow into custom doc components for our agent canvas flows, embedded mini-canvases in docs, etc.
  • Modern aesthetic — Shiki code highlighting, full-text search, dark mode, all out of the box

Local development

npm install
npm run dev

Visit http://localhost:3000.

Adding pages

  1. Create a new .mdx file under content/docs/.
  2. Add an entry to content/docs/meta.json to control sidebar ordering.
  3. Frontmatter: title and description are required.
---
title: My new page
description: One-line summary used in nav + meta tags.
---

Content goes here.

Repository layout

.
├── app/                    # Next.js App Router routes
│   ├── (home)/             # marketing landing
│   ├── docs/[[...slug]]/   # docs dynamic route
│   ├── api/search/         # built-in full-text search
│   ├── layout.tsx          # root layout + RootProvider
│   └── layout.config.tsx   # nav links shared by home + docs
├── content/docs/           # MDX source — the actual documentation
│   ├── meta.json           # sidebar order
│   ├── index.mdx           # docs landing
│   └── *.mdx               # one file per page
├── lib/source.ts           # Fumadocs loader bound to the MDX source
├── mdx-components.tsx      # default + custom MDX renderers
├── source.config.ts        # MDX compile config (remark/rehype plugins)
├── next.config.mjs         # Next config wrapped with createMDX
├── postcss.config.mjs      # Tailwind v4 postcss plugin
└── package.json

Who maintains this

The Documentation Specialist agent in our molecule-dev org template owns this repo end-to-end. It runs on a schedule, watches PRs landing in the platform monorepo, and opens docs PRs here whenever:

  • A new public API endpoint lands
  • A new template / plugin / channel is added
  • A user-facing concept changes
  • An ecosystem-watch entry needs publishing

Manual edits welcome. The agent picks up changes on its next cron tick.

Deployment

This site is deployed to doc.moleculesai.app via Vercel (TBD — once the domain is configured). PRs to main ship to preview URLs automatically.

Contributing

Open a PR. The Documentation Specialist + a human reviewer will look at it within one cron tick (currently daily).