Introduction
Formal is a modern network security and privileged access management platform built from the ground up to enforce least privilege for both humans and AI agents. The core of Formal is two proxies. The first is the , a protocol-aware reverse proxy that you deploy within your own network. You can think of it as a super powerful bastion host. With the Connector, security teams can control access to . The second is the Endpoint, a protocol-aware egress proxy that runs on the host (macOS, Linux, and Windows). It transparently intercepts TCP and UDP flows and terminates TLS. This gives security teams visibility and control over the traffic of their AI agents. Using the , you gain visibility into the requests, responses, and going through the Connector and the Endpoint. You can then write that are evaluated against the traffic going through the Connector or the Endpoint to perform actions (, blocking, filtering) against requests, responses, and sessions.Use cases
Each card links to a guide or policy example for that use case.Control AI agents
Block agent Git pushes
Stop coding agents from pushing to sensitive repositories over SSH and HTTPS
Prevent cloud agents from auto-merging PRs
Run the Endpoint on Cursor and Devin cloud agents and block GitHub auto-merge
Restrict Codex Desktop to LLM and MCP
Allow only LLM and approved MCP egress from Codex Desktop and its child processes
Install the Endpoint on Grok Bot
Cover Grok Bot computers and block Gmail with a network rule and policy
Protect Git tokens in command lines
Block agents from putting Git tokens on a command line, and encrypt them in logs
Block malicious package downloads
Block npm, PyPI, and other packages that Socket flags
Keep credentials out of reach
Keep Stripe API keys off laptops
Store the key on the Connector and inject it into Stripe API calls
Keep API keys out of cloud agent sandboxes
Forward Cursor and Devin API calls to a Connector that injects the credential
Keep API keys out of Daytona sandboxes
Inject API keys from a Connector, outside the agent’s sandbox
Keep API keys out of E2B sandboxes
Run the Endpoint in an E2B sandbox and inject keys from a Connector
Keep API keys out of Modal sandboxes
Run the Endpoint in a Modal Sidecar with Modal OIDC
Seal tokens and restrict sign-ins
Encrypt MCP OAuth tokens
Encrypt Notion MCP OAuth tokens on the Endpoint or Connector
Seal Claude Code OAuth tokens
Let users sign in with their own account while tokens stay encrypted on the device
Seal Claude Desktop session cookies
Replace session cookies with sealed values that don’t work directly against Claude
Restrict Anthropic sign-ins to one org
Inject tenant restrictions so users can only sign in to your organization
Give agents database access
Give Devin just-in-time database access
Let Devin query a database with OIDC after a human approves in Slack
Give AgentCore agents database access
Let an Amazon Bedrock AgentCore Harness query a database with its AWS identity
Control access to infrastructure
Block writes to production
Let engineers read production databases while blocking changes
Block specific MCP tools
Block MCP tool calls by name, such as GitHub
list_pull_requestsRate limit access
Block users who access a resource too often per minute or hour
Monitor sessions
Review user connections, queries, and activity in real time
Govern AI usage
Publish approved MCP servers and skills
Keep a Catalog of what your organization approves, and let employees request access
Review shadow AI
Find MCP servers and skills used outside your Catalog, then allow or block them
Set guardrails for unknown MCPs and skills
Choose whether unknown MCP servers and skills are monitored or blocked
Monitor AI usage
Chart which AI clients, models, MCP servers, and skills people use
Control LLM spend
Price LLM tokens and cap what each user spends
Route MCP servers through the MCP Gateway
Make every MCP client sign in to remote MCP servers with Formal
Protect data
Mask PII and secrets
Mask labeled columns and redact SSNs in LLM requests
Discover and classify data
Label sensitive data with built-in and custom data labels
Explore the Access Graph
See which people, agents, and machines reach which Resources
Get started
Use our API for full control
Automate everything with Terraform, Pulumi, or direct API access
Add a Resource
Connect your first database to Formal in less than five minutes