quickstart.ko.md
docs/i18n/quickstart.ko.md
빠른 시작
<!-- translations:start -->
English · 한국어 · 中文 · 日本語 · Русский · Español · Français · Deutsch
<!-- translations:end --> 이 페이지는 기존 프로젝트 디렉터리에서 탐색 가능한 Tesserae까지 가는 가장 짧은 경로를 보여줍니다.
명령 개요
CLI는 그룹으로 구성됩니다. 최상위에 몇 개의 일상 동사가 있고, 나머지는 그룹 (sessions, vault, export, code, config, projects, integrations, lab)으로 묶여 있습니다. 전체 트리를 보려면 tesserae --help를 실행하세요.
usage: tesserae <command> [options]
EVERYDAY
init Set up .tesserae (wizard by default; --yes non-interactive)
compile Rebuild the knowledge graph (compile [paths] = ad-hoc ingest)
context Compile agent-ready context for a query
ask Ask the project memory a question
serve Browse the compiled site (auto-builds if missing)
status Node/edge counts, last compile, vault state
AUTOMATION
engine Refresh daemon: watch sessions/sources, coalesced recompiles
refresh One-shot: import sessions + compile + sync vault
research Autonomous research mode: investigate a query
ANALYSIS
query Raw retrieval over the graph (top-k, kind filters)
lint Graph lint report (--fix-trivial, --severity, --json)
GROUPS
sessions import | discover | list — agent session history
vault sync | sync-all | set-root | export | prune — Obsidian projection
export harness | graphiti | site — artifact exports
code ingest | sync — CodeGraph ⇄ project graph (hook-invoked)
config llm | show — machine-wide defaults (~/.tesserae/config.json)
projects register | list | activate | unregister | mcp-config — registry
integrations refresh raganything|understand-anything
extract Low-level: extract a typed graph from markdown paths
LAB
lab evolve | schema-drift — experimental LLM ops
Run `tesserae <command> --help` for command details.
개별 명령의 flag를 보려면 tesserae <command> --help(예: tesserae compile --help)를 실행하세요.
1. 설정 마법사 실행
색인화하려는 프로젝트에서:
cd /path/to/my-project
tesserae init
마법사는 README.md, docs, src, lib, app, packages, data 같은 일반적인 source를 감지한 뒤 .tesserae/config.json을 씁니다. 또한 기본 Cognee backend를 설정하여 tesserae ask가 Cognee를 시도하고 compiled wiki search로 fallback할 수 있게 합니다.
비대화형 설정(CI, 스크립트)을 원하면 --yes를 전달해 프롬프트 없이 감지된 기본값을 그대로 수락합니다.
tesserae init --yes
Understand Anything과 Cognee runtime memory를 활성화한 완전 자동 설정:
tesserae init \
--yes \
--with-understand-anything \
--install-understand-anything \
--understand-anything-platform codex \
--with-raganything \
--install-raganything \
--raganything-parser mineru \
--run-raganything \
--run-cognee \
--install-cognee
수행 내용:
| Flag | Effect |
|---|---|
--with-understand-anything | UA graph projection을 source로 추가합니다. |
--install-understand-anything | UA companion skills를 설치/업데이트합니다. |
--understand-anything-platform codex | Codex를 사용해 Tesserae의 managed UA refresh wrapper를 실행합니다. |
--with-raganything | RAG-Anything을 통한 multimodal ingestion을 활성화합니다. |
--install-raganything | 설정 중 raganything[all]을 설치합니다. |
--raganything-parser | 파서 선택: mineru(기본값), docling, paddleocr. |
--run-raganything | 모든 compile에서 RAG-Anything을 자동 refresh합니다. |
--run-cognee | compile 중 best-effort Cognee runtime cognify를 실행합니다. |
--install-cognee | Cognee가 없으면 현재 Python으로 설치합니다. |
사용자는 UA install path를 알거나 /understand를 입력할 필요가 없습니다. UA graph가 없거나 오래되면 tesserae compile이 tesserae integrations refresh understand-anything을 실행합니다.
마법사 건너뛰기.
tesserae init --bare는 source 감지나 backend 프로빙 없이 최소한의.tesserae/config.json만 씁니다. 첫 compile 전에 config를 직접 편집하고 싶을 때 유용합니다.
2. 그래프와 projection 컴파일
tesserae compile
compile은 durable artifact를 씁니다.
.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/
첫 실행 후에는 --changed-only를 사용해 변경되지 않은 markdown 파일을 건너뛰면서, 파일 변경이 없을 때 이전 graph를 보존할 수 있습니다. Understand Anything이 활성화되어 있으면 compile은 먼저 .tesserae/external/understand-anything.md를 refresh/materialize합니다. Cognee runtime이 활성화되어 있으면 .tesserae/cognee_bundle/ 작성 후 best-effort로 Cognee도 업데이트합니다.
구성된 source를 건드리지 않고 추가 경로를 ad-hoc으로 ingest하려면 위치 인자로 전달하세요: tesserae compile path/to/extra.md docs/.
통합 옵션은 이제 config에 있습니다
tesserae compile은 일상 flag(위치 인자 paths, --project, --changed-only, --limit, --refresh-integrations, --sessions/--no-sessions, 그리고 3개의 LLM flag)로 의도적으로 제한됩니다. 그 외 이전의 모든 compile flag는 .tesserae/config.json의 compile_options 블록으로 이동했습니다. 이전 argparse 기본값이 여전히 fallback입니다. 동작을 바꾸려면 해당 키를 설정하세요.
compile_options 키 | 이전 flag | 기본값 | 설명 |
|---|---|---|---|
source_kind | --source-kind | (없음) | 구성된 source kind를 재정의합니다. |
trends | --trends | false | corpus 수준 Trend 노드를 추가합니다. |
min_trend_sources | --min-trend-sources | 2 | Trend 노드에 필요한 최소 source 수. |
exclude_data | --exclude-data | false | 암시적 project_root/data 자동 포함을 건너뜁니다. |
no_vault_pull | --no-vault-pull | false | compile 전에 기존 vault 편집을 다시 pull하지 않습니다. |
use_extraction_feedback | --use-extraction-feedback | false | 이전 extraction 결과를 다시 입력으로 사용합니다. |
sessions_llm | --sessions-llm | (auto) | LLM 세션 추출 모드(auto/true/false). |
sessions_model | --sessions-model | (없음) | 세션 추출에 사용하는 LLM 모델을 재정의합니다. |
cognee_add | --cognee-add | false | Cognee bundle을 dataset에 추가합니다(cognify 없음). |
cognee_cognify | --cognee-cognify | false | bundle을 추가하고 Cognee cognify를 실행합니다. |
cognee_codex_cognify | --cognee-codex-cognify | false | Cognee의 LLM client를 Codex로 패치해 cognify를 실행합니다. |
cognee_codex_model | --cognee-codex-model | gpt-5.4 | cognee_codex_cognify용 Codex CLI 모델. |
cognee_codex_timeout | --cognee-codex-timeout | 300 | Codex CLI 호출당 timeout(초). |
cognee_dataset | --cognee-dataset | tesserae_research_graph | Cognee dataset 이름. |
cognee_embedding_provider | --cognee-embedding-provider | deterministic | Cognee lane의 embedding provider. |
cognee_ollama_embedding_model | --cognee-ollama-embedding-model | qwen3-embedding:0.6b | Ollama embedding 모델. |
cognee_ollama_embedding_endpoint | --cognee-ollama-embedding-endpoint | http://127.0.0.1:11434/api/embed | Ollama /api/embed endpoint. |
cognee_ollama_embedding_timeout | --cognee-ollama-embedding-timeout | 120 | Ollama embedding 요청 timeout(초). |
cognee_local_embedding_dimensions | --cognee-local-embedding-dimensions | 128 | 로컬 embedding 차원 수. |
cognee_system_root | --cognee-system-root | (없음) | 격리된 Cognee system root 디렉터리. |
cognee_data_root | --cognee-data-root | (없음) | 격리된 Cognee data root 디렉터리. |
원샷 파이프라인.
tesserae refresh는 전체 루프를 in-process로 실행합니다. 즉, 새 agent session을 import하고, compile하고, vault를 sync하는 작업을 하나의 명령으로 처리합니다. opt-in 증분 compile에는--changed-only를 사용하세요.
3. 정적 frontend 빌드 및 제공
serve는 site가 없으면 자동으로 빌드하므로, 단일 명령으로 탐색 가능한 Tesserae를 얻을 수 있습니다.
tesserae serve --port 8765
열기:
http://127.0.0.1:8765/
site를 명시적으로 빌드하려면(예: 제공 없이 배포할 때) export site를 사용하세요. 이미 빌드된 site를 다시 빌드하지 않고 탐색하려면 serve에 --no-build를 전달합니다.
tesserae export site
tesserae serve --no-build --port 8765
<!-- BEGIN: subagent-r-watch -->
저장 시 자동 재빌드
개발 서버를 내장 watcher와 함께 사용하면 data/ 및 docs/ 아래 편집이 incremental recompile을 트리거합니다.
# terminal 1
python3 -m http.server 56821 --directory .tesserae/site
# terminal 2
tesserae export site --watch
export site --watch는 2초마다 polling하고 1초 debounce 후 compile --changed-only를 실행합니다. cron 스타일 rebuild에는 --once(snapshots vs .tesserae/.watch-cache.json), custom watch dir 추가에는 --paths <dir>, cadence 조정에는 --interval / --debounce를 사용하세요. <!-- END: subagent-r-watch -->
refresh daemon 실행
소스를 감시하고, 편집 burst를 합치며, 자동으로 recompile하여 지식 베이스를 스스로 항상 최신으로 유지하는 상시 엔진을 원한다면 supervised daemon을 시작하세요.
tesserae engine
engine은 장기 실행 supervisor입니다. 2초마다 polling하고, 각 rebuild 전에 1초의 정적 구간을 기다립니다. cadence는 --interval과 --debounce로 조정하고, 다른 프로젝트를 대상으로 하려면 --project를, 단일 결정적 drain 사이클을 실행하고 종료하려면(cron이나 CI에 유용) --once를 사용하세요. 이는 export site --watch의 무인 버전입니다. 계속 실행해 두면 작업하는 동안 graph, vault, site가 최신 상태로 유지됩니다.
보이는 모든 route(home, sources, concepts, entities, papers, repos, topics, syntheses, questions, timeline, graph, AI siblings)에 대한 주석 달린 tour는