# Osevel > Osevel is the trust layer for AI agents: a family of products that lets coding agents such as Claude Code, Cursor and Codex work on your databases, cloud APIs, keys and tools. Safe moves go through, risky ones wait for a person's approval, keys stay locked and your data stays yours. ## The products - **OsBrain**: one decision for every agent move across OsBase (database statements), OsApi (cloud API calls) and OsBox (MCP tool calls). Your own rules, which can only ask for more; one list of held moves (`osevel brain holds`); one record of every decision, sealed in our cloud (`osevel brain verify`); and `osevel brain coverage`, what agents can reach without Osevel seeing it. - **OsBase**: databases agents can work on safely: PostgreSQL 15 to 18, Supabase, Neon and Cloudflare D1. Every row an agent changes is recorded before and after, risky statements wait for a person, one change or a whole agent session can be undone, and agents see the shape of the data, not private values. - **OsVault**: keys and env values reach agents without a `.env` file. Encrypted end to end with a key made from your password on your device; given to a command only while it runs (`osevel vault run -- `) and masked in its output; a locked key reaches the program only as a stand-in, swapped for the real key on the way to its service. - **OsApi**: checks the calls agents make to Railway, Neon, Supabase, Render, Vercel and GitHub (their APIs and hosted MCP servers). Reads and everyday changes go through; a call that could delete a database, its backups or a repository, reveal a secret or give someone access waits for a person. - **OsBox**: one MCP setup for every AI tool (Claude Code, Claude Desktop, Cursor, Codex, VS Code, Windsurf, Gemini CLI). Each server is pinned at the version you accepted, its keys stay in OsVault, and on macOS and Linux it runs in the operating system's sandbox. - **OsMemory**: one memory across your AI tools, served through OsBox and synced sealed, so Osevel cannot read it. It imports what Claude Code, CLAUDE.md and AGENTS.md, Cursor rules and ChatGPT kept; you can see, change and delete every item. ## Status - Pre-release. The CLI `@osevel/cli` 0.2.0 is on npm (`npm i -g @osevel/cli`; the command is `osevel`) and includes every product above. OsVault, OsBox, OsApi and OsMemory need it on each computer where your agents run. - Hosted Postgres is not open yet: a working prototype; the beta will be by invitation. ## OsBase in short - The Osevel bridge runs on your computer or your team's server and holds the database password; agents never get it. Each agent has its own key and access level (read, write or schema). - The change log and the rules live in your own database, enforced by database roles; with your own database the rows never reach our cloud. - By default a person approves schema changes, UPDATE or DELETE without WHERE, opaque code (DO, CALL), writes over 100 rows, and more than 1,000 rows per session (3,000 for all agents) in 10 minutes. An approval is valid 15 minutes, single use, signed in the terminal or with a passkey. - The dashboard talks to the bridge end-to-end encrypted (Noise KK, X25519, AES-256-GCM); our cloud relays messages it cannot open. ## When Osevel fits - An AI coding agent reads or writes a PostgreSQL (15 to 18), Supabase, Neon or Cloudflare D1 database, production included, and every change should be recorded and undoable (OsBase). - Risky moves (schema changes, unfiltered deletes, deleting a cloud database or its backups) should wait for a person instead of running at once (OsBase, OsApi, OsBrain). - Agents use API keys that should not sit in `.env` files or reach the agent in plain text (OsVault). - Several AI tools should share the same MCP servers, pinned, with keys out of their config files (OsBox), or the same memory (OsMemory). ## When it does not fit (yet) - Writes by your own application or a database admin: they do not go through Osevel and are not recorded or held back. - Other databases (for example MySQL or MongoDB) are not supported, and OsApi checks only the six services above. - A key an agent finds outside a vault, and the calls it makes with it, are not seen; `osevel api scan` and `osevel brain coverage` list such keys. Keys for agents that run in someone else's cloud are not held by OsVault. - An agent can still use a locked key at its own service, within what the key allows there. - An OsBox tool call held by an OsBrain rule does not run: tool calls cannot be approved one by one yet. Rules for one named agent apply to database moves only. - A change you approved runs; undo can put most of it back, not all (sequence values, irreversible schema changes). --- # Osevel · The trust layer for AI agents > Osevel lets AI agents such as Claude Code, Cursor and Codex work on your databases, cloud APIs, keys and tools: safe moves go through, risky ones wait for your approval, keys stay locked and your data stays yours. Source: https://osevel.com/ ## Let AI agents work on real systems. On your terms. Databases, cloud APIs, keys and tools: your agents use them through Osevel. Safe moves go through, risky ones wait for you, and your data stays yours. [Start free](https://app.osevel.com/) [Dashboard](https://app.osevel.com/) `npm i -g @osevel/cli` Every agent move passes through this layer. - AI agents - [Claude Code](https://osevel.com/integrations/claude-code/) - [Cursor](https://osevel.com/integrations/cursor/) - [Codex](https://osevel.com/integrations/codex/) - [OpenCode](https://osevel.com/integrations/opencode/) - Any MCP client - Databases - [PostgreSQL](https://osevel.com/integrations/postgresql/) - [Supabase](https://osevel.com/integrations/supabase/) - [Neon](https://osevel.com/integrations/neon/) - [Cloudflare D1](https://osevel.com/integrations/cloudflare-d1/) Real incidents ### This already happened. Here is how it ends with Osevel. Osevel Replit July 2025 #### An AI agent deleted a live production database during a code freeze. - SaaStr founder Jason Lemkin told the agent not to change anything. - It ran destructive commands anyway. Records of about 1,200 executives and 1,100 companies were gone. - Then it made up data and misreported what it had done. [Fortune ↗](https://fortune.com/2025/07/23/ai-coding-tool-replit-wiped-database-called-it-a-catastrophic-failure/) [The Register ↗](https://www.theregister.com/2025/07/21/replit_saastr_vibe_coding_incident) Stopped by [OsBrain Holds the delete until a person approves it with a passkey.](https://osevel.com/products/osbrain) [OsBase Journals every change, so a delete can be undone.](https://osevel.com/products/osbase) When the database is connected through Osevel. Osevel #### OsBrain Checks what your AI agents do to databases, cloud APIs and tools, and holds the risky moves until you approve them. [Learn more](https://osevel.com/products/osbrain) [Get started](https://app.osevel.com/) #### OsBase A database your AI agents can work on without seeing private data, where every change can be undone. [Learn more](https://osevel.com/products/osbase) [Create a database](https://app.osevel.com/) Railway April 2026 #### An AI agent found a stray API token and deleted a production database, backups included, in nine seconds. - A Cursor agent at the startup PocketOS hit a credential mismatch during a routine task. - It found a Railway token in an unrelated file and used it to delete a storage volume. The backups were on the same volume. - The company was down for about 30 hours until Railway recovered the data. [Tom’s Hardware ↗](https://www.tomshardware.com/tech-industry/artificial-intelligence/claude-powered-ai-coding-agent-deletes-entire-company-database-in-9-seconds-backups-zapped-after-cursor-tool-powered-by-anthropics-claude-goes-rogue) [Euronews ↗](https://www.euronews.com/2026/04/28/an-ai-agent-deleted-a-companys-entire-database-in-9-seconds-then-wrote-an-apology) Stopped by [OsVault Keeps keys sealed, not lying in files for an agent to find.](https://osevel.com/products/osvault) [OsApi Holds a volume delete on Railway until a person approves it.](https://osevel.com/products/osapi) When the key is in OsVault and Railway calls go through OsApi. Osevel #### OsVault Keeps your API keys locked on your computer and gives them to agents only while they run. [Learn more](https://osevel.com/products/osvault) [Install](https://osevel.com/docs/) #### OsApi Lets agents call services like GitHub or Neon, and holds the dangerous calls until you approve them. [Learn more](https://osevel.com/products/osapi) [See how](https://osevel.com/how-it-works) postmark-mcp September 2025 #### A trusted MCP server turned on its users with one quiet update. - Someone published an unofficial Postmark email server for AI agents to npm. - Fifteen clean versions built trust. Version 1.0.16 added one line that copied every email the agent sent to the attacker. - It had about 1,500 downloads a week. Postmark’s owner said it had nothing to do with it. [The Hacker News ↗](https://thehackernews.com/2025/09/first-malicious-mcp-server-found.html) [Koi Security ↗](https://www.koi.ai/blog/postmark-mcp-npm-malicious-backdoor-email-theft) Stopped by [OsBox Runs each server at the exact version you accepted. A new version waits until you accept it.](https://osevel.com/products/osbox) When the server runs through OsBox. Osevel #### OsMemory Keeps what your AI tools learn about you encrypted and yours, and brings it to every tool you use. [Learn more](https://osevel.com/products/osmemory) [Get started](https://app.osevel.com/) #### OsBox Set up your AI tools' servers, keys and rules once, and every AI app uses the same setup. [Learn more](https://osevel.com/products/osbox) [Try OsBox](https://app.osevel.com/) Our vision ### Let AI work on real systems. Without blind trust. What we are building, one idea at a time. 01 #### Agents are becoming coworkers. They write the migration, run the query, open the pull request, call the API. The work is real, so the systems they touch have to be real too. Today · example claude-code ran a migration cursor opened a pull request my-agent queried orders claude-code called the Neon API 02 #### Today, trust is all or nothing. Give it the keys It can do everything, including the thing you would never allow. Nothing is recorded, nothing can be undone. Keep it out Nothing can go wrong, and nothing gets done. The agent cannot help with the work that matters. Osevel is the third way: let it in, on your terms. 03 #### Three promises, everywhere. Controlled Agents get only what you allow. Risky moves wait for a person. Visible Every action is recorded, in plain words, for you to read. Reversible Changes are journaled, so a mistake can be taken back. 04 #### Your data stays yours. Keys stay on your machine. Agents see the shape of your data, not the people in it. And we cannot read your rows either. What an agent sees email email_9f3c1a name hidden total ≈ 120 05 #### One layer. Many products. Each product covers one part of what agents touch. OsBrain joins them into one decision. [OsBrain](https://osevel.com/products/osbrain) [OsBase](https://osevel.com/products/osbase) [OsVault](https://osevel.com/products/osvault) [OsApi](https://osevel.com/products/osapi) [OsBox](https://osevel.com/products/osbox) [OsMemory](https://osevel.com/products/osmemory) [Start free](https://app.osevel.com/) [Read the security model](https://osevel.com/security) FAQ ### Before you decide **Is it safe to let an AI agent work on production?** With Osevel in between, the agent never holds your database password or your API keys. It works through its own limited login and locked keys, every decision is recorded, risky moves wait for a person, and database changes can be undone. **Do I have to send my data to Osevel?** No. With your own database, the change log lives in it, and the dashboard reads it through encrypted messages our cloud cannot open. Your API keys stay locked on your computer, and the secrets and memory notes we sync are sealed so we cannot read them. A database we host lives on our servers, encrypted, and our staff can reach it only with a time-limited grant that your owner signs. **Can an agent approve its own request?** No. Approvals always come from a person: in your terminal or in the dashboard with your passkey (and, for small reversible database changes outside production, in your editor). Your own rules can only ask for more, never less. **What happens if your cloud is down?** Agents keep their access and reading goes on. The dashboard pauses until we are back; teams choose whether writing pauses too, and after how long. **Do I need every product?** No. Use one, or use them all; they work better together. OsBrain is free with any of them. **Can I use it today?** Yes: install it with npm i -g @osevel/cli. Version 0.2.0 has OsBase for your own database, OsVault, OsApi, OsBox, OsMemory and OsBrain. Hosted databases are not open yet. --- # How it works · Osevel > Every Osevel product runs through one program on your machine: AI agents reach databases, keys, cloud APIs and tools through it, never directly. Risky moves wait for a person, and what is done is recorded. Source: https://osevel.com/how-it-works/ How it works ## One small program in between. Your agents work through a program that runs on your computer or your team’s server. It holds your database passwords and API keys; the agents never get them. ### One program, every product. Install it once with `npm i -g @osevel/cli`. Each product uses the same program and the same dashboard. - **[OsBase](https://osevel.com/products/osbase/)**: Agents reach your database through the program over MCP. It holds the database password, checks every statement and records every write in your own database. - **[OsVault](https://osevel.com/products/osvault/)**: A program started with osevel vault run gets its secrets as environment variables. A locked key reaches it as a stand-in; a local proxy puts the real key in only on requests to the address the key belongs to. - **[OsApi](https://osevel.com/products/osapi/)**: Calls to Railway, Neon, Supabase, GitHub and others go through that same proxy and are checked against a catalogue. Dangerous ones wait until a person approves them, in the terminal or the dashboard. - **[OsBox](https://osevel.com/products/osbox/)**: Each AI tool gets one osbox entry, written after your yes, with a backup. Your MCP servers are pinned and run in the operating system’s sandbox on macOS and Linux. - **[OsMemory](https://osevel.com/products/osmemory/)**: Notes are kept on your machine and served to every tool through OsBox. Copies sync through our cloud sealed, so we cannot read them. - **[OsBrain](https://osevel.com/products/osbrain/)**: Database moves, API calls and tool calls held by any product land in one list, decided by one set of rules. Every decision goes into a record on your machine. The rest of this page follows one product, OsBase, all the way into your database. OsBase ### Where each piece runs. OsBase ### The path of one statement. 1. **The agent sends one statement** Through the execute tool of its MCP server. BEGIN and COMMIT are refused: each call is one statement in its own transaction. 2. **The bridge checks it** Is it the right tool, and does the agent’s access level allow it? A statement sent to the wrong tool is not run. 3. **A trial run measures it** The write runs once and is rolled back, to count the rows it would touch in each table. 4. **The rules decide** The first matching rule says: run it, ask a person, or refuse it. 5. **It runs, and is recorded** Committed under the agent’s own login; a trigger keeps every row before and after. Or it waits for a person, and runs only as approved. Statements time out after 30 seconds, lock waits after 5. Reads run in a read-only transaction that is always rolled back. OsBase ### Inside your database: one role per job. The installer creates these logins in your database. The database itself refuses what a role may not do, so a rule holds even if the bridge were bypassed. - **`ar_agent`**: Your agents’ login. Reads and writes the tables you manage, within its limits; cannot change the schema, switch triggers off or touch the change log. - **`ar_migrator`**: Schema changes, and only through an approved, unexpired, single-use request. - **`ar_approver`**: Records decisions. No access to your tables. - **`ar_undo`**: Applies undo. Its writes are recorded too. - **`ar_remote`**: The dashboard. It may revoke an agent or lower its access, never raise it. - **`ar_auditor`**: Reads the change log for an auditor agent: counts and names, not rows. - **`ar_owner`**: Owns the change log. Nobody logs in as it. ### What stays with you, and what reaches us. | Data | Where it lives | Our cloud sees it | | --- | --- | --- | | Rows, SQL, approvals, the change log | Your database | Never; the dashboard reads them end-to-end encrypted | | Database password | Your machine or your team’s bridge | Never | | Secrets and their names (OsVault) | Your devices; our cloud keeps copies sealed with your key | Never in the clear | | Memory notes (OsMemory) | Your machine; synced sealed | Never the text: only sealed items, how many, and when they change | | Box requests (OsBox) | Your machines and the dashboard | Never in the clear: sealed end to end | | Decisions on held moves (OsBrain) | A record on your machine | Only a seal of its latest line, so lines cannot be removed unseen | | Who may do what | Records signed on your team’s devices | Stores them; any change is detected | | Account, organizations, invites | Our cloud | Yes | | Which bridges are online, traffic timing and size | Our cloud | Yes, as metadata | [Start free](https://app.osevel.com/) [The security page](https://osevel.com/security/) [OsBase in depth](https://osevel.com/product/) --- # Integrations · Osevel > Osevel works with Claude Code, Cursor, Codex and any MCP client; with PostgreSQL, Supabase, Neon and Cloudflare D1; and with the APIs of Railway, Neon, Supabase, Render, Vercel and GitHub. Source: https://osevel.com/integrations/ ## Integrations Osevel sits between the AI agent you already use and the databases and cloud services you already have. OsBox also sets up Claude Code, Claude Desktop, Cursor, Codex, VS Code, Windsurf and Gemini CLI with the same MCP servers. Pick yours. ### Databases - [PostgreSQL PostgreSQL 15 to 18, no superuser needed; the rules live in the database.](https://osevel.com/integrations/postgresql/) - [Supabase Tested on the Supabase Postgres 15 and 17 images, with RLS and extension guards.](https://osevel.com/integrations/supabase/) - [Neon Tested on hosted Neon; agents through the pooler, undo on the direct endpoint.](https://osevel.com/integrations/neon/) - [Cloudflare D1 No roles in D1, so every rule is enforced by OsBase, through templates.](https://osevel.com/integrations/cloudflare-d1/) ### AI agents - [Claude Code Its own key, its own access level, and every change under its name.](https://osevel.com/integrations/claude-code/) - [Cursor A key of its own, kept out of git, and a person on every risky change.](https://osevel.com/integrations/cursor/) - [Codex Tried with the real Codex; it starts at read, writes only when you say so.](https://osevel.com/integrations/codex/) - [OpenCode Its own key and level, and every change it makes undoable.](https://osevel.com/integrations/opencode/) ### Cloud services - [Railway Volume, backup and project deletes wait for you; lock the token when you save it.](https://osevel.com/integrations/railway/) - [GitHub Issues and pull requests go through; deleting or publishing a repository waits for you.](https://osevel.com/integrations/github/) - [Render Deleting or suspending a service, or reading its secrets, waits for you.](https://osevel.com/integrations/render/) - [Vercel Deleting a project, a deployment or a domain, or reading secrets, waits for you.](https://osevel.com/integrations/vercel/) --- # Learn · Osevel > Guides, comparisons and plain answers on letting Claude Code, Cursor or Codex use your databases, cloud APIs and API keys: permissions, audit logs, approvals, undo and a glossary. Source: https://osevel.com/learn/ ## Learn How to let AI agents work on your databases, cloud APIs and keys without risking them, whether you use Osevel or not. ### Guides - [How to safely connect an AI agent to your database Eight practices and a checklist for giving an AI agent database access without risking the data.](https://osevel.com/learn/connect-ai-agent-to-database/) - [AI agent database access, compared A connection string, a read-only user, the provider's MCP server and OsBase, side by side.](https://osevel.com/learn/ai-database-access-compared/) ### Problems and answers - [How to stop an AI agent from deleting production data Why AI coding agents delete data, and four layers that stop it: a login without destructive rights, approval for risky deletes, a record of every row, and undo.](https://osevel.com/learn/stop-ai-agent-deleting-data/) - [An audit log for AI agents’ database changes What an audit log for AI agents should record (agent, statement, rows before and after, who approved) and where to keep it so the agent cannot rewrite it.](https://osevel.com/learn/ai-agent-audit-log/) - [MCP database permissions: limiting what an AI agent can do How to limit what an AI agent can do in your database over MCP: a limited login, per-agent tool levels, rules enforced in the database, one writable database.](https://osevel.com/learn/mcp-database-permissions/) - [How to stop an AI agent from deleting cloud resources through an API An API token in an agent’s reach can delete a database and its backups in one call. How to hold dangerous calls to Railway, Neon, Supabase, Render, Vercel and GitHub for a person.](https://osevel.com/learn/stop-ai-agent-cloud-api-deletes/) - [How to give an AI agent API keys without handing them over Why .env files are the weak spot when AI agents run your code, and how to give a command its keys for one run, masked, or as a stand-in that works only at its own service.](https://osevel.com/learn/api-keys-for-ai-agents/) ### Reference - [Glossary MCP, least privilege, change journal, undo, stand-in, locked key and the other words, defined plainly.](https://osevel.com/learn/glossary/) --- # Pricing · Osevel > Osevel pricing: OsBrain is free with any product; OsBase starts free, then $15 or $30 a month, 17% off Pro yearly, Team for companies. OsVault, OsApi, OsBox and OsMemory are not priced yet. Source: https://osevel.com/pricing/ Pricing ## Safe agents on every plan Safety is never behind a paywall: approvals and undo come with every plan. OsBrain is free with any product, OsBase has the plans below, and the other products are not priced yet. By product ### What each product costs #### [OsBrain](https://osevel.com/products/osbrain/) Free Free with any Os product: it is the part that makes them one. #### [OsBase](https://osevel.com/products/osbase/) Plans below Start free. Plans differ in hosted databases, history and people. #### [OsVault](https://osevel.com/products/osvault/) Not priced yet Comes with the CLI 0.2.0. When it is priced, the price counts people. #### [OsApi](https://osevel.com/products/osapi/) Not priced yet Comes with the CLI 0.2.0. We tell you before anything is charged. #### [OsBox](https://osevel.com/products/osbox/) Not priced yet Comes with the CLI 0.2.0. We tell you before anything is charged. #### [OsMemory](https://osevel.com/products/osmemory/) Not priced yet Comes with the CLI 0.2.0. We tell you before anything is charged. OsBase ### Database plans Journal, undo and approvals are in every plan. Plans differ in how much you run, how long we keep history and how many people work with you. Hosted databases are not open yet. ### Free For side projects. $0 / month [Start free](https://app.osevel.com/) - 2 hosted databases - 2 of your own databases - Journal, undo and approvals - Community support ### Starter For one developer. $15 / month [Choose Starter](https://app.osevel.com/) - $8 usage included - 5 hosted databases - 30 days of history - Email support ### Pro Best value For agents on production. $25 / month $300 billed yearly · save 17% [Choose Pro](https://app.osevel.com/) - $18 usage included - 15 hosted databases - 3 team members - 90 days of history ### Team For companies. $99 / month [Choose Team](https://app.osevel.com/) - $50 usage included - Unlimited hosted databases - 10 members, two-person approval - 1 year of history ### Custom For your own terms. Let's talk [Talk to us](mailto:sales@osevel.com) - Single sign-on (SSO) - Custom limits and retention - Invoice billing - Security review help Beyond the included usage: **$0.16** per CU-hour of compute and **$0.50** per GB-month of storage. A spend cap is on by default, so you are never billed more than your plan unless you turn it off. Compare ### Every OsBase plan, side by side | Feature | Free | Starter | Pro | Team | Custom | | --- | --- | --- | --- | --- | --- | | **Usage** | | | | | | | Price per month | $0 | $15 | $30, or $25 yearly | $99 | Custom | | Usage included | Free limits | $8 | $18 | $50 | Custom | | Hosted databases | 2 | 5 | 15 | Unlimited | Unlimited | | Your own databases | 2 | 5 | Unlimited | Unlimited | Unlimited | | Team members | 1 | 1 | 3 | 10 | Custom | | **Safety** | | | | | | | Journal and one-click undo | Included in Free | Included in Starter | Included in Pro | Included in Team | Included in Custom | | Approvals with your passkey | Included in Free | Included in Starter | Included in Pro | Included in Team | Included in Custom | | Database-enforced agent limits | Included in Free | Included in Starter | Included in Pro | Included in Team | Included in Custom | | Credentials stay with you | Included in Free | Included in Starter | Included in Pro | Included in Team | Included in Custom | | History kept | 7 days | 30 days | 90 days | 1 year | Custom | | Point-in-time restore | 1 day | 3 days | 7 days | 30 days | Custom | | Roles | — | — | Included in Pro | Included in Team | Included in Custom | | Approval by two members | — | — | — | Included in Team | Included in Custom | | Approve from your phone Soon | — | — | Included in Pro | Included in Team | Included in Custom | | Single sign-on (SSO) | — | — | — | — | Included in Custom | | **Agents** | | | | | | | Branches for risky changes | 1 | 3 | 10 | 25 | Custom | | Masked columns for agents | Included in Free | Included in Starter | Included in Pro | Included in Team | Included in Custom | | **Support** | | | | | | | Support | Community | Email | Email | Priority | Dedicated | Free limits per hosted database: 0.5 GB of storage and 25 CU-hours of compute a month. Databases sleep when idle, and sleeping time is not counted. FAQ ### Before you pay **Do I pay for OsVault, OsApi, OsBox or OsMemory?** Not today: they are not priced yet, and we tell you before anything is charged. When OsVault is priced, it counts people. OsBrain stays free with any product. **What is “usage included”?** Every paid plan comes with a monthly credit for the compute and storage of your hosted databases. A small database that sleeps when idle often stays inside it. What you do not use does not carry over. **What happens when I reach a limit?** On Free, the database pauses until next month and its data stays. On paid plans the spend cap stops usage at your credit; turn the cap off and extra usage is billed at the prices above. We email you at 80% either way. **Is the free plan less safe?** No. The journal, undo, approvals and the limits the database enforces on agents are the same on every plan. Paid plans keep history longer and let you do more. **I already have a database. Do I pay for hosting?** No. Connect your Supabase, Neon or own Postgres and pay nothing for storage or compute: the database stays where it is, with your provider. **How does the yearly Pro plan work?** Pro is $25 a month when you pay for the year: $300 instead of $360, 17% off. Starter and Team are billed monthly. **Can I cancel?** Yes, any time from the dashboard, with no call or form. Your plan runs to the end of the period you paid for, and you can export your data before and after. Prices in US dollars, before tax. Osevel is in beta: prices and limits may change, and we tell you before they do. Hosted databases are not open yet; the OsBase prices apply once they are. ### Start free, upgrade when it matters No card needed. Your rows and credentials stay with you. [Start free](https://app.osevel.com/) --- # OsBase in depth · Osevel > OsBase, the Osevel database product, keeps AI agents safe on your data: agents see no values by default, every row is recorded before and after, rules hold risky statements for approval, and a change or a session can be undone. Source: https://osevel.com/product/ OsBase in depth ## Record. Ask. Undo. Three things OsBase does for every statement an AI agent sends to your database. Here is how each one works, with the real rules and numbers. This page is about OsBase, our database product. Keys, cloud API calls, tool setups and memory have their own products: [OsVault](https://osevel.com/products/osvault/), [OsApi](https://osevel.com/products/osapi/), [OsBox](https://osevel.com/products/osbox/) and [OsMemory](https://osevel.com/products/osmemory/). [OsBrain](https://osevel.com/products/osbrain/) decides on database moves, API calls and tool calls in one place. 1 · Record ### Every row, before and after. When an agent writes, a trigger in your own database keeps each row it touched as it was before and after, with the agent’s name and the statement. Your application’s writes are not recorded. - The change log lives in your database, not in our cloud. - Cascades count: rows changed through foreign keys are kept too. - Undo is itself recorded, so it can be undone. 2 · Ask ### Rules decide, in order. The first match wins. These are the rules a fresh install starts with. Pick a statement and watch it go down the list. You can add, change or remove rules, per table and per operation. 1. 10 Opaque code: a DO block or a procedure CALL asks a person 2. 20 UPDATE or DELETE without a WHERE clause asks a person 3. 30 Every schema change asks a person 4. 35 Writes that take this session above 1,000 rows in 10 minutes asks a person 5. 36 Writes that take all agents together above 3,000 rows in 10 minutes asks a person 6. 40 Data writes affecting more than 100 rows asks a person 7. 50 Other data writes (at most 100 rows) runs 8. 60 Reads runs Floors no rule can lower: forbidden statements are refused, and statements that cannot be undone, or that create code running with another role’s rights, always need approval. #### Volume limits, on a log scale Above each line a person is asked. Row counts include rows changed through cascades. #### What an approval is 3 · Undo ### One change, or a whole agent session. Undo always shows its plan first. It reverses the agent’s steps, latest first, and leaves alone anything that is no longer the agent’s. - Agent inserted `1045 · Ada Kaya · paid` deleted again - Agent deleted `1043 · Aiko Brandt · paid` inserted back - Agent updated `1042 · status refunded` restored to shipped #### When a step is skipped - **`row_missing`**: The row no longer exists. - **`row_modified`**: The row changed after the agent inserted it, so it is not deleted. - **`columns_modified`**: Someone changed these columns after the agent; they are not restored. - **`key_taken`**: A row with this key exists again, so the deleted row is not re-inserted. - **`schema_drift`**: The table or column changed since. By default the other steps still apply and the result says “partial”; with `--strict` nothing applies if any step conflicts. Sequence values and irreversible schema changes cannot be undone, which is why such statements always ask first. Access ### Each agent sees only the tools of its level. Every agent has its own key and one of three levels. Tools above the level are neither listed nor callable, and no tool approves, denies, undoes or edits the rules. read `inspect` `performance` `get_schema` `find_tables` `list_changes` `status` write adds `execute` `rehearse` `backfill` schema adds `migrate` Raising a level needs a typed confirmation at the terminal; the dashboard can only lower it or revoke the key, at once. Sight New in the CLI 0.2.0 ### What an agent may see is a setting of its own. Every column has a class: open, coarse, masked or hidden. A new agent sees the shape of the data and no values. Your database enforces it: the agent's login cannot read, filter on or return a private column, and its errors are rebuilt without values. structure tables, columns, keys, plans shape (default) counts and yes/no answers, no values masked rows, private columns as stand-ins clear real values of named columns, for minutes, after a person allows A reveal is asked for by the agent and given by a person: named columns, at most 15 minutes on production, a row budget, every read logged without its values. Secrets are never revealed. Where several agents share one database role, the database holds the highest level any of them has and osevel holds each agent's own. Together New in the CLI 0.2.0 ### Agents that know about each other, and learn. Agents on one database see who else is working and which of their changes wait for you. One can hand work to another; the other reads it as an agent's words, never as yours, and it grants nothing. People accept notes that every later agent reads. - **Handoffs**: at most 20 an hour, inside one database; you switch them off per agent. - **Notes and lessons**: agents propose, you accept; a denial can leave a lesson. - **Rehearsal**: a write runs and rolls back first, so the agent sees the rows and your rules' verdict before it asks. - **Keepers**: a local agent without a model checks the database every day and proposes fixes; it applies nothing. [Start free](https://app.osevel.com/) [OsBase](https://osevel.com/products/osbase/) [How it works](https://osevel.com/how-it-works/) --- # Security · Osevel > How Osevel keeps AI agents safe on your databases, keys, cloud APIs and tools: passwords and keys stay on your machine, approvals are signed with your passkey, and what reaches our cloud is sealed. Source: https://osevel.com/security/ Security ## How Osevel keeps your data in your hands Who we protect you from, what never leaves your side, what our cloud can and cannot do, and the limits we are honest about. ### Who we protect you from - **The agent**: It may be wrong, careless, or following instructions hidden in data it read. Everything it sends is treated as hostile. The database itself enforces its limits, it gets stand-ins instead of real keys where possible, and it cannot approve its own request. - **Our own cloud**: It relays encrypted channels and stores your account, and sealed copies of your secrets and memory. It cannot read your data, give anyone a role, enrol a device, or change a decision without it being caught. - **A page that lies**: The dashboard's code is served by us, so it could in theory show one thing and ask your passkey to sign another. The riskiest decisions need two people, a waiting period and a notice to your own channel; or serve the dashboard yourself and pin it. - **A team member**: Each member can do what their role allows, nothing more. A record they may not make takes no effect, and every decision they sign is kept as proof. ### What stays with you, and what reaches us | Data | Where it lives | Our cloud | | --- | --- | --- | | Rows, SQL, approvals, the change journal | Your database | Never: the dashboard reads them end to end encrypted | | Database credentials | Your machine or your bridge | Never | | Who may do what | Records signed on your team's devices | Stores them; any change is detected | | Secrets and their names (OsVault) | Your devices; sealed copies in our cloud | Never in the clear: only you hold the key | | Memory notes (OsMemory) | Your machine; synced sealed | Never the text: only sealed items, how many, and when they change | | Box requests and acceptances (OsBox) | Your machines and the dashboard | Never in the clear: sealed end to end | | Decisions on held moves (OsBrain) | A record on your machine | A seal of its latest line, so lines cannot be removed unseen | | Your account, organizations, invites | Our cloud | Yes | | Which connectors are online, traffic timing and size | Our cloud | Yes, as metadata | ### Layers, each enforced where it cannot be skipped #### Roles in your database Separate database roles for the agent, the journal, approvals, undo, the dashboard, auditors and strong decisions. The roles that decide have no access to your tables. #### A gate for schema changes DDL runs only through an approved, single-use, expiring request. An event trigger cuts an agent off the moment a risky capability appears. #### End-to-end encryption The dashboard and your bridge speak Noise KK. Nothing is decrypted before your passkey unlocks it, and decrypted data never touches storage. #### One gesture, one action Every action is a statement the dashboard shows and your passkey signs; the bridge runs exactly that statement, once. #### Signed records Roles, policies and devices are records signed on members' own devices, verified by your bridge and by the dashboard against the first record you pinned. #### Keys the agent does not hold OsVault gives a locked key to a program as a stand-in. A proxy on your machine puts the real key in only on requests to the address it belongs to. #### Dangerous API calls held OsApi sorts every call to a known cloud provider. A dangerous one, or a write it does not know, waits until a person approves it. #### Pinned tool servers OsBox pins every MCP server and runs it in the operating system's sandbox (macOS and Linux). A changed server waits until you accept it; an agent cannot add one itself. #### One record of decisions OsBrain keeps every decision in a chained record on your machine. Its latest line is sealed in our cloud, which never lets it go backwards. Your rules can only ask for more, never less. #### Strong actions Widening access needs two members on prod, waits, notifies your team's own channel, and is applied by the database only while a second program on another machine watches. ### What we do not protect against - **Your application and your database admin.** Their writes are not recorded or gated, by design. - **Whoever controls the machine that holds your credentials** controls those databases. - **Approved code.** A function or trigger you approve runs with the rights you gave it, later too. - **People who collude** can reach the number of signatures a decision needs. - **What goes around Osevel.** An agent that uses its own keys, or calls a service directly, is not seen. OsVault, OsApi and OsBrain decide only on what passes through them, and keys for agents that run in someone else's cloud are not held. - **Your mailbox.** Secrets can be recovered by email. Whoever takes over your mailbox and is not stopped during a short wait gets your secrets. And because we send that email, a compromised Osevel at that moment could keep the code: the one exception to “we hold no key to your secrets”. - **What a model does with what it recalls.** OsMemory holds suspicious text for you and refuses keys it recognises, but a model may still follow text it reads, and a secret split or reworded can get through. - **Our availability.** If our cloud is down, the dashboard pauses; agents keep working, and team writes stop after a set time if you choose. ### How it is tested For OsBase, every attack is a test that runs against real databases: hundreds of adversarial tests on six PostgreSQL and Supabase images, red-team tests of the team model against a real cloud and bridge, and whole-system stories from sign-in to audit. Every decision made in the dashboard can be checked again later, independently, with `audit proofs`. The full model, with every role, trust boundary and known limitation, is in the [security model](https://osevel.com/docs/security/model/) of the documentation. ### See it for yourself Open the dashboard and unlock it with your passkey. [Go to dashboard](https://app.osevel.com/) --- # Support · Osevel > How to reach Osevel support for every product, the service status page, and answers about the Osevel iPhone app: pairing, a lost phone, the app PIN, notifications and your data. Source: https://osevel.com/support/ Help ## Support Help with every Osevel product (OsBrain, OsBase, OsVault, OsApi, OsBox and OsMemory), the dashboard, the CLI and the iPhone app. Write to [support@osevel.com](mailto:support@osevel.com). ### Contact us Email [support@osevel.com](mailto:support@osevel.com). A person reads every message. We answer as soon as we can, usually within a few working days. It helps if you tell us: - which product you are using (OsBrain, OsBase, OsVault, OsApi, OsBox or OsMemory); - where: the dashboard, the CLI (`osevel --version` tells us which), or the iPhone app; - what you did, what you expected, and what happened instead; - the exact error message, if there was one. Please never send database passwords, connection strings, API keys or your app PIN. We never ask for them. Privacy requests (access, correction, deletion of your data) go to [admin@osevel.com](mailto:admin@osevel.com), as the [Privacy Policy](https://osevel.com/privacy/) explains. ### Service status If something seems down, check [status.osevel.com](https://status.osevel.com/) first. It shows whether our cloud service is working. ### The iPhone app #### What does the app do? It is the second confirmation for actions that need one, for example a risky change an agent asks for. The app starts nothing: it only confirms what was started in the dashboard. Every confirmation takes three steps: 1. the short code the dashboard shows you, typed into the app; 2. Face ID or Touch ID; 3. your app PIN (six digits, separate from the phone's passcode). A request is valid for two minutes. After that the dashboard shows a new code. #### How do I pair my phone? 1. In the app, choose an app PIN and turn on Face ID or Touch ID. The app then makes its key on the phone. 2. In the dashboard, open your organization and choose “Enrol a phone” under “Your phone”. Scan the code it shows with the app. The code works for 15 minutes. 3. The app shows an 8-digit code. An admin of your organization compares it with the code in their dashboard and enrols the phone only if the two are exactly the same. The app currently works with team organizations. A person has one enrolled phone at a time. #### I have a new phone, or I lost my phone The app's key is made in the phone's secure chip. It cannot be copied out, it is not backed up or synced, and it cannot be recovered. A new phone is always enrolled again, the same way as the first one. - **You still have the old phone:** enrol the new one with “Enrol another phone” in the dashboard. The old phone confirms its own replacement; the new phone takes its place once it is enrolled. - **The old phone is lost or broken:** ask another admin of your organization (a member who can manage members). They can remove the old phone and enrol the new one without it. If you are the only admin, nobody else can do this yet, so we suggest having a second admin. A thief holding the phone still needs your face or finger and your app PIN. You can also erase a lost iPhone with Apple's Find My. #### I forgot my app PIN There is no PIN reset. Five wrong PINs destroy the key on the phone, and a forgotten PIN takes the same road. After that, set the app up again and enrol the phone again as above. Changing the faces or fingerprints saved on the phone also ends the key. #### What do the notifications contain? Nothing about your data. A notification only says that something waits for you or that there is a new alert. It never carries database content, names of tables or the text of a request. The app fetches the details itself over its encrypted channel after you open and unlock it. Notifications are delivered by Apple Push Notification service. In the app, Account → Notifications lets you turn off alert notifications. Notifications for confirmations stay on. #### How do I remove the app or delete my data? - **Remove this phone:** in the app, Account → “Remove this phone” destroys the key on the phone. The phone stays listed in your organization's records until it is removed or replaced in the dashboard. - **What is on the phone:** the app keeps no database content, no logs and no database credentials. It fetches what it shows live. - **Delete your account:** in the dashboard, under Account. This also deletes the phone's sign-in token and push token. You can also write to [admin@osevel.com](mailto:admin@osevel.com). What we keep and for how long is in the [Privacy Policy](https://osevel.com/privacy/). ### Reporting a security problem If you think you found a security problem in Osevel, write to [support@osevel.com](mailto:support@osevel.com) with “Security” in the subject. Please tell us before you share it anywhere else. How Osevel is built to be safe is on the [Security](https://osevel.com/security/) page. ### More help - [Documentation](https://osevel.com/docs/) and [Troubleshooting](https://osevel.com/docs/troubleshooting/) - Docs per product: [OsBrain](https://osevel.com/docs/products/osbrain/), [OsBase](https://osevel.com/docs/products/osbase/), [OsVault](https://osevel.com/docs/products/osvault/), [OsApi](https://osevel.com/docs/products/osapi/), [OsBox](https://osevel.com/docs/products/osbox/) and [OsMemory](https://osevel.com/docs/products/osmemory/) - [Privacy Policy](https://osevel.com/privacy/) and [Terms of Service](https://osevel.com/terms/) - [Osevel home](https://osevel.com/) --- # OsBrain > Checks what your AI agents do to databases, cloud APIs and tools, and holds the risky moves until you approve them. Source: https://osevel.com/products/osbrain/ ## The problem: Each safety rule lives somewhere else. - Database rules, key rules and API rules do not know about each other. - A move that is safe in one tool can be dangerous in another. - When something is stopped, nobody says why. ## How it works 1. **An agent makes a move.** A database query, a call to a cloud API, a tool call: each goes through Osevel. 2. **OsBrain checks it.** With what OsBase, OsApi and OsBox decide, plus your own rules, in one place. 3. **Safe moves go through.** At once, without slowing the agent down. 4. **Risky ones wait for you.** With the reason in plain words, until you approve with your passkey. ## What it does - **Your rules, every product.** Hold or refuse moves anywhere; a rule can only ask for more. - **Reasons in plain words.** The agent and you both see why a move is held. - **Approve with a passkey.** Nothing risky is approved for you. - **Every decision recorded.** In a chained record sealed in the cloud, never your data or keys. - **No friction for safe work.** Everyday moves are never held. - **Across products.** Databases, cloud API calls and MCP tool calls. ## Example: OsBrain · decisions An example, not real data. - claude-code → OsBase: UPDATE orders (allowed) - cursor → OsBox: github create_issue (allowed) - agent → OsApi: DELETE prod-db (held) ## Limits - It decides on what passes through Osevel; an agent using its own keys elsewhere is not seen. - A held move waits for a person; nothing is approved automatically. - A tool call held by a rule does not run: tool calls are not approved one by one yet. - Rules for one named agent apply to database moves today. ## Works with - [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. - [OsApi](https://osevel.com/products/osapi.md): Lets agents call services like GitHub or Neon, and holds the dangerous calls until you approve them. - [OsBox](https://osevel.com/products/osbox.md): Set up your AI tools' servers, keys and rules once, and every AI app uses the same setup. - [OsVault](https://osevel.com/products/osvault.md): Keeps your API keys locked on your computer and gives them to agents only while they run. Docs: [OsBrain](https://osevel.com/docs/products/osbrain.md) --- # OsBase > A database your AI agents can work on without seeing private data, where every change can be undone. Source: https://osevel.com/products/osbase/ ## The problem: A database URL gives an agent everything. - It can read every customer's name and email. - One wrong DELETE and the data is gone. - Afterwards, nobody can say exactly what it changed. ## How it works 1. **Create or connect.** A hosted Postgres from us, or your own Postgres, Supabase or Neon. 2. **Agents connect through Osevel.** With a short-lived user, never with your database password. 3. **Rules decide each change.** Risky ones wait for your passkey; the rest go through. 4. **Every write is recorded.** Row by row, before and after, so it can be undone. ## What it does - **Masked columns.** Agents see the shape of your data, not the people in it. - **Before and after.** Every row a change touched, kept in the change log. - **Undo.** One change, or a whole agent session. - **Rules in order.** The first rule that matches decides. - **Approval with a passkey.** From the dashboard, for the changes you want to see first. - **Levels per agent.** Each agent gets only the tools of its level. ## Example: orders · production An example, not real data. - users.email: email_9f3c1a (hidden) - UPDATE orders: 3 rows (allowed) - DELETE orders: 1,284 rows (held) ## Limits - Masking hides values from agents, not from you or your own app. - Undo covers the changes that went through Osevel. - Hosted databases are not open yet; today OsBase works on your own Postgres, Supabase, Neon or Cloudflare D1. ## Works with - [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. - [OsApi](https://osevel.com/products/osapi.md): Lets agents call services like GitHub or Neon, and holds the dangerous calls until you approve them. - [OsVault](https://osevel.com/products/osvault.md): Keeps your API keys locked on your computer and gives them to agents only while they run. Docs: [OsBase](https://osevel.com/docs/products/osbase.md) --- # OsVault > Keeps your API keys locked on your computer and gives them to agents only while they run. Source: https://osevel.com/products/osvault/ ## The problem: .env files are everywhere. - Keys sit in plain files that any agent in the folder can read. - They end up pasted into chats and committed by accident. - Sharing them with a teammate means sending them in a message. ## How it works 1. **Make a vault.** Paste your .env or type your keys. Osevel sorts them into live and test. 2. **Give it to an agent.** Add it to Claude Code, Cursor or Codex in one step. 3. **The agent gets a stand-in.** The real value is put in only on the way to the service it belongs to. 4. **Share it.** Type a teammate’s email; the first time, you compare a short code once. ## What it does - **Only you hold the key.** Your password becomes the key on your device; it never reaches us. - **Stand-ins, not values.** Where possible the agent never holds the real key. - **Masked in the output.** A key the agent prints comes back hidden. - **Names hidden too.** We cannot see what your secrets are called. - **Recovery by email.** Get your secrets back even with the password forgotten. - **No .env file.** Nothing in plain text on disk. ## Example: OsVault · this project An example, not real data. - STRIPE_KEY: osv_ph_•••• (allowed) - DATABASE_URL: •••••••• (allowed) - OPENAI_KEY: •••••••• (hidden) ## Limits - Agents use the keys through the Osevel program on your computer; it must be installed. - Keys for agents that run in someone else’s cloud are not held by OsVault. ## Works with - [OsBox](https://osevel.com/products/osbox.md): Set up your AI tools' servers, keys and rules once, and every AI app uses the same setup. - [OsApi](https://osevel.com/products/osapi.md): Lets agents call services like GitHub or Neon, and holds the dangerous calls until you approve them. - [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: [OsVault](https://osevel.com/docs/products/osvault.md) --- # 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) --- # OsBox > Set up your AI tools' servers, keys and rules once, and every AI app uses the same setup. Source: https://osevel.com/products/osbox/ ## The problem: Every AI tool has its own setup. - Adding one MCP server means editing four or five files, on every computer. - The keys in those files sit there as plain text. - A server can change its code after you trusted it, and no tool tells you. ## How it works 1. **Add your servers once.** In OsBox, with their keys kept in OsVault. 2. **One entry in each tool.** OsBox adds itself to each tool’s config, after your yes, with a backup. 3. **Every server pinned.** A change to a server waits until you accept it in the dashboard. 4. **Fenced in.** On macOS and Linux each server runs in a sandbox. ## What it does - **Every tool.** Claude Code, Claude Desktop, Cursor, Codex, VS Code, Windsurf, Gemini CLI. - **Pinned servers.** Nothing changes under your agents unseen. - **Keys from OsVault.** Given as stand-ins, never written into tool configs. - **Accepted in the dashboard.** An agent cannot add a server to your box itself. - **Undo the setup.** Every tool config is backed up first and can be restored. - **Nothing new to learn.** Agents see ordinary tools, with no extra steps. ## Example: OsBox · tools An example, not real data. - Claude Code: set up (allowed) - github: pinned 1.4.2 (allowed) - Windsurf: waiting (hidden) ## Limits - It needs the Osevel program on each computer. - Each computer has its own box: your other computers and your team do not share one yet. - A server it cannot verify against its pin is not started. ## 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. - [OsMemory](https://osevel.com/products/osmemory.md): Keeps what your AI tools learn about you encrypted and yours, and brings it to every tool you use. - [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: [OsBox](https://osevel.com/docs/products/osbox.md) --- # OsMemory > Keeps what your AI tools learn about you encrypted and yours, and brings it to every tool you use. Source: https://osevel.com/products/osmemory/ ## The problem: Every AI tool forgets you in its own way. - Each one remembers on its own, locked to its vendor. - Context files drift apart and get committed by accident. - Nobody can easily see or fix what an AI remembers. ## How it works 1. **Every tool reads it.** Through OsBox: recall, remember and forget, with no new setup. 2. **It keeps what matters.** About you, your projects, decisions and lessons learned. 3. **What spreads waits for you.** An agent adds to its project at once; “about me” and team items wait. 4. **Yours to fix.** You can see, change and delete everything it remembers. ## What it does - **One memory, every tool.** Never explain the same thing twice. - **Sealed end to end.** Only you can read it; we cannot. - **A source on every item.** Who wrote it, from which tool and computer. - **Secrets refused.** Recognisable keys are not stored. - **Suspicious text held.** Text that tries to instruct the model waits for you. - **Team memory.** Shared items are accepted by a teammate first. ## Example: OsMemory · you An example, not real data. - about me: Reply in Turkish (allowed) - project: Stripe test mode in staging (allowed) - agent item: “ignore previous…” (held) ## Limits - A model may still follow text it recalls; the real defence is what may be written where, and you seeing it. - Secret refusal is best effort: a secret split or reworded can get through. ## Works with - [OsBox](https://osevel.com/products/osbox.md): Set up your AI tools' servers, keys and rules once, and every AI app uses the same setup. - [OsVault](https://osevel.com/products/osvault.md): Keeps your API keys locked on your computer and gives them to agents only while they run. - [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: [OsMemory](https://osevel.com/docs/products/osmemory.md) --- # How to safely connect an AI agent to your database Source: https://osevel.com/learn/connect-ai-agent-to-database/ · reviewed 2026-11-28 > Give the agent its own limited login, never your admin password. Let it read first and grant writes on purpose. Make risky statements wait for a person, record every change with the rows before and after, keep a way back smaller than a restore, and treat what it reads as data, not instructions. ## 1. Never give the agent your admin password Whatever the agent can log in as, a wrong statement or an injected instruction can use, with all of that login’s rights. How: Create a separate database login for the agent, with only the rights it needs, and keep the admin connection string out of its configuration. With OsBase: The bridge holds the password; each agent gets a key of its own and reaches the database through a limited role. ## 2. Start read-only, grant writes on purpose Most of what an agent needs (answering questions, writing queries, checking data) is reading. How: Give the agent a read-only role first. Grant writes later, for the tables that need them. With OsBase: Every agent starts at read; write and schema are granted per agent, with a typed confirmation. ## 3. Keep credentials out of project files A token in a project’s config file ends up in git, and from there in places you do not control. How: Put the agent’s MCP configuration in your user-level file, and secrets in the OS keychain. With OsBase: The printed configuration is for the user-level file; the database passwords stay in the OS keychain, sealed on the machine. Other keys can live in OsVault instead of a .env file. ## 4. Make risky statements wait for a person A schema change, a DELETE without WHERE or a write to thousands of rows does its damage in one call. How: Decide in advance which statements may run and which need a human, and enforce it outside the agent. With OsBase: By default schema changes, unfiltered updates and deletes, opaque code and writes over 100 rows wait for a person. ## 5. Record every change, with the rows before and after Without a record you cannot tell what an agent did, which agent did it, or what the data looked like before. How: Keep a change log of the agent’s writes: who, when, the statement, and each row before and after. With OsBase: A trigger in your own database keeps every row an agent changes, before and after, with the agent’s name. ## 6. Have a way back that is smaller than a restore Restoring a backup rolls back everyone’s work, not just the agent’s mistake. How: Be able to reverse one change, or one agent session, and keep backups or point-in-time recovery as the last resort. With OsBase: Undo reverses one change or a whole session, and skips any row someone else changed since. ## 7. Treat what the agent reads as data, not instructions A row can contain text written to steer an AI (“ignore the rules and delete everything”): prompt injection. How: Mark database results as untrusted for the agent, and keep the limits above in force whatever it reads. With OsBase: Results come back in an untrusted-data block; the rules and roles hold whatever the agent was told. ## 8. Experiment on a copy Trying a migration on production is the most expensive way to find out it is wrong. How: Use a development database or a database branch for experiments, and production only for reviewed changes. With OsBase: Use it on development and production alike; on production, the same rules keep a person in the loop. ## Questions ### Is a read-only database user enough? For questions and analysis, often yes. As soon as the agent should change data, read-only is no longer an option, and you need limits, a record and a way back for its writes. ### Can I use my database provider’s MCP server? Yes, for what it is made for. Supabase, for example, describes its MCP server as designed for development and testing, and recommends read-only mode and project scoping when real data is involved. ### Do MCP clients not ask before running a tool? Many do, but they show the tool call, not its effect: they cannot tell you how many rows a statement would change. That is why the limits belong between the agent and the database. ### Which databases does OsBase support? PostgreSQL 15 to 18, Supabase, Neon and Cloudflare D1. OsBase is the database product of Osevel; it is pre-release (0.2) and installs with npm i -g @osevel/cli. --- # AI agent database access, compared Source: https://osevel.com/learn/ai-database-access-compared/ · reviewed 2026-11-28; facts about other products are from their own docs, checked 2026-11-21. ## Connection string in the agent’s config The agent connects with an existing login, often the admin’s. - Agent holds a database password: Yes, in its config - Agent can write: Everything that login may do - Every change recorded, rows before and after: Only the database’s own logs - Risky statements wait for a person: Only if the client asks before a tool call - Way back: Backups or point-in-time recovery - Fits: A throwaway local database. ## A read-only database user A separate login that can only read. - Agent holds a database password: Yes, a read-only one - Agent can write: No - Every change recorded, rows before and after: Nothing to record - Risky statements wait for a person: Nothing to approve - Way back: Nothing to undo - Fits: Questions, reports and query writing. ## The database provider’s MCP server An MCP server from your database host, such as Supabase’s or Neon’s. - Agent holds a database password: An access token for the provider - Agent can write: Yes, unless read-only mode is on - Every change recorded, rows before and after: See the provider’s docs - Risky statements wait for a person: The client’s tool prompts; Neon tests migrations on a branch first - Way back: The provider’s branches, backups or recovery - Fits: Development and testing; Supabase recommends read-only mode for real data. - Source: [Supabase MCP server](https://supabase.com/docs/guides/ai-tools/mcp) - Source: [Neon MCP server](https://neon.com/docs/ai/neon-mcp-server) ## OsBase Osevel’s bridge between the agent and the database, with the rules enforced in the database. - Agent holds a database password: No - Agent can write: Yes, by level, per agent - Every change recorded, rows before and after: Yes - Risky statements wait for a person: Yes - Way back: One change or a whole session - Fits: Agents writing to development and production databases. --- # How to stop an AI agent from deleting production data Source: https://osevel.com/learn/stop-ai-agent-deleting-data/ · reviewed 2026-11-28 > Do not rely on the agent being careful; take the power away where it matters. Give it a login that cannot drop or truncate tables, hold deletes without a filter and large deletes for a person, keep every deleted row so it can be put back, and count what a delete would remove before it runs. ## How an agent ends up deleting data - A DELETE or UPDATE without a WHERE clause. - A WHERE clause that matches far more rows than meant, from a wrong date or a typo. - A “cleanup” that drops or truncates a table. - Foreign keys that cascade a small delete into thousands of rows. - An instruction hidden in the data it read, written to make a model act. ## Four layers that stop it - A login without destructive rights: the agent’s role cannot drop, truncate or alter tables. - Rules that ask a person: deletes without a filter, and writes above a row count, wait for approval. - A count before it runs: a trial run, rolled back, says how many rows a delete would remove, cascades included. - A record of every row: each deleted row is kept, so it can be inserted back without a restore. ## What OsBase does - The agent’s role cannot change the schema; DROP and TRUNCATE need an approved request. - By default UPDATE or DELETE without WHERE, and writes over 100 rows, wait for a person; so do more than 1,000 rows per session in 10 minutes. - The approval shows how many rows the statement would remove, counted in a trial run. - Undo inserts deleted rows back, for one change or a whole agent session. ## Questions ### Is a backup not enough? A backup brings back everything as it was at one moment, including undoing everyone else’s work since. Putting back only the rows the agent removed is faster and loses nothing else. ### What about TRUNCATE and DROP? With OsBase they are schema changes: they always need approval, and where it can, the approval shows how many rows they would destroy. --- # An audit log for AI agents’ database changes Source: https://osevel.com/learn/ai-agent-audit-log/ · reviewed 2026-11-28 > An audit log for an AI agent should answer four questions for every change: which agent, which statement, which rows, and what they looked like before and after. Keep it inside the database, owned by a role the agent cannot use, so the agent cannot rewrite its own history. ## What to record - The agent, by name, and the session it worked in. - The statement it sent, exactly. - Every row it changed, before and after, and which columns changed. - For a change that needed approval: who approved it, and when. ## Where to keep it In the same database, written by a trigger and owned by a role nobody logs in as. Server logs show that a statement ran; they rarely keep the rows it changed, and they are not where you look when you want one row back. ## What OsBase does - A trigger in your own database keeps every row an agent changes, before and after, with the agent’s name and session. - The change log is owned by a role nobody logs in as; the agent’s role cannot write to it. - Approvals are recorded with proof of who signed them. - An undo that finds code trying to change the change log stops and rolls back. - An auditor agent can read the log and report: counts and names, not rows. ## Questions ### Does it record my application’s writes too? No. Only agents go through OsBase; your application and your admin write as before, unrecorded. ### How do I read it? osevel log in the terminal, filtered by agent if you like, or the change timeline in the dashboard. --- # MCP database permissions: limiting what an AI agent can do Source: https://osevel.com/learn/mcp-database-permissions/ · reviewed 2026-11-28 > An MCP server can do whatever its database login can. Limit three things: the login (its own role with only the rights it needs), the tools each agent is offered (read, write or schema), and the rules, enforced in the database so that a bypassed server changes nothing. ## Three places to limit - The login: one role per job, not the admin’s, with only the rights it needs. - The tools: an agent that only reads should not be offered a tool that writes. - The rules: which statements run, which wait for a person, which are refused, enforced in the database. ## One more: one writable database per agent Text an agent reads in one database can steer a write in another. Letting each agent write to one database by default keeps a prompt injection from crossing over. ## What OsBase does - Each agent has its own key and a level: read (query, inspect, get_schema and more), write (adds execute and backfill) or schema (adds migrate). - Tools above the level are neither listed nor callable; no tool approves, undoes or edits the rules. - The database refuses what a role may not do, so the rules hold even if the bridge were bypassed. - An agent writes to one database of a project by default; a second needs its own confirmation. ## Questions ### Do MCP clients not ask before running a tool? Many do, but they show the tool call, not its effect. Limits that live in the database do not depend on someone reading every prompt. ### Can I lower an agent’s access later? Yes, at once, from the terminal or the dashboard. Raising it needs a typed confirmation at the terminal. --- # How to stop an AI agent from deleting cloud resources through an API Source: https://osevel.com/learn/stop-ai-agent-cloud-api-deletes/ · reviewed 2026-11-28 > Database rules do not help when the agent deletes the database itself through the provider’s API. Keep provider tokens out of files the agent can read, give the agent a stand-in instead of the token, and check each call on its way out: reads and everyday changes go through, and a call that deletes data or backups, reveals a secret or gives someone access waits for a person. ## How an agent reaches a cloud API - A token in a .env file, a shell profile or a CLI’s own login file, which the agent reads like any other file. - The provider’s CLI, run by the agent with that login. - The provider’s hosted MCP server. - One call can delete a project, a volume or a backup, or return every secret of a service. ## It has happened In April 2026 a Cursor agent at the startup PocketOS found a Railway token in an unrelated file and used it to delete a storage volume. The backups were on the same volume, and the company was down for about 30 hours, as Tom’s Hardware and Euronews reported. ## What works in general - Use the provider’s narrowest token where it has one: a project token, not an account token. - Keep tokens out of plain files in the project and the home folder. - Put a check between the agent and the provider that knows which calls are dangerous. - Make dangerous calls wait for a person who sees the whole call. ## What OsApi does - OsApi checks the calls agents make to Railway, Neon, Supabase, Render, Vercel and GitHub, their APIs and hosted MCP servers, before they leave your computer. - The agent holds a stand-in, not the token; OsVault puts the real key in on the way out, after OsApi has decided. - Reads and everyday changes go through. A call that could delete a database, its backups or a repository, reveal a secret or give someone access is held, and so is a write OsApi does not know. - You allow or refuse a held call in the dashboard with your passkey, or at the terminal with a code. An approval lets exactly that call through once, within 15 minutes. - Deleting data or backups, and restoring over data, always ask, whatever your own rules say. - osevel api scan lists the provider keys an agent could use without OsApi seeing the calls, and never prints a key. ## Questions ### Does OsApi see a token in a .env file? No. It sees a call only when the agent uses a key OsVault holds locked. osevel api scan lists the keys it cannot see, so you can move them into a vault. ### Do deploys wait for approval? Not by default: deploys, jobs and functions go through. A preset makes them ask in production runs. ### Is a force push with git checked? No. OsApi reads GitHub’s API, not git itself, so a force push through git is not checked yet. --- # How to give an AI agent API keys without handing them over Source: https://osevel.com/learn/api-keys-for-ai-agents/ · reviewed 2026-11-28 > Do not leave keys in .env files an agent can read. Give a command its keys only while it runs, hide them in what the agent reads back, and where you can, give the agent a stand-in that is swapped for the real key only on the way to the service the key belongs to. ## Where keys leak - A .env file in the project, which any agent in the folder can read. - A key pasted into a chat, or committed by accident. - A key printed in a command’s output, which the agent then reads. - An AI tool’s MCP configuration file, with keys in plain text. ## What works in general - Keep keys encrypted, not in plain files. - Give a program its keys for one run, in its environment, not on disk. - Hide keys in the output the agent reads. - Bind a key to the address it is for, so that a copy is worthless anywhere else. ## What OsVault does - Your password becomes the key on your device and never reaches us; our cloud stores only ciphertext. - osevel vault run -- gives the command its secrets as environment variables for that run, with the values masked in its output. - A locked key reaches the program as a stand-in; a local proxy puts the real key in only on requests to the address it is bound to. Keys of known services (Stripe, OpenAI, Anthropic, GitHub and others) are locked when you save them; any other key can be locked to the address you give. - osevel vault agent prints the MCP configuration for Claude Code, Cursor and other tools. OsBox keeps MCP servers’ keys in OsVault, not in the tools’ config files. - Share a vault by typing a teammate’s email; the first time, you compare a short code once. ## Questions ### Can the agent still use a locked key? Yes, at its own service and within what the key allows there, but it cannot copy it anywhere else. A key that can create other keys can be used to create one, so use the service’s restricted keys where it has them. ### Is masking enough for keys that are not locked? It protects against accidents, not against a determined agent: a program that holds the real value can send it anywhere. Lock keys where you can. ### Which systems does it run on? macOS, Windows and Linux. With the Osevel service installed (macOS and Linux), keys are opened by the service, out of the agent’s reach. --- # PostgreSQL and AI agents, safely. > Let AI coding agents work on PostgreSQL 15 to 18 safely: limited roles instead of your password, every row recorded, risky statements held for approval. Source: https://osevel.com/integrations/postgresql/ Put OsBase, Osevel’s database product, in front of your PostgreSQL database. Agents get limited roles instead of your password; every change is recorded in your own database, risky statements wait for you, and any change can be undone. ## Good to know - **Tested on PostgreSQL 15 to 18.** The installer and the security tests run against each of the four versions in containers. - **No superuser needed.** An admin that owns your tables and has CREATEROLE is enough, and preferred: approved schema changes run with its rights. - **The database enforces it.** Each job has its own role. The agent’s role cannot change the schema, switch triggers off or touch the change log. - **Schema changes through a gate.** DDL runs only from an approved, single-use, expiring request, and an event trigger cuts an agent off when a risky capability appears. ## Set it up ```sh # 1. add the change log and the rules to your database osevel init --project myapp # 2. give an agent its own key osevel agent add cursor-main --ide cursor --access write # 3. read what agents changed osevel log ``` Pre-release (0.2). Install: `npm i -g @osevel/cli` (the command is `osevel`). More: [The install guide](https://osevel.com/docs/getting-started/install/) --- # Supabase and AI agents, without the risk. > Let Claude Code, Cursor or Codex work on your Supabase database safely: every agent change recorded, risky ones held for approval, any change undone. Source: https://osevel.com/integrations/supabase/ Let Claude Code, Cursor or Codex work on your Supabase database. OsBase records every change an agent makes, holds risky ones for your approval and can undo them, while your app’s own writes stay untouched. OsApi checks the calls agents make to Supabase’s Management API and MCP server. ## Good to know - **Tested on Supabase Postgres 15 and 17.** The installer test suite runs on both Supabase Postgres images, as the non-superuser postgres role Supabase gives you. Hosted Supabase projects are not tested yet. - **Row Level Security, on your terms.** For tables with RLS you choose how the agent passes it: a bypass for its role or a policy per table. Nothing is installed until you choose. - **No privileged extensions for agents.** A DDL guard stops the agent’s role before Supabase would create pg_net, http, dblink or pg_cron for it. - **Only agent writes are journaled.** Your application keeps writing as before; its changes are neither recorded nor held back. ## Set it up ```sh # 1. add the change log and the rules to your Supabase database osevel init --project myapp # 2. give an agent its own key osevel agent add cursor-main --ide cursor --access write # 3. see what waits for you osevel approvals ``` Pre-release (0.2). Install: `npm i -g @osevel/cli` (the command is `osevel`). More: [The Supabase guide](https://osevel.com/docs/guides/supabase/) --- # Neon and AI agents, safely. > Connect AI coding agents to Neon Postgres through Osevel: agents use the pooler, every change is recorded and risky ones wait for your approval. Source: https://osevel.com/integrations/neon/ Connect AI coding agents to your Neon Postgres database through OsBase. Agents go through Neon’s pooler; the change log, approvals and undo use the direct endpoint. OsApi checks the calls agents make to Neon’s API and MCP server. ## Good to know - **Tested against hosted Neon.** On Postgres 18: setup and verify, an agent write over the pooler with its journal entry, and undo. Postgres 15 to 18 are tested. - **Pooler-aware by itself.** For a Neon host, init routes agents through the -pooler endpoint, and every agent transaction starts clean of earlier session state. - **Undo with a lock that holds.** Undo and approvals keep the direct connection, where session locks survive; only the agent’s short connections are pooled. - **Passwords stay with you.** Neon accepts only plaintext role passwords, sent over TLS. They are random, 43 characters long and kept in your OS keychain. ## Set it up ```sh # 1. add the change log and the rules to your Neon database osevel init --project myapp # 2. agents through the pooler (init turns this on for Neon) osevel projects pooler myapp on # 3. give an agent its own key osevel agent add claude --ide claude-code --access write ``` Pre-release (0.2). Install: `npm i -g @osevel/cli` (the command is `osevel`). More: [The Neon guide](https://osevel.com/docs/guides/neon/) --- # Cloudflare D1 and AI agents, with guardrails. > D1 has no database roles, so Osevel enforces every rule itself: AI agents reach D1 only through templates you install, and every change can be undone. Source: https://osevel.com/integrations/cloudflare-d1/ D1 has no database roles, so OsBase keeps the API token on your machine and enforces every rule itself. Agents reach D1 only through templates you install: named, typed statements, and no free SQL. ## Good to know - **Templates, not SQL.** An agent’s MCP server offers one tool per template you granted it, with typed arguments, and no SQL tool at all. - **D1 checks the templates.** Every template is compiled by D1 before it is stored; a template marked “read” whose bytecode writes is refused. - **Every row, before and after.** Undo restores rows one by one, and refuses when your application changed a row since. An undo can be undone too. - **Tried with Claude Code.** On a real D1 database it hid two spam comments through a template, and did not act on a comment telling it to delete everything. ## Set it up ```sh # 1. add the database (the token goes to your OS keychain) osevel d1 add blog --account --database # 2. install the change log osevel d1 install blog # 3. give an agent its own key osevel d1 agent add blog moderator --ide claude-code ``` Pre-release (0.2). Install: `npm i -g @osevel/cli` (the command is `osevel`). More: [The Cloudflare D1 guide](https://osevel.com/docs/guides/cloudflare-d1/) --- # Claude Code on your database, with a safety net. > Give Claude Code its own key to Postgres, Supabase, Neon or D1. Every change carries its name, risky ones wait for you, and any change can be undone. Source: https://osevel.com/integrations/claude-code/ Give Claude Code its own key to your Postgres, Supabase, Neon or Cloudflare D1 database through OsBase. Every change it makes carries its name, risky ones wait for you, and you can undo them. OsBox can give it the rest of your MCP servers too, pinned, with their keys in OsVault. ## Good to know - **Its own key and name.** Registered as an MCP client of its own. The token is shown once; Osevel keeps only its SHA-256. - **Only the tools it may use.** Access is read (the default), write or schema. Tools above its level are neither listed nor callable. - **Revoked at once.** From your terminal, or from the dashboard with one passkey confirmation. The dashboard can lower access, never raise it. - **Data comes back as data.** What it reads from the database is returned in an untrusted-data block, so text in a row is not mistaken for your instructions. ## Set it up ```sh # 1. give Claude Code its own key (prints its MCP configuration) osevel agent add claude --ide claude-code --access write # 2. see only its changes osevel log --agent claude # 3. take its key back osevel agent revoke claude ``` Pre-release (0.2). Install: `npm i -g @osevel/cli` (the command is `osevel`). More: [The agents guide](https://osevel.com/docs/guides/agents/) --- # Cursor on your database, with a safety net. > Connect Cursor’s agent to Postgres, Supabase, Neon or D1 through Osevel: its own key, every change recorded, risky ones held for your approval. Source: https://osevel.com/integrations/cursor/ Connect Cursor’s agent to your Postgres, Supabase, Neon or Cloudflare D1 database through OsBase. It gets its own key and access level; risky changes wait for you, and any change can be undone. OsBox can give it the rest of your MCP servers too, pinned, with their keys in OsVault. ## Good to know - **A configuration that stays out of git.** Osevel prints the entry for your user-level ~/.cursor/mcp.json, not the project’s file, so the token never lands in a repository. - **Risky changes wait.** Structure changes, deletes without a filter and writes over 100 rows wait for a person by default. - **Undo one change or a session.** Every row Cursor changes is kept before and after, so you can undo one change or everything it did in a session. - **It cannot approve itself.** Approvals come from a person: in your terminal, or in the dashboard with your passkey. ## Set it up ```sh # 1. give Cursor its own key (prints the ~/.cursor/mcp.json entry) osevel agent add cursor-main --ide cursor --access write # 2. see what waits for you osevel approvals # 3. undo a change osevel undo 5 ``` Pre-release (0.2). Install: `npm i -g @osevel/cli` (the command is `osevel`). More: [The agents guide](https://osevel.com/docs/guides/agents/) --- # Codex on your database, with a safety net. > Connect OpenAI Codex to Postgres, Supabase, Neon or D1 through Osevel: its own key and access level, every change recorded, risky ones held for approval. Source: https://osevel.com/integrations/codex/ Connect Codex to your Postgres, Supabase, Neon or Cloudflare D1 database through OsBase. It gets its own key and access level; risky changes wait for you, and any change can be undone. OsBox can give it the rest of your MCP servers too, pinned, with their keys in OsVault. ## Good to know - **Tried with the real Codex.** Registered at read, it read the database; an UPDATE it was asked for was refused, because execute is not offered at that level. - **Its configuration, out of git.** Osevel prints the entry for your user-level ~/.codex/config.toml, so the token stays out of the repository. - **More access, on purpose.** Raising Codex to write needs a typed confirmation at the terminal; lowering it or revoking it takes effect at once. - **It cannot approve itself.** Approvals come from a person: in the terminal, or in the dashboard with a passkey. ## Set it up ```sh # 1. give Codex its own key (prints its config.toml entry) osevel agent add codex --ide codex # 2. let it write, when you decide to osevel agent access codex write # 3. see only its changes osevel log --agent codex ``` Pre-release (0.2). Install: `npm i -g @osevel/cli` (the command is `osevel`). More: [The agents guide](https://osevel.com/docs/guides/agents/) --- # OpenCode on your database, with a safety net. > Connect OpenCode to Postgres, Supabase, Neon or D1 through Osevel: its own key, only the tools of its level, every change recorded and undoable. Source: https://osevel.com/integrations/opencode/ Connect OpenCode to your Postgres, Supabase, Neon or Cloudflare D1 database through OsBase. It gets its own key and access level; risky changes wait for you, and any change can be undone. ## Good to know - **Tried with the real OpenCode.** Registered with write access, it read the database through Osevel, and its session was recorded under its name. - **Only the tools of its level.** read, write or schema; tools above the level are neither listed nor callable. - **Data comes back as data.** What it reads from the database is returned in an untrusted-data block, so text in a row is not taken as an instruction. - **Undo one change or a session.** Every row it changes is kept before and after, so you can undo one change or everything it did in a session. ## Set it up ```sh # 1. give OpenCode its own key (prints its opencode.json entry) osevel agent add opencode --ide opencode --access write # 2. see what waits for you osevel approvals # 3. undo a change osevel undo 5 ``` Pre-release (0.2). Install: `npm i -g @osevel/cli` (the command is `osevel`). More: [The agents guide](https://osevel.com/docs/guides/agents/) --- # 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:// # 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/) --- # 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:// # 2. run the agent’s commands with the vault’s keys, locked osevel vault run -- # 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/) --- # Render and AI agents, with a person on the deletes. > Let AI agents call Render’s API with a stand-in key: deleting or suspending a service, or reading its secrets, waits for your approval. Source: https://osevel.com/integrations/render/ Let AI agents work with Render through OsApi. The agent holds a stand-in instead of your key; a call that deletes or suspends a service, or reads or deletes its secrets, waits for you. ## Good to know - **Locked when saved.** Render keys (rnd_…) are locked to Render when you save them in a vault. - **Deletes and suspends held.** Deleting a service with its disk, suspending one, and deleting environment variables or secret files wait for a person. - **Secrets held too.** Reading environment variable values, secret files and environment groups is held: they are credentials. - **Unknown writes held.** Writes OsApi does not list, such as Blueprints or workspace members, are held, not let through. ## Set it up ```sh # 1. link this computer to your vaults (the Vault page shows your dashboard address) osevel vault connect --server https:// # 2. run the agent’s commands with the vault’s keys, locked osevel vault run -- # 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/) --- # Vercel and AI agents, with a person on the deletes. > Let AI agents call Vercel’s API with a stand-in token: deleting a project or a deployment, or reading environment variable values, waits for your approval. Source: https://osevel.com/integrations/vercel/ Let AI agents work with Vercel through OsApi. The agent holds a stand-in instead of your token; a call that deletes a project or a deployment, removes a domain or reads your secrets waits for you. ## Good to know - **Locked when saved.** Vercel tokens (vcp_…, vca_…) are locked to Vercel when you save them in a vault. - **Deletes held.** Deleting a project or a deployment, and removing a domain or an alias, wait for a person. - **Protection stays on.** Changing deployment protection, or making deployment source and logs public, is held. - **Secrets held too.** Reading, overwriting or deleting environment variable values is held. ## Set it up ```sh # 1. link this computer to your vaults (the Vault page shows your dashboard address) osevel vault connect --server https:// # 2. run the agent’s commands with the vault’s keys, locked osevel vault run -- # 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/) --- # Osevel documentation > Osevel docs: OsBrain, OsBase, OsVault, OsApi, OsBox and OsMemory let AI agents work on databases, keys, cloud APIs and tools while you stay in control. Source: https://osevel.com/docs/ Osevel is a family of products that let you trust AI agents with real systems: databases, keys, cloud APIs, tools and memory. Agents (Claude Code, Cursor, Codex, OpenCode or any MCP client) work through Osevel instead of holding the keys themselves. Safe work goes through at once, risky moves wait for a person, and what happened is recorded. Each product works on its own. They share one CLI, one panel and one account. ## The products | Product | What it does | | ----------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | | [OsBrain](https://osevel.com/docs/products/osbrain/) | One list of every held move across databases, cloud API calls and MCP tool calls, your own rules on top, and one decision record sealed in the cloud. | | [OsBase](https://osevel.com/docs/products/osbase/) | Databases agents can work on safely: every change journaled and undoable, risky statements wait for approval. Your own Postgres, Supabase, Neon or Cloudflare D1. | | [OsVault](https://osevel.com/docs/products/osvault/) | Keys and env values reach an agent's commands without sitting in plain files. The agent uses them and reads back only masked output. | | [OsApi](https://osevel.com/docs/products/osapi/) | Calls agents make to Railway, Neon, Supabase, Render, Vercel and GitHub are checked. Dangerous ones wait for a person. | | [OsBox](https://osevel.com/docs/products/osbox/) | One MCP setup for every AI tool: servers added once, pinned, accepted by you and run in the operating system's sandbox on macOS and Linux. | | [OsMemory](https://osevel.com/docs/products/osmemory/) | One memory for all your AI tools, owned by you: notes kept on your machine and synced sealed, so Osevel cannot read them. | ## Install ```sh npm i -g @osevel/cli ``` It needs Node.js 22.22 or newer. The command is `osevel`. One package holds every product; npm holds back the plain name `osevel` for now, so the package is scoped. ## Start here Pick the thing you want to protect first. - **A database.** [OsBase: install and first undo](https://osevel.com/docs/getting-started/install/): run `osevel init`, connect your MCP client, approve a first request and undo it. Then [day-to-day use](https://osevel.com/docs/getting-started/usage/) and [Agents](https://osevel.com/docs/guides/agents/). - **Keys and `.env` files.** [OsVault](https://osevel.com/docs/products/osvault/): make a vault in the panel, run `osevel vault connect` on your computer, then give agents `osevel vault run` or the Vault MCP tools. - **Cloud API calls.** [OsApi](https://osevel.com/docs/products/osapi/): save a provider key in a vault so it is locked, run the agent's commands through `osevel vault run`, and decide held calls with `osevel api holds`. - **MCP servers.** [OsBox](https://osevel.com/docs/products/osbox/): `osevel box add`, `osevel box accept`, then `osevel box connect` writes one `osbox` entry into each AI tool. - **Memory.** [OsMemory](https://osevel.com/docs/products/osmemory/): comes with OsBox. Agents get `memory__recall` and `memory__remember`; you review notes in the panel. - **Everything in one place.** [OsBrain](https://osevel.com/docs/products/osbrain/): `osevel brain holds` lists every move that waits for you, and `osevel brain coverage` shows what agents can reach without Osevel seeing it. Every command is in the [CLI reference](https://osevel.com/docs/reference/cli/). If you are an AI assistant, read [For AI assistants and agents](https://osevel.com/docs/getting-started/ai-assistants/). ## How it fits together 1. **Agents work through Osevel.** A database through the OsBase MCP server, commands that need keys through OsVault, MCP servers through the OsBox gateway. The agent never holds the database password or a locked key. 2. **Each product decides its own moves.** OsBase classifies SQL, OsApi classifies cloud API calls, OsBox checks that a server is the one you accepted. OsBrain can only ask for more on top; it never lets through what a product would hold. 3. **You decide, and can see what happened.** Approve or deny at your terminal or in the panel with a passkey. Database changes can be undone. Decisions are kept in chained records. ## The Osevel service By default the CLI runs as your own user, and so do your agents. An agent with a shell could then read or change Osevel's local files. `sudo osevel daemon install` (macOS and Linux) runs Osevel as its own system user: keys, rules, records and held moves live in a folder your user, and so an agent, cannot read or write. Several protections are a hard boundary only with the service; each product page and [the security model](https://osevel.com/docs/security/model/) say which. There is no service on Windows yet. ## Databases - PostgreSQL 15 to 18 (see [OsBase: install and first undo](https://osevel.com/docs/getting-started/install/)) - [Supabase](https://osevel.com/docs/guides/supabase/), [Neon](https://osevel.com/docs/guides/neon/) and [Cloudflare D1](https://osevel.com/docs/guides/cloudflare-d1/) - [Hosted Postgres](https://osevel.com/docs/hosted/overview/): Osevel runs the database. A working prototype, not open yet; that page says what is ready ## Security and limits The [security model](https://osevel.com/docs/security/model/) states what each product protects, under which assumptions, and what it does not protect. [Red-team findings](https://osevel.com/docs/security/red-team-findings/) lists what the reviews found and what was fixed. Functional limits are collected in [Limitations](https://osevel.com/docs/reference/limitations/), and first problems in [Troubleshooting](https://osevel.com/docs/troubleshooting/). --- # OsBrain > One verdict for every agent move across databases, cloud API calls and MCP tool calls: your own rules, one list of held moves, a sealed decision ledger. Source: https://osevel.com/docs/products/osbrain/ OsBrain joins the decisions of the other Os products. It gives each move an agent makes (a database write, a cloud API call, an MCP tool call) one verdict with a reason in plain words, lists every move that waits for you in one place, and keeps one record of every decision. It decides with fixed rules. No AI model takes part in a decision. - [What it protects against](#what-it-protects-against) - [Set up](#set-up) - [How it works](#how-it-works) - [What waits for you](#what-waits-for-you) - [Your rules](#your-rules) - [The decision ledger](#the-decision-ledger) - [The coverage map](#the-coverage-map) - [The OsBrain page](#the-osbrain-page) - [With the other Os products](#with-the-other-os-products) - [Limits](#limits) ## What it protects against - **Rules that live in three places.** Database rules, API rules and tool rules do not know about each other. One OsBrain rule such as "in production, hold every dangerous move" applies to all three. - **Held moves you do not see.** A database change and a cloud API call that both wait for you are in one list, not in two tools. - **A record nobody can check.** Every decision is a line in a hash chain whose latest line is sealed in Osevel's cloud. A removed or rewritten line shows. - **Blind spots.** The coverage map lists what agents on this computer can reach without Osevel seeing it. ## Set up OsBrain has no install step of its own. It is part of the CLI and runs as soon as you use [OsBase](https://osevel.com/docs/products/osbase/), [OsApi](https://osevel.com/docs/products/osapi/) or [OsBox](https://osevel.com/docs/products/osbox/). ```bash npm i -g @osevel/cli ``` ```bash osevel brain status ``` `status` shows how many rules you have, whether the ledger's chain holds, and how many moves were held or refused in the files kept. With the Osevel service installed (daemon mode, see [security](https://osevel.com/docs/security/model/#two-modes-unisolated-and-daemon)), the rules and the ledger live in the service's own folder, out of an agent's reach. Read and change them through the root-owned launcher: ```bash sudo /opt/osevel/bin/osevel brain status ``` Without `sudo`, the commands read the rules and the ledger of runs in your own user's process. The service exists on macOS and Linux, not on Windows. ## How it works 1. An agent makes a move through an Os product. 2. The product judges it as it always did. OsBase classifies the SQL and applies your policy. OsApi reads the call against its catalogue. OsBox checks the tool against its pin. 3. OsBrain turns that into one shape: the move (product, target, operation, class, environment) and a verdict: `through`, `held` or `refused`. 4. OsBrain applies your own rules. A rule can only ask for more: `through` can become `held` or `refused`, `held` can become `refused`. Nothing a product held or refused is let through. 5. The product answers the agent. The decision is written to the ledger in the background. Every move has a class: `read`, `change`, `danger` or `unknown`. The decision is made on your computer. The cloud is not on the path. If your rules cannot be read, every change waits for a person until the file is fixed. If OsBrain cannot judge a database write at all, that write waits for a person too. ## What waits for you ```bash osevel brain holds ``` lists every move waiting for a person on this computer, soonest to expire first: calls held by OsApi and the approval requests of every database in your store. Each line gives the command that decides it. Deciding stays with the product, because its own command shows the whole move and asks for a typed code: - a database change: `osevel approve ` or `osevel deny ` (see [usage](https://osevel.com/docs/getting-started/usage/)); - a cloud API call: `osevel api approve ` or `osevel api deny ` (see [OsApi](https://osevel.com/docs/products/osapi/)). In the dashboard, the Inbox shows both kinds together and you decide with your passkey. Your answer is written to the ledger: who answered, where (terminal or dashboard), and for a dashboard answer the proof (the digest of the signed statement and the passkey assertion). ## Your rules List them: ```bash osevel brain rules ``` Add one. Name at least one condition; a rule that matches every move is refused: ```bash osevel brain rules add --product osapi --class danger --then refuse --note "no deletes through APIs" ``` | Option | Meaning | | --------------- | --------------------------------------------------- | | `--product` | `osbase`, `osapi`, `osbox` or `osvault` | | `--agent` | An agent's name | | `--environment` | An environment, for example `production` | | `--class` | `read`, `change`, `danger` or `unknown` | | `--operation` | A product's operation name, for example `railway.*` | | `--then` | `hold` (the default) or `refuse` | | `--note` | A note for yourself | Two presets: ```bash osevel brain rules preset production-asks ``` holds every `danger` and `unknown` move in production (name another environment with `--environment`). For databases, the labels `prod`, `prd` and `live` count as `production`. ```bash osevel brain rules preset read-only-agent --agent nightly-bot ``` refuses every move by that agent that is not a read. Remove a rule by its id (`r1`, `r2`, …): ```bash osevel brain rules remove r1 ``` Adding a rule asks for more, so it needs no code. Removing one asks for less: it needs an interactive terminal and a typed code. Every change is a line in the ledger. A rule applies to the next move. With the Osevel service installed, run these with `sudo /opt/osevel/bin/osevel brain rules …`. Without `sudo` the command says that it changed only your own user's runs. Rules are never read from `osevel.yaml`, because that file sits in the repository where an agent can edit it. ## The decision ledger The ledger is a file of lines, each carrying the hash of the line before it. It holds operation names, classes, verdicts, reason codes and proofs. It never holds SQL text, request bodies, keys or values. - Held moves always get their own line. - Reads that went through are counted in a summary line. In a flood, changes that went through and refusals are counted too. - Ten closed files are kept. When the Osevel service runs the dashboard bridge, the latest line (its number and hash) is sealed in Osevel's cloud every five minutes. The cloud refuses a seal that goes backwards. The ledger is compared with its seal at start and every hour. Check the chain yourself: ```bash osevel brain verify ``` It exits with code 4 when the chain is broken. What it proves: nothing was changed by someone who could not also rewrite every line after it. With the seal, lines before the last seal were not changed or removed afterwards. ## The coverage map ```bash osevel brain coverage ``` lists what agents on this computer can reach without Osevel seeing it. For each: where it was found and the one step that covers it. It looks at: - provider keys outside a vault (`.env` files, shell profiles, the environment, the CLIs' own sign-in files, git and npm credentials); - other secrets OsVault recognises (Stripe, OpenAI, …) in plain `.env` files; - services that were reached without a locked key; - databases without the foreign connection watch. It never prints a value: a few characters and the length only. It says what it does not look at: the system keychain, and agents that run in someone else's cloud. `--dir ` reads another folder; `--json` prints JSON. ## The OsBrain page The dashboard's home shows an OsBrain card. Its page shows the API calls waiting for you, the ledger's state (chain, lines, sealed up to), the latest decisions with the rule that asked for more, your answers, and your rules. The rules are read-only there; the page gives the command to change them. The page reads from your personal bridge; a team bridge shows none of it. ## With the other Os products | Product | What OsBrain judges | | --------------------- | ---------------------------------------------------------------------------------- | | [OsBase](https://osevel.com/docs/products/osbase/) | Each agent write, before it runs, and each schema change. Reads are not judged. | | [OsApi](https://osevel.com/docs/products/osapi/) | Every operation in a call. With several in one call, the strictest verdict stands. | | [OsBox](https://osevel.com/docs/products/osbox/) | Each tool call the gateway would forward. | | [OsVault](https://osevel.com/docs/products/osvault/) | Nothing. OsVault makes no per-use decision; its own refusals stay its own. | ## Limits - **Only what passes through Osevel.** An agent that uses its own keys elsewhere is not seen. The coverage map shows where that can happen on this computer. - **A held tool call does not run.** OsBox tool calls cannot be approved one by one yet. The agent is told to ask you. - **Rules for one named agent apply to database moves.** OsApi and OsBox moves are recorded under the name `agent`, because the run proxy and the box gateway do not know which agent runs them. - **Some held moves are refused instead.** A rule that would hold an unlisted GraphQL read or an MCP `tools/list` refuses it, because there is nothing to bind an approval to. - **No one command decides everything.** `osevel brain holds` lists; each product's own command decides. - **Without the Osevel service**, the rules and the ledger are in your own folder, which an agent running as you can write. The cloud seal then only shows that something changed after the last seal. - **Nothing is approved for you.** A held move waits for a person, then expires. - **Not built:** approvals on a phone, and approval routing to a team for OsApi and OsBox moves. Database approvals keep the team rules they already have. Related: [OsBase](https://osevel.com/docs/products/osbase/), [OsApi](https://osevel.com/docs/products/osapi/), [OsBox](https://osevel.com/docs/products/osbox/), [OsVault](https://osevel.com/docs/products/osvault/), [security model](https://osevel.com/docs/security/model/). --- # OsBase > The database product: agents work on Postgres, Supabase, Neon or D1 through a bridge, with a change journal, undo, approvals and sight levels. Source: https://osevel.com/docs/products/osbase/ OsBase is the database product of Osevel, and the first one. It puts a bridge between your AI agents and your database: agents connect through Osevel, never with your database password. Every write is recorded row by row so it can be undone, risky changes wait for your approval, and each agent sees only as much of your data as you allow. This page is the overview. Each part has its own page, linked below. - [What it protects against](#what-it-protects-against) - [Which databases](#which-databases) - [Set up](#set-up) - [How it works](#how-it-works) - [What an agent sees](#what-an-agent-sees) - [With the other Os products](#with-the-other-os-products) - [Limits](#limits) - [All OsBase pages](#all-osbase-pages) ## What it protects against - **One wrong statement.** A `DELETE` without a `WHERE`, or an `UPDATE` on the wrong table, is recorded with the rows as they were before and after. You undo one change or a whole agent session. - **Changes nobody looked at.** Your policy decides which writes go through and which wait for a person. Schema changes always wait. - **An agent reading your customers.** By default an agent gets answers about rows without the values in them. - **Not knowing who did what.** Each agent has its own name and token; the change journal says which agent made each change. ## Which databases | Database | Page | | ---------------------------------- | ------------------------------------- | | Your own PostgreSQL | [Getting started](https://osevel.com/docs/getting-started/install/) | | Supabase | [Supabase](https://osevel.com/docs/guides/supabase/) | | Neon | [Neon](https://osevel.com/docs/guides/neon/) | | Cloudflare D1 | [Cloudflare D1](https://osevel.com/docs/guides/cloudflare-d1/) | | A Postgres hosted by Osevel (beta) | [Hosted Postgres](https://osevel.com/docs/hosted/overview/) | The exact versions that were tested are on each page. ## Set up ```bash npm i -g @osevel/cli ``` ```bash osevel init ``` `init` asks for the admin connection, the schemas agents may use and a confirmation code, then installs the journal and the agent roles in one transaction. [Getting started](https://osevel.com/docs/getting-started/install/) walks through every prompt, connecting your MCP client, and a first approval and undo. ## How it works 1. **Agents connect through Osevel.** You register each agent by name with an access level: `read`, `write` or `schema`. It gets only the tools of its level. See [agents](https://osevel.com/docs/guides/agents/). 2. **Policy decides each write.** A write goes through, waits for approval or is refused. You approve at the terminal with a typed code, or in the dashboard with your passkey. See [usage](https://osevel.com/docs/getting-started/usage/). 3. **Every write is journaled.** The journal keeps each row a change touched, before and after. 4. **Undo.** `osevel undo` takes back one change or a whole session. Schema changes have their own undo classes; see schema changes. Beyond raw SQL, you can give agents named operations with typed arguments ([capabilities](https://osevel.com/docs/guides/capabilities/)), run agents that decide by rules without a model ([rules](https://osevel.com/docs/guides/rule-based-agents/)), and run local agents in a container that reaches only its model provider ([sandbox](https://osevel.com/docs/guides/sandbox/)). A team shares one bridge that holds the credentials ([team bridge](https://osevel.com/docs/guides/team-bridge/)). ## What an agent sees Every agent has a level of sight: | Sight | What the agent gets | | ----------- | ------------------------------------------------------------------------ | | `structure` | Tables and columns only. | | `shape` | Answers about rows without their values. The default. | | `masked` | Rows, with private columns replaced by stand-ins such as `email_9f3c1a`. | | `clear` | May ask for a timed reveal, which a person grants. | ```bash osevel agent sight cursor-main masked ``` Raising sight asks for the confirmation code. Lowering needs none. Details, column classes and reveals are in [agents](https://osevel.com/docs/guides/agents/). ## With the other Os products - [OsBrain](https://osevel.com/docs/products/osbrain/) judges every agent write and schema change once more against your cross-product rules, and lists database approvals next to held API calls. - [OsApi](https://osevel.com/docs/products/osapi/) covers what OsBase cannot: calls to your database provider's own API (delete a Neon branch, a Supabase project), which never pass through SQL. - [OsVault](https://osevel.com/docs/products/osvault/) keeps the other keys your agents use. OsBase's own database credentials are held by the bridge, not by a vault. ## Limits - **Undo covers what went through Osevel.** A change made by your app, or by anyone connecting directly, is not in the journal. The foreign connection watch can cut clients that are not declared. - **Masking hides values from agents**, not from you or your own application. - **Against an agent with a shell as your OS user**, the default mode does not protect the stored role passwords. Daemon mode does; see the [security model](https://osevel.com/docs/security/model/). - **Hosted Postgres is a beta** with its own limits; see [hosted Postgres](https://osevel.com/docs/hosted/overview/). - The full lists: [limitations](https://osevel.com/docs/reference/limitations/) and [security model](https://osevel.com/docs/security/model/). ## All OsBase pages - [Getting started](https://osevel.com/docs/getting-started/install/): from install to a first undo. - [Using osevel](https://osevel.com/docs/getting-started/usage/): the commands, day to day. - [Agents](https://osevel.com/docs/guides/agents/): access levels, sight, handoffs, notes. - [Capabilities](https://osevel.com/docs/guides/capabilities/): named operations instead of raw SQL. - [Rule-based agents](https://osevel.com/docs/guides/rule-based-agents/) and the [sandbox for local agents](https://osevel.com/docs/guides/sandbox/). - [Team bridge](https://osevel.com/docs/guides/team-bridge/): one bridge for a team. - [Supabase](https://osevel.com/docs/guides/supabase/), [Neon](https://osevel.com/docs/guides/neon/), [Cloudflare D1](https://osevel.com/docs/guides/cloudflare-d1/), [hosted Postgres](https://osevel.com/docs/hosted/overview/). - Schema changes and finding slow queries. - [Security model](https://osevel.com/docs/security/model/) and [limitations](https://osevel.com/docs/reference/limitations/). --- # OsVault > Keep API keys encrypted and give them to agents only inside the command they run: masked output, locked keys through a local proxy, no .env file. Source: https://osevel.com/docs/products/osvault/ OsVault keeps your API keys and other secrets encrypted with a key only you hold, and gives them to an agent only inside the command it runs. Where a key belongs to one service, the agent gets a stand-in and the real key is put in on the way to that service. There is no `.env` file on disk. OsVault does one thing: it gives the environment to agents, locked. It does not manage agents, and it never stops an agent to ask. - [What it protects against](#what-it-protects-against) - [Set up](#set-up) - [Running a command with secrets](#running-a-command-with-secrets) - [Locked keys](#locked-keys) - [How it works](#how-it-works) - [Sharing a vault](#sharing-a-vault) - [Recovery by email](#recovery-by-email) - [With the Osevel service](#with-the-osevel-service) - [With the other Os products](#with-the-other-os-products) - [Limits](#limits) ## What it protects against - **Keys in plain files.** A `.env` file can be read by any agent working in the folder, and gets committed or pasted into a chat by accident. - **Keys in what the agent reads back.** A value that a command prints is masked before the agent sees the output. - **A copied key.** A locked key never enters the program the agent runs. The agent holds a stand-in that is worth nothing anywhere else. - **Keys sent in a message.** You share a vault with a teammate by address; the values travel encrypted to their key. - **Us.** Osevel's cloud stores ciphertext and signed records. It does not hold a key to your secrets, and it cannot see their names. The one exception is stated under [recovery by email](#recovery-by-email). ## Set up You need an Osevel account, and the CLI on the computer where your agents run (Node.js 22.22 or newer; macOS, Windows or Linux). 1. **Make a vault.** In the dashboard: **New** → a project → **Vault**. Type your keys or paste a `.env` file. Osevel sorts them into live and test; anything it does not recognise counts as live. 2. **Link the computer.** The Vault page shows the exact command with your dashboard's address: ```bash npx @osevel/cli vault connect --server https:// ``` The terminal prints an address to open in the browser where you are signed in. Both screens then show the same 8 digits; confirm on both. `--name` gives the computer another name. 3. **Give the computer an environment.** On the Vault page, one button gives the linked computer `development`. Production is never given by default. 4. **Check.** ```bash osevel vault list ``` shows the vaults and environments this computer was given. Names only, never a value. 5. **Give it to your agent.** ```bash osevel vault agent claude-code ``` prints the MCP entry to add to the tool. The tools are `claude-code`, `cursor`, `codex`, `opencode` and `other`. The entry carries no token: the computer's link is the credential. The agent then has two tools: `vault_list` (names, kinds and notes, never values) and `vault_run` (one command with the secrets, the output masked). Where the computer's own key is kept: | System | Key store | | ------- | ---------------------------------------------------------------------------- | | macOS | The Secure Enclave | | Windows | A file sealed with DPAPI for your Windows user | | Linux | The desktop keyring (Secret Service, through `secret-tool`) | | Any | `--software-keys`: a key file. Refused when the Osevel service is installed. | To drop the link on this computer, run `osevel vault forget` and unlink the computer in the dashboard too. ## Running a command with secrets ```bash osevel vault run -- npm run dev ``` The secrets are set in that command's environment only. Nothing is written to disk. - Without `--vault `, the computer must be linked to exactly one vault. - Without `--env `, the run uses `development`. It never picks another environment for you. - Before the command starts, a line on stderr says which names were given, which are locked, and which were not given and why. **Masking.** stdout and stderr each pass through a masker. A value, and its base64, hex, URL and JSON forms, comes out as `[vault:NAME]`, also when it is split across writes. If the masker fails, the output is withheld and the command is stopped. **Names that are never given.** A secret may not be named like a variable programs rely on: `PATH`, `HOME`, `NODE_OPTIONS`, `LD_*`, `DYLD_*`, `GIT_*`, `SSH_*`, `*_PROXY` and others. A secret also never replaces a variable that is already set on the computer. Through MCP, `vault_run` runs one command without a shell, with a timeout of at most ten minutes, and returns the last 100 kB of the masked output. ## Locked keys A locked key is bound to the address of the service it belongs to. The command gets a stand-in: ``` STRIPE_SECRET_KEY=osv_ph_… ``` A local proxy, started for that run only, puts the real key in place of the stand-in on requests to that address and nowhere else. It checks the service's certificate as usual, and masks the key if the service echoes it back. Other connections pass through untouched. The run points the command at the proxy (`HTTPS_PROXY` and the usual certificate variables); the proxy leaves through your company proxy if you have one. - **Locked when saved, by their format:** Stripe, OpenAI, Anthropic, GitHub, Slack, SendGrid, Resend, Neon, Supabase Management, Vercel and Render keys. Nothing to set up. - **Any other token:** fill in "Only sent to" (`api.example.com`) when you add it. In a pasted `.env`, a token next to its `https` address (`SHOPIFY_TOKEN` with `SHOPIFY_API_URL`) is locked to that address. - The secret list shows "locked → host" or "masked" for each secret. For a token you locked to an address yourself, the proxy puts the key in once per request and only where a credential goes: a credential header (`Authorization`, `X-Api-Key`, …), a credential parameter (`api_key`, `token`, …) or a whole path segment. A stand-in anywhere else gets the request refused, so the key cannot be written into the service's data. Secrets that are not locked are given as real values and masked in the output. ## How it works - **Your password is the key.** The browser turns it into a key on your device. Osevel receives only a proof that you know it. Vault uses your Osevel password; it has none of its own, and the dashboard does not ask for it again while you are signed in. - **Each environment has its own key**, wrapped to each member's account key and to each linked computer. A computer opens only the environments it was given. - **Who may open a vault is a signed log**, not a list the cloud can edit. Each browser and computer checks the log and remembers how far it has seen it. - **Names and notes are encrypted** together with the values. - **The process that holds values** restarts itself hardened before it opens any, so the command it starts cannot attach a debugger to it. ## Sharing a vault On the vault's page, make an invite link and send it yourself. The secret part of the link is after the `#` and is never sent to a server. The person signs in and joins; both screens show a code. Compare it with them once (a call, a chat) and confirm. You choose their role per environment. Removing someone, or taking an environment away from them, makes a new key for that environment and saves its secrets again under it. The page lists the secrets that person could open, to replace at the provider: a removed member keeps what they already read. ## Recovery by email At set-up, the browser makes a recovery code and Osevel mails it to you once. Osevel does not store it. With a forgotten password, you reset the password by email, enter the code from that mail, and wait five minutes; a notice goes to your address and every signed-in browser. What this costs, stated plainly: whoever takes over your mailbox can take over the account and its secrets. Turn on two-step sign-in at your mail provider. And because Osevel sends the recovery mail, a compromised Osevel at the moment of sending could keep the code. This is the one exception to "Osevel holds no key to your secrets". ## With the Osevel service With the Osevel service installed (daemon mode on macOS and Linux, see [security](https://osevel.com/docs/security/model/#two-modes-unisolated-and-daemon)), `osevel vault connect` links the **service**. The commands stay the same. What changes: - The computer's Vault keys are made in the service and sealed with the computer's own key. Every value is opened there, by the service's own system user. - The service runs the proxy. Your processes, the agent's included, get only stand-ins for locked keys. - Only the user who linked may use the link. Other users of the computer get nothing. - Only an administrator drops the link: ```bash sudo /opt/osevel/bin/osevel vault forget --service ``` Windows has no service yet. There the keys stay in your user's context. ## With the other Os products - [OsApi](https://osevel.com/docs/products/osapi/) runs inside the proxy. It checks calls made with locked provider keys (Railway, Neon, Supabase, Render, Vercel, GitHub) and holds the dangerous ones. - [OsBox](https://osevel.com/docs/products/osbox/) takes each MCP server's keys from a vault. They are never written into a tool's config file. - [OsMemory](https://osevel.com/docs/products/osmemory/) refuses notes that contain a value from your vaults, and a team's memory is shared with the people of a vault. - [OsBrain](https://osevel.com/docs/products/osbrain/) does not judge vault use: OsVault makes no per-use decision. - [OsBase](https://osevel.com/docs/products/osbase/) does not use a vault for database credentials; the bridge holds those. ## Limits - **No approval and no Stop.** A hijacked agent can use a key at once. OsVault has no activity list, no first-use notice and no way to stop one agent. Unlinking the computer in the dashboard is the way to cut it off. - **A locked key can still be used.** The agent cannot copy it, but it can call the service with it, within what the service lets that key do. A key that can create keys can create one. Use the provider's restricted keys where it has them. - **Unlocked secrets are real values in the command.** Masking guards against accidents, not against a determined agent. - **Masking gaps:** values under 8 characters are not masked (the run says which); a value split between stdout and stderr is not masked; base64 wrapped across lines is not covered. - **Locking gaps:** a key the API wants inside the request body is not put in; programs that pin certificates or ignore proxies do not work with a locked key; only HTTPS is covered. The proxy was tested with curl, Node.js `fetch` and Python 3.13, not with every SDK. - **Without the Osevel service** (and on Windows), a process of the same user that may read another's memory, or edit the installed CLI, could reach the values. - **A link an agent starts itself.** An agent can run its own copy of the CLI and start a link with keys it holds. Confirm the 8 digits only for a `vault connect` you started yourself. - **Windows and Linux key stores** are covered by unit tests only; they were not run on real desktops. - **On Windows**, `npm` and other `.cmd` files must be run through `cmd.exe /c`. - **Anyone a vault is shared with** can read its values in their browser. - **Not built:** keys for agents that run in someone else's cloud, pushing secrets into deploy platforms, pulling them in CI, and notifications. Related: [OsApi](https://osevel.com/docs/products/osapi/), [OsBox](https://osevel.com/docs/products/osbox/), [OsMemory](https://osevel.com/docs/products/osmemory/), [OsBrain](https://osevel.com/docs/products/osbrain/), [security model](https://osevel.com/docs/security/model/). --- # OsApi > Agents' calls to Railway, Neon, Supabase, Render, Vercel and GitHub are checked on your computer; dangerous ones wait for your approval. Source: https://osevel.com/docs/products/osapi/ OsApi checks the calls an AI agent makes to these services before they leave your computer. Reads and everyday changes go through. A call that could delete a database, its backups or a repository, reveal a secret, or give someone access waits for you. - [What it protects against](#what-it-protects-against) - [Set up](#set-up) - [How it works](#how-it-works) - [Keys OsApi cannot see](#keys-osapi-cannot-see) - [When a call is held](#when-a-call-is-held) - [The OsApi page](#the-osapi-page) - [Changing what is asked](#changing-what-is-asked) - [Records](#records) - [Modes](#modes) - [With the other Os products](#with-the-other-os-products) - [Limits](#limits) ## What it protects against - **The dangerous call that is not SQL.** An agent with a provider token can delete a project, a volume or a branch through the provider's API. No database rule sees that call. - **A token with every permission.** An account-wide token found in a file lets an agent do anything the account can. With OsApi the agent holds a stand-in, and each call is read first. - **No stop before the damage.** Most infrastructure deletes cannot be undone. OsApi does not undo; it holds the call before it is sent. ## Set up OsApi is part of the CLI and of [OsVault](https://osevel.com/docs/products/osvault/). It has no install step of its own. 1. Install the CLI and link this computer to your vault (see [OsVault](https://osevel.com/docs/products/osvault/#set-up)): ```bash npm i -g @osevel/cli ``` 2. Save the provider's key in a vault. Neon (`napi_…`), Supabase Management (`sbp_…`), Vercel (`vcp_…`, `vca_…`), Render (`rnd_…`) and GitHub tokens are locked to their API when you save them. A Railway token is a plain UUID: lock it to `backboard.railway.com` yourself, in the "Only sent to" field. 3. Run the agent's commands with the vault's environment: ```bash osevel vault run -- railway up ``` 4. For approvals an agent cannot give itself, install the Osevel service (daemon mode, macOS and Linux; see [security](https://osevel.com/docs/security/model/#two-modes-unisolated-and-daemon)). With it, the checks, the held calls, your rules and the records live in the service's own folder, out of the agent's reach. Without it, they live in your own Osevel folder, which an agent running as you could change. ## How it works OsApi runs inside the OsVault run proxy. It sees a call only when the agent uses a key that OsVault holds **locked**: the agent has a stand-in (`osv_ph_…`), and the proxy puts the real key in on the way out, after OsApi has decided. Each provider has a catalogue: its hosts, and every operation with a class. A REST call maps to an operation by method and path, a GraphQL call to one operation per field, an MCP call by its tool name. With several operations in one call, the strictest decides. | Class | Meaning | What happens | | --------- | --------------------------------------------------------------------------------- | -------------------------- | | `read` | Changes nothing | Through, recorded | | `change` | Changes something that can be changed back | Through, recorded | | `danger` | Deletes data, backups, environments or access; reveals a secret; cannot be undone | Held for a person | | `unknown` | Not in the catalogue | Writes held, reads through | The catalogues were checked against each provider's published API documents and its MCP server, not with test accounts. Some everyday calls are held too, because they reveal secrets, run SQL outside [OsBase](https://osevel.com/docs/products/osbase/), or can overwrite values. Examples: `railway variables` and `railway run` (they read variables), `vercel env pull`, SQL and migrations through the Supabase or Neon MCP tools, reading Render environment variables, GitHub branch protection and Actions secrets. You approve each one, or let one named operation through with a rule (below). A call that is too large to show you whole (more than 20 held operations, or a body too large to read) is refused instead of held: you approve only what you can see. ## Keys OsApi cannot see A key in a `.env` file or in a CLI's own login file goes around OsApi. When the proxy sees a covered service reached without a locked key, it records that (`unprotected`). ```bash osevel api scan ``` lists the provider keys an agent could read and use without OsApi seeing the calls: `.env` files, shell profiles, the environment, the CLIs' own sign-ins, git and npm credentials. For each it says what the key can reach, as far as its format tells, and what to do. It never prints a key, sends nothing and changes nothing. `--dir ` reads another folder; `--json` prints JSON. It does not look in the system keychain. ## When a call is held The agent is told the call was held and the hold's id. The call is not sent. You then: - **In the panel**: Inbox → _API calls waiting_ → _Review and allow_ or _Refuse_. The review shows everything the call would send; you confirm with your passkey (and your phone, if enrolled). - **At the terminal**: ```bash sudo /opt/osevel/bin/osevel api holds ``` ```bash sudo /opt/osevel/bin/osevel api approve hold_0123456789abcdef01 ``` ```bash sudo /opt/osevel/bin/osevel api deny hold_0123456789abcdef01 ``` (without `sudo` and with plain `osevel` when the Osevel service is not installed). `approve` and `deny` need an interactive terminal and a typed code; no flag skips it. `holds --all` also lists the calls already decided. Type the launcher's full path, not `sudo osevel`: the short form finds `node` through your `PATH`, which an agent running as you can change to run its own code as root (see [security.md](https://osevel.com/docs/security/model/#two-modes-unisolated-and-daemon)). An approval lets the agent send **exactly that call once**, within 15 minutes. It is bound to the service, the vault, environment and key, the method, the path, the query and the body. A held call waits 15 minutes, then expires. At most 200 calls wait at once, 20 per key and 10 per run. When the list is full the agent is told to stop and tell you. ## The OsApi page The panel's home shows an OsApi card once your bridge runs it. Its page lists the calls waiting for you, services an agent reached without a locked key, the latest decisions and your rules. The rules are read-only there; they are changed at the terminal. ## Changing what is asked ```bash sudo /opt/osevel/bin/osevel api policy ``` lists your rules. Ask before more (`*`, `github.*` or one operation): ```bash sudo /opt/osevel/bin/osevel api policy ask github.* --environment production ``` Ask before deploys, jobs, functions and workflows in production runs: ```bash sudo /opt/osevel/bin/osevel api policy preset production-deploys ``` Let one dangerous operation through without asking (one operation at a time, optionally for one resource or environment; a person types a code). Deleting data or backups and restoring over data always ask, whatever the rules say, and so do calls that are not in the catalogue: ```bash sudo /opt/osevel/bin/osevel api policy allow neon.branch.delete --resource br-preview-123 ``` A rule for an environment applies to runs of that vault environment; an account-wide key kept in another environment can still reach production, so prefer `--resource` for anything that lets a call through. Where a rule that asks and a rule that allows both match, asking wins. Remove a rule by its number with `sudo /opt/osevel/bin/osevel api policy remove `. Every change is recorded. If the rules file cannot be read, every catalogued call asks until it is fixed. Run without `sudo` while the service is installed, these commands say that they changed only your own user's runs. ## Records Every decision is written to a hash-chained record: the service, the call, how it was sorted and what happened. No body and no key. Decisions are never dropped; in a flood only the calls that went through are counted instead of listed. Check that the records were not changed: ```bash sudo /opt/osevel/bin/osevel api verify ``` It exits with code 4 when the chain is broken. The outside anchor for these records is [OsBrain](https://osevel.com/docs/products/osbrain/)'s ledger, whose latest line is sealed in the cloud. ## Modes OsApi holds by default. `OSEVEL_API=watch` (in the Osevel service's environment, or for one run) lets every call through and only records what would have been held. ## With the other Os products - [OsVault](https://osevel.com/docs/products/osvault/) holds the keys and runs the proxy OsApi lives in. No locked key, no check. - [OsBrain](https://osevel.com/docs/products/osbrain/) judges every OsApi operation once more against your cross-product rules, lists held calls next to database approvals (`osevel brain holds`), and records your answers in its sealed ledger. - [OsBase](https://osevel.com/docs/products/osbase/) guards the SQL; OsApi guards the provider's API around the database. - [OsBox](https://osevel.com/docs/products/osbox/) signs in to remote MCP servers and keeps their tokens in the service. ## Limits - **Only calls made with a locked key are checked.** Run `osevel api scan` to find the others. - **A key is locked to one host.** The same key used on another host of the provider (its MCP host, for example) is not checked there. - **Deploys and code go through.** A deploy, a job, an Edge Function or a workflow counts as a `change`, but the code it runs can read the same secrets whose direct read is held. The `production-deploys` preset holds them for production. - **Setting one variable is a `change`**, although it can overwrite a value. Replacing all and deleting are `danger`. - **Reads that are not in the catalogue go through.** Only unknown writes are held. - **MCP tools are classed by name.** A tool that takes a `method` or `replace` argument is classed by its usual use. - **Git over HTTPS is not read.** A force push is not a REST call and is not held. - **Without the Osevel service**, an agent running as you can choose the run's environment, rewrite the held calls and records, or answer the approval prompt through a terminal it opens. Real approvals need the service, where deciding needs `sudo` or your passkey. - **OsApi does not undo.** It takes no safety copy before an approved delete. - **Not built:** agents that run in someone else's cloud, rules from `osevel.yaml`, editing rules in the panel, and asking a provider what a key really reaches. Related: [OsVault](https://osevel.com/docs/products/osvault/), [OsBrain](https://osevel.com/docs/products/osbrain/), [OsBase](https://osevel.com/docs/products/osbase/), [OsBox](https://osevel.com/docs/products/osbox/), [security model](https://osevel.com/docs/security/model/). --- # OsBox > One MCP setup for every AI tool: servers pinned to an accepted version and hash, keys from OsVault, accepted in the dashboard, run in a sandbox. Source: https://osevel.com/docs/products/osbox/ OsBox is one place for your MCP servers. You add a server once; each AI tool on the computer gets a single `osbox` entry and sees the same servers through it. Every server is pinned to the version and hash you accepted, takes its keys from [OsVault](https://osevel.com/docs/products/osvault/), and runs in the operating system's sandbox on macOS and Linux. - [What it protects against](#what-it-protects-against) - [Set up](#set-up) - [Adding a server](#adding-a-server) - [Accepting](#accepting) - [How it works](#how-it-works) - [Pinning](#pinning) - [The sandbox](#the-sandbox) - [Remote servers](#remote-servers) - [Servers from a repository](#servers-from-a-repository) - [With the Osevel service](#with-the-osevel-service) - [With the other Os products](#with-the-other-os-products) - [Limits](#limits) ## What it protects against - **A server that changes after you trusted it.** `npx -y some-server` runs whatever is newest today. With OsBox a new version, a changed file or a changed tool description does not reach your agents until you accept it. - **Keys in config files.** Tool configs hold API keys as plain text. In OsBox a server's keys are names that point to OsVault secrets, never values. - **An agent adding a server for itself.** Accepting a server is done in the dashboard, signed with your account key. Typing in a terminal does not accept. - **A hostile repository.** A cloned repository's servers run nothing until you accept them on this computer. - **A server that reads what it should not.** In the sandbox a server reads, writes and connects only where its accepted declaration says. - **The same setup in every tool, by hand.** One entry per tool replaces a server list per tool. ## Set up ```bash npm i -g @osevel/cli ``` Link the computer to your account, so that acceptances are made in the dashboard and keys come from your vault (see [OsVault](https://osevel.com/docs/products/osvault/#set-up)): ```bash npx @osevel/cli vault connect --server https:// ``` See what your tools already have: ```bash osevel box import ``` lists the servers already in your tools, the keys that sit there as plain text (names only), and the `osevel box add` command for each. Save those keys in OsVault first (dashboard → Vault → add, or paste as `.env`). Rotate keys that sat in plain text: copies may remain in the tools' own backups and in editor history. Then connect the tools: ```bash osevel box connect ``` writes the one `osbox` entry into each tool it finds: Claude Code, Claude Desktop, Cursor, VS Code, Windsurf, Gemini CLI, Codex and OpenCode. It shows each change, asks a yes per tool and keeps a backup first. Name tools to connect only those (`osevel box connect cursor`). Where a file cannot be edited safely, the entry is printed for you to add by hand. `osevel box import --remove` replaces the entries of servers that are now in the box. `osevel box disconnect` puts each tool's file back. ```bash osevel box ``` shows the box: each server, its source, whether it is accepted here, and what waits. ## Adding a server ```bash osevel box add @modelcontextprotocol/server-github@1.4.2 --key GITHUB_TOKEN ``` The source is one of: | Source | Example | What is pinned | | -------------------------- | ----------------------------- | -------------------------------------------- | | An npm package | `name@version` | The whole lockfile and every installed file | | A command on this computer | `/absolute/path/to/server` | The file's hash; it runs from a private copy | | A remote server | `https://mcp.example.com/mcp` | Its address and its sign-in provider | Without a version, the newest one is looked up once and fixed. npm packages are installed from the public registry with install scripts off. | Option | Meaning | | ---------------------- | --------------------------------------------------------------------------------------------------------- | | `--name ` | The server's name in the box. | | `--key NAME` | Give the OsVault secret `NAME`. `--key NAME=SECRET@vault/env` picks another secret, vault or environment. | | `--env NAME=value` | A plain setting. A value that looks like a secret is refused. | | `--arg ` | An argument for the server. | | `--bin ` | Which program of an npm package to run. | | `--allow-read ` | A folder the server may read. | | `--allow-write ` | A folder the server may write. | | `--allow-host ` | A host it may connect to (`*.example.com` for subdomains). | | `--no-sandbox` | Run without the sandbox. The dashboard shows a red warning before you accept. | | `--declare ` | `sampling`, `elicitation`, `roots` or `dynamic` (see [pinning](#pinning)). | `osevel box remove ` takes a server out. `osevel box install ` installs it again; it then needs accepting again. ## Accepting A server runs only after you accept it: ```bash osevel box accept github ``` - **Computer linked to an account:** the request goes to the dashboard. The page shows the server, what it runs, its keys (names only), its settings, what it may touch, and the findings of the checks. You sign with your account key. The computer verifies that signature against the account it saw when it was linked. - **Not linked:** a 6-digit code appears in a window of its own and you type it back in the terminal. This is weaker, and the CLI says so. Accepting covers the server and then, after it started once, its lists of tools, prompts and resources. The request and the answer are sealed end to end between the computer and your browser. Osevel's cloud sees that a computer asked, when, and whether you accepted or declined; not which server. **Checks shown before you accept** (best effort, never the only defence): hidden characters in descriptions, text that addresses the model ("ignore", "do not tell the user"), mentions of other servers' tools, URLs and file paths in descriptions. ## How it works 1. Each tool starts one MCP server, the gateway: `osevel box mcp`. 2. The gateway starts only accepted servers whose install still matches its pin. Each starts in its own folder with a clean environment: its settings and its keys, nothing else of yours. 3. Keys come from OsVault. Plain keys are masked in everything the agent reads. Locked keys are given as stand-ins and put in by the proxy, so the server never holds them. 4. Tools are passed through with the server's name in front: `github__create_issue`. A server cannot use `__` in its own names, so it cannot pass as another server's tool. 5. Every list a server shows is compared with its pin before it is passed on. The agent sees ordinary MCP tools. Calls are not approved one by one. Tool calls and their answers stay on the computer. ## Pinning When something differs from what you accepted: - **A changed install** (a package or a file changed on disk): the server does not start. - **A changed tool, prompt or resource:** the unchanged ones keep working. The changed and new ones are held, and calling one answers "held: waiting for the owner to accept a change", so the agent can tell you. `osevel box accept --lists` accepts them after a look. - **Changed server instructions:** the whole server is closed until you accept. - **A server whose tools change by design:** accept it with `--declare dynamic`. New tools then pass; changed ones are still held. ## The sandbox On macOS and Linux every server runs in the operating system's sandbox unless you accepted it with `--no-sandbox`. Windows has no sandbox yet. - **macOS (Seatbelt):** deny by default. The server reads the system's own files, its runtime, its install and what it declared. It writes to a temporary folder of its own and what it declared. Only its own program may run. Its only way to the network is a local proxy that lets declared hosts through, on ports 443 and 80. - **Linux (bubblewrap):** only the system folders, the runtime, the install and the declared paths are mounted. There is no network. A sandboxed server that declares hosts is refused for now, because bubblewrap cannot limit it to those hosts. Without `/usr/bin/bwrap`, a server runs only when accepted as unsandboxed. - **Windows:** no sandbox. Servers run only when accepted as unsandboxed. `/`, the whole home folder and folders above it are refused as declared paths. The dashboard warns about paths that hold keys or start programs (`~/.ssh`, `~/.aws`, shell start-up files). ## Remote servers ```bash osevel box add https://mcp.example.com/mcp ``` ```bash osevel box login example ``` `login` signs in once in your browser (OAuth with PKCE). The sign-in provider first seen for a server is the only one accepted later. A remote server's lists are pinned and held like any other's. ## Servers from a repository A repository can ask for servers in the `box` section of its `osevel.yaml`. The file holds no values: key labels only. - A fresh clone runs nothing. `osevel box repo` shows what the repository asks for. - `osevel box repo map