First Run
Initial Setup
On first boot, Liteskill:
- Validates the encryption key (
ENCRYPTION_KEYenv var or auto-generated in desktop mode) - Creates ETS tables for rate limiting and LLM token buckets
- Ensures a root admin user exists (
[email protected]) - Bootstraps system RBAC roles
- Ensures environment-configured providers are created (e.g. AWS Bedrock via
AWS_BEARER_TOKEN_BEDROCK) - Loads application settings
Admin Setup
Navigate to http://localhost:4000/setup to set the admin password. This route is only available when the admin user hasn’t been configured yet.
After setup, log in at http://localhost:4000/login.
Configuring LLM Providers
Before you can chat, configure at least one LLM provider:
- Go to Admin > Providers (
/admin/providers) - Add a provider (e.g. Amazon Bedrock, OpenRouter, or any OpenAI-compatible endpoint)
- Go to Admin > Models (
/admin/models) and add models under that provider
Users can also add personal providers at Profile > Providers (/profile/providers).
Configuring MCP Servers
To enable tool calling:
- Go to MCP Servers (
/mcp) - Add an MCP server URL with optional API key and custom headers
- The server’s tools will be available in conversations when selected
Configuring RAG
To enable document-augmented conversations:
- Go to Admin > RAG (
/admin/rag) and configure the default embedding model - Navigate to Sources (
/sources) to create collections and add documents - Documents are automatically chunked and embedded for semantic search