Join Discord -- Website: thresher.sh
Autoloom is a tiny self-learning autonomous agent wrapper built on top of tinyloom.
The core runtime is only about ~225 lines of code. The entire core library is ~900 lines of code and the entire plugins and all is about ~1500 lines of code.
It keeps its state in ~/.autoloom, uses plain files for sessions/tasks/memories, manages heartbeat runs with cron, and ships a minimal Textual TUI plus a small webhook server.
Autoloom inherits tinyloom's ability to run shell commands and edit files. It is not a sandbox by itself.
If you want isolation, run it inside a container or microVM. See the sandbox docs below.
If you run it on your root machine you risk destroying it, do not run it outside an isolated environment. You have been warned!
End user (after the first PyPI release):
uv tool install autoloom # or pip install autoloom
autoloom setupDeveloper (from source):
git clone <repo-url>
cd autoloom
uv sync --extra devEnd-user examples in this README use autoloom directly. Developers should prefix with uv run (e.g. uv run autoloom setup).
autoloom setup
autoloom
autoloom "review pending work and update tasks"
autoloom heartbeat run
autoloom webhook serveUpdate your heartbeat:
tinyloom "update my heartbeat.md with ... <whatever you want>"Create a new scheduled task:
tinyloom "create a new cron job with <interval> and launch yourself on that cron job for a task of <whatever your task is>"Autoloom stores its data in:
~/.autoloom/SOUL.md~/.autoloom/heartbeat.md~/.autoloom/tasks/~/.autoloom/skills/~/.autoloom/knowledgegraph/memories/~/.autoloom/sessions/
autoloomopens the TUIautoloom "..."runs a persisted headless session and streams JSONL eventsautoloom setupwalks an interactive setup that configures agent identity, model provider/credentials/tuning, safety limits, compaction, heartbeat schedule, plugins, and webhook — the API key is written to~/.autoloom/.env, neverconfig.yamlautoloom heartbeat runexecutes one heartbeat sessionautoloom cron install|show|removemanages the heartbeat cron blockautoloom webhook serveruns the local-first webhook server
- Getting Started
- State and Heartbeats
- Self-Learning
- Plugins
- Webhooks
- Design Decisions
- Docker Sandbox Guide
- Podman Sandbox Guide
- microsandbox Guide
- Kata Containers Guide
- Docker Sandbox microVM Guide
uv run ruff check
uv run pytestI have a autoloom that is running ever 10 minutes in a vps. It's goal is to research popular trends and identify plugins for tinyloom or autoloom and then plan, implement, and test them.
it... just... works...
It's ran for 24 hours and it's built 15 plugins... all passing tests...
Now a lot of them are throw away... but this is with one line of "direction".
After starting up, the TUI detected that git was missing, so it automatically installed it before proceeding to clone repositories.
Within two heartbeat cycles, it cloned the repo, began planning plugins, and started building its own knowledge graph.
The system self learns, self directs, and has full autonomy.


