.circleci/config.yml if one is missing and it is safe to do so, and configures how it will fetch pipeline results for agent branches. Run agentrail provider connect circleci to get started.
Connect CircleCI
- Verifies your token has access to the project.
- Checks the repo for a
.circleci/config.ymlfile. - Creates a starter Node workflow config if the file is missing and a safe inference is possible.
- Configures the CircleCI pipeline-run API as a fallback if automatic branch builds are not available and your token can access a pipeline definition.
- Runs provider readiness checks and reports any blockers it cannot fix locally.
For non-interactive environments, set environment variables before running the connect command.
Webhook verification
AgentRail verifies inbound CircleCI webhook requests using theCIRCLECI_WEBHOOK_SECRET environment variable. To receive push-based pipeline status updates instead of polling, configure your CircleCI webhook to deliver to your AgentRail server’s /providers/circleci/webhooks path and set CIRCLECI_WEBHOOK_SECRET in your server environment before starting AgentRail.
What it sets up
Health check
provider doctor runs full provider readiness — it is not just a token check. A passing result means CircleCI is ready for AgentRail’s lifecycle operations.
You can also check all providers at once:
.png?fit=max&auto=format&n=TNCV8lxzL1ij3U4N&q=85&s=7345b71aa1c450c74f35b67c2655fc43)