A professional command-line coding assistant that leverages the Pollinations AI API to help developers with coding tasks, featuring VS Code integration and a clean, professional interface.
- 🤖 AI-powered coding assistance using Pollinations AI API
- 💼 Professional, clean interface without emojis
- 🖥️ Boxed output formatting for better readability
- 🔗 VS Code integration for seamless workflow
- 💾 Save responses to files with custom names
- 📝 Session history to track your queries
- 🎨 Color-coded interface for better user experience
- ⚡ Fast and lightweight command-line tool
- Ensure you have Python 3.8 or higher installed
- Install the required dependencies:
pip install requests
- Download the
mate_ai.pyscript - Run the script:
python mate_ai.py
- Download the pre-built executable from the releases page
- Place the executable in your desired location
- Add the directory to your system PATH for global access
- Run the executable from any terminal:
mate_ai
If you want to build the executable yourself:
-
Install the required dependencies:
pip install requests cx_Freeze
-
Download the source files:
main.py(main script)
Run the application without arguments to enter interactive mode:
main.pyPass your query directly as an argument:
mate_ai "Write a Python function to calculate fibonacci sequence"# Open response in VS Code
mate_ai "Create a React component" --vscode
# Save response to a file
mate_ai "Python data analysis script" --output analysis.py
# Combine options
mate_ai "HTML template" --vscode --output template.html/help- Show help message/clear- Clear the screen/history- Show query history/vscode- Open last response in VS Code/save [filename]- Save last response to a file/exitor/quit- Exit the program
This tool uses the Pollinations AI API:
- No API key required
- Rate limits may apply
- Python 3.8+ (if running the script directly)
- Windows, macOS, or Linux
- VS Code (optional, for the VS Code integration feature)
- Internet connection (for API access)
-
VS Code not found error:
- Ensure VS Code is installed
- Make sure the
codecommand is in your PATH
-
Network errors:
- Check your internet connection
- Verify the Pollinations AI API is accessible
-
Colors not displaying:
- Some terminals may not support ANSI color codes
- Try using a different terminal emulator
If you encounter issues:
- Check that all dependencies are installed
- Ensure you're using a supported Python version
- Verify your internet connection is working
This project is developed by RandomCatUser and is available for educational and personal use.
Contributions are welcome! Please feel free to submit issues and pull requests to improve the functionality of this tool.
This tool is provided as-is without any warranties. The AI-generated code should be reviewed and tested before use in production environments.
.png?raw=true)