enton-cli
v0.1.4
Published
ENTON - AI-powered financial assistant CLI. Like Claude Code, but for finance.
Maintainers
Readme
ENTON CLI
🏦 AI-powered financial assistant - like Claude Code, but for finance.
Installation
npm install -g @enton/cliOr run directly with npx:
npx @enton/cli "What is the price of AAPL?"Usage
Interactive Mode
Just run enton to start an interactive session:
enton╔═══════════════════════════════════════════════════════════╗
║ 🏦 ENTON - AI Finance Agent ║
╚═══════════════════════════════════════════════════════════╝
Type your questions or commands. Type "exit" to quit.
> What is the price of AAPL?
🔧 get_stock_quote
The current price for Apple (AAPL) is **$262.50**, down 1.78% from the previous close.
📊 Tools: get_stock_quote | 1523ms
> Direct Query Mode
Run a single query:
enton "Get me news about Tesla"Watch Mode
Monitor real-time prices:
enton watch AAPL,TSLA,NVDA📈 ENTON Watch Mode
Last update: 3:45:21 PM
┌────────┬──────────┬────────────┬──────────┐
│ Symbol │ Price │ Change │ % Change │
├────────┼──────────┼────────────┼──────────┤
│ AAPL │ $262.50 │ ▼ $4.76 │ -1.78% │
│ TSLA │ $245.80 │ ▲ $12.30 │ +5.27% │
│ NVDA │ $138.20 │ ▲ $2.15 │ +1.58% │
└────────┴──────────┴────────────┴──────────┘
Press Ctrl+C to exitAuthentication
Login with your ENTON account:
enton auth loginOr use an environment variable:
export ENTON_API_KEY=your_api_key
entonCommands
| Command | Description |
|---------|-------------|
| enton | Start interactive mode |
| enton "query" | Run a single query |
| enton auth login | Authenticate with ENTON |
| enton auth logout | Log out |
| enton auth status | Check authentication status |
| enton watch SYMBOLS | Watch real-time prices |
| enton config list | List configuration |
| enton config set KEY VALUE | Set a config value |
Interactive Commands
While in interactive mode:
/help- Show available commands/clear- Clear the screen/status- Show connection statusexit,quit,q- Exit
Configuration
Configure with enton config:
# Set API URL
enton config set apiUrl https://api.enton.ai
# Set output format
enton config set outputFormat json
# List all config
enton config listJSON Output
Use --json flag for machine-readable output:
enton "price of AAPL" --json{
"answer": "The current price for Apple (AAPL) is $262.50...",
"toolsUsed": ["get_stock_quote"],
"iterations": 2,
"totalTime": 1523
}Examples
# Stock prices
enton "What is the price of AAPL?"
enton "Compare NVDA vs AMD"
# News
enton "Get me news about Tesla"
enton "Latest market news"
# Analysis
enton "Analyze MSFT stock"
enton "Technical analysis for SPY"
# Portfolio (requires auth)
enton "Show my portfolio"
enton "What are my positions?"
# Trading (requires auth)
enton "Buy 10 shares of AAPL"
enton "Show my open orders"Development
# Clone and install
git clone https://github.com/enton-ai/enton-cli
cd enton-cli
npm install
# Run in development mode
npm run dev
# Build
npm run build
# Test
npm testLicense
MIT © ENTON AI
