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
- 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
- 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
- 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
- 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
- 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
- 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.