Products · Agents and infrastructure

Gateway

One control plane for every AI agent’s tools: personal tokens, masking of personal data, a full audit log and a kill switch.

Screenshot of gateway.dtwin.uz
Gateway

Overview

Gateway is a single control plane between AI agents and the internal systems they need. Each agent gets its own token, tool allow-list, rate limit and expiry; personal data is masked before it reaches the agent, and every call is written to an audit log. An admin can pause one agent or stop all of them with a kill switch.

Release level
WRL-1 · Prototype
Live since
Website
gateway.dtwin.uz

What it does

  1. Access per agent

    Tokens are stored only as hashes, and each one can be limited by tool, argument, IP address and expiry date.

  2. Masking comes first

    Passport numbers, phone numbers, cards and tokens are masked by column name or pattern, and admins can add and test their own rules.

  3. A complete audit

    Requests and masked responses are logged and streamed live to the admin panel, which also has a playground for trying calls.

How it works

  1. Agent connects

    An agent such as Claude Code or Cursor connects to the gateway’s MCP endpoint with its own token.

  2. Policy is checked

    The gateway checks the allow-list, rate limit and pause state before forwarding the call.

  3. Read-only query

    Connectors reach issue trackers, code hosts and databases read-only, and SQL is SELECT-only and always rolled back.

  4. Mask and log

    The result is masked, written to the audit log and only then returned to the agent.

In numbers

admin panel with audit and playground
v0.2.0
dtwinuz/gateway b0a5749
audit log retention
30 days
dtwinuz/gateway gateway/server.mjs

Built with

  • Node.js (no dependencies)
  • MCP
  • Server-Sent Events
  • Docker
  • Caddy
  • three.js
  • GSAP

Milestones

  1. Alert rules with Telegram notifications are added to the admin panel.
  2. v0.2.0: audit of masked responses, agent expiry and IP limits, custom masking rules.
  3. Gateway v0.1.0 goes live at gateway.dtwin.uz with a public MCP endpoint.

More products

Products

Built and supported by Wonmor.