# 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). Every page of this site has a Markdown twin at its address with .md (for example https://osevel.com/security.md); the links below go to the twins. ## Products - [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: https://osevel.com/docs/products/osbrain.md - [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. Docs: https://osevel.com/docs/products/osbase.md - [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: https://osevel.com/docs/products/osvault.md - [OsApi](https://osevel.com/products/osapi.md): Lets agents call services like GitHub or Neon, and holds the dangerous calls until you approve them. Docs: https://osevel.com/docs/products/osapi.md - [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. Docs: https://osevel.com/docs/products/osbox.md - [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. Docs: https://osevel.com/docs/products/osmemory.md ## Site - [Home](https://osevel.com/index.md): what Osevel is, real incidents and the products that answer them, the vision and the common questions. - [How it works](https://osevel.com/how-it-works.md): the one program every product runs through, the path of one database statement, the database roles and what reaches our cloud. - [OsBase in depth](https://osevel.com/product.md): the change log, the default policy rules, approvals, undo, access levels and levels of sight, with the real numbers. - [Security](https://osevel.com/security.md): who we protect you from, what we can see, what we cannot, the layers, and what we do not protect against. - [Pricing](https://osevel.com/pricing.md): what each product costs as far as it is decided, the OsBase plans side by side, and pricing questions. - [Integrations](https://osevel.com/integrations.md): every database, AI agent and cloud service with a page of its own. - [Learn](https://osevel.com/learn.md): every guide, comparison and answer page in one list. - [Changelog](https://osevel.com/changelog.md): what changed, day by day. - [Support](https://osevel.com/support.md): how to reach us, the status page, the iPhone app, and reporting a security problem. ## Guides - [How to safely connect an AI agent to your database](https://osevel.com/learn/connect-ai-agent-to-database.md): eight practices and a checklist for giving an AI agent database access without risking the data. - [AI agent database access, compared](https://osevel.com/learn/ai-database-access-compared.md): a connection string, a read-only user, the provider's MCP server and OsBase, side by side. - [How to stop an AI agent from deleting production data](https://osevel.com/learn/stop-ai-agent-deleting-data.md): 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. - [An audit log for AI agents’ database changes](https://osevel.com/learn/ai-agent-audit-log.md): 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. - [MCP database permissions: limiting what an AI agent can do](https://osevel.com/learn/mcp-database-permissions.md): 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. - [How to stop an AI agent from deleting cloud resources through an API](https://osevel.com/learn/stop-ai-agent-cloud-api-deletes.md): 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. - [How to give an AI agent API keys without handing them over](https://osevel.com/learn/api-keys-for-ai-agents.md): 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. - [Glossary](https://osevel.com/learn/glossary.md): MCP, change journal, undo, stand-in, locked key, pinned server, hold, decision ledger and other terms, defined plainly. ## Integrations - [PostgreSQL](https://osevel.com/integrations/postgresql.md): 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. (database, with OsBase) - [Supabase](https://osevel.com/integrations/supabase.md): Let Claude Code, Cursor or Codex work on your Supabase database safely: every agent change recorded, risky ones held for approval, any change undone. (database, with OsBase) - [Neon](https://osevel.com/integrations/neon.md): Connect AI coding agents to Neon Postgres through Osevel: agents use the pooler, every change is recorded and risky ones wait for your approval. (database, with OsBase) - [Cloudflare D1](https://osevel.com/integrations/cloudflare-d1.md): 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. (database, with OsBase) - [Claude Code](https://osevel.com/integrations/claude-code.md): 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. (AI agent) - [Cursor](https://osevel.com/integrations/cursor.md): Connect Cursor’s agent to Postgres, Supabase, Neon or D1 through Osevel: its own key, every change recorded, risky ones held for your approval. (AI agent) - [Codex](https://osevel.com/integrations/codex.md): 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. (AI agent) - [OpenCode](https://osevel.com/integrations/opencode.md): Connect OpenCode to Postgres, Supabase, Neon or D1 through Osevel: its own key, only the tools of its level, every change recorded and undoable. (AI agent) - [Railway](https://osevel.com/integrations/railway.md): 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. (cloud service, with OsApi) - [GitHub](https://osevel.com/integrations/github.md): 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. (cloud service, with OsApi) - [Render](https://osevel.com/integrations/render.md): 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. (cloud service, with OsApi) - [Vercel](https://osevel.com/integrations/vercel.md): 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. (cloud service, with OsApi) ## Docs - [Osevel documentation](https://osevel.com/docs/index.md): 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. - [For AI assistants and agents](https://osevel.com/docs/getting-started/ai-assistants.md): For AI assistants and agents: when each Osevel product fits, how a person sets it up, and how an agent works through it when a move is held. - [OsBase: install and first undo](https://osevel.com/docs/getting-started/install.md): Put the Osevel bridge in front of your Postgres database, give an AI agent its own key and undo its first change, step by step. - [OsBase: day-to-day use](https://osevel.com/docs/getting-started/usage.md): Day-to-day Osevel: approve or deny what AI agents ask, read the change journal and undo one change or a whole agent session. - [Agents](https://osevel.com/docs/guides/agents.md): Register each AI coding agent as an MCP client with its own key and access level, so it reaches your database only through Osevel. - [Capabilities](https://osevel.com/docs/guides/capabilities.md): Give an AI agent a fixed, typed database operation and switch its free-form writes off: what it may do is decided in advance. - [Cloudflare D1](https://osevel.com/docs/guides/cloudflare-d1.md): How Osevel guards a Cloudflare D1 database from AI agents when D1 has no database roles: what is enforced, and what is not. - [Neon](https://osevel.com/docs/guides/neon.md): Connect AI agents to a hosted Neon Postgres database through Osevel and its pooler, with every change recorded and undoable. - [Rule-based agents](https://osevel.com/docs/guides/rule-based-agents.md): A database agent that decides by rules instead of a model: no LLM key, no tokens, no network, and every write journaled and undoable. - [Sandbox for local agents](https://osevel.com/docs/guides/sandbox.md): A local AI agent that Osevel runs on your machine, in a container that can reach nothing but its LLM provider. - [Self-hosted dashboard](https://osevel.com/docs/guides/self-hosted-dashboard.md): Serve the Osevel panel from your own domain and pin that origin on your team bridge, so you do not have to trust the page we serve. - [Supabase](https://osevel.com/docs/guides/supabase.md): Connect AI coding agents to Supabase through Osevel: what is tested, what init sets up, and how it differs from plain Postgres. - [Team bridge](https://osevel.com/docs/guides/team-bridge.md): One always-on Osevel bridge for a team, in its own cloud account or on a member's machine, with roles and approval rules. - [Data Processing Agreement (draft)](https://osevel.com/docs/hosted/dpa.md): Roles, data, regions, security measures, deletion and breaches for hosted databases. A draft, not yet reviewed by a lawyer. - [Hosted Postgres](https://osevel.com/docs/hosted/overview.md): A Postgres database Osevel will run for you, with the same change journal, approvals and undo for every AI agent. A working prototype, not open yet. - [Subprocessors (draft)](https://osevel.com/docs/hosted/subprocessors.md): The providers that process data for Osevel products and hosted databases, what each one does, and where the data is. A draft. - [Security model](https://osevel.com/docs/security/model.md): What each Osevel product protects when AI agents use your databases, keys, cloud APIs, tools and memory, under which assumptions, and what it does not. - [Pinned panel and connector releases](https://osevel.com/docs/security/pinned-releases.md): An organization's owners decide which code runs: the dashboard build every member's browser loads and the bridge release every team bridge starts. - [Red-team findings](https://osevel.com/docs/security/red-team-findings.md): What independent reviews and red teams found in OsBase, OsVault, OsApi, OsBox, OsMemory and OsBrain, finding by finding, and what was fixed. - [Signed records](https://osevel.com/docs/security/signed-records.md): How Osevel decides who may do what with signed records instead of trusting its cloud: the log, device enrolment, approvals and proofs. - [CLI reference](https://osevel.com/docs/reference/cli.md): Every osevel command by product: OsVault, OsBox, OsMemory, OsApi, OsBrain and the OsBase database commands, with which ones ask for a typed code. - [Limitations](https://osevel.com/docs/reference/limitations.md): The known limits of every Osevel product in one place: OsBase, OsVault, OsApi, OsBox, OsMemory and OsBrain, and what is not built yet. - [Troubleshooting](https://osevel.com/docs/troubleshooting.md): First-problem fixes for Osevel: a held API call, a server that will not start, a missing secret, an agent that is cut off, undo conflicts. ## Optional - [Everything in one file](https://osevel.com/llms-full.txt): every page above as Markdown, in one file. - [Terms of Service](https://osevel.com/terms.md): what the service is, your responsibilities, the limits of our liability. - [Privacy Policy](https://osevel.com/privacy.md): what we collect and never see, who processes it, how long it is kept, your rights. - [Marketing email consent](https://osevel.com/marketing-consent.md): the optional consent to news by email, and how to withdraw it. - [Changelog feed](https://osevel.com/changelog.xml): the changelog as RSS. - [Sitemap](https://osevel.com/sitemap-index.xml): every HTML page.