Skip to content

planning-machine/coding-machine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Coding-Machine

A Machine that produces code.

In order to launch it from the command line or as a Python subprocess:

echo "Theodotos-Alexandreus: Produce the code that does that, machine." \
  | uvx coding-machine \
    --provider-api-key=sk-proj-... \
    --github-token=ghp_... 

Or, with a local pip installation:

pip install coding-machine

Set the environment variables:

export PROVIDER_API_KEY="sk-proj-..."
export GITHUB_TOKEN="ghp_..."

Then:

coding-machine multilogue.txt

Or:

coding-machine multilogue.txt new_turn.txt

Or:

cat multilogue.txt | coding-machine

Or:

cat multilogue.txt | coding-machine > tmp && mv tmp multilogue.txt

Or:

(cat multilogue.txt; echo:"Theodotos: What do you think, Coding-Machine?") \
  | coding-machine

Or:

cat multilogue.txt new_turn.txt | coding-machine

Or:

cat multilogue.txt new_turn.txt | coding-machine >  tmp && mv tmp multilogue.txt

Or, if you have installed other machines:

cat multilogue.md | coding-machine \
  | summarizing-machine | judging-machine > summary_judgment.md

Or use it in your Python code:

# Python
import coding_machine

About

A machine that produces code.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors