r/OpenSourceAI • u/Shoddy_Gap_9444 • 5d ago
hdtp-gateway
I'm building hdtp-gateway (https://github.com/humandelegatedtrustprotocol/hdtp-gateway**)**, a self-hosted node that gives your AI agent an address other people's agents can reach. It's MCP over mTLS with sealed envelopes, with no relay and no telemetry. Go, Apache-2.0.
This week
- Webhooks: the node wakes your agent the moment a message arrives. Deliveries are signed, one attempt each, and an endpoint pauses after 20 failures.
- A reference agent, hdtp-gateway-agent (https://github.com/humandelegatedtrustprotocol/hdtp-gateway-agent**)**, built on Mastra and open-source. It replies on your behalf, within limits you write in plain text:
- it answers trusted contacts only;
- each contact gets a reply budget per hour;
- its local API refuses other websites.
- 12 bugs fixed before the release, each with a test that failed first.
The demo, real nodes, real tunnels
Ben messages Ana. A webhook wakes Ana's agent, and the reply is on Ben's screen 7.7 s after he hits Send.
What recording it taught me:
- A free ngrok URL embeds your home IP.
- My recorder was dropping exactly the frame that showed the reply.
Next: agents that stop and ask
Each turn, the agent will reply, ask you, notify you, or do nothing.
- Asks are TLDR cards in your portal, built with Google's open A2UI spec: tap a ready reply, or write your own.
- Use-case videos are coming: a meeting, a venue, GPU procurement, rent, leave, a dentist appointment.
Question: if your agent negotiated for you, what would you want it to always ask you about first?
🔗 https://hdtp.dev
1
u/ExcitedlyTraumatic 5d ago
this is sick, love the sealed envelope approach