quickstart.md
docs/quickstart.md
Quickstart
<!-- translations:start -->
한국어 · 中文 · 日本語 · Русский · Español · Français · Deutsch
<!-- translations:end --> This page shows the shortest path from an existing project directory to a browsable Tesserae.
1. Run the setup wizard
From the project you want to index:
cd /path/to/my-project
tesserae project setup
The wizard detects common sources such as README.md, docs, src, lib, app, packages, and data, then writes .tesserae/config.json. It also configures the default Cognee backend so project ask can try Cognee and fall back to compiled wiki search.
For a fully automated setup with Understand Anything and Cognee runtime memory enabled:
tesserae project setup \
--yes \
--with-understand-anything \
--install-understand-anything \
--understand-anything-platform codex \
--with-raganything \
--install-raganything \
--raganything-parser mineru \
--run-raganything \
--run-cognee \
--install-cognee
What that does:
| Flag | Effect |
|---|---|
--with-understand-anything | Adds the UA graph projection as a source. |
--install-understand-anything | Installs/updates the UA companion skills. |
--understand-anything-platform codex | Uses Codex to run Tesserae's managed UA refresh wrapper. |
--with-raganything | Enable multimodal ingestion via RAG-Anything. |
--install-raganything | Install raganything[all] during setup. |
--raganything-parser | Parser choice: mineru (default), docling, paddleocr. |
--run-raganything | Auto-refresh RAG-Anything on every compile. |
--run-cognee | Runs best-effort Cognee runtime cognify during compile. |
--install-cognee | Installs Cognee with the current Python if missing. |
Users do not need to know the UA install path or type /understand; project compile runs project refresh-understand-anything when the UA graph is missing or stale.
2. Compile the graph and projections
tesserae project compile
project compile writes the durable artifacts:
.tesserae/
config.json
graph.json
manifest.json
sqlite.db
temporal_facts.jsonl
graphiti_episodes.jsonl
report.md
competitive_report.md
markdown_projection/
obsidian_vault/
agent_harness/
harness_sessions/
site/
cognee_bundle/
Use --changed-only after the first run to skip unchanged markdown files while preserving the previous graph when no files changed. If Understand Anything is enabled, compile first refreshes/materializes .tesserae/external/understand-anything.md; if Cognee runtime is enabled, it also updates Cognee best-effort after writing .tesserae/cognee_bundle/.
3. Build and serve the static frontend
tesserae project build-site
tesserae project serve --port 8765
Open:
http://127.0.0.1:8765/
<!-- BEGIN: subagent-r-watch -->
Auto-rebuild on save
Pair the dev server with a polling watcher so edits under data/ and docs/ trigger an incremental recompile:
# terminal 1
python3 -m http.server 56821 --directory .tesserae/site
# terminal 2
tesserae project watch
project watch polls every 2 s, debounces 1 s, and runs compile --changed-only. Use --once for cron-style rebuilds (snapshots vs .tesserae/.watch-cache.json), --paths <dir> to add custom watch dirs, and --interval / --debounce to tune cadence. <!-- END: subagent-r-watch -->
For an annotated tour of every visible route — home, sources, concepts, entities, papers, repos, topics, syntheses, questions, timeline, graph, plus the AI siblings — see