Skip to main content

Natural language to Linux command converter

Project description

aegish

Write linux commands in natural language using the power of local ai!

You can use aegish in two modes: Local or Cloud. Local uses ollama to run models on your device, whereas cloud uses your api key to make a request to a cloud provider.

Local providers: Ollama

Cloud Providers: ChatGPT (OpenAI), Gemini (Google), Claude (Anthropic)

Table of Contents

Installation

Install directly from GitHub

pip install git+https://github.com/zainmarshall/aegish.git

After installation, use the ag configure command to choose local or cloud ai, to choose models, and to save api keys:

ag --configure

Make sure you know the api usage prices per model before selecting the model. The AI company will bill you based on usage and models used.

Usage

Generate a Linux command from natural language:

ag list files in this directory

Print the generated command without running it:

ag --print-only show disk usage

Configure the default model and system prompt:

ag --configure

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aegish-0.1.0.tar.gz (8.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aegish-0.1.0-py3-none-any.whl (10.7 kB view details)

Uploaded Python 3

File details

Details for the file aegish-0.1.0.tar.gz.

File metadata

  • Download URL: aegish-0.1.0.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.6

File hashes

Hashes for aegish-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7e0a92844fde5436ac389bfaaf01d19935ee5a1b7eca4d1a610bb369c96070c9
MD5 059f2e299d3291c76dd98b40bb3c1876
BLAKE2b-256 dec24d175746db3ef8d11e936d49e4789fb221158381e12aca81ab28222d360d

See more details on using hashes here.

File details

Details for the file aegish-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: aegish-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 10.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.6

File hashes

Hashes for aegish-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9892badcbc0966bcd0a92b7848f300b4a23002dc2d8abb0b722be48b58dec3ae
MD5 922116aede2264f37c8f8e1ca0c43d25
BLAKE2b-256 9dbd94acfebe4c888ad2c56aca09812131207798d5c1da2ad53b99ed5fa720a0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page