reverse-proxy-for-agents
OfficialRoute and protect AI agents at scale.
System Documentation
What problem does it solve?
This Skill removes the complexity of routing, protecting, and scaling network traffic for AI agent fleets by providing clear patterns for reverse proxies, TLS termination, load balancing, WebSocket streaming, and agent identity propagation so agents can communicate reliably without port conflicts or budget exhaustion.
Core Features & Use Cases
- Protocol-aware routing: Path- and content-based routing for HTTP, WebSocket, and LLM-router traffic with support for Nginx, Caddy, Traefik, and Cloudflare.
- Resilience & state handling: Health checks, sticky sessions, ip_hash, and shared-state alternatives to prevent context loss for stateful agents.
- Streaming & performance: Streaming-friendly proxying (disable buffering, long timeouts), keepalive and worker tuning for high-throughput scenarios.
- Safety & cost control: Rate limiting, per-key/IP quotas, and classifier recommendations to avoid heavy on-proxy LLMs and runaway billing.
- Integration patterns: Agent gateway pattern, service mesh considerations (Envoy/Istio), and MCP server proxying for multi-agent architectures.
- Use Case: Deploy a Caddy or Nginx gateway that routes code, research, and data agents with health checks, WebSocket upgrades, sticky sessions for stateful workloads, and per-client rate limits to protect budgets.
Quick Start
Use the reverse-proxy-for-agents skill to generate a production-ready Nginx, Caddy, or Traefik configuration that routes agent traffic with health checks, WebSocket support, sticky sessions, and rate limiting.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: reverse-proxy-for-agents Download link: https://github.com/curiositech/port-daddy/archive/main.zip#reverse-proxy-for-agents Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.