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.21.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.21-py3-none-any.whl (21.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: thinking_machine-0.0.21.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.21.tar.gz
Algorithm Hash digest
SHA256 c1a97941d491dcdc751bb8a813d916f3053064102ac8ea9fa971784071416b96
MD5 8ea7bb8bde39018e5bd77a79ec24c2cf
BLAKE2b-256 fe0eb422d19df526a926685295fa9e00f49abc13b68012027c16fec5ccd82f6a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for thinking_machine-0.0.21-py3-none-any.whl
Algorithm Hash digest
SHA256 3f80f033faebcc712bb72b85b1e494a748dab5a4bdff76466a49c30c21d7018b
MD5 b93441602edef6b01de6c544d8d98bad
BLAKE2b-256 29751209b403936f8850739d805724654367fef13cd4a2a2b4578886287cad72

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