https://github.com/mikehlee/mash
Master Shell: Generate Photos, Run LLM Queries, Send Messages, and Execute Jobs from the Terminal
https://github.com/mikehlee/mash
ai bash cli llms messaging
Last synced: 2 months ago
JSON representation
Master Shell: Generate Photos, Run LLM Queries, Send Messages, and Execute Jobs from the Terminal
- Host: GitHub
- URL: https://github.com/mikehlee/mash
- Owner: MikeHLee
- License: mit
- Created: 2025-02-13T21:32:39.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-13T21:35:35.000Z (over 1 year ago)
- Last Synced: 2025-02-13T22:33:00.678Z (over 1 year ago)
- Topics: ai, bash, cli, llms, messaging
- Language: Python
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MASH (Master Shell)
A unified command-line interface for interacting with various Language Model providers.
## Installation
```bash
pip install mash
```
## Configuration
Before using MASH, you need to set up your API keys and configurations:
1. Create a `models/secrets.py` file with your API keys:
```python
OPENAI_API_KEY = "your-openai-key"
ANTHROPIC_API_KEY = "your-anthropic-key"
```
2. Configurations for each model are stored in their respective config files under `models//configs.py`
## Usage
```bash
# Using GPT-4 (default)
mash ask "What is the meaning of life?"
# Using a specific model
mash ask "What is the meaning of life?" --model=claude
mash ask "What is the meaning of life?" --model=ollama
# Get help
mash --help
```
## Supported Models
- OpenAI GPT-4 (default)
- Anthropic Claude
- Local Ollama models
## License
MIT License