ai newsMo., 2. Nov.
EilmeldungMeituan's LongCat-2.5 Drops Into Claude Code at $0.30/$1.20. Its Setup Caps You at 200K

KI-Gateway in Go haelt autonome Coding-Agenten bei Sub-Millisekunden-Latenz

Autonome Coding-Agenten wie Claude Code oder Cursor feuern dutzende LLM-Aufrufe pro Minute ab. Herkoemmliche Python-Proxies verursachen dabei hohe Latenzen und Speicherprobleme, ein Go-Gateway loest das.

dev.toMontag 11:49 · 02.11.DE1 Min. Lesezeit
Bild: dev.to

When building workflows with autonomous coding agents (like Claude Code, Cursor, or OpenCode), agent execution loops issue dozens of rapid LLM calls per minute. Standard Python-based proxies introduce 40ms–100ms of latency per hop, balloon to hundreds of megabytes in memory, and easily choke during parallel agent streaming.

To solve this, I built GoRoute ( https://github.com/ziuus/goroute ) — an ultra-lightweight, high-throughput AI gateway and dynamic LLM router written in Go.

go install github.com/ziuus/goroute@latest goroute --port 8080 --config config.yaml Enter fullscreen mode Exit fullscreen mode Or via Docker:

docker run -p 8080:8080 -v $( pwd ) /config.yaml:/app/config.yaml ghcr.io/ziuus/goroute:latest Enter fullscreen mode Exit fullscreen mode Point your agent or SDK to http://localhost:8080/v1 and you are ready.

GoRoute is 100% open source under the MIT License.

Feedback, issue reports, and benchmarks are warmly welcomed! If you are building agentic tools or multi-model pipelines, give it a try.h

Originaltitel: Building a Sub-Millisecond AI Gateway in Go for Autonomous Coding AgentsQuelle: dev.to (dev.to). Original öffnen