create-lancelot
v1.1.9
Published
Install and configure Lancelot — your AI-powered autonomous agent
Maintainers
Readme
create-lancelot
Single-command installer for Project Lancelot — your AI-powered autonomous agent.
Usage
npx create-lancelotThe installer guides you through the entire setup process:
- Prerequisites check — Node.js, Git, Docker Desktop, Docker Compose, disk space, RAM, GPU detection
- Install location — choose where to install Lancelot
- LLM Provider — select Gemini (recommended), OpenAI, or Anthropic and enter your API key
- Communications — configure Telegram, Google Chat, or skip
- Repository clone — pulls the latest Lancelot from GitHub
- Configuration — generates
.env, patchesdocker-compose.ymlfor your system - Model download — downloads the 5GB local utility model (with progress bar and resume support)
- Docker build & start — builds images, starts services, waits for health check
- Done! — War Room is live at
http://localhost:8000/war-room
Options
| Flag | Description |
|------|-------------|
| -d, --directory <path> | Installation directory (default: ./lancelot) |
| --provider <name> | Pre-select provider: gemini, openai, or anthropic |
| --skip-model | Skip the local model download |
| --resume | Resume an interrupted installation |
Features
- Cross-platform: Windows, macOS, and Linux
- Resume support: Ctrl+C during install, then
npx create-lancelot --resumeto continue - GPU detection: Automatically detects NVIDIA GPUs and configures GPU layers
- API key validation: Validates your API key against the provider's API before proceeding
- Smart patching: Adjusts
docker-compose.ymlfor your hardware (removes GPU blocks if no NVIDIA GPU) - Onboarding bypass: Writes the onboarding snapshot so the War Room is ready immediately — no setup wizard
Requirements
- Node.js 18+ (for
npx) - Git (to clone the repository)
- Docker Desktop (or Docker Engine + Compose v2 on Linux)
- 10+ GB disk space (5GB model + Docker images)
- 8+ GB RAM (recommended)
Development
cd installer
npm install
node bin/create-lancelot.mjs --helpLicense
MIT — See the main Lancelot LICENSE for details.
