Integration Overview
Use this integration to capture Cursor cloud-agent activity and upload each session log to your own Google Cloud Storage bucket. It is meant for testing cloud-agent telemetry without running a hosted Asymptote backend. This flow depends on the Beacon CLI. You runbeacon cloud commands from your
workstation to create the GCS upload path and generate the setup script that
runs inside the Cursor cloud sandbox.
If you’re interested in leveraging this telemetry ingest across your
enterprise, Asymptote Managed is designed for
production cloud-agent telemetry ingest at scale.
Overview
Cursor Cloud Agents run in Cursor’s cloud environment, so Beacon cannot use the long-running endpoint agent that local installs use. Instead, the setup script installs Beacon hooks inside the sandbox. During a cloud-agent session, those hooks write/tmp/beacon/runtime.jsonl; at the end of the session, Beacon
uploads that file to GCS.
The setup has three parts:
- Create a dedicated GCS bucket and uploader service account with Beacon.
- Add Beacon cloud telemetry environment variables to the Cursor cloud environment.
- Run a Beacon-generated setup script inside the Cursor cloud environment.
Prerequisites
- Beacon CLI
v0.0.52or later. gcloudinstalled and authenticated to the Google Cloud project you will use for telemetry storage.- A Google Cloud project where you can create buckets, service accounts, IAM bindings, and service account keys.
- Cursor Cloud Agent access for the repository you want to test.
- A Cursor cloud environment with outbound access to:
oauth2.googleapis.comstorage.googleapis.comgithub.com
gcloud and select your project:
1. Create the GCS Upload Path
From your workstation, choose a bucket and prefix:BEACON_CLOUD_GCS_CREDENTIALS_B64 anywhere you
share screenshots or logs.
The helper creates a dedicated uploader service account and grants it object
upload access to the selected bucket.
2. Configure Cursor Cloud Agents
Open your Cursor Cloud Agent environment for the repository. Add these environment variables:3. Add the Setup Script
Generate the setup script for your Beacon release:- installs
beaconandbeacon-hooksin/tmp/beacon/bin, - finds the cloud sandbox repository root from
BEACON_CLOUD_REPO_DIR,CURSOR_PROJECT_DIR, or the current directory, - merges Beacon hook commands into
.cursor/hooks.json, - excludes generated Cursor hook settings from git commits.
4. Run a Cloud Agent Task
Start a Cursor cloud agent task that uses tools. For example:5. Verify GCS Upload
List the uploaded session objects:Security Note
The self-serve GCS flow above creates a dedicated service account scoped to object uploads for one bucket, then stores its credentials in the Cursor cloud environment. This is useful for proof-of-concept testing, but treat that environment variable as a sensitive credential. Avoid broad credentials and review access before using this flow with sensitive telemetry.Troubleshooting
The bucket is empty
Confirm the Cursor setup script ran and generated hooks:runtime.jsonl exists but GCS is empty, check network access and GCS
credentials. The cloud sandbox must reach both oauth2.googleapis.com and
storage.googleapis.com.
Cursor tries to commit hook settings
The setup script appends.cursor/hooks.json to .git/info/exclude in the
cloud sandbox. Confirm the exclude file exists in the sandbox clone:
Related
Cursor runtime support
Review local Cursor telemetry through Beacon-managed hooks.
Google Cloud Storage forwarding
Review local endpoint GCS forwarding for persistent endpoint deployments.
Asymptote Managed
Use managed secure ingest for production enterprise cloud-agent telemetry.
Agent Beacon on GitHub
Request new cloud-agent destinations or contribute support.

