# GitHub and AI agents, with a person on what cannot be undone.

> Let AI agents use GitHub’s API with a stand-in token: issues and pull requests go through, and deleting, transferring or publishing a repository waits for you.

Source: https://osevel.com/integrations/github/

Let AI agents work with GitHub through OsApi. Issues, pull requests and comments go through at once; a call that deletes, transfers or publishes a repository, or removes branch protection, waits for you.

## Good to know

- **Everyday work goes through.** Issues, pull requests, reviews, comments and commits through the API are not held.
- **Dangerous calls held.** Deleting, transferring, archiving or publishing a repository, force-moving a branch and removing branch protection wait for a person.
- **REST, GraphQL and MCP.** OsApi reads the REST API, the GraphQL API and GitHub’s hosted MCP server; GitHub tokens are locked when you save them.
- **Not git itself.** A force push through git is not read yet: OsApi covers GitHub’s API only.

## Set it up

```sh
# 1. link this computer to your vaults (the Vault page shows your dashboard address)
osevel vault connect --server https://<your dashboard>
# 2. run the agent’s commands with the vault’s keys, locked
osevel vault run -- <command>
# 3. list provider keys an agent could use without OsApi seeing the calls
osevel api scan
```

Pre-release (0.2). Install: `npm i -g @osevel/cli` (the command is `osevel`).

More: [The OsApi docs](https://osevel.com/docs/products/osapi/)
