Original Reddit post

The https://thinkingscript.com/ project explores the idea of agents running as executable programs that can iteratively improve their behavior over time. Some of the core ideas being worked through: Operating system–level orchestration Agents can be composed using standard Unix primitives. For now, Unix pipes are used to pass the output of one agent into another. Treating agents as Unix programs allows them to participate naturally in existing shell workflows without requiring a custom orchestration layer. Secure sandboxing without containers Instead of relying on container frameworks that require background daemons and container orchestration, the system uses an embedded JavaScript sandbox. The goal is a lightweight, daemon free execution model built on well established, widely deployed technology while still maintaining isolation and control over execution. Self improving execution When a script is run for the first time, an agent analyzes it and attempts to generate JavaScript code that solves the task inside the sandbox. If execution fails, for example due to a rate limited API call, the agent revises the approach and tries again. Over time, this process converges toward a working implementation. Deterministic and non deterministic primitives The system distinguishes between static, deterministic code and dynamic agent involvement. For straightforward tasks, the agent generates a static JavaScript file that can run independently in future executions. The generated code may include an agent.resume() hook, which allows it to re engage an agent when encountering complex situations or unexpected errors. This balances repeatable execution with the flexibility of adaptive behavior. submitted by /u/bradgessler

Originally posted by u/bradgessler on r/ArtificialInteligence