
Security News
White House Authorizes Private Companies to Conduct Offensive Cyber Operations
A new federal program will let vetted U.S. cybersecurity firms help investigate and disrupt foreign cybercrime groups under government direction.
@betterdb/agent
Advanced tools
Lightweight agent that connects your Valkey/Redis instances to BetterDB Cloud for monitoring and observability — without exposing your database to the internet.
The agent runs inside your VPC and initiates all connections outbound via WebSocket (WSS on port 443). No inbound firewall rules required.
BetterDB Monitor gives you live dashboards for the AI workloads running on your Valkey:


Run it self-hosted (docker run -p 3001:3001 betterdb/monitor), or use BetterDB Cloud - which can also provision a managed, TLS-enabled Valkey instance (Search module included) in one click.
docker run -d --name betterdb-agent \
--restart=always \
-e BETTERDB_TOKEN="<your-token>" \
-e BETTERDB_CLOUD_URL="wss://<your-workspace>.app.betterdb.com/agent/ws" \
-e VALKEY_HOST="<your-valkey-host>" \
-e VALKEY_PORT="6379" \
betterdb/agent
npx @betterdb/agent \
--token "<your-token>" \
--cloud-url "wss://<your-workspace>.app.betterdb.com/agent/ws" \
--valkey-host "<your-valkey-host>" \
--valkey-port 6379
| Variable / Flag | Default | Description |
|---|---|---|
BETTERDB_TOKEN / --token | (required) | Agent token from BetterDB Cloud |
BETTERDB_CLOUD_URL / --cloud-url | (required) | wss://<workspace>.app.betterdb.com/agent/ws |
VALKEY_HOST / --valkey-host | localhost | Valkey/Redis hostname |
VALKEY_PORT / --valkey-port | 6379 | Valkey/Redis port |
VALKEY_PASSWORD / --valkey-password | — | Auth password |
VALKEY_USERNAME / --valkey-username | default | ACL username |
VALKEY_TLS / --valkey-tls | false | Enable TLS (required for ElastiCache Serverless) |
VALKEY_DB / --valkey-db | 0 | Database number |
BETTERDB_UNSAFE_CLI / --unsafe-cli | false | Allow all commands (not just the read-only allowlist). Do not enable on publicly accessible instances. |
Works with AWS ElastiCache, Google Memorystore, Azure Cache, Aiven, and others. Set VALKEY_TLS=true if the provider requires encryption. The agent must be deployed in the same VPC/network as your database.
Full docs: docs.betterdb.com/agent-connection
See LICENSE for details.
FAQs
BetterDB remote monitoring agent for Valkey/Redis
The npm package @betterdb/agent receives a total of 7 weekly downloads. As such, @betterdb/agent popularity was classified as not popular.
We found that @betterdb/agent demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
A new federal program will let vetted U.S. cybersecurity firms help investigate and disrupt foreign cybercrime groups under government direction.

Research
/Security News
The campaign amassed more than 75,000 installs by targeting Russian-speaking users seeking access to blocked services.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.