Skip to content

Lemon Documentation ​

Lemon is a self-hosted assistant and a deterministic simulation platform. This index follows the site navigation: Getting started, User guides, Configuration & CLI reference, Integrations & channels, and Developers & contributors, plus LemonSim & benchmarks. Source modules and tests define implementation APIs.

Getting started ​

GoalGuide
Install and get a first model-backed answerQuickstart
Choose a supported install or source checkoutInstall
Configure providers, secrets and channelsSetup
Explore the assistant on real workDemo
Update safely, or roll backSafe updates
Understand current limitsCapabilities and support
Understand why Lemon runs on the BEAMWhy BEAM for agents
Watch a keyless simulationLemonSim UI

User guides ​

Configuration and CLI reference ​

The obsolete skills-v2 roadmap is consolidated into the manifest and skills references. The former introductory tour is consolidated into the architecture overview and the app guides below, rather than keeping a second runtime catalog.

Integrations and channels ​

Developers and contributors ​

LemonSim and benchmarks ​

Documentation site ​

Markdown is the source of truth. The VitePress site uses Node.js 24 LTS+, Python 3, and Bun 1.3.14+ for the TUI command-reference drift check. From the repository root:

bash
npm --prefix docs ci
npm --prefix docs run dev
npm --prefix docs run build
scripts/verify_docs_site

Both dev startup and build generate docs/public/llms.txt and llms-full.txt through scripts/generate_docs_llms.py. These assets are ignored, not committed; VitePress copies them into the site root. The generator fails if a curated page is missing. Its optional --check compares already generated files, not the git index. No clean-tree generated diff is required.

bun clients/tui/scripts/generate-commands-doc.ts regenerates the committed TUI command reference without connecting to a daemon. Pass --check to fail on drift. verify_docs_site runs this check in the original checkout (the registry is its source), keeping documentation drift in the docs gate rather than only the client lane. Install TUI dependencies with bun install --frozen-lockfile --cwd clients/tui if needed.

The same gate checks every Markdown page against the actual VitePress sidebar. Add user-facing pages to the matching section of the sidebar in docs/.vitepress/config.js (Getting started, User guides, Configuration & CLI reference, Integrations & channels, Developers & contributors, or LemonSim & benchmarks); intentionally unlisted contributor/internal pages need a reason in scripts/check_docs_navigation.mjs. Hidden directories, generated, node_modules, and public are excluded.

verify_docs_site copies docs and the generator into a temporary workspace, installs locked dependencies, runs source-link tests, builds, checks both output assets, then runs the shared Markdown link-check entrypoint against the original checkout so repository-relative links resolve. npm --prefix docs run link-check uses that same recursive entrypoint, including root-level docs pages. CI uses the same npm build/link commands. Links to repository files are rewritten for the website; the site is served at the root of https://lemon.food/.

Update the canonical page for a changed behavior, not four prose copies. Keep contributor guides operational, API detail in moduledocs, and workflows here. When consolidating a page, migrate its inbound links and site navigation. Existing Excalidraw/SVG diagrams are supporting illustrations; the architecture overview and generated dependency table are the current app/boundary inventory.

Released under the MIT License.