Quick start
This guide will help you get Docbot up and running quickly. You’ll set up Qdrant, initialize your project, index your docs, and run your first documentation task.Prerequisites
Before starting, ensure you have:- Bun installed (version 1.3.0 or higher)
- Docker installed (for local Qdrant)
AI_GATEWAY_API_KEYenvironment variable set
You can get an AI Gateway API key from Vercel AI Gateway. This is required for Docbot to function.
Step 1: Start Qdrant
Docbot requires Qdrant for vector storage. Start a local Qdrant instance using Docker:Step 2: Initialize Docbot
Navigate to your project directory and run the init command:- Create a
.docbot/directory for local state - Generate a
docbot.config.jsoncconfiguration file - Set up Qdrant collections based on your project name
- Add
.docbot/to your.gitignore - Optionally start a Qdrant Docker container for you
Configuration example
After initialization, yourdocbot.config.jsonc will look like this:
Step 3: Index your documentation
Index your docs and codebase to enable semantic search:If you’ve configured
paths.docs and paths.codebase in your config file, you can simply run:- Scan your documentation files
- Scan your codebase
- Create embeddings for semantic search
- Store the index in Qdrant
- Save a manifest to
.docbot/manifest.jsonfor incremental updates
Step 4: Run your first task
Now you’re ready to run Docbot with a documentation task:Interactive mode
By default, Docbot runs in interactive mode with a terminal UI (TUI) where you can:- Review the proposed plan
- Approve or reject changes
- Monitor progress in real-time
- Toggle verbose logging with
Ctrl+L
Common workflows
Update documentation for new features
Fix stale documentation
Fill documentation gaps
Next steps
Installation
Learn about global installation and advanced setup options
Commands
Explore all available commands and their options
Configuration
Customize models, paths, and server settings
Search
Use Docbot’s semantic search capabilities