Skip to main content

AI pair programmer

Project description

LLMO (Elmo)

Meaning:

  • Protector
  • Worthy to be Loved
  • Helm from God
  • (Most Importantly) A helpful AI programming CLI tool
mascot

LLMO is the AI pair programming tool that meets you where you are (your terminal) 😉

With the "staging area", you can keep files in the context window without the hassle of copying and pasting every time you make changes to your code.

Features

  • Interactive Chat: Enjoy real-time, interactive programming assistance in your terminal.
  • Staging Area: Easily add files to the AI's context to update it about your ongoing coding tasks. No need to copy and paste updates.
  • Model Customization: Choose the OpenAI model that fits your needs.
  • Personality: By default, Elmo loves to make bodybuilding references. This can be turned off through a CLI flag or environment variable.

Installation

The recommended way to install llmo is through pipx:

pipx install llmo

Demo

https://github.com/knowsuchagency/llmo/assets/11974795/72419d64-585b-4cd5-a546-2a07de3e6f03

Usage

llmo --help
# you can also use the shorthand
lm

# You can pass the -s flag if you don't need the full GUI mode
lm -s "Could you show me an example of valid json?"

# Adding files to context

# main.py
# from utils import add_numbers
# result = add_numbers(5, 3)

# utils.py
# def add_numbers(a, b):
#     return a + b

lm "How can I make add_numbers return a string?" -f main.py -f utils.py

Notes

Authentication

This application uses the OpenAI API.

You will need to authenticate with your own API Key.

Copying Text

Textual runs the terminal in application mode. The means that you can't simply copy content as you normally would. In iterm2, you can hold down the option key to select text. See the documentation for your terminal emulator for more information.

License

Apache License 2.0

Disclaimer

This tool is not officially associated with OpenAI. Always follow OpenAI's use case policy when interacting with their API.

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

llmo-0.5.1.tar.gz (13.1 kB view details)

Uploaded Source

Built Distribution

llmo-0.5.1-py3-none-any.whl (13.5 kB view details)

Uploaded Python 3

File details

Details for the file llmo-0.5.1.tar.gz.

File metadata

  • Download URL: llmo-0.5.1.tar.gz
  • Upload date:
  • Size: 13.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.7.0 CPython/3.10.10

File hashes

Hashes for llmo-0.5.1.tar.gz
Algorithm Hash digest
SHA256 eea36be2e68d40895314bd985bfed56b9bfc2da9bd2daf9b490520614a6f09aa
MD5 a3693e95570919aa83c15d5964fef10c
BLAKE2b-256 5a689c6d21fdac845a831df79a0e2e38f2dce0688ccd152f50a111db4324a3d8

See more details on using hashes here.

File details

Details for the file llmo-0.5.1-py3-none-any.whl.

File metadata

  • Download URL: llmo-0.5.1-py3-none-any.whl
  • Upload date:
  • Size: 13.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.7.0 CPython/3.10.10

File hashes

Hashes for llmo-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d5c9c5c759f394253c9e529a2a2aa64b8605bfdaea13306ccef2752243d1d25c
MD5 18da723684f17dc86d12e55a367b13ae
BLAKE2b-256 0ff01937cb9c890d86c97176d9684b4eca3d9bd04957a0a832503e7798da64ae

See more details on using hashes here.

Supported by

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