Skip to main content

A package for coding assistance

Project description

✨ Coding Assistant ✨

This project aims to develop a usable coding agent, which will work iteratively in collaboration with a developer.

At the current time, BabyAgi/AutoGPT approaches are too unstable to be of very much assistance. However, there is every reason to develop an agent that learns from its environment, from its mistakes, and from your chat history. In the future we hope to allow it to develop LangChain tools as needed (Voyager).

Usage

After installation, you can run voyager_dev from anywhere on the command line. You may optionally provide a prompt, voyager_dev what is the weather today?, or you can just hit enter and it will ask you for a prompt.

For more complex prompts, place them in a file and provide the filename as the prompt. For example, voyager_dev myprompt.txt. This enables multiline prompts more easily.

Installation

You can install this from PyPi with pip install voyager_dev.

Alternatively, you can clone this repository. Then to install this repository as a global Python CLI tool, run pip install -e .

Either way, you should also put your OpenAI and Google Search API keys in your .bashrc or .zshrc file, like this:

export OPENAI_API_KEY=yourkeyhere
export GOOGLE_API_KEY=yourkeyhere
export GOOGLE_CSE_ID=yourkeyhere

You can get the latter two by creating the GOOGLE_API_KEY in the Google Cloud credential console and a GOOGLE_CSE_ID using the Programmable Search Engine. Examine the output carefully the first time you run it, Google may return a detailed error telling you how to fix it.

Finally, install and run redis (for the memory store) with brew install redis and brew services start redis. (You can also use redis-server if you don't want it to run in the background.)

After that, you can simply type voyager_dev anywhere on the command line.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

voyager_dev-0.0.2-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file voyager_dev-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: voyager_dev-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.16

File hashes

Hashes for voyager_dev-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 869e94e2bdc3f685a8d2a39db14088eb5d28e15da5740356999f2530c9ddcaa7
MD5 cd6039e5320b474f4715d7517e5593b6
BLAKE2b-256 985afe1dc258f0f2f4a47a999778220885a8a950f5e0786aa9a459e47600dda6

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