Setup
- Go to Integrations settings
- Click Connect GitHub and authorize your account
- Install the Replicas GitHub App on your repositories
- Add repositories you want Replicas to access
@tryreplicas mentions on any issue or PR in that repository.
Each repository can only be connected to one Replicas organization. If you need to transfer a repository to a different organization, remove it from the current organization first.
How It Works
Trigger from GitHub Issues
Add@tryreplicas to any comment on a GitHub issue to start a new task.
- Replicas creates a new workspace to work on the issue
- The agent provides an implementation plan before making changes
- When complete, the agent creates a PR and comments on the original issue with:
- A link to the PR
- A summary of the changes made
- When the issue is closed, the associated workspace is automatically cleaned up
Trigger from Pull Requests
Add@tryreplicas to any pull request review (e.g requesting changes) or comment.
- If the pull request was made by a Replicas agent, it will see it, make changes, and respond directly to you.
- If the pull request was made by someone else, a new workspace and Replicas agent will be spun up.
Auto Respond To Review Bots
You can configure an allowlist in Organization Settings → GitHub Auto Responders to automatically react to specific GitHub users or bots without requiring@tryreplicas.
This is useful for reviewer bots like greptile-apps[bot] and coderabbitai[bot].
CI/CD Failure Auto-Response
When a CI/CD check fails on a pull request linked to a Replicas workspace, the agent is automatically notified and investigates the failure. It reads the failure logs, diagnoses the issue, pushes a fix, and comments on the PR. This works with two sources of CI failures:- GitHub Actions workflows, triggered via
workflow_runevents when a workflow completes with a failure. - External CI checks, triggered via
check_runevents from any non-Actions provider that posts results through the GitHub Checks API (e.g. Mintlify, CircleCI, Buildkite).
- Respond to CI workflows: controls auto-response for GitHub Actions failures (enabled by default).
- Respond to CI checks: controls auto-response for external CI check failures (enabled by default).
CI providers that report status via the Statuses API or Deployments API (e.g. Vercel deployment status) are not yet covered by this feature.
PR Attribution
Pull requests created by Replicas agents can be attributed to you instead of the Replicas bot. This requires your GitHub account to be connected in User Settings → Connections. When enabled, thegh CLI inside the workspace uses your personal GitHub OAuth token, so gh pr create shows you as the PR author. Git operations (push/pull) still use the Replicas app token.
This feature is off by default and can be controlled at three levels:
- User preference (
pr_user_attribution): Toggle in Account Settings → Preferences to attribute PRs to you for your own workspaces. - Organization preference (
pr_user_attribution): Toggle in Organization Settings → PR Attribution to set the org-wide default. - Organization security policy (
require_pr_user_attribution): Toggle in Organization Settings → Security Policies. When enabled, all workspaces in the org attribute PRs to the user regardless of individual user preferences.
Context
For issues, the context includes:- Issue number, title, and description
- Your comment body
- PR number and branch
- Your comment or review body
- Review state (approved, changes requested, etc.)
- File path and diff hunk (for line comments)
Intended Usage
Use GitHub Issues to:- Start new features or bug fixes directly from issue tracking
- Get implementation plans before code changes
- Track work from issue to PR automatically
- Request changes on PRs
- Comment on specific lines
- Ask for fixes or improvements
/plan in your comment to request a planning-only response with a plan link. See Plan Mode.