Quick Start¶
Get up and running with Compendium in 5 minutes.
1. Initialize Configuration¶
Configure your LLM provider (OpenAI, Azure OpenAI, or any OpenAI-compatible endpoint):
This interactive command will prompt you for: - Base URL (API endpoint) - API key - Model name
The configuration is saved to ~/.compendium/llm-config.json plus your
OS credential store — the same store the Web UI's Settings page uses, so
whichever one you configure through, the other picks it up too.
2. Create a Bundle¶
A bundle is a directory containing OKF concepts. Create one:
This scaffolds .compendium/config.json (the concept types this bundle
recognizes), an index.md, and one seed concept
(systems/example-system.md) showing the expected shape — replace or
delete it once you have real concepts.
3. Ingest Documents¶
Ingest existing documentation into the bundle:
This creates OKF concepts from your source files.
4. Start the Web UI¶
Launch the Blazor web interface:
# Build the web server (first time only)
./build.sh --target=PublishWeb # Linux/macOS
.\build.ps1 -Target PublishWeb # Windows
# Run the server
./bin/web/Compendium.Web # Linux/macOS
.\bin\web\Compendium.Web.exe # Windows
Open http://localhost:5050 in your browser.
5. Chat with the Agent¶
Via Web UI¶
- Navigate to http://localhost:5050
- Click "Load Bundle" and select your bundle directory
- Go to "Settings" and configure your LLM
- Go to "Chat" and start asking questions
Via CLI¶
Example queries:
- "List all concepts"
- "What systems are documented?"
- "Show me integrations that read from the CoreDB database"
Common Workflows¶
Ingest Data Maps¶
Ingest from Multiple Sources¶
# SharePoint exports
compendium ingest --source sharepoint-export/ --bundle my-catalog --type Document
# Architecture diagrams
compendium ingest --source diagrams/ --bundle my-catalog --type "Architecture Diagram"
# Email archives
compendium ingest --source emails.ost --bundle my-catalog --type Email
Review and Approve Drafts¶
- Open http://localhost:5050/review
- Review auto-generated concepts
- Approve (marks as
stable) or reject
Enable Agent Curation¶
By default, the agent has read-only access. To enable write access:
This gives the agent access to:
- CreateConcept — mint new concepts
- UpdateConceptBody — edit concept content
- AddLink — create relationships
- FlagForReview — mark concepts for human review
Agent-created content stays draft
The agent can never promote concepts to stable — only humans can do that.
Next Steps¶
- Configuration Guide — Advanced LLM settings
- User Guide — Understanding OKF concepts
- Data Maps — Field-level lineage tracking