Supported connectors & rollback actions.

AgentRein wraps standard third-party SDKs transparently. Inspect each connector's mapped operations, automated rollback inverses, and safety approval gates.

142Actions
9Connectors
106Reversible
3Compensate-only
33Irreversible
Select ProviderGitHub (20 actions)

GitHub

Code & Issue Tracking

Track issues, pull requests, releases, and repository mutations with automated close/restore compensation.

TypeScript SDK@octokit/rest
Python SDKPyGithub
agentrein.wrap(github)
import { Octokit } from '@octokit/rest'
const octokit = new Octokit({ auth: process.env.GITHUB_TOKEN })
const agentOctokit = agentrein.wrap(octokit, session, { connector: 'github' })

Supported Actions & Rollbacks

20 actions available for GitHub

Files

3 actions
github.files.createReversible

Create file

Create a repository file in a branch

Rollback Behavior

Deletes the created file

github.files.updateReversible

Update file

Modify an existing file content

Rollback Behavior

Restores content from beforeState snapshot

github.files.deleteReversible

Delete file

Delete a repository file

Rollback Behavior

Recreates file content from beforeState snapshot

Issues & Comments

4 actions
github.issues.createReversible

Create issue

Create an issue on a repository

Rollback Behavior

Closes the issue automatically

github.issues.updateReversible

Update issue

Update issue title, body, or state

Rollback Behavior

Restores fields from beforeState snapshot

github.issues.lockReversible

Lock issue

Lock conversations on an issue

Rollback Behavior

Unlocks the issue

github.issueComments.createReversible

Create issue comment

Post a comment on an issue

Rollback Behavior

Deletes the created comment

Pull Requests

5 actions
github.pullRequests.updateReversible

Update PR

Update pull request title, body, or state

Rollback Behavior

Restores title, body, and state from beforeState

github.pullRequests.closeReversible

Close PR

Close an open pull request

Rollback Behavior

Reopens the pull request

github.pullRequests.reopenReversible

Reopen PR

Reopen a closed pull request

Rollback Behavior

Closes the pull request

github.pullRequests.mergeApproval

Merge PR

Merge a pull request into base branch

Rollback Behavior

Non-reversible (Safety HIGH) — requires approval

github.pullRequestComments.updateReversible

Update PR comment

Edit a review comment on a PR

Rollback Behavior

Restores comment body from beforeState snapshot

Releases

3 actions
github.releases.createReversible

Create release

Publish a new tag or release

Rollback Behavior

Deletes the created release

github.releases.updateReversible

Update release

Update release assets or body

Rollback Behavior

Restores name, body, and tag from beforeState

github.releases.deleteApproval

Delete release

Permanently remove a release

Rollback Behavior

Non-reversible (Safety HIGH) — requires approval

Reviews

1 action
github.reviews.createApproval

Submit PR review

Submit an approval or change request

Rollback Behavior

Non-reversible (Safety HIGH) — requires approval

Workflows

3 actions
github.workflows.enableReversible

Enable workflow

Enable an existing workflow file

Rollback Behavior

Disables the workflow

github.workflows.disableReversible

Disable workflow

Disable a workflow from running

Rollback Behavior

Enables the workflow

github.workflows.dispatchApproval

Dispatch workflow

Trigger a workflow_dispatch event

Rollback Behavior

Non-reversible (Safety HIGH) — requires approval

Users & Org

1 action
github.users.inviteReversible

Invite user

Send an org membership invitation

Rollback Behavior

Cancels the pending invitation