Self-hosted AI Second Brain - knowledge management with RAG, Ollama, and autonomous agents
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Clawd f270621ac7
Add public directory for web-ui build
3 weeks ago
docs Initial commit: AI Second Brain 3 weeks ago
infra/database Initial commit: AI Second Brain 3 weeks ago
scripts Initial commit: AI Second Brain 3 weeks ago
services Add public directory for web-ui build 3 weeks ago
vault Initial commit: AI Second Brain 3 weeks ago
.env Fix docker-compose for Portainer deployment 3 weeks ago
.env.example Initial commit: AI Second Brain 3 weeks ago
.gitignore Initial commit: AI Second Brain 3 weeks ago
README.md Initial commit: AI Second Brain 3 weeks ago
docker-compose.minimal.yml Mount schema.sql in postgres init 3 weeks ago
docker-compose.portainer.yml Add deployment files (.env, docker-compose.portainer.yml) 3 weeks ago
docker-compose.yml Fix docker-compose for Portainer deployment 3 weeks ago

README.md

AI Second Brain

A fully self-hosted, offline-capable knowledge management system with AI-powered retrieval, autonomous agents, and a Markdown-first philosophy.

Quick Start

cp .env.example .env
# edit .env as needed
docker compose up -d
# wait for ollama to pull models
docker compose exec ollama ollama pull nomic-embed-text
docker compose exec ollama ollama pull mistral
# open the UI
open http://localhost:3000

Architecture

See docs/architecture.md for the full design.

Components

Service Port Description
Web UI 3000 Next.js knowledge interface
RAG API 8000 FastAPI retrieval service
Ollama 11434 Local LLM inference
PostgreSQL 5432 Vector + relational store
Redis 6379 Job queue

Documentation

License

MIT

Powered by TurnKey Linux.