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 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.20.tar.gz (10.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.20-py3-none-any.whl (20.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: thinking_machine-0.0.20.tar.gz
  • Upload date:
  • Size: 10.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.20.tar.gz
Algorithm Hash digest
SHA256 48cfe10b3dc4c43c26f50417320b0ca57bcf9bf72abb5fe2b0a4062d49e09c9e
MD5 586def795d270573e849e67db8a4f6b5
BLAKE2b-256 a091fe9f623fbf1d997724e57c447f685c083891cf41fd7b867d18ffb94a442e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for thinking_machine-0.0.20-py3-none-any.whl
Algorithm Hash digest
SHA256 dded2d6eb40161a37b2aa7bf4ef8dce50e2900a6f92c741d4da2556ad59d3708
MD5 f0fb2d170a35daa31a4f43dcb947e233
BLAKE2b-256 4764d3f9d2748d676ccfe1b634cea37b301885abb1ff8aa3f8f9cc68e0f42921

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