Package Exports
- @easyai/cli
- @easyai/cli/dist/cli.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@easyai/cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
EasyAI CLI
AI development tool with interactive CLI and local dashboard
🚀 Quick Start
One-Command Setup
npm install -g @easyai/cli && easyai init --key=YOUR_API_KEY --uiThis single command will:
- Install EasyAI globally
- Initialize your project
- Configure your API key automatically
- Open the dashboard in your browser
Manual Setup
npm install -g @easyai/cli
easyai init
easyai ui✨ Features
- Interactive Terminal - ChatGPT-style CLI interface
- Multi-Model Playground - Test prompts across OpenAI, Anthropic, OpenRouter
- Local Dashboard - Beautiful web UI at
localhost:3000 - Prompt Management - Create, edit, and organize AI prompts
- Usage Analytics - Track tokens, costs, and performance
- Export & Sync - Export data in JSON/CSV formats
📋 Commands
easyai # Interactive mode
easyai init # Setup new project
easyai init --key=API_KEY --ui # One-command setup with auto dashboard
easyai ui # Launch web dashboard
easyai models # Browse available models
easyai prompts # Manage prompts
easyai playground # Multi-model testing
easyai analytics # Usage statistics🛠 Interactive Mode
Run easyai to enter interactive mode:
🤖 EasyAI Interactive Terminal
════════════════════════════════════════════════════════════
✅ EasyAI initialized
Configured providers: OpenAI, Anthropic
Type "help" for commands, "exit" to quit
────────────────────────────────────────────────────────────
easyai> help
📚 Available Commands:
──────────────────────────────────────────────────
Core Commands:
init - Initialize EasyAI in current project
ui - Launch dashboard UI
config - Manage configuration
status - Show current project status
AI Operations:
models - Browse and manage AI models
prompts - Manage AI prompts
playground - Test prompts against multiple models
analytics - View usage analytics🔧 Configuration
Quick Configuration
easyai init --key=YOUR_API_KEY # Auto-detects OpenAI or AnthropicInteractive Configuration
easyai init
# Follow the prompts to add your OpenAI, Anthropic, etc. API keysOr manually edit easyai/config/easyai.env:
OPENAI_API_KEY=your_key_here
ANTHROPIC_API_KEY=your_key_here🎯 Use Cases
- Prompt Engineering - Test and iterate on prompts
- Model Comparison - Compare responses across different models
- Cost Optimization - Track and analyze AI usage costs
- Team Collaboration - Share prompts and configurations
- Development Workflow - Integrate AI into your dev process
🌐 Web Dashboard
Launch the local dashboard:
easyai uiAccess at http://localhost:3000 for:
- Visual prompt editor
- Model playground
- Usage analytics
- Configuration management
📊 Analytics & Exports
Track your AI usage:
easyai analytics --period week --detailed
easyai export --type logs --format csv🤝 Support
- Website: https://easy-ai.dev
- Issues: GitHub Issues
- Email: support@easy-ai.dev
📄 License
MIT © EasyAI