Skip to main content

A Machine that thinks.

Project description

Thinking-Machine

A Machine that thinks.

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

echo "Theodotos-Alexandreus: Are language models seeking the Truth, machine?" \
  | uvx thinking-machine \
    --provider-api-key=sk-proj-... \
    --github-token=ghp_... 

Or, with a local pip installation:

pip install thinking-machine

Set the environment variables:

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

Then:

thinking-machine multilogue.txt

Or:

thinking-machine multilogue.txt new_turn.txt

Or:

cat multilogue.txt | thinking-machine

Or:

cat multilogue.txt | thinking-machine > multilogue.txt

Or:

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

Or:

cat multilogue.txt new_turn.txt | thinking-machine

Or:

cat multilogue.txt new_turn.txt | thinking-machine > multilogue.txt

Or, if you have installed other machines:

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

Or use it in your Python code:

# Python
import thinking_machine

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

thinking_machine-0.0.23.tar.gz (15.4 kB view details)

Uploaded Source

Built Distribution

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

thinking_machine-0.0.23-py3-none-any.whl (21.6 kB view details)

Uploaded Python 3

File details

Details for the file thinking_machine-0.0.23.tar.gz.

File metadata

  • Download URL: thinking_machine-0.0.23.tar.gz
  • Upload date:
  • Size: 15.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for thinking_machine-0.0.23.tar.gz
Algorithm Hash digest
SHA256 a7e8d435f915c1bb0f8c0548f8c8dd1ba6664833c15ef2c5d437a21ab4404789
MD5 e13716e37c9cce91c3194309880a1aae
BLAKE2b-256 7ece5d998cd0ac7b98ab44f7c10bd1e7fa682adb414804de0a0512cf0fbc788b

See more details on using hashes here.

File details

Details for the file thinking_machine-0.0.23-py3-none-any.whl.

File metadata

File hashes

Hashes for thinking_machine-0.0.23-py3-none-any.whl
Algorithm Hash digest
SHA256 1c77d0a244e3fa65442995d7b0361dcb2048e653f7a08f6c0ab7d3ca88034811
MD5 7ca5ce6e40ed3e16caf7f3738510676f
BLAKE2b-256 a4639fb80b8cecee8158bbd36a43fe49bfc251ad9a0e14b38a62e091a9a79c29

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