selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

Guaardvark logo

Self-host Guaardvark

v3.4.2

Self-hosted AI studio with agents, video, image, music

ReleaseOpen SourceMIT
Updated10 hours ago
LanguagePython
Setup difficultyAdvanced
Stars
292
CPU
2 CPU cores (minimum), 8 CPU cores (recommended)
RAM
4 GB RAM (minimum), 16 GB RAM (recommended), 32 GB+ RAM (optimal)
Storage
10 GB disk (minimum), 50 GB disk (recommended), NVMe SSD (optimal)
Ports
5173 (Web UI (Vite dev server)), 5000 (API (Flask backend))
Requires
Node.js, Ollama, PostgreSQL, Python, Redis
Install with Docker
Local image generation walkthrough (Ep 5)Local video generation walkthrough (Ep 6)Local voice cloning walkthrough (Ep 7)Local music video walkthrough (Ep 8)Local Film Crew walkthrough (Ep 9)Guaardvark hero demo video showing the web UI

What is Guaardvark?

Guaardvark is a self-hosted AI platform that turns a Linux machine with an NVIDIA GPU into a complete local AI studio. It provides a web interface and REST API for chatting with your own documents using hybrid keyword/vector search with citations, running autonomous agents that control a virtual Ubuntu desktop to browse, click and type, managing swarms of parallel coding agents in separate git worktrees, and generating video, images, music, and voice — all on your own hardware. A built-in MCP server exposes over 50 tools to popular code editors, while an MCP client lets the chat call external MCP servers. The stack includes PostgreSQL with pgvector, Redis, Ollama, ComfyUI, and a plugin system for GPU services. Installation is a single curl command that sets up Python 3.12, Node 22, PostgreSQL, Redis, Ollama, Whisper.cpp and the frontend. macOS Apple Silicon and Windows WSL2 are supported with some GPU limitations. The project is MIT licensed, developed by Albenze, Inc., with no telemetry and all outbound network paths declared in egress.json and off by default.

Should you self-host Guaardvark?

Guaardvark scores 53/100 on selfhost.directory (how scoring works) and ranks #81 of 209 in AI Agents. It has 292 GitHub stars.

It shipped 10 stable releases in the past year. The latest, v3.4.2, came out on 27 October 2026.

Setup is advanced: plan for several services and some ongoing maintenance. It is MIT-licensed and written mostly in Python.

Its closest alternative on selfhost.directory is AnythingLLM (88/100, 67 669 stars). It scores higher overall, so compare the two before you pick. See Guaardvark vs AnythingLLM side by side.

Guaardvark README

How to install Guaardvark

Install Guaardvark with Docker

Environment variables
GUAARDVARK_POSTGRES_PASSWORD, GUAARDVARK_REDIS_PASSWORD, GUAARDVARK_API_KEY, HF_TOKEN, GUAARDVARK_POSTGRES_PUBLISH_HOST, GUAARDVARK_REDIS_PUBLISH_HOST, GUAARDVARK_OLLAMA_PUBLISH_HOST

./start-docker.sh # CPU ./start-docker.sh --gpu # NVIDIA GPU (requires nvidia-container-toolkit)

Runs core stack (API, UI, PostgreSQL, Redis, Ollama) only; no plugins, ComfyUI, or virtual agent display. For full experience use ./start.sh.

How to configure Guaardvark

  • ANTHROPIC_API_KEYAnthropic API key for Uncle Claude escalation

    Anthropic API key for Uncle Claude escalation

    values: sk-ant-... token string

  • FLASK_PORT5000Backend API port (default 5000, 5055 on macOS)

    Backend API port (default 5000, 5055 on macOS)

    values: Any valid port number

  • GUAARDVARK_AGENT_BROWSERfirefoxBrowser for agent screen

    Browser for agent screen

    values: firefox or other

  • GUAARDVARK_AGENT_DISPLAY99Virtual display number for agent screen

    Virtual display number for agent screen

    values: Any valid X display number

  • GUAARDVARK_API_KEYauto-generated on first runAPI key for accessing protected endpoints

    API key for accessing protected endpoints

    values: Any string

  • GUAARDVARK_BRANCHmainBranch to check out

    Branch to check out

    values: Any valid branch name

  • GUAARDVARK_BROWSER_AUTOMATIONfalseEnable Playwright browser automation

    Enable Playwright browser automation

    values: true or false

  • GUAARDVARK_DESKTOP_AUTOMATIONfalseEnable host desktop automation (pyautogui)

    Enable host desktop automation (pyautogui)

    values: true or false

  • GUAARDVARK_HOME~/guaardvarkInstall directory

    Install directory

    values: Any valid path

  • GUAARDVARK_MCP_ENABLEDtrueEnable MCP integration

    Enable MCP integration

    values: true or false

  • GUAARDVARK_OLLAMA_EXTERNAL0Use external Ollama instance (don't start/stop)

    Use external Ollama instance (don't start/stop)

    values: 0 or 1

  • GUAARDVARK_POSTGRES_PASSWORDauto-generated (stock: guaardvark)PostgreSQL password

    PostgreSQL password

    values: Any string

  • GUAARDVARK_PROTECT_TOOL_ENDPOINTStrueRequire API key for tool/automation endpoints

    Require API key for tool/automation endpoints

    values: true or false

  • GUAARDVARK_REDIS_PASSWORDauto-generated (stock: guaardvark)Redis password

    Redis password

    values: Any string

  • GUAARDVARK_REPO_URLhttps://github.com/guaardvark/guaardvark.gitRepository to clone

    Repository to clone

    values: Any git repository URL

  • GUAARDVARK_SKIP_POSTGRES0Skip PostgreSQL setup (for external DB)

    Skip PostgreSQL setup (for external DB)

    values: 0 or 1

  • HF_TOKENHugging Face token for model downloads

    Hugging Face token for model downloads

    values: hf_... token string

  • VITE_PORT5173Frontend dev server port

    Frontend dev server port

    values: Any valid port number

Guaardvark releases & version history

FAQ

Is it free?

Yes. Guaardvark is open source under the MIT License, and running it costs nothing beyond your own hardware and power.

How is it different from ComfyUI or Open WebUI?

They are excellent at one slice each. Guaardvark puts chat, RAG, agents, coding swarms and the whole media pipeline in one install that shares one GPU, and it hands off to ComfyUI with one click when you want the node graph.

Can I use it from Claude Code, Cursor or Codex?

Yes. Install the Claude Code plugin with the two lines in Quick start, or run `python -m backend.mcp install` to wire the MCP server into every agent client it finds.

Does it run on macOS or Windows?

Apple Silicon is supported, with GPU features arriving through Metal; see INSTALL.md. Windows through WSL2 is being verified.

What hardware do I need?

Linux with one NVIDIA GPU. Chat, RAG, voice and the coding swarm run CPU-only; 8–12 GB adds vector RAG, screen agents, images, upscaling and music; video generation needs a 16 GB-class card.

Does it work offline?

Yes, once the models you use are downloaded. Only features that reach other services by design, such as web search, posting and the Discord bot, need a connection.

Does Guaardvark send my data anywhere?

No, not unless you turn something on. Models run locally, and every outbound path (model downloads, web search, posting, the Discord bot, a remote Ollama) is declared in egress.json and stays off until a setting or a person starts it.

More in Image Generation

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…