Show HN: aiport – A self-improving local LLM gateway for the erratic vibe coder ...
Show HN @show
Show HN: aiport – A self-improving local LLM gateway for the erratic vibe coder github.com · 1 points · 0 comments · HN thread
TL;DR aiport is an experimental Go program that runs on loopback and sits between a developer's apps, coding agents and LLM providers (OpenAI, Anthropic, Bedrock, Meta, Ollama, llama.cpp). It gives each app one client and its own revocable token, keeps provider keys in a local env file, logs call metadata only, and proposes fixes such as routing and compression changes that the user approves. The project is single-user, has no release downloads yet, and its live compatibility gate has not been passed by any provider and coding-agent combination.
- One OpenAI-style or Anthropic-style client per app, pointed at aiport, instead of per-provider setup code
- Provider keys live in a mode 0600 env file, never in the YAML config; each app and agent gets its own revocable token
- Only request metadata is logged (app, model, effort, latency, status, failure reason); prompts and responses are never stored
- Repeated failures are grouped into Issues with proposed fixes; changes need approval and can be reverted; coding-agent fixes run in a separate git worktree and are committed to a new branch only if kept
- Requests pass through in native provider formats without translation, so a client only reaches providers that speak its protocol
- Experimental: token counts and cost are not measured, Gemini runs bypass aiport, and it must be built from source (Go 1.27+)
Discussion The thread has no comments yet, so there is no discussion to summarize. The submission has one point and zero comments at the time of capture.