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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: programmer-0.1.4.tar.gz
  • Upload date:
  • Size: 12.0 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.4.tar.gz
Algorithm Hash digest
SHA256 5e0c9661a47cbeab26d7d5f045f14855511a7b1fa87cb8ee8fea1261825c0792
MD5 dd8d7421ba29a9f737a5dbc3d3438aaa
BLAKE2b-256 6e43b94a172314b38def85284dd31117a7b56dd966a8697e5e7e7def40d3976b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: programmer-0.1.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 ce28c94e2ac86c8894e862de1c6343c3ae5890acf6ad32bef3a49c8cd077f51a
MD5 50106bcf700cc6afb98302c9937ade0e
BLAKE2b-256 248436df059dc421f614630a0fe182b04625a6a8b5edee28b92d73787f8aa78a

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