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

Uploaded Python 3

File details

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

File metadata

  • Download URL: thinking_machine-0.0.22.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.22.tar.gz
Algorithm Hash digest
SHA256 43b816af3511c370886ad9cb7bdb18d4a601d6f0c51834ae2c50d5cb99ff7387
MD5 86dc37fcf8ceb5ee639db99339fffce5
BLAKE2b-256 f1b485d19e5776b77e230cf2df256b04d8fae9a98d7305b0d24a5486c65aed10

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for thinking_machine-0.0.22-py3-none-any.whl
Algorithm Hash digest
SHA256 d4dd63d42233f6e436e06c374d47c7fa1f60e56781d2aae603c51c6376373228
MD5 f031bed20c0697f1c059b17350621bf0
BLAKE2b-256 bb30e51bf94c94553979feb419b293fb4539f905ea904d72aeb5a9ef97324e38

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