cd /news/developer-tools/show-hn-changed-how-i-use-agent-harn… · home topics developer-tools article
[ARTICLE · art-84346] src=github.com ↗ pub= topic=developer-tools verified=true sentiment=· neutral

Show HN: Changed how I use agent harnesses

A developer using OpenCode switched from LiteLLM to Bifrost, a single Go binary with a local SQLite config store, to route requests across 9 providers with automatic fallbacks, eliminating interruptions from rate limits during complex tasks. The gateway setup uses one base URL in OpenCode's config, allowing requests to fail over to providers with headroom when one returns a 429 error.

read1 min views1 publishedAug 3, 2026

I’ve been using OpenCode for quite a while now, and I’m in love with it. The subscription cost of Claude Code or Codex doesn’t make much sense to me, so I prefer the free tier of OpenCode Zen!

But for planning and drafting I do need capable models, which I grab from Zenmux or similar providers, and those are heavily rate-limited. I’d get most of the way through a task and hit a limit, which meant stopping, opening the config, swapping the provider, restarting, and picking the task back up from wherever it died. Three or four times per complex task. Losing the quota was annoying. Losing my place in the task was worse.

What I settled on was putting a gateway in front of everything and pointing OpenCode at that instead of at any single provider. One base URL in the OpenCode config, and the routing happens behind it. When one provider 429s, the request goes to the next one with headroom.

I tried LiteLLM first. It works, and if your stack is already Python it’s probably the more obvious pick.

But, I recently found out about Bifrost, and switched from LiteLLM. What made it fit my setup is that it’s a single Go binary with a local SQLite config store, so there’s no separate database service to run alongside it. I’ve got 9 providers configured with fallbacks between them, which is the part that actually fixed the interruptions.

Sharing in case it helps anyone with the same problem. Took me a while to land on this.

Comments URL: [https://news.ycombinator.com/item?id=49151998](https://news.ycombinator.com/item?id=49151998)

Points: 1

── more in #developer-tools 4 stories · sorted by recency
── more on @opencode 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/show-hn-changed-how-…] indexed:0 read:1min 2026-08-03 ·