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