October 16, 2026 · Repo picks, AI gateways
Repo picks: open-source building blocks for an AI gateway
LiteLLM for one controlled entry point, Microsoft’s Agent Governance Toolkit for policy on every agent action, and a benchmark to compare gateways. With the security history you need to know.
A gateway gives every model call one front door: per-team keys, budgets, logs and fallbacks. It is also a target. Wiz reported in September that nearly 1 in 10 publicly reachable LiteLLM instances accepted a default master key or needed no login at all, and a LiteLLM flaw (CVE-2026-59822) is on CISA’s list of exploited vulnerabilities.
So the picks below come with the security notes first. Patch, change the default key, and keep the admin UI off the internet.
1. LiteLLM
One OpenAI-style API in front of 100+ model providers, with per-team keys, budgets, spend tracking and fallbacks.
For: IT leads who want one controlled entry point for model traffic
uv tool install 'litellm[proxy]' litellm --model gpt-4o
Know before you use it: Pin a version (1.105.1 or later), never 1.82.7 or 1.82.8 (malware, GHSA-5mg7-485q-xm76). Change the default master key and keep the admin UI off the internet.
2. Agent Governance Toolkit
Checks every tool call an agent makes against a written policy, blocks what the policy denies, and logs each decision.
For: Teams building agents, and the IT or compliance lead who approves them
pip install "agent-governance-toolkit[full]"
Know before you use it: It is a Public Preview, so expect breaking changes. Its README badge says OWASP Agentic Top 10: 7 full, 3 partial.
3. AI Gateway Bench
Measures the latency and memory a gateway adds, so you can compare LiteLLM, Portkey, Bifrost and OpenRouter before you pick one.
For: Platform engineers choosing a gateway
git clone https://github.com/BerriAI/ai-gateway-bench
Know before you use it: It comes from BerriAI, the company behind LiteLLM. Treat the results as a vendor’s benchmark and rerun them on your own traffic.
Get the next one
An every-other-week email with one framework or tool, what it cost and what broke. You also get our 10-page PDF of the top 10 open-source projects for AI agents.