Skip to main content

CLI Reference

Engram provides a comprehensive command-line interface for managing your semantic knowledge base.

Command Structure

engram <command> [subcommand] [options]

Available Commands

Data Management

CommandDescription
ingestImport data from various sources
searchSearch your knowledge base
viewView data (tags, categories, clusters)

Enrichment

CommandDescription
enrichAdd AI-powered metadata

Organization

CommandDescription
reorgCluster, deduplicate, and organize
archiveArchive and restore documents

Information

CommandDescription
statsView knowledge base statistics
costView API usage costs

Global Options

OptionDescription
--helpShow help for any command
--versionShow Engram version

Getting Help

# General help
engram --help

# Command-specific help
engram ingest --help
engram search --help

Environment Variables

See Configuration for required environment variables.