# Railway and AI agents, with a person on the deletes.

> Let AI agents call Railway with a stand-in instead of your token: deploys go through, and deleting a volume, its backups or a project waits for your approval.

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

Let AI agents work with Railway through OsApi. The agent holds a stand-in instead of your token; deploys and everyday changes go through, and a call that deletes a volume, its backups or a project waits for you.

## Good to know

- **Deletes and restores held.** Deleting a volume, a volume backup or a whole project, and restoring a backup over a volume, wait for a person.
- **Secrets held too.** Reading variable values, which hold database passwords, is held: a credential in the agent’s hands goes around every check.
- **Lock the token yourself.** A Railway token is a plain UUID that OsVault cannot recognise: lock it to backboard.railway.com when you save it.
- **Its API and its MCP server.** OsApi reads calls to the GraphQL API at backboard.railway.com and to the hosted MCP server at mcp.railway.com.

## 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 -- railway up
# 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/)
