New
Apps 6,417Makers 6,396This week 12
Promote your app−30%
4views in
the last 30 days

Guaardvark

Self-hosted AI studio on your own GPU: chat with your files (RAG)

Built with Claude Code

by guaardvark · Unclaimed · from MCMonaco · added Oct 29, 2026
no ratings0 comments

Guaardvark logo: an aardvark mascot with circuit-board ears

Guaardvark

The self-hosted AI studio. Chat with your own files, hand tasks to agents that use a real desktop and browser, run parallel coding agents, and generate video, images, music and voice. Everything runs locally, on your own GPU.

License: MIT CI PyPI Glama GitHub stars Sponsor

Quick start · Features · Videos · FAQ · Full capability list · guaardvark.com

https://github.com/user-attachments/assets/c6d9d18b-cfff-4ae2-8220-dc7f329fee5d

Why Guaardvark

  • It runs on your machine. Language models, retrieval, agents and every generator run on your own hardware, through Ollama, ComfyUI and Guaardvark's own GPU services. No cloud API keys, no per-token or per-minute fees, nothing reported home. Web access, posting and every other outbound path stay off until you switch them on or start them, and all of them are declared in one file, egress.json.
  • One install is the whole studio. Chat and RAG, screen agents, coding swarms and a full media pipeline share one GPU through a single orchestrator, so a video render and a language model take turns instead of fighting over VRAM.
  • Your coding agent can drive it. A built-in MCP server, fifteen agent skills and plugins for Claude Code, Grok Build and Antigravity let Claude Code, Grok, Antigravity, Cursor, Codex, Gemini CLI and other agents run every flow: "make a music video from this song", "film this script", "train a LoRA of this character", "swarm this refactor".
  • You approve what matters. Nothing posts and no voice is cloned without an explicit yes from you, and fixes Guaardvark writes for its own code wait for your review. The MCP server hides desktop, shell and browser tools unless you allowlist them.

Quick start

Linux with an NVIDIA GPU (16 GB for video, 12 GB for the Wan 2.2 5B; chat, RAG and agents run on less, see the hardware tiers). A fresh Ubuntu desktop has no curl or git; run sudo apt install -y curl git first.

curl -fsSL https://guaardvark.com/install.sh | bash

Then open http://localhost:5173. The script is install.sh from this repository: it clones to ~/guaardvark and runs ./start.sh, which installs everything on the first run. To read it before it runs, download it first (curl -fsSL https://guaardvark.com/install.sh -o install.sh, read it, then bash install.sh), or install by hand.

Add it to Claude Code (two lines, no clone):

/plugin marketplace add guaardvark/guaardvark
/plugin install guaardvark@guaardvark

Other ways in: Docker · macOS on Apple Silicon · the CLI from PyPI · the full install guide. The current release is in the VERSION file.

Features

  • Chat with your own files. Local RAG on pgvector: keyword and vector search fused per query, cross-encoder reranking, source citations, and retrieval that shows the chunks and scores behind an answer. Autoresearch tunes retrieval overnight. ▶ Ep 3
  • Plan mode. Turn it on with /plan and every request is looked into with read-only tools first, then comes back as a plan card you approve, edit or reject; approved steps run one at a time and pause when one fails. It is offered on a model only once that model passes the plan-mode test.
  • Agents on a real desktop. Screen agents get an Ubuntu desktop of their own, see it with a vision model, click with closed-loop targeting, and work in a real browser while you watch from any page. ▶ Ep 4
  • Parallel coding agents. A swarm of coding agents, each in its own git worktree, merged back in dependency order. Runs on Claude Code or fully locally through Ollama.
  • MCP, both ways. An MCP server that plugs into Claude Code, Cursor, Codex, Gemini CLI, Zed and more with one command, and an MCP client so chat can use tools from other servers. ▶ Ep 21 · ▶ Ep 16
  • Video generation. 13 local video models across five families (Wan 2.2, LTX, HunyuanVideo, CogVideoX, and MiniMax H3 with its own soundtrack), video LoRAs, a batch queue, frame interpolation, and one click into ComfyUI. ▶ Ep 6
  • LoRA training and consistent characters. Train character, environment and prop LoRAs from a few reference photos on your own GPU, import LoRAs trained elsewhere, and keep the same character across images, video, music videos and Film Crew productions. Details
  • Images. Z-Image, FLUX.1, Krea 2, SDXL and Sana Sprint (1024 stills in seconds, even on 8 GB cards) generation, photo edits by instruction, inpainting and outpainting, and 4K/8K upscaling. ▶ Ep 5
  • Music and voice. Full songs with vocals, sound effects, three neural text-to-speech engines, consent-gated voice cloning, and hands-free voice chat. ▶ Ep 7
  • Directors. A beat-synced music-video director, a five-role Film Crew that turns a logline into a finished video, and a built-in video editor. ▶ Ep 8 · ▶ Ep 9
  • Self-improvement. Ask how part of Guaardvark works and it answers from its own source with checked file:line links. A change it makes to itself is planned, checked, undone when a check fails, and one button reverts it. The System Map draws the whole codebase from its real imports. ▶ Ep 11 · ▶ Ep 14
  • Command center. A GPU orchestrator, a plugin manager with a live VRAM budget, jobs and scheduling, schema-aware backups, and a multi-machine Interconnector. ▶ Ep 12
  • Terminal and API. The guaardvark CLI with an interactive REPL, plus REST and Socket.IO. ▶ Ep 20

The complete, enumerated list of models, tools, plugins and pages is in CAPABILITIES.md.


Chat with your own files (local RAG)

Upload documents, build a knowledge base per project, and ask questions. Answers are grounded in your files and cite where they came from.

  • Hybrid retrieval. Postgres full-text keyword search and vector search, fused with a per-query weighting that leans toward keywords for identifier-like queries and toward meaning for prose.
  • Cross-encoder reranking. A reranker (one Install in Settings) reads the query and passage together and reorders the candidates. It is admitted against free VRAM and falls back to CPU rather than competing with image or video generation.
  • Layout-aware parsing. PDF, DOCX and PPTX are parsed for reading order and section headers, and PDF passages carry the page they came from. (Scanned documents need OCR, which is not installed by default; they say so rather than indexing as empty.)
  • Grounded citations. Every chunk carries its source file and section breadcrumb (and, for PDFs, the page), written into the embedded text as well, so a passage lifted from the middle of a document still says where it came from.
  • Smart chunking. Code gets AST-informed chunks, so a function stays one chunk; prose gets semantic splitting.
  • Postgres-backed vector store. Embeddings live in pgvector next to the rest of your data, with an ANN index and a persisted full-text index, covered by the same backups.
  • Retrieval that shows its work. Live retrieval tests show the actual chunks and scores behind an answer (Episode 3), and every query can return a trace of which retrieval legs ran, so a degraded answer can be told apart from a bad one.
  • More: index profiles (the same documents projected more than one way), corpus-level summaries for "what are the themes across all of this", a choice of embedding models from 300M to 4B+, entity extraction, and per-project isolation.

Autoresearch tunes retrieval while you sleep. An overnight loop proposes changes to chunking and retrieval settings, scores them with an LLM-as-judge harness, keeps the wins and reverts the regressions, bounded by a wall-clock budget, a run ledger and a circuit breaker. The morning report says what changed and why.

One chat box, three speeds. Every message goes through a three-tier router that picks the fastest path to the right answer (Episode 2):

Tier Name Latency LLM calls When it fires
1 Reflex <100 ms 0 Deterministic actions such as media controls, pattern-matched with no inference
2 Instinct 1–3 s 1 Conversation and most requests: single questions, web searches, image generation, vision
3 Deliberation 5–30 s 3–10 Multi-step research, analysis chains, complex agent tasks (a full ReACT loop)

Desktop and vision tools are only offered to the model while the agent screen is active.

Agents that use a real desktop and browser

Guaardvark's agents control a real Ubuntu desktop (Xvfb and XFCE on display :99): the same Applications menu, desktop icons and taskbar you would see if you connected to the box over VNC. They see the screen through a vision model, move the mouse, click, type, browse, and check their own work. The desktop is isolated from yours: its own XDG_DESKTOP_DIR and XDG_CONFIG_HOME, so the agent's files and settings never collide with your session.

  • One vision brain. Gemma4 sees the screen, decides the next action and returns click coordinates in a single inference call.
  • Closed-loop targeting. The servo moves, checks where the cursor actually landed, and corrects until it is on the target, rejecting targets the model cannot really see.
  • Live reasoning. Every step (action, target, reasoning, pivots when the loop is stuck) streams into chat as it happens and stays in history, so any run can be audited.
  • Deterministic recipes. Common browser actions (navigation, tabs, back and forward, find, zoom, bookmarks, YouTube search) run instantly from a recipe library instead of the vision loop, and every recipe is checked against safety bounds before it loads.
  • Done means done. The agent claims a task is finished only when it can show proof on the screen.
  • Watch it work. A draggable, resizable viewer of the agent's desktop on any page, with a pop-out window.
Vision models and obstacle handling
Model Role Coordinate system Notes
Gemma4 (e4b) Sees, decides and clicks box_2d normalized to 1000, [y1,x1,y2,x2] Vision, reasoning and coordinates in one call
Moondream Fallback eyes 1024 px internal width For text-only chat models that need external vision
  • Obstacle detection checks every step for popups, permission dialogs and notification bars before acting.
  • A separate Playwright browser tool handles headless page tasks that don't need a visible screen.
  • The screen agent is Linux-only; on macOS the agent tools say so and the rest of the app is unaffected.

Parallel coding agents (Swarm)

Launch several coding agents at once, each in an isolated git worktree on its own branch. Results merge back with dependency-ordered conflict detection, optional test validation, and a live dashboard.

  • Backends: Claude Code, or Cline/OpenClaw running fully locally on an Ollama model.
  • Flight Mode keeps a swarm offline: tasks run on the local backend only.
  • Git worktree isolation: every task gets its own branch and working directory, sharing one .git directory.
  • Dependency-aware merging: a topological sort lands foundational changes first, with a dry-run conflict check before the real merge and tests before integration.
  • Templates for a REST API scaffold, refactor-and-extract, test-coverage expansion, and more.
  • Live dashboard: status, per-task logs, cost, elapsed time and disk use. Five agents run at once by default; the dashboard takes up to 20.

Film Crew runs on the same orchestrator (see Directors).

MCP server, agent skills and agent plugins

Guaardvark speaks the Model Context Protocol both ways: it exposes its tools to any MCP client, and it can call tools on other MCP servers. Episode 21 shows five coding agents (opencode on a local model, Codex, Cursor, Grok and Antigravity) making pictures, clips, songs and voices through it.

  • One-command setup. python -m backend.mcp install finds the agent clients on your machine (Claude Code, Codex, Cursor, Grok, Antigravity, opencode, Claude Desktop, Zed, Gemini CLI) and writes the guaardvark server entry into their configs, backing up existing files and leaving other entries alone. python -m backend.mcp doctor diagnoses a broken setup with a server self-test, a real stdio handshake, and a scan for stale client configs.
  • Claude Code plugin. /plugin marketplace add guaardvark/guaardvark, then /plugin install guaardvark@guaardvark. It asks for the path of your Guaardvark checkout, starts the MCP server from there, and loads every skill as /guaardvark:<skill>.
  • Grok Build plugin. grok plugin marketplace add guaardvark/guaardvark, then grok plugin install guaardvark --trust. It installs the plugin repository at a pinned commit and loads every skill; the server finds your checkout once python -m backend.mcp install has run there.
  • Antigravity plugin. agy plugin install .agents/plugins/guaardvark from the checkout; opening the repository in Antigravity also loads it. It carries all fifteen skills, the MCP server and a short operating guide.
  • Agent skills. .agents/skills/ has one skill per flow (images, video, music video, Film Crew, voice, music, upscaling, Cast and LoRA training, Hugging Face model onboarding, swarm, knowledge, code, outreach, operations, setup) in the Agent Skills format, so Claude Code, Cursor, Codex and OpenClaw know which tool to call for each job. python -m backend.mcp install --skills links them into ~/.claude/skills and gives Antigravity the plugin instead of a bare server entry.
  • As a server: python -m backend.mcp (stdio) or python -m backend.mcp http (streamable HTTP on 127.0.0.1:8788/mcp, loopback-only by default). python -m backend.mcp list-tools prints the live tool list. Generation tools queue by default and return a batch id for get_generation_status; every call runs under an enforced timeout.
  • Default-deny policy (backend/mcp/config.py): desktop control, agent control, system and shell, browser automation, test execution and MCP meta-tools are hidden unless you allowlist them, and so are tools that need approval. More than 50 tools are exposed by default (RAG, files, generation, memory, code search, web), plus read-only guaardvark://outputs/ resources.
  • As a client: mcp_connect and mcp_execute, with a live inventory so the chat model can find and use tools from other MCP servers by name. Audit logging, timeouts and circuit breakers are built in.

More in docs/mcp.md.

Local video, image, music and voice generation

All generation runs on your GPU. No cloud APIs, no per-minute billing.

Video generation

Model Type Max duration Native resolution VRAM
Wan 2.2 TI2V-5B (default) Text + image to video ~5 s (up to 121 frames @ 24 fps) 1280x704 ~11 GB
Wan 2.2 14B MoE Text to video 5 s (81 frames @ 16 fps) 832x480 16 GB
Wan 2.2 14B I2V Image to video 5 s (81 frames @ 16 fps) 832x480 16 GB
CogVideoX-5B Text to video 6 s (49 frames @ 8 fps) 720x480 16 GB
CogVideoX-5B I2V Image to video 6 s (49 frames @ 8 fps) 720x480 16 GB
LTX-2.3 Distilled FP8 Text + image to video ~10 s (161 frames @ 16 fps) 768x512 16 GB
LTX-2.5 Distilled Int8 Text + image to video ~10 s (161 frames @ 16 fps) 768x512 16 GB
HunyuanVideo 13B (GGUF Q5) Text to video ~3 s (73 frames @ 24 fps, up to 129) 848x480 16 GB
HunyuanVideo 13B I2V (GGUF Q5) Image to video ~3 s (73 frames @ 24 fps, up to 129) 848x480 16 GB
MiniMax H3 (pruned Int8) Text, first frame, last frame, first + last frame to video with its own stereo soundtrack (dialogue, ambience, score) ~7 s offered (175 frames @ 24 fps; the model trains to 15 s) 864x480 default, 1344x768 max 16 GB card; measured 6.5 min for a 5 s clip at 864x480, 20 steps, on a 16 GB RTX 40-series card
MiniMax H3 Reference (pruned Int8) Up to 9 images, 3 clips and 3 audio files to video with soundtrack (identity, motion, voice, editing) same same same

MiniMax H3 also comes as unpruned Int8 and BF16 builds for 24 GB and 48 GB cards, which makes 13 video models in all.

  • Resolutions of 512, 576, 720, 1280 and 1920 px (1080p), aligned per model.
  • Quality tiers: Fast (10 steps), Standard (30), High (40), Maximum (50). Each model declares the fewest steps it renders well at, and a pr

Description taken from the repository README.

Ratings

–
0 ratings
5 0
4 0
3 0
2 0
1 0

Rate this app

Sign in to rate

Comments 0

Sign in to comment

No comments yet.

Related apps

#self-hosted · #rag · #ai-studio