The always-on services on trogdor: small model, search, voice, images (one Portainer git stack)
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Chris Moriarty 12389887bd README: Braid gives every run the picture page itself
Co-Authored-By: Claude <noreply@anthropic.com>
2026-12-02 16:21:45 -05:00
skills/make-image make-image: a skill that lets agents make a picture; Braid's agents can reach port 8096 2026-12-02 15:53:33 -05:00
docker-compose.yml The small model is for titles and ancillary jobs only (owner, 2026-11-30) 2026-11-30 13:12:12 -05:00
README.md README: Braid gives every run the picture page itself 2026-12-02 16:21:45 -05:00

The always-on services on trogdor

One Portainer stack, trogdor-services, for everything that runs all the time on trogdor's two Quadro RTX 5000s, plus the CPU text to speech beside them. They are one stack because they share one budget: the memory of the two cards. The table at the top of docker-compose.yml is that budget.

Service Port Where What it is
small-model 8091 card A Qwen3.5-9B on vLLM, served as qwen3.5-9b. For chat titles and other ancillary jobs only
search-embed 8092 card B Embeddings: POST /v1/embeddings, model qwen3-embedding-0.6b
search-rerank 8093 card B Reranker: POST /v1/rerank, model qwen3-reranker-0.6b
speech-to-text 8094 card B Whisper large-v3-turbo: POST /v1/audio/transcriptions
images 8096 card B ComfyUI with Z-Image Turbo
text-to-speech 8185 CPU Kokoro: POST /v1/audio/speech, model kokoro

Until 2026-11-30 these were five stacks. The measurements and the reason for each setting are in their repos, which are kept as history: cmoriarty/trogdor-utility, cmoriarty/trogdor-search, cmoriarty/trogdor-voice and cmoriarty/trogdor-images. Kokoro's stack was typed into Portainer's editor.

Working with it

  • Change a setting: edit docker-compose.yml, push, then "Pull and redeploy" in Portainer. Only the services whose settings changed are restarted.
  • Stop one service: stop its container in Portainer. The stack's own Stop button stops all six.
  • The volumes (utility_utility_cache, search_search_cache, voice_voice_hf, images_images_data) were made by the old stacks and are used by name. Removing this stack does not remove them.
  • Before adding anything to a card, read the memory column in the compose file. Card A is full. Card B has about 5.7 GB free while ComfyUI is idle, and ComfyUI uses that room when it draws.

Pictures for agents

skills/make-image is a skill: a short page of instructions and a script that let an agent make one picture through ComfyUI. Braid gives every run its own copy of the page and script since its pull request 625 (2026-12-02), so a project needs nothing. OpenCode on the owner's Mac has this folder in its global skills. The script needs only Python 3, and the picture is saved in the project.

Since 2026-12-02 Braid's agents can reach port 8096 and no other port here (OSF_IMAGE_SERVER on Braid's stack, 122). ComfyUI has no login, so an agent that reaches it can also list, load and cancel other picture jobs. The owner was told this and chose it over a separate small picture service; the skill tells agents to use only its script.

Checked that day from inside a Braid sandbox: the script made a picture, and ports 8090 to 8094 and 8185 were refused.

What the small model is for

Chat titles in OpenCode and Open WebUI, and nothing that matters. The owner's rule of 2026-11-30: a model this small cannot be trusted with a task of substance, so it is not used as a reader, a subagent or a tool caller. A reader subagent on it was set up in OpenCode that morning and removed the same day. In a test on 2026-11-29 it quoted a requested line exactly only 21 times in 40.