Honcho and Ollama: local memory setup for Hermes

Learn to connect Hermes to local Honcho memory with Docker and Ollama, including the embedding fix for this setup's 1,536 dimensions.

Player not loading? Watch on YouTube

This walkthrough sets up self-hosted Honcho memory for a Hermes AI agent, with Honcho and Ollama on a Mac and Hermes on a Raspberry Pi. The speaker wants to replace hosted memory before cloud credits run out. The local instance starts empty; the tutorial does not migrate the existing cloud history.

The speaker explains how Honcho's background reasoning extracts conclusions from conversations and retrieves context for later turns. It runs alongside Hermes's built-in memory files. Prerequisites include a working Hermes installation, Git, Docker, Docker Compose and enough hardware for the chosen local LLM. The tutorial uses Qwen 3.5 27B for reasoning through Ollama's OpenAI-compatible endpoint.

The setup covers Docker services, environment variables, an API health check on port 8000 and the Hermes memory configuration. Troubleshooting addresses a refused connection caused by using localhost across two machines, a missing Hermes workspace and failures when saving conclusions.

The speaker resolves the embedding errors with Qwen 3 Embedding 4B and stresses the 1,536-dimension requirement in this configuration. Containers reach Ollama through host.docker.internal on port 11435. Final tests report a saved preference and retrieve the fact that Hermes runs on a Raspberry Pi. Authentication is disabled for the demonstration; the speaker advises enabling it with a JWT token for production.