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 

Usage

Just

programmer

Alternatively:

programmer "<initial_prompt>"

To resume from an earlier state:

programmer --state <state_ref>

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."

But you can do a lot more than that!

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.2.tar.gz (8.1 kB view details)

Uploaded Source

Built Distribution

programmer-0.1.2-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: programmer-0.1.2.tar.gz
  • Upload date:
  • Size: 8.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.2.tar.gz
Algorithm Hash digest
SHA256 08164a3d568b40f078bd051ac38afd2a75afc39d0bdd9e704b3b2c863f063eb5
MD5 fcb2c3f6d6b0b584ff0cbcc564914ffa
BLAKE2b-256 ff6000f1f4b589cff14f127f07c5926f4465e4a0eeaa2132c576864bdf6eb372

See more details on using hashes here.

File details

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

File metadata

  • Download URL: programmer-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 9.0 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3d6de77f0fa0e7443e1b8335071958c8179ca27b76c330e39c80c71b4e8972c8
MD5 c73c91e7ebd68f134eb2c79331e39bf6
BLAKE2b-256 a56ff983324f6d4ef5616abac6b75d3433364a517455be6ec55085976fd2a25b

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