Basic Configuration¶
These settings control the core behavior of Elroy.
Options¶
--config TEXT
: YAML config file path. Values override defaults but are overridden by CLI flags and environment variables. [default: ~/.config/elroy/config.yaml]--default-assistant-name TEXT
: Default name for the assistant. [default: Elroy]--debug / --no-debug
: Enable fail-fast error handling and verbose logging output. [default: false]--user-token TEXT
: User token to use for Elroy. [default: DEFAULT]--custom-tools-path TEXT
: Path to custom functions to load (can be specified multiple times)--max-ingested-doc-lines INTEGER
: Maximum number of lines to ingest from a document. If a document has more lines, it will be ignored.--database-url TEXT
: Valid SQLite or Postgres URL for the database. If Postgres, the pgvector extension must be installed.--inline-tool-calls / --no-inline-tool-calls
: Whether to enable inline tool calls in the assistant (better for some open source models). [default: false]--reflect / --no-reflect
: If true, the assistant will reflect on memories it recalls. This will lead to slower but richer responses. If false, memories will be less processed when recalled into memory. [default: false]
Shell Integration¶
--install-completion
: Install completion for the current shell--show-completion
: Show completion for current shell--help
: Show help message and exit
CLI Commands¶
elroy chat
- Opens an interactive chat session (default command)elroy message TEXT
- Process a single message and exitelroy remember [TEXT]
- Create a new memory from text or interactivelyelroy ingest PATH
- Ingests document(s) at the given path into memoryelroy list-models
- Lists supported chat models and exitselroy list-tools
- Lists all available toolselroy print-config
- Shows current configuration and exitselroy version
- Show version and exitelroy print-tool-schemas
- Prints the schema for a tool and exitselroy set-persona TEXT
- Set a custom persona for the assistantelroy reset-persona
- Removes any custom persona, reverting to the defaultelroy show-persona
- Print the system persona and exitelroy mcp
- MCP server commands
Note: Running just elroy
without any command will default to elroy chat
.