Reading the repo
Opening the box…
Reading the repo
Opening the box…
How to install on Linux
The Self-hosted AI Starter Kit is an open-source template that quickly sets up a local AI environment. Curated by n8n, it provides essential tools for creating secure, self-hosted AI workflows.
Saved setup from 5 h ago
Will it work on Linux?
Heads-upBuilding it yourself? It also needs PostgreSQL, Vector DB and 6 settings in .env (3 secret).
CONTRIBUTING.mdAwesome that you're interested in contributing to the Self-hosted AI Starter Kit! These specific guidelines are in addition to the general n8n contribution guidelines.
The Self-hosted AI Starter Kit is designed to be the fastest path from zero to working AI workflows for developers and organizations who want to experiment with local, private AI solutions. It provides a curated, pre-configured foundation that "just works" out of the box, enabling users to focus on building AI workflows rather than wrestling with infrastructure setup.
The starter kit should prioritize ease of use and quick setup over comprehensive feature coverage. It's better to do fewer things well than to attempt to solve every possible use case.
This is explicitly a learning and experimentation platform. Users should
be able to go from git clone to working AI workflows in minutes, not hours.
Production-grade concerns like high availability, advanced security, and
scalability are intentionally out of scope.
We make opinionated choices about the core stack (n8n + Ollama + Qdrant + PostgreSQL) to reduce decision paralysis, while providing clear paths for users to extend and customize as they learn.
Everything should work completely offline and locally by default. External dependencies should be minimal and optional.
This includes:
This includes:
Including:
Including:
Including:
Including:
Remember: It's better to be an excellent starting point than a mediocre everything-solution.
Then run bash setup.sh. It stops at the first error and is safe to run again. Servers and tests aren't started; it lists them at the end. Read it first.
git clone https://github.com/n8n-io/self-hosted-ai-starter-kit.git cd self-hosted-ai-starter-kit
Fill in secrets: POSTGRES_PASSWORD, N8N_ENCRYPTION_KEY, N8N_USER_MANAGEMENT_JWT_SECRET
cp .env.example .env
Needs: PostgreSQL, Vector DB
# needs Docker Engine: https://docs.docker.com/engine/install/ docker compose -f docker-compose.yml up -d
The core of the Self-hosted AI Starter Kit is a Docker Compose file, pre-configured with network and storage settings, minimizing the need for additional installations. After completing the installation steps above, simply follow the steps below to get started.
To open n8n at any time, visit http://localhost:5678/ in your browser.
With your n8n instance, you’ll have access to over 400 integrations and a suite of basic and advanced AI nodes such as AI Agent, Text classifier, and Information Extractor nodes. To keep everything local, just remember to use the Ollama node for your language model and Qdrant as your vector store.
[!NOTE] This starter kit is designed to help you get started with self-hosted AI workflows. While it’s not fully optimized for production environments, it combines robust components that work well together for proof-of-concept projects. You can customize it to meet your specific needs
No reports for Linux yet.
GitManual AI Agent reads the 4 key files and writes a step-by-step guide for Linux. Once written, it's saved for everyone.