Skip to content

MikeHLee/mash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MASH (Master Shell)

A unified command-line interface for interacting with various Language Model providers.

Installation

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:
OPENAI_API_KEY = "your-openai-key"
ANTHROPIC_API_KEY = "your-anthropic-key"
  1. Configurations for each model are stored in their respective config files under models/<provider>/configs.py

Usage

# 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

About

Master Shell: Generate Photos, Run LLM Queries, Send Messages, and Execute Jobs from the Terminal

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages