Skip to main content

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dbay_cli-0.2.8.tar.gz (92.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dbay_cli-0.2.8-py3-none-any.whl (30.7 kB view details)

Uploaded Python 3

File details

Details for the file dbay_cli-0.2.8.tar.gz.

File metadata

  • Download URL: dbay_cli-0.2.8.tar.gz
  • Upload date:
  • Size: 92.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for dbay_cli-0.2.8.tar.gz
Algorithm Hash digest
SHA256 b13e0935e1709e27fc79fc1b1317b699bf6d6e63ea6decca0925a16c201a3044
MD5 aaaf1e5d1430abade9140cb81ecbb7ef
BLAKE2b-256 4b3aceed19cf6b38551e4a66a4cf5dde5ad33bff9b97279a5980bc3d8d14cc3c

See more details on using hashes here.

File details

Details for the file dbay_cli-0.2.8-py3-none-any.whl.

File metadata

  • Download URL: dbay_cli-0.2.8-py3-none-any.whl
  • Upload date:
  • Size: 30.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for dbay_cli-0.2.8-py3-none-any.whl
Algorithm Hash digest
SHA256 9dba6a84a2d94fd8c4276511a9e69dbe7944d13f992b758cd807016db4311737
MD5 a3d216fea4c0ac158680abb6a1aa441c
BLAKE2b-256 671b355fd3d5196c4a8f1d00989b8d542ddfda27863591a2004342ef62e266be

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2.8 This release

2 files

0.2.7

2 files

0.2.6

2 files

0.2.5

2 files

0.2.4

2 files

0.2.3

2 files

0.2.2

2 files

0.2.1

2 files

0.2.0

2 files

0.1.1

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page