Getting Started
Follow this guide to get your own instance of ravenbot up and running.
📋 Prerequisites
Before you begin, ensure you have the following installed:
- Docker & Docker Compose: Recommended for most users.
- Go 1.25+: Only required if running locally (outside Docker).
- templ: Required for local development (generates Go code from
.templtemplates). Install withgo install github.com/a-h/templ/cmd/templ@latest. - Git: To clone the repository.
- AI Backend:
- Gemini: An API Key from Google AI Studio.
- Ollama: A running Ollama instance (local or remote).
🚀 Quick Start (Docker)
The fastest way to deploy ravenbot is using Docker.
1. Clone the Repository
2. Configure Environment
Copy the example environment file and edit it with your credentials:
Open.env and at minimum set:
AI_BACKEND:geminiorollamaGEMINI_API_KEY: Your Google AI key (if using Gemini)BRAVE_API_KEY: Brave Search API key (required for web search)TELEGRAM_BOT_TOKEN/TELEGRAM_CHAT_ID: For Telegram access (optional)DISCORD_BOT_TOKEN/DISCORD_CHANNEL_ID: For Discord access (optional)
3. Build and Launch
The bot starts immediately. Access points:
- Web UI: http://localhost:8080 — chat, reports, agents, missions, tools
- Telegram: Send
/helpto your bot - Discord: Send
/helpin your configured channel
🛠Local Development Setup
If you want to contribute or run without Docker:
- Install Go 1.25+: Required.
- Install templ:
go install github.com/a-h/templ/cmd/templ@latest - Download Dependencies:
- Set Environment Variables: Export the same variables from
.envto your shell. - Build (generates templ + compiles):
- Run:
The Web UI is available at http://localhost:8080 immediately after startup.
Development Commands
make check # Full check: format, vet, lint, test (run before every commit)
make templ # Regenerate Go code from .templ templates
make test # Run tests
make fmt # Format code
make cover # Test with coverage report
make clean # Remove build artifacts
📦 What's Next?
Once your bot is running, you might want to:
- Explore the Web Interface — no setup required.
- Configure Telegram or Discord.
- Learn about Workflow Pipelines and the missions dashboard.
- Explore the Configuration Reference for advanced tuning.