Skip to main content

A Python package for managing programming tasks.

Project description

programmer

programmer is a command-line based AI programmer, that will help you get stuff done.

programmer has direct access to your machine, it can run commands, and read and write files, without safety checks. You have been warned!

Quickstart

pip install programmer
programmer 

Examples

  • "What processes are listening on port 4512?" ... "ok, please kill them"
  • "What's in frog.jpg?"
  • "Write a function to determine if a tic-tac-toe game is won in a file called tictactoe.py. also write unit tests, and iterate until they pass."
  • "Fix all the type errors in this project"

Usage

Just

programmer

Alternatively:

programmer "<initial_prompt>"

To resume from an earlier state:

programmer --state <state_ref>

Improving programmer

programmer is designed to be improved using weave, our toolkit for AI application development. What does this mean?

  • you can browse traces and evals in the Weave UI at https://wandb.ai
  • programmer can resume from earlier states, with the --state argument
  • programmer will log all of your interactions to a local sqlite database, or the central Weave service.
  • This data can be used to improve programmer over time, by building Evaluations, fine-tuning, and other techniques.

To run the evaluation:

python evaluate.py

roadmap

  • weave server tracking
  • git state tracking
  • user-annotation of good and bad behaviors
  • eval generation

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

programmer-0.1.5.tar.gz (12.1 kB view details)

Uploaded Source

Built Distribution

programmer-0.1.5-py3-none-any.whl (13.1 kB view details)

Uploaded Python 3

File details

Details for the file programmer-0.1.5.tar.gz.

File metadata

  • Download URL: programmer-0.1.5.tar.gz
  • Upload date:
  • Size: 12.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.5

File hashes

Hashes for programmer-0.1.5.tar.gz
Algorithm Hash digest
SHA256 e2fb5409cda8443df709cbca62bfc7284360af5e963f0ac234ed8000c4f59fc9
MD5 a9d98792648da860fe99a3f25e09d63a
BLAKE2b-256 34bf4a6e94ce8b05ff2876d52b2c9ec37ccedf139a4ebab7e1ee4aaf893b8d81

See more details on using hashes here.

File details

Details for the file programmer-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: programmer-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 13.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.5

File hashes

Hashes for programmer-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 cdbbfa15bd6aa2af5a2bf23f978c0558922510905f9977e8e8fedaba132da5ce
MD5 5dd9f50bb94ee0e3044d132d30ca8d19
BLAKE2b-256 8ee5e60f255ed0862d1cd54eeada79fbc389b948b2c29e7581009bcd7cc702c3

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