⚡ dakera-cli
Command-line interface for Dakera AI — inspect and manage a Dakera memory instance from the terminal.
The Dakera memory engine scores 87.6% on LoCoMo (1,540 questions, standard eval) — benchmark details
Run Dakera
You need a running Dakera server to connect to. The fastest way:
For persistent storage (recommended):
DAKERA_ROOT_API_KEY=dk-mykey
Full deployment guide (Docker Compose, Kubernetes, Helm): dakera-deploy
Install
Or download a pre-built binary from the releases page.
Quick Start
# 1. Configure the CLI (server URL + API key)
# 2. Verify connectivity
# 3. Store your first memory
# 4. Recall by semantic query
# 5. Full-text BM25 search
Configuration
Environment variables
| Variable | Description | Default |
|---|---|---|
DAKERA_URL |
Server base URL | http://localhost:3000 |
DAKERA_API_KEY |
API key for authentication | — |
DAKERA_PROFILE |
Named profile to use | active profile in config |
Config file
dk init creates ~/.dakera/config.toml:
[]
= "http://localhost:3000"
= "dk-mykey"
[]
= "default"
Named profiles
Precedence
Environment variables > CLI flags > config file > defaults.
Global Flags
| Flag | Short | Default | Description |
|---|---|---|---|
--url |
-u |
http://localhost:3000 |
Server URL |
--format |
-f |
table |
Output format: table, json, compact |
--verbose |
-v |
false | Log HTTP requests and response timing |
--profile |
-p |
— | Named server profile |
|
Commands
dk health
Check server health and connectivity.
dk namespace
Manage namespaces.
dk memory
Store, recall, search, and manage agent memories. This is the primary interface to Dakera.
# Store a memory
# Recall by semantic query
# Full-text search within an agent's memories
# Get a specific memory by ID
# Update a memory
# Delete a single memory
# Batch delete by filters (dry-run first!)
# Update importance scores
# Consolidate similar memories into summaries
# Submit recall quality feedback
dk text
Full-text (BM25) search across memories.
# Search all namespaces
# Search within a specific namespace
dk session
Manage agent sessions.
dk agent
View and manage agents.
dk knowledge
Knowledge graph management and memory summarization.
# Build a knowledge graph from a memory
# Full knowledge graph for an agent
# Summarize a set of memories into a new memory
# Find and remove duplicate memories
dk index
Index management.
dk keys
API key management.
dk admin
Cluster administration, caching, backups, and server configuration.
# Cluster overview
# Namespace index management
# Cache management
# Server configuration
# Namespace quotas
# Performance diagnostics
dk config
Show or manage connection profiles.
dk completion
Generate shell completion scripts.
Exit Codes
| Code | Meaning |
|---|---|
| 0 | Success |
| 1 | General error |
| 2 | Connection error (server unreachable) |
| 3 | Not found |
| 4 | Permission denied / authentication failure |
| 5 | Invalid input |
| 6 | Server-side error (5xx) |
Scripts can check $? after each command.
Related
| Repo | What it is |
|---|---|
| dakera-py | Python SDK |
| dakera-js | TypeScript SDK |
| dakera-mcp | MCP server · 14 core tools (86+ via profiles) |
| dakera-deploy | Self-host Dakera |
dakera.ai · Documentation · Request Early Access
Part of the Dakera AI open-source ecosystem. Built with Rust. Self-hosted. Zero dependencies.