Skip to main content

Overview

You install the Formal Endpoint while the Cursor Cloud Agents environment is built. Each session then signs in to Formal with a Cursor OIDC token, as a machine user. No Formal API key is stored in the environment. Cursor environment builds keep installed files, but not running processes. The setup starts the Endpoint again for every Cloud Agent run.

Steps

1

Create the OIDC integration

Go to OIDC Integrations and click Create Integration. Select the Cursor preset and the machine user for your agents. See Configure the OIDC integration.
2

Install the Endpoint in the environment

Copy the headless Debian package link from Download Endpoint in the Control Plane. Then follow the Cursor tab in Configure the agent environment.If the environment restricts egress, allow api.joinformal.com.
3

Verify

Start a new session, then run:
The first command prints the machine user. The second shows Transparent Mode is running.

Next Steps

Prevent cloud agents from auto-merging PRs

The full setup, with a policy that blocks GitHub auto-merge

Keep API keys out of cloud agent sandboxes

Let a Connector inject the credential instead

Write network rules

Choose which traffic the Endpoint intercepts

Control AI agents

Decide what coding agents can reach, push, and install