Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Docker 8 min read How-to mediumAdept

Develop and deploy voice AI apps using Docker

EchoKit is an open-source voice AI stack pairing an ESP32 client device with a WebSocket server that chains VAD, ASR, LLM and TTS models. The server runs as a Docker image configured through a mounted config.toml. A VAD-enabled image bundles Silero VAD to filter non-speech and detect conversation turns, trading more CPU for better recognition. Tool calling works through the Docker MCP gateway, shown with a DuckDuckGo search server and a spoken hold message to cover tool latency. Docker Model Runner can replace the cloud LLM with a local OpenAI-compatible gpt-oss endpoint, though ASR and TTS still need cloud services or LlamaEdge.

Related posts

  • Mr. Bones: A Pirate-Voiced Halloween Chatbot Powered by Docker Model Runner

    Docker mediumAdept

    A Home Depot animatronic skeleton becomes a pirate-voiced Halloween chatbot. A Raspberry Pi 5 captures speech and transcribes it with Vosk, then sends it to LLaMA 3.1 8B (Q4) served by Docker Model Runner on a gaming PC with an RTX 5070. ElevenLabs Flash speaks the reply, and Bluetooth audio drives the skeleton's jaw. The local model cut response time from about 4.5s with the ChatGPT API to 1.5s, and chunking the LLM output to the TTS service reduced perceived lag. A detailed system prompt keeps answers in character, kid-safe and short, and the post notes the remaining weak spots: dependence on the network and the multi-tier setup.

  • How to Build, Run, and Package AI Models Locally with Docker Model Runner

    Docker mediumAdept

    Docker Model Runner, enabled as a beta feature in Docker Desktop 4.40+, pulls GGUF-format LLMs from Docker Hub or Hugging Face and runs them locally via the `docker model` CLI or an OpenAI-compatible HTTP endpoint on localhost. The guide walks through enabling the feature, pulling, tagging and pushing models to a local registry, one-shot and interactive prompts, curl calls to the chat completions API, and packaging your own .gguf file with a license as an OCI artifact. Constraints noted: only GGUF is supported, one model is loaded at a time, and models unload after 5 minutes idle. Compose v2.35+ can declare models as services and inject connection URLs into dependent containers.

  • Building AI agents made easy with Goose and Docker

    Docker mediumAdept

    A local, containerized AI agent can be assembled from Goose as the agent, Docker Model Runner serving a Qwen3 30B GGUF model through an OpenAI-compatible endpoint, and Docker MCP Gateway exposing a YouTube transcript tool over SSE, all wired together with Docker Compose. The walkthrough covers the Dockerfile (installing ttyd and Goose, baking in config.yaml and a .goosehints file for business logic), the compose models and services sections, and the Goose provider settings that point at model-runner.docker.internal rather than localhost. An optional cloudflared service exposes the browser-based ttyd session publicly. The setup is modular: models, MCP servers, prompt logic or even the agent framework can be swapped by editing config.

  • Building an Easy Private AI Assistant with Goose and Docker Model Runner

    Docker mediumAdept

    Goose, a CLI AI assistant, can run entirely on a local model by pointing its OpenAI provider at Docker Model Runner's OpenAI-compatible endpoint. The steps are: enable Model Runner and host TCP access on port 12434 in Docker Desktop, pull ai/qwen3:30B-A3B-Q4_K_M, then set OPENAI_HOST and OPENAI_BASE_PATH (/engines/llama.cpp/v1/chat/completions) in Goose's config.yaml with the Developer extension enabled. Goose can then be scripted with `goose run -i instructions.md` and scheduled via crontab for recurring automations, with no data leaving the machine.

  • How to Make an AI Chatbot from Scratch using Docker Model Runner

    Docker mediumAdept

    A local GenAI chatbot built on Docker Model Runner, which runs llama.cpp models natively on the host and exposes an OpenAI-compatible API to containers. A Go backend uses the OpenAI client to stream tokens over SSE to a React/TypeScript UI. The backend also acts as a metrics bridge, exporting llama.cpp-specific Prometheus gauges such as tokens per second, context size, prompt evaluation time and memory per token, alongside Grafana dashboards and Jaeger tracing. The walkthrough covers pulling Llama 3.2 1B, starting the stack with docker compose, wiring Grafana to Prometheus, and the key code paths.

The quest for software engineering knowledge.

Look:
Layout: