Skip to main content
Struct Agent can hand an investigated issue to a configured coding agent, which prepares a code change for your review. Review, merge and deployment follow your team’s process.Use Struct Build Agent, Cursor or Devin. Choose repository access, setup scripts and when a fix may be started. An opened PR is not a deployed resolution.
Configure the coding agent Struct Agent should use to prepare fixes from investigation evidence. Select the authorized repository, execution environment and trigger policy. Review, merge and deployment remain separate steps in the team’s process.

Inspect the current configuration

Workspace admins configure the executor. Connect GitHub and select a repository the installation can access.

Configure the executor

Use a supported Node version and reuse an existing repository configuration. For Cursor or Devin, save their credentials through struct build-agent keys set cursor --stdin or struct build-agent keys set devin --stdin; Devin also needs its organization ID. Never print the key. Select the provider through struct build-agent settings set after the credentials are present.Use struct build-agent scripts set REPO --pre --file setup.sh for setup and --post --file check.sh for validation. Use struct build-agent prompt set REPO --file instructions.txt for repository instructions. Store required environment variables with struct build-agent secrets set NAME --stdin rather than embedding values in scripts.Keep automatic triggers off unless requested. If the person chooses automatic fixes, inspect struct build-agent settings set --help for trigger and confidence options and read back the chosen configuration.

Verify a bounded fix

Start a requested fix from its investigation or teammate conversation. Check the resulting PR, the code change and the validation it ran. Do not describe a PR as a production fix before it has been reviewed, deployed and verified.To work on a fix yourself, connect to Struct MCP and read the existing investigation and its evidence before changing code.

Provider permissions

Cursor

A Cursor API key: a user or service-account API key that can start and follow up on Cloud Agents

Build agent

Hand fixes to Cursor Cloud Agents on your team plan.Permission catalog version 2026-11-04.1. See permission changes.

Devin

A Devin service user API key and your organization ID: a service user key (cog_…) whose role can create, read and message sessions in your organization

Build agent

Hand fixes to Devin sessions in your organization.Permission catalog version 2026-11-04.1. See permission changes.