Self-improving AI Executables

2 min read Original article ↗

🤯

Write programs in your own words. Run them in a secure sandbox. Install them like any other tool.

curl -fsSL https://thinkingscript.com/install.sh | sh

Copied!

Create a .txt file. Describe what you want done. It doesn't need to be perfect.

Figure out where I am and tell me the current
weather conditions. If arguments are passed in,
it could be a zip code or city. If not, try to
geolocate.

You can cache the results for an hour so you
don't have to make a new request every time.

An LLM reads your words, figures out what to do, and asks before running anything. It remembers what works across runs.

$ think weather.txt "San Francisco"

San Francisco, CA
62°F, partly cloudy. Wind: 12 mph W. Humidity: 68%.

Turn any thought into a command on your $PATH. No wrapper scripts, no aliases. A real program.

$ thought install weather.txt
Installed → ~/.thinkingscript/bin/weather

$ weather "New York"
New York, NY
45°F, clear skies. Wind: 8 mph NW. Humidity: 52%.

Thoughts are Unix programs. cron, launchd, systemd: they all work. AI that runs on your schedule, unattended.

$ crontab -l
# Morning weather briefing, every day at 7am
0 7 * * * weather "San Francisco" | mail -s "Weather" me@example.com

# Stock portfolio check, weekdays at market close
0 16 * * 1-5 stocks | tee -a ~/reports/stocks.log

Pipe them together. The output of one thought becomes the input of the next. Build pipelines in your own words.

$ think news.txt "AI" | think table.txt

| Headline                          | Source     | Date       |
|-----------------------------------|------------|------------|
| GPT-5 launches with native tools  | TechCrunch | 2026-02-14 |
| EU passes AI Safety Framework v2  | Reuters    | 2026-02-13 |
| Open-source model beats o3 on …   | Ars Tech   | 2026-02-12 |

Run thoughts from any URL. Someone else's idea, your machine. Browse the community collection or share your own.

$ think https://raw.githubusercontent.com/thinkingscript/thoughts/main/weather.txt "NYC"

New York, NY
45°F, clear skies. Wind: 8 mph NW. Humidity: 52%.

Get started

$ curl -fsSL https://thinkingscript.com/install.sh | sh
$ thought setup
$ think https://thinkingscript.com/hi.txt