Skip to content

Problem

Coordinate AI tools and providers with continuity when the available quotas change.

My part

My own integration, configuration and scripts on top of third-party tools such as Claude Code and OpenCode.

Screenshot of the note that tells the agentic-dev-setup case
The note that tells the case

Key decisions

  • One paid brain decides and reviews; bounded work runs on free models routed by OmniRoute, with a local model as the last step.
  • Three work tiers: trivial and bounded work is delegated; complex or security-sensitive work stays with Claude Code, undelegated.
  • A rule against delegating by reflex: if writing the brief costs more than making the change, I do it myself.
  • Secrets never touch git: they are read from environment variables and the keys are backed up in an age-encrypted file.
  • Localhost only: the gateway binds to 127.0.0.1 and requires an API key, with no tunnels.

Technologies

  • Claude Code
  • OpenCode
  • herdr
  • OmniRoute
  • Ollama
  • Engram
  • qwen3:14b
  • systemd
  • age

Result

A public, documented setup, used to build this site.

What I learned

  • Instructions cost too: each request carries about 45–50k tokens of instructions and tools, which burns through quotas quickly.
  • Free models sometimes make things up: one saved a false fact to memory, so I check each agent's diff, build and report.
  • A local model that does not fit shows on the GPU: if ollama ps reports a CPU/GPU split, the model does not fit in VRAM.
  • Circuit breakers hide the problem: if a combo jumps straight to the last step, its providers were marked unhealthy.

The note where I discuss this

Claude piensa, los modelos baratos teclean: mi entorno multi-agente por US$20 al mes

Un orquestador de pago decide y revisa; modelos gratuitos y uno local ejecutan. Así enruto el trabajo con herdr, OpenCode, OmniRoute, Ollama y Engram.

Read the note