HEXGATE_API_URL defaults to https://app.hexgate.ai, the hosted
path needs only HEXGATE_API_KEY. Self-hosting is the same SDK code with
HEXGATE_API_URL repointed at your own control plane — see the
platform overview for the full comparison.
Get a key
- Sign up at app.hexgate.ai.
- Create a project (or open the one seeded for you).
-
Go to Tokens, click Mint new token, and copy the value (
fty_live_…). It’s shown in full once. -
Add it to your environment:
Use it from the SDK
With the key set, any adapter or loader routes policy + audit through the cloud — no other code change. This is Shape B:HEXGATE_API_KEY from the environment automatically.
Serve a local agent to the cloud dashboard
Pointhexgate serve at the cloud and drive your locally-running
agent from the browser Playground:
What you get
- Remote policy decisions evaluated against your project’s signed WASM bundles
- An audit trail of every decision, queryable in the dashboard
- A browser policy editor + Playground
- Turn-level policy refresh — edit in the UI, the next chat turn enforces it