@khanhromvn/elara-cli
v1.0.0
Published
Elara Agent CLI
Readme
@khanhromvn/elara-cli
Interactive CLI interface for Elara. This package allows you to chat with various AI models directly from your terminal.
Prerequisite
This CLI requires the Elara backend server to be running. You can install and start it with:
npm install -g @khanhromvn/elara-server
elara-serverInstallation
Install the CLI globally via npm:
npm install -g @khanhromvn/elara-cliUsage
Start the interactive terminal interface:
elara-cliFeatures
- Interactive UI: Powered by Ink.
- Tool Support: Code reading, file writing, and command execution directly from the chat.
- Model Switching: Easily switch between available models using
/mode. - Keyboard Shortcuts:
ESC: Stop current generation / Exit.TAB: Toggle between CHAT and AGENT mode./: Show available commands.
Configuration
The CLI defaults to connecting to http://localhost:8888. You can change the target URL using the following command within the CLI:
/config(http://your-server-ip:port)License
ISC
