Home

Awesome

GPT Automator

App

Your voice-controlled Mac assistant. GPT Automator lets you perform tasks on your Mac using your voice. For example, opening applications, looking up restaurants, and synthesizing information.

Made by Luke Harries and Chidi Williams at the London EA Hackathon, February 2023.

GPT Automator demo

Requirements

Instructions

  1. Install the dependencies from the requirements.txt or pyproject.toml files.
  2. Create a .env file from the .env.example file and fill in the OpenAI API key.
  3. Run python gui.py to run the GUI and click 'Record' to say your prompt. Alternatively, run python main.py [prompt] to run the CLI.

How it works

GPT Automator converts your audio input to text using OpenAI's Whisper. Then, it uses a LangChain Agent to choose a set of actions, including generating AppleScript (for desktop automation) and JavaScript (for browser automation) commands from your prompt using OpenAI's GPT-3 ("text-davinci-003"), and then executing the resulting script.

Example prompts

Learn more

Checkout our blog posts for more information:

Disclaimer

This project executes code generated from natural language and may be susceptible to prompt injection and similar attacks. This work was made as a proof-of-concept and is not intended for production use.