Skip to main content

A tiny autonomous agent wrapper built on tinyloom

Project description

Join Discord -- Website: thresher.sh

autoloom

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 demo

Safety

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!

Install

End user (after the first PyPI release):

uv tool install autoloom # or pip install autoloom
autoloom setup

Developer (from source):

git clone <repo-url>
cd autoloom
uv sync --extra dev

End-user examples in this README use autoloom directly. Developers should prefix with uv run (e.g. uv run autoloom setup).

Quick start

autoloom setup
autoloom
autoloom "review pending work and update tasks"
autoloom heartbeat run
autoloom webhook serve

Update 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>"

Files

Autoloom stores its data in:

  • ~/.autoloom/SOUL.md
  • ~/.autoloom/heartbeat.md
  • ~/.autoloom/tasks/
  • ~/.autoloom/skills/
  • ~/.autoloom/knowledgegraph/memories/
  • ~/.autoloom/sessions/

Commands

  • autoloom opens the TUI
  • autoloom "..." runs a persisted headless session and streams JSONL events
  • autoloom setup walks 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, never config.yaml
  • autoloom heartbeat run executes one heartbeat session
  • autoloom cron install|show|remove manages the heartbeat cron block
  • autoloom webhook serve runs the local-first webhook server

Docs

Verification

uv run ruff check
uv run pytest

Case Study - tinyloom auto plugin development

I 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.

Autoloom TUI console

Within two heartbeat cycles, it cloned the repo, began planning plugins, and started building its own knowledge graph.

Autoloom memory tree

The system self learns, self directs, and has full autonomy.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

autoloom-0.1.0.tar.gz (1.9 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

autoloom-0.1.0-py3-none-any.whl (29.0 kB view details)

Uploaded Python 3

File details

Details for the file autoloom-0.1.0.tar.gz.

File metadata

  • Download URL: autoloom-0.1.0.tar.gz
  • Upload date:
  • Size: 1.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for autoloom-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2bf9a6a3fadb620155d4a230287d46b096b262b5c4fce554f8efc3979d6c75fe
MD5 9095d8ed0826017a4366899ce9054523
BLAKE2b-256 886266a17cdea0806785cee201927c74a3fdbcc0a0e8aa6475b4ec38fd69b4e8

See more details on using hashes here.

Provenance

The following attestation bundles were made for autoloom-0.1.0.tar.gz:

Publisher: publish.yml on thresher-sh/autoloom

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file autoloom-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: autoloom-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 29.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for autoloom-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f8880ef4a12c6689558e78deeb7f032d38cb9862eb55cbe6fa55491421a2fea0
MD5 1de7201c4fc81ea2878dd99e42b0cfdf
BLAKE2b-256 07b057400f07634c010866a0adbdb8914d4a600d4bf2920d0e52281a83dc1fbd

See more details on using hashes here.

Provenance

The following attestation bundles were made for autoloom-0.1.0-py3-none-any.whl:

Publisher: publish.yml on thresher-sh/autoloom

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page