npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

echoai

v2.3.0

Published

Echo - Intelligent AI terminal with autonomous agents, 6 providers (Claude, GPT, Groq, OpenRouter, Meta, Gemini), and advanced output optimization

Readme

Echo AI - Intelligent Terminal with Autonomous Agents

🔮 The most intelligent AI terminal with autonomous agents, multi-provider support, and advanced analytics

NPM Version License: MIT TypeScript

🎯 What is Echo AI?

Echo AI is an intelligent terminal interface that brings together multiple AI providers with autonomous agents to enhance your development workflow. Unlike other AI tools, Echo AI provides a comprehensive command-line interface with advanced features for session management, analytics, and extensibility.

🔧 Core Features

🧠 Intelligent Agents

  • Specialized agents for code optimization and prompt enhancement
  • Context-aware agent selection with confidence scoring
  • Automatic prompt optimization for better results

🌐 Multi-Provider Support

  • 6 AI Providers: Claude, OpenAI, Gemini, Groq, Meta AI, OpenRouter
  • Unified interface for accessing 100+ AI models
  • Smart routing to automatically select the optimal provider

💾 Session Management

  • Save and organize conversation sessions
  • Export sessions in multiple formats (JSON, Markdown, Text)
  • Share sessions with secure links

📊 Analytics & Insights

  • Track usage statistics and cost analysis
  • Monitor provider performance and success rates
  • Export analytics data for further analysis

🔄 Model Context Protocol (MCP) Support

  • Integrate with MCP-compatible tools and servers
  • Extend Echo AI with custom tools and capabilities
  • Add external tools via stdio, HTTP, or SSE transports

🔒 Security & Privacy

  • Secure storage of API keys and configuration
  • Granular permissions and access controls
  • Data anonymization options

📦 Installation

# Install globally from NPM
npm install -g echoai

# Development version
git clone https://github.com/vijeet-shah/echo-ai-cli.git
cd echo-ai-cli
npm install && npm run build

🚀 Quick Start

1. Launch Interactive Mode

echoai
# Opens interactive terminal interface

2. Direct Prompting

# Send a prompt directly to AI
echoai "Explain how React hooks work"

# Specify a provider and model
echoai "Write a Python function to sort a list" --provider openai --model gpt-4

# Include files as context
echoai "Refactor this code for better performance" --file src/utils.js

3. Use Specialized Commands

# Start a chat session
echoai chat

# Edit files with AI assistance
echoai edit src/components/Button.tsx "Add loading state"

# Analyze your codebase
echoai analyze

# Manage configuration
echoai config setup

🤖 Intelligent Agents

Echo AI uses specialized agents to optimize your prompts and improve results:

Code Optimization Agent

# Optimize code-related prompts
echoai agents optimize "Create a React component for a todo list"

# Optimize with specific preferences
echoai agents optimize "Write a Python API" --format detailed --level expert

Prompt Enhancement Agent

# Enhance general prompts
echoai agents optimize "Explain quantum computing"

# Get structured responses
echoai agents optimize "List best practices for Docker" --format structured

Agent-Based Execution

# Run a prompt with automatic agent optimization
echoai agents run "Create a REST API with Express.js and MongoDB"

# Run with streaming output
echoai agents run "Build a React dashboard" --stream

📊 Analytics & Insights

Track your AI usage and optimize your workflow:

Usage Analytics

# View analytics overview
echoai analytics overview

# See daily statistics
echoai analytics daily

# Detailed cost analysis
echoai analytics costs

Tool Usage Statistics

# View tool usage stats
echoai analytics tools

# Export analytics data
echoai analytics export --format json --days 30

Configuration

# View current analytics config
echoai analytics config

# Enable tracking with detailed level
echoai analytics config --enable --level detailed

# Set data retention
echoai analytics config --retention 90 --anonymize

⚙️ Configuration

Provider Setup

# Interactive setup
echoai config setup

# Provider-specific configuration
echoai config set claude.key sk-ant-your-key
echoai config set openai.key sk-your-key  
echoai config set groq.key gsk-your-key

General Configuration

# Set default provider and model
echoai config set defaults.provider openai
echoai config set defaults.model gpt-4

# Configure temperature and token limits
echoai config set defaults.temperature 0.7
echoai config set defaults.maxTokens 2000

🗂️ Session Management

Organize and manage your conversation sessions:

List and Search Sessions

# List all sessions
echoai sessions list

# Filter by provider
echoai sessions list --provider openai

# Search in session content
echoai sessions list --search "react component"

# Limit results
echoai sessions list --limit 10

View and Export Sessions

# Show session details
echoai sessions show session-id-123

# Include message history
echoai sessions show session-id-123 --messages

# Export session in different formats
echoai sessions export session-id-123 --format markdown
echoai sessions export session-id-123 --format json --output my-session.json

Share and Delete Sessions

# Create a shareable link
echoai sessions share session-id-123 --public

# Create password-protected share
echoai sessions share session-id-123 --password secret123

# Set expiration
echoai sessions share session-id-123 --expires 7

# Delete a session
echoai sessions delete session-id-123

Session Statistics

# View session statistics
echoai sessions stats

🔌 Model Context Protocol (MCP) Support

Integrate with MCP-compatible tools to extend Echo AI's capabilities:

Manage MCP Servers

# List configured MCP servers
echoai mcp list

# Add a new MCP server
echoai mcp add --id my-tool --name "My Tool" --transport stdio --command "/path/to/tool"

# Add HTTP-based MCP server
echoai mcp add --id api-tool --name "API Tool" --transport http --url http://localhost:8000

# Remove an MCP server
echoai mcp remove my-tool

Use MCP Tools

# List available tools
echoai mcp tools

# Call an MCP tool
echoai mcp call calculator expression="2+2*3"

# Call tool with complex arguments
echoai mcp call file-reader path="src/index.ts" encoding="utf-8"

🔒 Security & Privacy

Protect your data and control access:

Security Management

# View security status
echoai security status

# Run security audit
echoai security audit

# Check for vulnerabilities
echoai security check

# Update security policies
echoai security update

Permissions & Access Control

# View current permissions
echoai security permissions

# Grant tool access
echoai security permissions --grant mcp-tool --tool calculator

# Revoke access
echoai security permissions --revoke mcp-tool --tool file-reader

# Set access level
echoai security permissions --level restricted

📈 Advanced Features

Data Export & Import

# Export all data
echoai export --type all --format json

# Export specific data types
echoai export --type sessions --format json
echoai export --type config --format json

# Import data
echoai import --file backup.json

Model Management

# List available models
echoai models list

# Show model details
echoai models show gpt-4

# Set favorite models
echoai models favorite gpt-4 claude-3-opus

Quick Code Analysis

# Analyze your codebase
echoai analyze

# Analyze with specific focus
echoai analyze --focus security

# Get optimization suggestions
echoai analyze --focus performance

🛠️ Development

Building from Source

# Clone the repository
git clone https://github.com/vijeet-shah/echo-ai-cli.git
cd echo-ai-cli

# Install dependencies
npm install

# Build the project
npm run build

# Run in development mode
npm run dev

Running Tests

# Run all tests
npm test

# Run tests in watch mode
npm run test:watch

# Run tests with coverage
npm run test:coverage

Code Quality

# Check types
npm run type-check

# Run linter
npm run lint

# Fix linting issues
npm run lint:fix

# Format code
npm run format

🤝 Contributing

We welcome contributions to Echo AI! Here's how you can help:

  1. Bug Reports: Submit issues for any bugs you encounter
  2. Feature Requests: Suggest new features or improvements
  3. Code Contributions: Submit pull requests with bug fixes or new features
  4. Documentation: Help improve our documentation and examples

Development Setup

# Fork and clone the repository
git clone https://github.com/your-username/echo-ai-cli.git
cd echo-ai-cli

# Install dependencies
npm install

# Create a branch for your feature
git checkout -b feature/your-feature-name

# Make your changes and test thoroughly

# Commit and push your changes
git commit -m "Add your feature description"
git push origin feature/your-feature-name

# Create a pull request

📄 License

MIT License - Built for the developer community