Observed since 21 Oct, 10:02 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
🤖 AI Bot Agent - Intelligent command line assistant with chat, code generation, file analysis, and web search capabilities
A powerful AI assistant that runs from the command line with various capabilities including chat, code generation, file analysis, and web search.
ai-bot, ai, or bot commands# Install via Homebrew
brew install cli-smart # Simple one-command installation
# Set up your API key
ai setup
# Start using the bot
ai chat
# Install the package
pip install ai-bot-agent
# Set up your API key
ai-bot setup
# OR use the shorter aliases:
ai setup
bot setup
This will:
git clone https://github.com/thiennp/cli-smart.git
cd cli-smart
pip install -r requirements.txt
python main.py setup
If you want to install from our custom tap:
# Add our tap
brew tap thiennp/cli-smart
# Install
brew install cli-smart
Quick Setup Script:
# Download and run our setup script
curl -fsSL https://raw.githubusercontent.com/thiennp/cli-smart/main/setup_homebrew_tap.sh | bash
Set up your AI providers with automated assistance:
# With Homebrew installation
ai setup
# With PyPI installation
ai-bot setup
# OR use the shorter aliases:
ai setup
bot setup
This command will:
.env fileView the status of all available AI providers:
# With Homebrew installation
ai status
# With PyPI installation
ai-bot status
# OR use the shorter aliases:
ai status
bot status
Start an interactive conversation with the AI:
# With Homebrew installation
ai chat
# With PyPI installation
ai-bot chat
# OR use the shorter aliases:
ai chat
bot chat
Ask a specific question:
# With Homebrew installation
ai ask "What is machine learning?"
# With PyPI installation
ai-bot ask "What is machine learning?"
# OR use the shorter aliases:
ai ask "What is machine learning?"
bot ask "What is machine learning?"
Generate code from a description:
# With Homebrew installation
ai code "Create a simple web scraper"
# With PyPI installation
ai-bot code "Create a simple web scraper"
# OR use the shorter aliases:
ai code "Create a simple web scraper"
bot code "Create a simple web scraper"
Generate code in a specific language:
# With Homebrew installation
ai code "Create a REST API" --lang javascript
# With PyPI installation
ai-bot code "Create a REST API" --lang javascript
# OR use the shorter aliases:
ai code "Create a REST API" --lang javascript
bot code "Create a REST API" --lang javascript
Analyze a file and get insights:
# With Homebrew installation
ai analyze main.py
# With PyPI installation
ai-bot analyze main.py
# OR use the shorter aliases:
ai analyze main.py
bot analyze main.py
Search for information:
# With Homebrew installation
ai search "latest Python features"
# With PyPI installation
ai-bot search "latest Python features"
# OR use the shorter aliases:
ai search "latest Python features"
bot search "latest Python features"
Clear conversation history:
# With Homebrew installation
ai clear
# With PyPI installation
ai-bot clear
# OR use the shorter aliases:
ai clear
bot clear
Show help information:
# With Homebrew installation
ai help
# With PyPI installation
ai-bot help
# OR use the shorter aliases:
ai help
bot help
The AI Bot Agent provides multiple command aliases for your convenience:
# All of these commands work the same way:
ai-bot setup
ai setup
bot setup
ai-bot chat
ai chat
bot chat
ai-bot ask "What is Python?"
ai ask "What is Python?"
bot ask "What is Python?"
Choose whichever command feels most natural to you!
The AI Bot Agent can be installed with multiple names for maximum flexibility:
Homebrew Installation (Coming Soon):
brew install cli-smart - Simple one-command installationPyPI Installation:
pip install ai-bot-agent - Standard Python packageCommand Aliases After Installation:
cli-smart - Full command nameai - Short and intuitivebot - Alternative short namesmart - Short and memorableassistant - Descriptive nameThe AI Bot Agent supports multiple AI providers, allowing you to choose the best option for your needs:
The setup command automatically creates a .env file with your configuration:
OPENAI_API_KEY=your_openai_api_key_here
You can also manually edit the .env file to customize:
# OpenAI API Configuration
OPENAI_API_KEY=your_openai_api_key_here
# Optional: Customize the AI model
OPENAI_MODEL=gpt-3.5-turbo
# Optional: Set default temperature for responses
OPENAI_TEMPERATURE=0.7
# Optional: Set maximum tokens for responses
OPENAI_MAX_TOKENS=1000
You: What is Python?
AI Bot: Python is a high-level, interpreted programming language...
You: Write a function to calculate fibonacci numbers
AI Bot: Here's a Python function to calculate Fibonacci numbers...
You: Explain machine learning in simple terms
AI Bot: Machine learning is like teaching a computer to learn...
# Generate a Python web scraper
ai code "Create a web scraper that extracts titles from a news website"
# OR
bot code "Create a web scraper that extracts titles from a news website"
# Generate a JavaScript function
ai code "Create a function to validate email addresses" --lang javascript
# OR
bot code "Create a function to validate email addresses" --lang javascript
# Generate a data analysis script
ai code "Create a script to analyze CSV data and create visualizations"
# OR
bot code "Create a script to analyze CSV data and create visualizations"
.env filebrew install ai-bot-agent
ai setup
ai chat
pip install ai-bot-agent
ai-bot setup
ai-bot chat
git clone https://github.com/thiennp/cli-smart.git
cd cli-smart
pip install -r requirements.txt
python main.py setup
python main.py chat
API Key Error
Error: OpenAI client not initialized. Please check your API key.
Solution: Run ai setup or ai-bot setup to configure your API key
Module Not Found
ModuleNotFoundError: No module named 'openai'
Solution: Install dependencies with pip install ai-bot-agent
Permission Denied
PermissionError: [Errno 13] Permission denied
Solution: Make sure the script is executable: chmod +x main.py
ai help or ai-bot help for command helpai --help or ai-bot --help for general helpThis project is licensed under the MIT License - see the LICENSE file for details.
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 1.6.0 | 4 Aug 2025 | 11 |
This describes our collected data; it is not a security assessment.
Observed since 21 Oct, 10:02 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:60b8a4a9235b1fce1a0d12dc9496191a9cc00782846751513bf6ecd8b4d5027f