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

Uploaded Python 3

File details

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

File metadata

  • Download URL: thinking_machine-0.0.24.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.24.tar.gz
Algorithm Hash digest
SHA256 243911c287ad965396ad2aa63eda0c5ea95f335a993c705880286b8298c259ac
MD5 039b9af17d859ad5370546cd036e762a
BLAKE2b-256 10a00b8799048dea9cea8074d7ba422bb14d4307070849a5d6b0c4aad0eb25b2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for thinking_machine-0.0.24-py3-none-any.whl
Algorithm Hash digest
SHA256 25279c1c96a4f59bb6eef7dc37bfcd6f710a8ede85b21dea4822648ea68b0304
MD5 d1d635cc6fb68b8ac5817494d34a81cc
BLAKE2b-256 aed016a705615ee5ccb0c373f6e88307fad4e990ace0cf073b27e594a24b7b9f

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