A Python-based solver for Redactle puzzles using Large Language Models (LLMs).
This is just weekend fun project it has its quirks.
- Python 3.12+
uv(recommended) orpip
-
Clone the repository:
git clone <repository-url> cd llm-redactle
-
Install dependencies:
uv venv --python=3.12 uv sync
-
Set up environment variables: Create a
.envfile in the root directory and add your API keys:API_KEY=your_api_key_here API_BASE=your_api_base_url_here
Run the solver using the CLI:
python main.py https://redactle.net/ --no-cot --model openai/gpt-4.1 --temperature 0.0URL: The URL of the Redactle puzzle to solve (e.g.,https://redactle.net/22).--cot / --no-cot: Dspy Signature with Chain of Thought module or Prediction module. Default:no-cot.--model TEXT: The LLM model to use. Default:openai/gpt-4.1.--temperature FLOAT: The sampling temperature for the model. Default:0.0.--help: Show the help message.

