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 using pip

pip install aegish

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.1.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.1-py3-none-any.whl (10.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for aegish-0.1.1.tar.gz
Algorithm Hash digest
SHA256 9bf7f46d18eb031c85d031eeee9261c70e3ef092e6122558f7c0969a5ec5b1cb
MD5 fcfd9b09ebac556fa21a35f1677e34b4
BLAKE2b-256 fc1e5c32c75a632602eb7a8957163560ddf6f9574a20ef94fa7ececdf56aeab7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aegish-0.1.1-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.12.11

File hashes

Hashes for aegish-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 994fa3b4bd885101ac9634afe78767538d8f5d6e7ecd689fac81410e7faf5829
MD5 af862cdcf367004ca0f63e1f9c5988c2
BLAKE2b-256 2bfca312b4b9592c0fdf83dce3bea16da564b30d99f77e0952d96e8a48e1c363

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