WeekOrison
Official WeekOrison website

Python script agent that writes, runs and repairs code

WeekOrison 2.9.31 is a Windows 10/11 agent that writes, runs and repairs your Python code in a chat, shows a diff for every change, and waits for your approval.

Version

2.9.31

Released 10 Nov 2026

Setup

34 MB

The download button gives the setup program

Portable

25 MB

A single exe also exists

Interface

13 languages

Used inside the app

Modes

3 modes

Auto-run, Ask first, Plan only

Support

Send feedback

A button inside the app

Writing scripts

Writing a python script with an agent you review

A python script is a plain text file you run from the command line, and WeekOrison helps you write, run and fix one. Describe the job. The agent drafts the code, runs it in Shell, reports the real exit code and shows a diff before anything is saved. WeekOrison 2.9.31 supports Windows 10 and 11.

01

Fix a script that stops with an error

You paste the error message from your terminal into the chat. The agent opens the file with read_file, finds the failing line with grep and fixes it with edit_file. Shell then runs your own Python command and reports the real exit code. A 2 line diff appears. In Ask first you read that diff, accept or reject it, and run the script again on a copy of your data before you trust it with real files.

Tool trace
read_file cleanup.py → read
grep Traceback → 1 match
edit_file cleanup.py → +2 lines
Shell python cleanup.py → exit 0
02

Draft a simple python script from a description

Beginners who ask how to create a script usually start with the description, not the code. Say what the job is, such as counting words in a text or sorting file names by date. The agent calls write_file for the draft and Shell to run it on a small sample, and edit_file repairs any error it meets. The flow has 3 steps. You read every line before the script touches real files.

Tool trace
write_file word_count.py → saved
Shell python word_count.py → exit 1
edit_file word_count.py → +1 line
Shell python word_count.py → exit 0
03

See a python script example run in Shell

Open a chat in the folder that holds your .py file on Windows 10 or 11. The agent lists the folder with list_dir, reads the file with read_file and runs it with Shell, so you see the exact command and the real exit code. A non-zero code means failure. The card expands to show the full output, and you decide whether to ask for a fix or stop. Plan only writes the steps first if you want to read them before anything runs.

04

Run a job on a schedule with Cron

Some jobs repeat every day, like tidying a reports folder. Cron runs a prompt on a schedule, and the prompt can ask the agent to execute your script and report the exit code each time. Create the script with write_file, make the folder with make_dir, then test it once by hand. Plans survive restarts. A scheduled python script silently stops running when nobody reads its output, so look at the result after the first 3 runs.

Explore workflows

How it differs from a typical chat assistant

WeekOrison 2.9.31 runs the tools itself instead of only suggesting steps, and every action appears in the chat as a card with its real result. You read it.

Typical chat assistantWeekOrison
Your filesDescribes edits in textReads and edits files in the working folder
Running codeSuggests a command for you to copyRuns it in Shell and reports the exit code
Reviewing changesYou compare pasted code by eyeShows a diff you accept or reject in Ask first
Repeating jobsYou come back and ask againCron runs a prompt on a schedule

How to get started

  1. Download the setup program (about 34 MB), compare its SHA-256 checksum with the published manifest, and install it on Windows 10 or 11.
  2. Connect a model: a cloud endpoint, a model running on your PC, or the built-in model.
  3. Open the folder that holds your .py files and describe the job in the chat.
  4. Choose Ask first, read the diff the agent shows, then accept or reject it.

Who it is for

Beginners are the first audience, especially learners who need to graduate to writing scripts after a course and want to see how a draft behaves on real files. Real files expose bugs. The agent runs your draft in Shell, so you read the actual error and the 1 line that fixes it, then test again.

Practitioners who maintain a few helper tools for their own machines come next. Writing python scripts for chores such as renaming files or cleaning a CSV is repetitive, and the agent drafts, runs and repairs them while you review each diff in Ask first. Useful python scripts stay small.

Solo developers with a folder of old helper files are the third group. Typical chores include a script to compare two large lists of file names, or a CSV cleaner. Plan only runs nothing. That suits a first look at an unfamiliar folder, and you keep the work within files you own or may change.

Frequently asked questions

What is a python script?

A script is a plain text file with Python code that you run from the command line, one file at a time. It can read files, process text and data, and automate repetitive tasks. Start small. A hello world script is a single line of print, and most people begin with exactly that.

How does WeekOrison help me fix a script that fails?

The usual way is to paste the error into the chat. The agent reads the file, finds the failing line, edits it as a diff you can accept, and runs your command in Shell to report the real exit code. You still run a test.

Can the agent write a script I can trust?

No, trust comes from your review, not from the agent. It writes a draft from your description, runs it on a small sample and fixes errors, but nobody can promise a draft is free of mistakes. Test before you trust. Read the code and try it on a copy of your data.

Is pythonbase.org the official WeekOrison website?

Yes, pythonbase.org is the official WeekOrison website. The download button gives the original setup program of about 34 MB, and you can compare its SHA-256 checksum with the published manifest. Check the checksum first. Questions go through the Send feedback button inside the app.

Do my files leave my PC?

Yes, with a cloud model, your prompt and the file text the agent reads go to that provider; with a local model nothing leaves your PC. Chats, working folders and API keys stay on your PC. Pick the model first.

Can I get a python script example to start with?

Yes, the workflows page has a short example file you can copy, run and change. It prints a greeting and counts the words in a string, with no file access and no network, so you can read all of it at once. Run it first. Then ask the agent to explain each line before you change anything.

Which approval mode should I pick for a new folder?

3 modes exist: Auto-run, Ask first and Plan only. Plan only suits a new folder because it writes a plan and runs nothing, and Ask first then pauses before every action that changes something. Switch modes later. Carry the plan out only when you have read every step of it.

Get started

Try WeekOrison on your own scripts

Download WeekOrison 2.9.31 for Windows 10/11, connect a model, open a folder of your own scripts and review the first diff before you accept anything. Setup is about 34 MB.

Download WeekOrison for Windows ↗

More about WeekOrison

Every page of this website is available in 20 languages, while the app interface itself has 13.

What the agent can do ↗ Connect a model ↗ Step-by-step workflow guide ↗ Download the Windows setup ↗ Questions and answers ↗ Privacy of the site and app ↗