60db CLI
Agent-native command-line interface for the full 60db platform. Covers AI completions, TTS, STT, voice cloning, persistent memory with document upload (PDF, DOCX, XLSX, scanned images with OCR), Cerbos policy checks, billing, and workspace management — all with structured JSON output for scripts and AI agents. Source code: github.com/60db/cli · npm:60db-cli · License: MIT
Features
- Dual Mode: Interactive REPL + subcommand interface
- Agent-Native: Structured JSON output with
--jsonflag - AI Completions: Chat, meeting notes analysis, and text completion
- TTS (Text-to-Speech): Generate speech from text with multiple voices
- STT (Speech-to-Text): Transcribe audio files with multiple languages
- Memory & RAG: Ingest memories, upload documents (91+ formats with OCR), hybrid semantic search, LLM-ready context assembly, per-month spend tracking
- Authorization (Cerbos): Inspect effective permissions and probe
(resource, action)checks before attempting gated operations - Authentication: Secure login and token management
- Complete Coverage: Users, Credits, Billing, Workspaces, Categories, Memory, Authz
- Configuration: Persistent config with
60db config
Installation
Global Installation
Local Installation
From Source
Quick Start
Interactive Mode (REPL)
Command Mode
Environment Variables
X60DB_* variable names are still honored for backward compatibility.
JSON Output (for AI Agents)
All commands support--json flag for structured output:
Error Handling
All commands return structured error responses:Requirements
- Node.js >= 16.0.0
- npm or yarn
Support
For issues or questions, please visit:- GitHub: https://github.com/60db/cli
- Issues: https://github.com/60db/cli/issues