Overview
The Formal Endpoint is a protocol-aware egress proxy that runs on the host. It sees traffic from apps, CLI tools, and AI agents before that traffic leaves the machine. With Transparent Mode, the Endpoint captures traffic without any change to your apps. Your network rules select the flows, and the Endpoint routes each one:- Traffic for resources behind a Connector. The Endpoint opens a mutual TLS (mTLS) tunnel to the and forwards the traffic through it. The Connector evaluates your and reaches the .
- All other traffic. The Endpoint terminates TLS, evaluates your policies, logs the request to the , and sends it directly to the internet.
Install the Endpoint
macOS
Install the app, or deploy it with MDM
Windows
Install the MSI and sign in
Linux
Debian and Ubuntu desktops and servers
MDM rollout
Silent install, trusted CA, and automatic sign-in
Kubernetes
Native sidecar for Pod traffic
Amazon ECS
Sidecar for EC2 and Fargate tasks
Cursor Cloud Agents
Install in the environment and sign in with OIDC
Devin
Install once in the environment blueprint
Modal
Sidecar with Modal OIDC
Daytona
Linked sandbox that runs the Endpoint
E2B
Endpoint inside the E2B sandbox
Grok Bot
Install on Grok Bot computers
The Endpoint runs a background process, started with
formal agent, that
the CLI talks to. Endpoint guides call it “the agent”. It is unrelated to
Formal Agent, the AI assistant
in the Control Plane.Authenticate machines
CI jobs, VMs, and agent sandboxes have no user to sign in. They log in with an OIDC token or an API key instead. See Log In with OIDC.How the Endpoint picks a Connector
When the Endpoint sends a resource’s traffic to a Connector, it picks the Connector from listener configuration. This coversformal connect, Transparent Mode, and network
rules with forward_to_connector.
A Connector is a candidate for a resource when:
- It has a hostname. With several hostnames, the Endpoint uses the alphabetically first one.
- It is in the same Space as the resource, or neither has a Space.
- One of its listeners has a rule that matches the resource.
What you can do with the Endpoint
Block agent Git pushes
Stop coding agents from pushing to sensitive repositories
Block malicious packages
Block npm, PyPI, and other packages that Socket flags
Seal Claude Code OAuth tokens
Keep tokens encrypted on the device
Govern AI Harnesses
Discover, approve, and monitor MCP servers, skills, and AI harnesses
Best Practices
Keep the Endpoint running
Keep the Endpoint running
CLI commands need the Endpoint running. Enable Launch at startup in
preferences.
Use tab completion
Use tab completion
With
formal connect, press Tab to complete resource names.Browse resources with the TUI
Browse resources with the TUI
Run
formal ls to explore and connect to resources without memorizing
names.Disconnect when done
Disconnect when done
Disconnect from resources when you finish to free local ports.
Next Steps
Write Network Rules
Select the traffic the Endpoint intercepts
Configure the Endpoint
Set startup behavior in
~/.formal/config.tomlTroubleshoot the Endpoint
Diagnose Transparent Mode, login, and reporting issues
CLI Reference
Authenticate, list resources, and connect
