dbay-cli
Command-line tool for DBay — manage memory bases, knowledge bases, databases, and more from the terminal.
Install
pip install dbay-cli
Getting Started
# Login (creates ~/.dbay/config.json)
dbay login
# Create a memory base and set it as default
dbay mem create my-mem
dbay mem use my-mem
# Register MCP server with Claude Code
claude mcp add --scope user dbay -- uvx dbay-mcp
# Done! Claude now remembers across sessions.
Memory Commands
dbay mem list # List memory bases (* marks default)
dbay mem use <name|id> # Switch default memory base
dbay mem create <name> # Create a memory base
dbay mem create --encrypted <name> # Create with end-to-end encryption
dbay mem info # Show current memory base details
dbay mem stats # Show memory statistics
dbay mem list-memories # List all memories (decrypts if encrypted)
dbay mem recall "query" # Semantic search (decrypts if encrypted)
dbay mem ingest "content" # Store a memory (encrypts if encrypted)
dbay mem delete-memory <id> # Delete a memory
dbay mem change-password # Change encryption password
All commands use the default memory base from ~/.dbay/config.json. Override with positional argument or --base option.
Knowledge Base Commands
dbay kb list # List knowledge bases (* marks default)
dbay kb use <name|id> # Switch default knowledge base
dbay kb create <name> # Create a knowledge base
dbay kb info <id> # Show knowledge base details
dbay kb upload <id> <file> # Upload document (PDF, DOCX, MD)
dbay kb docs <id> # List documents
dbay kb search <id> "query" # Semantic search
End-to-End Encryption
Create an encrypted memory base where content is encrypted locally before upload. The server never sees plaintext.
dbay mem create --encrypted my-private-mem
# 1. Set a password (saved to ~/.dbay/secret)
# 2. Choose embedding provider
# 3. Keys generated automatically
Three-factor security:
- Password (
~/.dbay/secret) - only you know - Config file (
~/.dbay/encrypted_bases.json) - portable, safe to share (encrypted private key) - Server - stores encrypted DEK (useless without private key)
Cross-device: copy ~/.dbay/encrypted_bases.json to the new device, create ~/.dbay/secret with your password, then dbay login.
Configuration
~/.dbay/config.json (auto-created by dbay login):
{
"endpoint": "https://api.dbay.cloud:8443",
"api_key": "lk_...",
"memory_base": "mem_...",
"knowledge_base": "kb_..."
}
Links
- DBay Console — web UI for managing everything
- dbay-mcp — MCP server for AI agents
Metadata
Release files for dbay-cli 0.2.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dbay_cli-0.2.8.tar.gz | 92.3 kB | Without provenance | Details for dbay_cli-0.2.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dbay_cli-0.2.8-py3-none-any.whl | Python 3 | none | any | Details for dbay_cli-0.2.8-py3-none-any.whl |
Total release size: 122.9 kB
Release files / dbay_cli-0.2.8.tar.gz
| Download URL | dbay_cli-0.2.8.tar.gz |
|---|---|
| Size | 92.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b13e0935e1709e27fc79fc1b1317b699bf6d6e63ea6decca0925a16c201a3044
|
|
BLAKE2b-256 checksum How to use checksums |
4b3aceed19cf6b38551e4a66a4cf5dde5ad33bff9b97279a5980bc3d8d14cc3c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Release files / dbay_cli-0.2.8-py3-none-any.whl
| Download URL | dbay_cli-0.2.8-py3-none-any.whl |
|---|---|
| Size | 30.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9dba6a84a2d94fd8c4276511a9e69dbe7944d13f992b758cd807016db4311737
|
|
BLAKE2b-256 checksum How to use checksums |
671b355fd3d5196c4a8f1d00989b8d542ddfda27863591a2004342ef62e266be
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Security for dbay-cli 0.2.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.