# OsApi

> Lets agents call services like GitHub or Neon, and holds the dangerous calls until you approve them.

Source: https://osevel.com/products/osapi/

## The problem: The dangerous call is not always SQL.

- In public incidents, agents deleted production databases and their backups through a provider’s API.
- A token found in a file gives an agent every permission it has.
- Nothing stops a single destructive call before it runs.

## How it works

1. **The agent calls a service.** Railway, Neon, Supabase, Render, GitHub or Vercel, with a stand-in key.
2. **OsApi reads the call.** And sorts it: a read, a change, or a danger.
3. **Reads and changes go through.** The real key is put in on the way; nothing slows down.
4. **Dangers are held.** The agent is told why; you approve with your passkey.

## What it does

- **Six providers known.** Railway, Neon, Supabase, Render, GitHub and Vercel.
- **Unknown writes held.** A call it does not know is asked about, not let through.
- **Approve where you are.** In the dashboard with a passkey, or in the terminal.
- **The agent never holds the key.** It works with a stand-in.
- **A reason for the agent.** It is told what was held and to retry after approval.
- **Every call recorded.** What was called, how it was sorted, and what happened.

## Example: OsApi · calls

An example, not real data.

- GET /projects: Neon (allowed)
- POST /deployments: Railway (allowed)
- DELETE /projects/prod-db: Neon (held)

## Limits

- Deploys, jobs and functions run with your secrets and go through; a setting can hold them for production.
- Only calls that pass through OsApi are checked.

## Works with

- [OsVault](https://osevel.com/products/osvault.md): Keeps your API keys locked on your computer and gives them to agents only while they run.
- [OsBase](https://osevel.com/products/osbase.md): A database your AI agents can work on without seeing private data, where every change can be undone.
- [OsBrain](https://osevel.com/products/osbrain.md): Checks what your AI agents do to databases, cloud APIs and tools, and holds the risky moves until you approve them.

Docs: [OsApi](https://osevel.com/docs/products/osapi.md)
