GitHub - samuelcolvin/aicli: OpenAI powered AI CLI in just a few lines of code.

2 min read Original article ↗

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

OpenAI powered AI CLI in just a few lines of code.

License

MIT license

126 stars 9 forks Branches Tags Activity

Notifications You must be signed in to change notification settings

Repository files navigation

aicli

pypi versions license

Installation

pip install samuelcolvin-aicli

Usage

You'll need to set the OPENAI_API_KEY environment variable to use aicli which you can generate from platform.openai.com, you'll have to add some credit to use the API.

export OPENAI_API_KEY='...'

Then usage is as simple as:

aicli

Example

example.mov