Run STAR Locally
STAR is designed to run in CI — see Running STAR in CI for the supported setup. The same binary can also be run directly on a machine, which is useful for debugging a run outside of CI.
The download links, per-platform binary names, and the exact download/run commands are maintained in the bright-agent-dist README — follow it rather than copying commands from here, so you always get the current instructions.
What a local run does
- Download the binary for your platform from the releases page and verify its
.sha256checksum, per the README. - Run it from inside a checkout of the repository you want to scan. STAR runs against the working copy you already have on disk — it does not clone.
LOCAL_REPO_PATHdefaults to the current directory. - STAR detects the tech stack, builds and starts the app, scans it, and opens (or updates) a pull request with any verified fixes.
The minimum environment is BRIGHT_TOKEN, REPO_ACCESS_TOKEN, and credentials for your selected inference provider. Most providers use INFERENCE_TOKEN or OPENAI_API_KEY; AWS Bedrock can instead use supported AWS credentials from an IAM role, EC2 instance or ECS task role, profile, or OIDC federation. See Configuration, AWS Bedrock Authentication with IAM and OIDC, and Prerequisites.
The diagnostic log is written to ~/.bright-agent/logs/run-<timestamp>.log; set BRIGHT_DEBUG=1 to also mirror it to the console. See Logging & Troubleshooting.
Updated 11 days ago