#openai #ai #cli

bin+lib auto-pilot

A tool to oprate your computer using GPT4 Vision

1 unstable release

0.1.0 Dec 18, 2023

#753 in Machine learning

Apache-2.0

415KB
665 lines

Auto-Pilot-Computer

This is a tool that uses GPT4 Vision to operate your computer.

Table of Contents

Installation

If you are using rust and cargo, you can install this project by running:

cargo install --path .

It is also available on crates.io, so you can install it with:

cargo install auto-pilot

If you want to use prebuilt binaries, you can download them from the releases page.

you can build this project by running:

cargo build --release

Usage

export your openai api key as an environment variable:

export OPENAI_API_KEY=<your api key>

After installing the program, you can run the cli by running:

auto-pilot

Optional Arguments:

Usage: auto-pilot [OPTIONS]

Options:
  -o, --objective <OBJECTIVE>
          The objective you want to achieve with the computer

  -g, --grid-interval <GRID_INTERVAL>
          The grid interval to use when capturing the screen. Default is 300. The smaller the number, more number of lines will be drawn. (closer to pixel level)

          [default: 300]

  -h, --help
          Print help (see a summary with '-h')

  -V, --version
          Print version

Contributing

Feel free to contribute to this project by opening a pull request or issue.

Dependencies

~32–71MB
~1M SLoC