Skip to content
DBA Brain
DBA Brain

Your dbabrain key

A free key from dbabrain.dev, after an email sign-in. It unlocks DBA Brain's reports, backup and restore, and the AI assistant - which then answers through dbabrain.dev, with no AI key of yours. Without one, DBA Brain still collects its metrics and sends its alerts.

dbabrain.dev does not collect your data

Your databases, their logins, their passwords and what they hold stay on your machine. The key has two jobs only: to prove who you are (authentication), and to let your assistant reach the AI through dbabrain.dev. dbabrain.dev keeps only what those two need - your email, the key's fingerprint (SHA-256) and term, and per AI turn its tokens and cost - never a question, an answer, or anything from your databases. What the assistant sends to answer a question passes through to Anthropic and is not stored (privacy).

What a key unlocks

No keyFree key
Metrics collected and stored, instant alerts, the scheduleryesyes
SLA checks, scheduled SQL tasks, the web consoleyesyes
Reports, and the console's report pagesnoyes
Backup and restorenoyes
SRE commands, the MCP server (local, and the connector at mcp.dbabrain.dev)noyes
The AI assistant, through dbabrain.devno$1 of AI a month

A gated feature without a key is a state, not a failure: it says once what is missing and how to get it, and everything else keeps running.

Get one

shell
pip install "dbabrain[ai]"
export DBABRAIN_SECRET_KEY='<your passphrase>'   # the node's encrypted store
dbabrain key-request                             # prints a link and a code
dbabrain key-status                              # its term, and what it unlocks

Open the link key-request prints, sign in with your email (a one-time code is sent to it), check the code matches the one in your terminal, and approve. The key arrives on its own and is kept in the node's encrypted store - never in a file in clear. Each email holds one key at a time: a new one replaces the earlier, and a node still holding the earlier one stops its reports and backups at its next daily check. For a second node of yours, copy the key into its store (dbabrain common secret-set -, ref DBABRAIN_KEY) rather than asking again - or use another email.

Its term, and when it ends

  • 14 days. It is never extended; dbabrain key-renew gets the next one, the same way.
  • Warnings 7, 3 and 1 day(s) before the end, in your alert chat; the last one CRITICAL.
  • Then 3 days of grace: everything still runs, and the alert says so every day.
  • After the grace, new work stops - the existing never breaks. No new scheduled backups or reports; a restore you ask for still runs, and nothing already backed up becomes unreadable.

The key is checked on your node, offline: its signature and its term need no network. Once a day the node also asks dbabrain.dev whether the key was revoked or replaced; a check that cannot reach dbabrain.dev changes nothing.

The AI through dbabrain.dev

With a key, the assistant (in Telegram, or dbabrain telegram ai-ask) sends its questions to dbabrain.dev, which passes them to Anthropic's Claude and returns the answers. Your node never holds an Anthropic key, and nobody is given one.

The free plan
Each account, each calendar month (UTC)$1.00 of AI
The modelthe cheapest Claude model - Claude Haiku 5.5 today - at effort medium
A model turnup to 8,000 output tokens; 20 turns per 10 minutes
What dbabrain.dev keepsper turn: the account, the model, the tokens, the cost, the time - never the question or the answer (privacy)

The assistant only reads, through read-only tools, and proposes each command for a person to run. When the month's dollar is spent it says so, and starts again on the 1st. With your own Anthropic key instead - another model, your own budget - run dbabrain ai-key; the dbabrain key is still needed.

Questions

What does my node send to dbabrain.dev?

The sign-in that issues the key, a daily check of the key, and - only if the assistant answers through dbabrain.dev - its questions. Your databases, their logins and their data stay on your machine; dbabrain.dev never holds a database password.

Is there a paid plan?

Not yet. The free plan above is what a key gives today.

Can a key be taken back?

Yes: a key can be revoked on dbabrain.dev, and a new key replaces the earlier one of the same email. Write to [email protected] to have yours revoked or your records deleted.