Skip to main content

Deploy AI stacks with one command โ€” OpenClaw, Ollama, and Qdrant, fully containerized. Install: pip install dave-it-guy. Run: dave-it-guy deploy openclaw; then docker exec -it dave-it-guy-openclaw openclaw tui for the TUI. Default LLM: Anthropic (Claude) when ANTHROPIC_API_KEY is set; Ollama (Llama 3.2) as fallback.

Project description

๐Ÿ™ Dave-IT-guy

Deploy AI stacks with one command โ€” OpenClaw and more, containerized by Dave-IT-guy.

Dave-IT-guy takes the pain out of AI infrastructure: one command spins up OpenClaw (and Ollama, Qdrant) fully containerizedโ€”no host installs, no config archaeology. Run it locally with Docker Compose or ship it to the cloud with Terraform. Same stack, same containers, anywhere.

Overview

Dave-IT-guy is a Python CLI that deploys pre-built AI stacks so you can run OpenClaw, Ollama, Qdrant, and similar tools without wiring Docker and config by hand.

  • Local: Docker Compose stacks under ~/.dave-it-guy/deployments/<stack>/ โ€” all services run in containers and are exposed on localhost (no host installs).
  • Cloud (Pro): Terraform-based deploys (Azure supported; AWS, GCP, DigitalOcean planned)

Tech stack: Typer + Rich for the CLI, Jinja2 for templates, docker compose (with fallback to standalone docker-compose). Cloud: Terraform with Azure provider. Python 3.9+.

How it works: Templates live in dave_it_guy/templates/ (e.g. openclaw, ollama, rag). Each has a docker-compose.yml.j2, optional config/ and env.example. The deploy flow creates the deployment dir, renders templates, runs docker compose pull and up, and can pre-pull Ollama models. Use dave-it-guy doctor to check Docker, disk, and ports.

Highlights: Clear separation (CLI, deploy engine, templates, doctor), good UX (progress, dry-run, panels), CI on Python 3.10โ€“3.12 with ruff and pytest. OpenClaw stack is the primary, fully supported path.

Current limitations: Pro/cloud path requires a license key (check not yet implemented). Cloud deploy exits after the license prompt โ€” Terraform is not invoked from the CLI yet. The ollama and rag templates are in the registry but may be incomplete.

Quick Start

  1. Install Dave-IT-guy:

    pip install dave-it-guy
    

    Verify: dave-it-guy version (or python3 -m dave_it_guy version if the script is not on your PATH). If you see โ€œcommand not found: dave-it-guy", either add your Python script directory to PATH (e.g. ~/Library/Python/3.9/bin on macOS for a user install) or run all commands as python3 -m dave_it_guy <command>.

  2. Deploy the OpenClaw stack (containers for OpenClaw, Ollama, Qdrant):

    dave-it-guy deploy openclaw
    # or: python3 -m dave_it_guy deploy openclaw
    

    Gateway: http://localhost:18789 ยท Qdrant: http://localhost:6333

  3. Open the OpenClaw TUI (interactive terminal UI):

    docker exec -it dave-it-guy-openclaw openclaw tui
    

    Use the same container name you deployed (e.g. if you deployed as my-stack, the container is dave-it-guy-my-stack).

  4. Optional โ€” Deploy to cloud (Pro): dave-it-guy deploy openclaw --cloud azure

The OpenClaw stack uses Anthropic (Claude) as the default model when ANTHROPIC_API_KEY is set (prompted during setup or in ~/.dave-it-guy/deployments/openclaw/.env). Ollama (Llama 3.2) is configured as fallback when the key is missing or for local-only use.

What You Get

dave-it-guy deploy openclaw

A complete AI assistant stack:

  • OpenClaw โ€” personal AI agent framework (gateway on port 18789 by default)
  • Ollama โ€” local LLM inference (Llama, Mistral, Qwen, etc.); default is Anthropic (Claude) when ANTHROPIC_API_KEY is set, with Ollama as fallback
  • Qdrant โ€” vector database for memory (API and dashboard on port 6333)

Important: OpenClaw, Ollama, and Qdrant all run inside Docker containers. Nothing is installed directly on your host. Container ports are mapped to localhost, so you use the stack at http://localhost:18789 (gateway) and http://localhost:6333 (Qdrant)โ€”containers on the inside, localhost on the outside.

All pre-configured, networked, and ready to go. Deployment files and secrets live in ~/.dave-it-guy/deployments/openclaw/ (including .env and config/). To change ports or re-run compose, use the same directory:

cd ~/.dave-it-guy/deployments/openclaw
# Optional: edit docker-compose.yml or .env, then:
docker compose up -d

ASCII Architecture Diagram

OpenClaw stack deployed by Dave-IT-guy โ€” all services run in containers; you access them via localhost.

                    โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
                    โ”‚  Host (localhost)                                        โ”‚
                    โ”‚                                                          โ”‚
  dave-it-guy       โ”‚   :18789 (gateway)        :6333 (Qdrant API/dashboard)   โ”‚
  deploy openclaw   โ”‚         โ”‚                          โ”‚                     โ”‚
        โ”‚           โ”‚         โ–ผ                          โ–ผ                     โ”‚
        โ–ผ           โ”‚  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”            โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”          โ”‚
  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”   โ”‚  โ”‚   Browser    โ”‚            โ”‚   Browser     โ”‚          โ”‚
  โ”‚ Dave-IT-guy โ”‚   โ”‚  โ”‚   / Client  โ”‚            โ”‚   / Client   โ”‚          โ”‚
  โ”‚    CLI      โ”‚   โ”‚  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜            โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜          โ”‚
  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”˜   โ”‚         โ”‚                          โ”‚                     โ”‚
         โ”‚          โ”‚         โ”‚                          โ”‚                     โ”‚
         โ”‚          โ”‚  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”             โ”‚
         โ”‚          โ”‚  โ”‚  Docker bridge network (dave-it-guy)   โ”‚             โ”‚
         โ”‚          โ”‚  โ”‚                                         โ”‚             โ”‚
         โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”ผโ”€โ”€โ–บ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”                  โ”‚             โ”‚
                    โ”‚  โ”‚    โ”‚ dave-it-guy-     โ”‚                  โ”‚             โ”‚
                    โ”‚  โ”‚    โ”‚ openclaw        โ”‚โ—„โ”€โ”€โ”€ :18789       โ”‚             โ”‚
                    โ”‚  โ”‚    โ”‚ (gateway + UI)  โ”‚                  โ”‚             โ”‚
                    โ”‚  โ”‚    โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜                  โ”‚             โ”‚
                    โ”‚  โ”‚             โ”‚                           โ”‚             โ”‚
                    โ”‚  โ”‚      โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”                    โ”‚             โ”‚
                    โ”‚  โ”‚      โ–ผ             โ–ผ                    โ”‚             โ”‚
                    โ”‚  โ”‚  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”            โ”‚
                    โ”‚  โ”‚  โ”‚ dave-it-guy-    โ”‚  โ”‚ dave-it-guy-    โ”‚โ—„โ”€โ”€โ”€โ”€ :6333 โ”‚
                    โ”‚  โ”‚  โ”‚ ollama (LLM)    โ”‚  โ”‚ qdrant (vectors) โ”‚            โ”‚
                    โ”‚  โ”‚  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜            โ”‚
                    โ”‚  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜             โ”‚
                    โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
  • Dave-IT-guy CLI renders config and runs docker compose up; all services run inside containers.
  • OpenClaw talks to Ollama and Qdrant over the internal network; only the gateway (18789) and Qdrant (6333) are exposed on localhost.

Pricing

Tier What Price
Free Local Docker Compose stacks $0
Pro Cloud templates (Terraform), priority support $15/mo or $29 one-time

Stack Templates

Available Now

  • openclaw โ€” Full OpenClaw + Ollama + Qdrant
  • ollama โ€” LocalHost Ollama with model management
  • rag โ€” RAG pipeline (Qdrant + embeddings API)

Coming Soon

  • langchain โ€” LangChain + vector store + API
  • comfyui โ€” ComfyUI + model cache

Commands

dave-it-guy deploy <stack>          # Deploy a stack locally
dave-it-guy deploy <stack> --cloud <provider>  # Deploy to cloud (pro)
dave-it-guy list                    # List available stacks
dave-it-guy status [<stack>]         # Check running stacks
dave-it-guy stop <stack>            # Stop a stack (preserves data)
dave-it-guy destroy <stack>         # Remove a stack (use --volumes to remove data)
dave-it-guy logs <stack>            # View stack logs
dave-it-guy doctor                  # Diagnose common issues

Deploy options (e.g. for openclaw): --port / -p (gateway port), --ollama-port (expose Ollama on host), --dry-run (render config only), --gpu, --models llama3.1,mistral, --api-key / -k (Anthropic), --skip-setup (skip interactive prompts).

Teardown (destroy and uninstall)

To remove the stack and the CLI:

dave-it-guy destroy openclaw              # Stop containers and remove deployment files
dave-it-guy destroy openclaw --volumes    # Also remove data volumes (Qdrant, Ollama)
pip uninstall dave-it-guy                 # Uninstall the package
rm -rf ~/.dave-it-guy                     # Optional: remove config directory

Use python3 -m dave_it_guy destroy openclaw if dave-it-guy is not on your PATH.

Check Ollama and Qdrant

Use the stack name you deployed (e.g. openclaw if you ran dave-it-guy deploy openclaw). Status and logs only work for stacks that are already deployed.

# If you deployed OpenClaw (includes Ollama + Qdrant)
dave-it-guy status openclaw
dave-it-guy logs openclaw --service ollama
dave-it-guy logs openclaw --service qdrant

Cloud Providers (Pro)

Provider Status
Azure ๐Ÿ”œ Coming Soon
AWS ๐Ÿ”œ Coming Soon
GCP ๐Ÿ”œ Coming Soon
DigitalOcean ๐Ÿ”œ Coming Soon

Requirements

  • Python 3.9+
  • Docker & Docker Compose (for local deploys)
  • Terraform (for cloud deploys, auto-installed if missing)

License

MIT โ€” Free and open source.

Cloud templates require a Pro license key.


Built by NeuroGamingLab ยท Dare to Dream, Inspire Leadership, and Spark Innovation Through Diverse Ideas.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dave_it_guy-0.1.7.tar.gz (33.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dave_it_guy-0.1.7-py3-none-any.whl (29.2 kB view details)

Uploaded Python 3

File details

Details for the file dave_it_guy-0.1.7.tar.gz.

File metadata

  • Download URL: dave_it_guy-0.1.7.tar.gz
  • Upload date:
  • Size: 33.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for dave_it_guy-0.1.7.tar.gz
Algorithm Hash digest
SHA256 1aa34931ebd7a03aee698dcd10d4dc3b035fb2fc90413bd192d89a796a21d13f
MD5 b971ecb06dfab1a71e6a0e8b021d3277
BLAKE2b-256 086507e20896a8d7f8e7658f994b358be919592ff916de3e18b76904dd4f7b68

See more details on using hashes here.

File details

Details for the file dave_it_guy-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: dave_it_guy-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 29.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for dave_it_guy-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 bd1e3a2506b00fbae4f776f7ec88297787ec25788658f78663696f411308eea4
MD5 d4bdcdda99505ed488542e63b09e6d9e
BLAKE2b-256 9a9294bece01727d2bccaadb943d53625fdb50110e7c5c335c9d1064f0d96bf3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page