Status: Private beta. This page follows the environment policy in
selfhost-v1.yaml and docs/SELFHOST_WORKER_PROTOCOL.md. Enforcement in the server and in gizzi worker is still being built.Environment network modes
Every environment has anetwork mode. Workers enforce it on every outbound connection from the sandbox, with a CONNECT proxy or the equivalent.
host_not_allowed. A policy change (PATCH /v1/environments/{id}) reaches a worker on its next claim. Work already claimed keeps the policy it was claimed with.
Git rules
MCP allowlist
MCP calls run on the server, not on workers.mcp.allowed_hostnamesin the settings file is the server-wide list.- Matching is exact and HTTPS only. A subdomain does not match, and an
http://URL is refused. - An agent’s
mcp_serversURLs must be on the list. - An environment’s
mcp.allowed_hostnamescan only narrow the server-wide list.
Narrow, never widen
An environment’sgit and mcp lists can only narrow the server-wide lists in the settings file. A host that is not on the server list is not allowed, whatever the environment says.
Hosts the server talks to
The server builds its outbound HTTP client from an allowlist taken from the settings file, and counts requests per host. It talks to:
The server is designed to talk to nothing else. It has no calls to
*.allternit.com by design: no sign-in, no license check, no update check and no telemetry to Allternit. Don’t take that on trust: the air-gapped compose override (compose.airgap.yml) puts the server, database, workers and a mock provider on a network with no route out and logs every DNS query, so you can check it on your own build.
Hosts a worker talks to
- The Agents Server, over HTTPS. That is the worker’s own traffic and is not sandbox traffic.
- From inside the sandbox, only what the environment’s
network,allowed_hostsandgitrules allow. The sandbox cannot reach the server API.
Ports
Workers need no inbound port.
TLS
The server listens on plain HTTP on loopback by default. For clients on other machines, put a TLS-terminating reverse proxy or load balancer in front and setserver.public_url to the HTTPS URL. The web app and PWA only accept https:// server URLs. See Client apps.