Guaardvark CLI — full-stack AI platform with RAG, image/video generation, and agents
pip install guaardvark==2.9.3 Copy PIP instructions
The self-hosted AI studio. Coding agents and 20-agent swarms in isolated git worktrees, screen agents with their own real desktop, self-tuning RAG, continuous voice chat — and a full media pipeline: video, image, full-song music, neural voice. One install, one GPU, everything on your machine. Your machine. Your data. Your rules.
▶ New: Everything new in 2.9, on the real product (Episode 19, 3:50) A thumbs up that teaches · web pages read for you · MCP tools used from chat · Hugging Face models checked before download · photo edits in chat · video with its own voice
Works with your coding agent. Claude Code, Cursor, Codex, OpenClaw and Gemini CLI drive every flow above through the built-in MCP server and fifteen agent skills: "make a music video from this song", "film this script", "train a LoRA of this character", "swarm this refactor" — the agent queues the job on your GPU and polls it to the finished file.
Runs on Linux with one NVIDIA card (16 GB for video). Apple Silicon is supported with GPU features arriving through Metal (what works today is in INSTALL.md); Windows through WSL2 is being verified.
curl -fsSL https://guaardvark.com/install.sh | bash Add it to Claude Code (two lines, no clone):
/plugin marketplace add guaardvark/guaardvark /plugin install guaardvark@guaardvark See the VERSION file for the current release · guaardvark.com · Quick Start for manual install options.
For the exhaustive feature list, models, surfaces, and plugin details, see CAPABILITIES.md. This README focuses on the marquee experience, quick start, and what makes Guaardvark different.
The aardvark (/ˈɑːrd.vɑːrk/; Orycteropus afer) is a medium-sized, burrowing, nocturnal mammal native to Africa. The aardvark is the only living member of the genus Orycteropus, the family Orycteropodidae and the order Tubulidentata. It is found over much of the southern two-thirds of the African continent, avoiding areas that are mainly rocky. A nocturnal feeder, the aardvark subsists on ants and termites (myrmecophagy) by using its sharp claws and powerful legs to dig the insects out of their hills, and its long snout to sniff out food. It digs a burrow in which to live and rear its young.
The Guaardvark (/ˈɡwɑːrd.vɑːrk/; Workstationus selfhosticus) is a burrowing, nocturnal AI system native to consumer hardware. The Guaardvark is the only living member of the repository github.com/guaardvark/guaardvark, the family LocalAI, and the order AutonomousAgents. It is found across most of the modern desktop, avoiding regions that are mainly cloud. A nocturnal feeder, the Guaardvark subsists on prompts and unstructured data (promptophagy) by using its sixty-odd tools and a swarm of parallel coding agents to dig bugs out of their codebases, and a retrieval index to sniff out knowledge in the dark. It is fiercely territorial about its single GPU, admitting one process to the card at a time and evicting any language model found loitering there. It digs isolated git worktrees in which to work, and rears its images, video, music, and cloned voices entirely on your own machine.
Short, unscripted-feeling screen recordings of the real system doing real work — narrated by the system's own local speech engine (Episode 7 shows it cloning a voice). Fourteen episodes are live: the first series covers the twelve subsystems, and a second series picks up what shipped since.
▶ Watch the full playlist — Episode 1 (the full tour) and Episode 10 (the video editor) are on the way.
The beat-synced music video — watch on YouTube. One style prompt and a short narrative, then go: Guaardvark wrote every shot prompt, generated the storyboards, rendered the clips, and assembled the cuts to the beat it detected in the song. (Full disclosure: the glitch effect was the one manual touch, added in Shotcut; the song was made in Suno — Guaardvark's own music generation is being wired into this pipeline.)
Full visual gallery (dashboard, video generator, swarm planner, agents, plugins, media library, etc.) is available on guaardvark.com.
Generation & Editing (all local, no cloud APIs)
See CAPABILITIES.md for the complete enumerated list (models, exact tool counts, plugin manifests, page surfaces, etc.).
The local-AI ecosystem has excellent tools for every slice: chat UIs, RAG second-brains, node-graph media pipelines, coding agents, assistant gateways. Guaardvark's bet is different — one install on one GPU that is the whole studio, with a single GPU orchestrator arbitrating all of it.
Columns describe the typical shape of each category, not any single project — several projects exceed their category in places. The Guaardvark column links to walkthrough episodes where you can watch the claim happen.
If all you need is one slice, use the excellent specialist: a chat UI like Open WebUI, a node graph like ComfyUI (Guaardvark hands off to it with one click), a RAG workspace like AnythingLLM. Guaardvark is for when you want the whole studio on one box.
A newer category: the coding agent runs the studio. Facts checked 2026-09-11 from each project's repository; stars move, the shape does not.
Every cell is a claim you can check in the linked repositories; corrections welcome in an issue.
Every message is routed through a three-tier decision engine that picks the fastest path to the right answer. Reflexes fire in under a millisecond. Instinct handles single-shot requests in one LLM call. Deliberation spins up a full ReACT reasoning loop when the problem demands it.
Guaardvark agents control a real Ubuntu desktop (Xvfb + XFCE at 1000×1000) — exactly what the model would see if you VNC'd into the box from another machine. Same Applications menu, same desktop icons, same taskbar. Agents see the screen through vision models, move the mouse, click buttons, type text, navigate browsers, and verify their own actions.
Launch multiple AI coding agents in parallel, each working in an isolated git worktree on its own branch. Results merge back with dependency-ordered conflict detection, optional test validation, and full cost tracking.
The system runs its own test suite, identifies failures, dispatches an AI agent to read the code and fix the bugs, verifies the fix, and broadcasts the learning to other instances. No human in the loop.
Chat grounded in your documents. Upload files, build a knowledge base, and ask questions. The AI reads and understands your content — not just keyword matching.
Autoresearch — retrieval that tunes itself. An autonomous optimization loop runs overnight experiments on your corpus: it proposes changes to chunking and retrieval parameters, evaluates them with an LLM-as-judge harness, keeps wins, and reverts regressions — bounded by a wall-clock budget, a run ledger, and a circuit breaker (Episode 11). Your retrieval gets better while you sleep, and the morning report says exactly what changed and why.
A client's Linux desktop player refused to play a video — the distro was missing the right codec plugin. They dropped the same file into Guaardvark's file desktop and it just played. No codec pack involved: the backend range-streams files inline (download_document in backend/api/files_api.py) into the browser's own decoders, which ship with H.264/VP9 support regardless of what the desktop has installed. The same mechanism means PDFs start painting before they finish downloading and video seeking works from the first byte.
Guaardvark speaks MCP both ways — exposes its tools to any MCP client (Claude Code, Codex, Cursor, Grok, Antigravity, opencode, Claude Desktop, Zed, Gemini, etc.) and can call tools from connected external MCP servers.
A supervised, auditable framework for drafting and posting authentic comments on Reddit, Discord, Twitter/X, and Facebook — using your own indexed knowledge as the source of truth for citations and context. The point isn't volume. It's keeping up with engagement on your own products and topics, with the agent handling the legwork.
Audit log — every action (scout, draft, grade, approve, reject, post, fail) is recorded in a JSONL audit trail with timestamps, draft IDs, and outcomes. Exportable for compliance or post-hoc review.
Persona system — a single configurable persona (voice, expertise areas, citation style, what to never say) shapes every draft for consistency. Your replies sound like you, not like an LLM.
Manual draft mode — paste a thread URL, the agent auto-scouts the context, the LLM seeds a draft, you edit and save. Full human control with the agent doing the legwork (scouting, context-fetching, citation suggestion).
On-demand passes — instead of waiting for the cron, fire a pass for a specific platform or subreddit on demand from the UI. Useful for active engagement around a launch or a thread you spotted.
Why it's not spam — outreach is anchored on your own knowledge base. Citations point at YOUR documentation, YOUR examples. The system grades drafts for genuine relevance and refuses to engage when it can't add value. The cadence gate keeps the volume human-paced. Supervised mode keeps the human in the loop. The result is closer to "an assistant that helps you keep up with engagement on your own products and topics" than "an outbound bot."
Five specialized agents collaborate to turn a one-line idea into a finished video. Built on the Swarm Orchestrator, so every role runs in parallel where possible and merges back deterministically.
The LoRA Trainer plugin ships alongside — train character/environment/prop LoRAs from reference images on your local GPU (bf16, ~46 MB per LoRA) and route them automatically to the Casting agent.
Give it a song (.mp3 / .wav), a style prompt, and a short narrative — Guaardvark does the rest:
Linux & macOS: The final assembly step needs melt (MLT) from Shotcut. ffmpeg is pre-installed by the platform bootstrap. Full commands (brew/apt/flatpak/snap) are in plugins/video_editor/README.md.
State-of-the-art video generation running entirely on your GPU. No cloud APIs, no per-minute billing, no content restrictions.
Three audio backends in one plugin with shared GPU-arbitration so they don't trample each other or fight Ollama for VRAM.
A built-in non-linear editor for stitching generated clips, layering text, and rendering finished videos — without leaving the app.
Linux & macOS prerequisites: See plugins/video_editor/README.md ("Linux & macOS Setup") for melt + Shotcut install (ffmpeg is already handled by core platform scripts on brew/apt).
Upscale images and video frames to 4K (3840px) or 8K (7680px) with GPU-accelerated super-resolution — eight models from HAT-L (maximum-quality restoration) to anime-tuned Real-ESRGAN variants, two-pass mode, FP16/BF16 precision with torch.compile, frame-by-frame video upscaling, and an optional watch folder. The full model table is in CAPABILITIES.md.
For the complete, enumerated reference (every tool category, exact model support, plugin manifests, page routes, RAG details, self-improvement internals, vision pipeline, dependency reconciler, backup format, advanced settings, etc.) see CAPABILITIES.md.
The sections above cover the experience and differentiators. The rest of this README focuses on getting started, requirements, architecture notes, operations, and contributing.
Python 3.12 is required for the ML stack. Ubuntu 26.04 ships Python 3.14 by default — ./start.sh installs 3.12 automatically (deadsnakes or uv). Manual installs: use a 3.12 interpreter only.
git clone https://github.com/guaardvark/guaardvark.git cd guaardvark ./start.sh First run handles everything: Python 3.12, venv, Node dependencies, PostgreSQL, Redis, Ollama, Whisper.cpp, database migrations, frontend build, and all services. Requires your system password once for PostgreSQL setup (and optionally apt packages on fresh Linux installs).
./start.sh # Full startup with health checks ./start.sh --fast # Reuse venv + node_modules as they are: no installs, no frontend build, no preflight ./start.sh --test # Health diagnostics ./start.sh --plugins # Start all enabled plugins ./start.sh --external-ollama # You run Ollama yourself; never started or stopped by these scripts ./stop.sh # Stop Guaardvark (and only the Ollama that start.sh launched) ./stop.sh --keep-ollama # Stop Guaardvark, leave Ollama running whoever started it ./stop.sh --all # Also stop your own `ollama serve` and the systemd service Ollama already running before ./start.sh is adopted, not restarted, and left running on ./stop.sh. To make either policy permanent, flip the switches in Settings → Product Profile → Ollama, or set GUAARDVARK_OLLAMA_KEEP_RUNNING=1 / GUAARDVARK_OLLAMA_EXTERNAL=1 in .env.
The first start asks what Guaardvark is for here. Creator lists the media workflow — image, video, audio, Film Crew, LoRA, upscaling — and leaves agents, the knowledge index, outreach and automation installed but out of the way; Workstation is everything. Either is a starting point, not a ceiling: switch in Settings → Product Profile, or ./start.sh --profile creator. Details in backend/profiles/README.md; building a distribution of your own is docs/EXTENSIONS.md.
pip install guaardvark The package is the guaardvark command. It talks to a running backend on the configured port, or starts one with start.sh from a checkout it finds through GUAARDVARK_ROOT or the current directory; with no checkout it stops with "Guaardvark installation not found". An MCP client can start the server with guaardvark mcp serve from a pip install plus a checkout.
Typer + Rich + prompt_toolkit. The PyPI package and the command are guaardvark (llx is a deprecated alias). Tab completion works with or without a leading /; /help imagine shows one command; unknown commands suggest a close match.
guaardvark # Interactive REPL guaardvark status # System dashboard guaardvark chat "explain this codebase" # Chat with RAG context guaardvark search "query" # Semantic search guaardvark files upload report.pdf # Upload and index guaardvark plugins list # ComfyUI / Ollama / … guaardvark gpu status # VRAM and owner lock guaardvark mcp install --client cursor # Wire Guaardvark into Cursor guaardvark completion zsh # Shell completion script Config: ~/.guaardvark/cli.json (legacy ~/.llx/config.json is still read). Themes: default, teal, musk, hacker, vader, guaardvark, day, auto. Short terminals get a compact aardvark banner.
/imagine Generate an image (inline preview in Kitty/iTerm) /video Generate a video from text /voice Text-to-speech (plays locally) /agent [on|off|shot] Screen-agent mode; shot = desktop screenshot /web [images|chat] Open the web UI on the real frontend port /ingest Index files or directories for RAG /plugins list|start GPU / service plugins /gpu status|release VRAM and owner lock /audio tts|music|sfx Audio Foundry /swarm run Parallel agents in worktrees /lessons begin|end Lesson pearls /skills List SKILL.md files /help [query] Full command reference, or one command Requirements Dependency Version Notes Python 3.12 only Backend. 3.13/3.14 not yet supported — the ML stack (numpy<2.0, mediapipe, basicsr/gfpgan) has no wheels for them. Node.js 20.19+ or 22.12+ Frontend build (Vite 8). On Linux, start.sh installs Node 22 to ~/.local/node when the system one is older. PostgreSQL 14+ Auto-installed Redis 5.0+ Auto-installed Ollama latest Local LLM inference CUDA GPU 8GB+ VRAM 16GB recommended for video generation Which tier is your machine? See docs/HARDWARE.md for what runs CPU-only, on 8–12 GB, on the 16 GB design target, and with 24 GB+ of headroom.
* Wan's weights fit in ~11GB, but the generation preflight requires a 16GB-class card for every current video family — see docs/HARDWARE.md.
Chat and agent latency are dominated by a few settings, all in Settings unless noted. Defaults favor visibility while you learn the system; flip these once you trust it:
Browser / CLI (PyPI: guaardvark) / MCP Client (Claude Desktop, Cursor, etc.) | HTTP + WebSocket / stdio MCP v Flask (~90+ API modules, auto-discovered) + GraphQL + Socket.IO | +-- AgentBrain (3-tier routing: Reflex → Instinct → Deliberation) | Service Layer (many modules; plugin sidecars for heavy GPU work) |-- Agent Executor (ReACT + ~60 tool classes + BrainState) |-- Screen Control (See-Think-Act-Verify + live reasoning stream) |-- RAG + Autoresearch + Entity extraction |-- Self-Improvement (detect/fix/verify/broadcast + guardian) |-- Generation (image/video/audio/voice/content) |-- Swarm + Film Crew (isolated worktrees + 5-role pipeline) |-- Servo + Vision Pipeline |-- System Mapper / Repo intelligence (AST dependency graphs) |-- GPU Memory Orchestrator + Plugin runner (CUDA sidecar safety) \-- Interconnector (multi-machine sync + cluster) | +---+---+---+---+---+ v v v v v v PostgreSQL Redis Ollama Agent Display (:99, on-demand) ComfyUI / Audio Foundry (plugins) Celery Notes:
Frontend: React 18 · Vite · Material-UI v5 · Zustand · Apollo Client · Monaco Editor · Socket.IO Core models & engines: Gemma4 / Llama-family / Moondream (vision) · Stable Diffusion · Wan 2.2 / CogVideoX · ACE-Step / Chatterbox / Kokoro / Piper · Real-ESRGAN family + HAT · Whisper.cpp
See the more detailed view in the project plans and CAPABILITIES for status.
Guaardvark is built with love by a solo developer. If it's useful to you:
Star the repo if you find it interesting — it helps with visibility.
Questions, install trouble, or feedback: support@guaardvark.com. Press, partnerships, and business: info@guaardvark.com.
Guaardvark is open source (MIT) and built in public. Whether you want to try the bot, ship a small PR, or hang out with other local-AI builders — here is the short path.
Starter issues carry the good first issue label, each with acceptance criteria and a clear out of scope list. When none are open, the safe zones below are the best place to start.
We aim to review serious PRs within 24–48 hours.
Full setup, style, and PR expectations: CONTRIBUTING.md
For AI coding agents and heavy contributors: read AGENTS.md (required reading order), CLAUDE.md, and GROK.md. They document the self-coding chokepoint (guarded_code_service.py::apply_exact_replacement), project conventions, dead-code handling, and verification habits.
"Guaardvark"™ and the Guaardvark logo are trademarks of Albenze, Inc. The MIT License covers the code, not the name; see TRADEMARK.md for what you may do with the name without asking.
self-hosted local AI MCP mcp-server image generation video generation music voice RAG agents Claude Code Cursor Codex
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 29, 2026.
Yanked reason: Pre-release build superseded by 2.5.3




