
One gateway, 100+ endpoints, the whole network behind it
Delegator is a plain-Python HTTP router (stdlib, no FastAPI) that runs on port 3900 on my VPS. It centralizes 100+ endpoints: email (Resend — free tier 100/day, then pay-per-use), SMS (Twilio — pay-per-message), calendar (Hebcal free + Google Calendar), Drive, research (Perplexity Pro API + Gemini), content-studio, landing-pages, campaigns, pipeline orchestration, and auto-routing. Auth is handled today with a simple API key (JWT-ready in middleware), and everything is logged to Qdrant. For me it fronts all 10 agents behind a single gateway — for you it can replace Zapier (free tier 100 tasks/month, Starter ~$29/mo, Professional ~$73/mo in 2026) or Make, and serve as an API gateway for any multi-agent architecture, without scattering credentials across five different .env files.
You have 5 agents, all of them need to send email? No. One sends to the delegator, the delegator handles it. Simple.
credentials in every agent, updating means updating several places
credentials in the delegator only, rotate once
Kami needs API keys for Resend, Stripe, Postiz, Gmail, fal.ai...
Kami sends POST /email to the delegator → delegator does the magic
Want to block publishing on Shabbat? Wire it into 5 agents
Calendar gate in the delegator. Every publish goes through it. One place.
When you add a new webhook — update every agent
Add it to the delegator, everyone gets it for free
Here's how:
The moment you have 3, you already have coordination overhead. Delegator solves it.
One place — one contract, one rate-limit, one audit log.
Zapier-style — internal email/sms/post/calendar pipelines.
A few independents building together? Delegator works beautifully as a shared service.
Click any section to open it
The full code in delegator.py
Free tunnel for public exposure
Calendar data for Israel + Jewish calendar
Uses the delegator for email, research, content
Crews accessible through the delegator
Want a gateway for your network?
Plain Python, free cloudflared, and the result — an agent network that's easy to maintain.
Full-Stack Developer & AI Specialist
The Delegator has been with me for 6 months, ~5,000 lines of code, 100+ endpoints. The first version was 200 lines. It grew with need — every feature that showed up in a handful of agents ended up passing through it. This guide is based on that growth.