Skip to main content

loopmanager

Preview. loopmanager is an early preview: the YAML format and the commands may still change, and it targets Claude Code routines, itself a research preview.

loopmanager is the CLI for Loop Architecture, an architecture style that makes the agentic loop between systems the first-class unit of design.

It validates, visualizes, and syncs a Loop Architecture, one YAML document that defines many systems and many loops, and turns each loop into a runnable Claude Code routine.

Install

uv tool install loopmanager
# with PNG visualization support (needs native Cairo, e.g. `brew install cairo`):
uv tool install "loopmanager[png]"

Or run without installing: uvx loopmanager --help.

Quick start

loopmanager init your-org                       # scaffold <id>.loopmanager.yaml
loopmanager validate your-org.loopmanager.yaml     # schema + lint
loopmanager view your-org.loopmanager.yaml         # open the interactive diagram in a browser
loopmanager serve your-org.loopmanager.yaml        # run the whole architecture locally + monitor
loopmanager sync your-org.loopmanager.yaml      # every loop → a Claude Code routine

Commands

Command What it does
loopmanager init <id> Scaffold a new <id>.loopmanager.yaml.
loopmanager validate <file> Validate against the schema and lint. Exit non-zero on errors.
loopmanager lint <file> Best-practice / safety checks.
loopmanager view <file> Open the interactive diagram in a browser (via the visualizer).
loopmanager serve <file> Run the whole architecture locally: schedule, trigger agents, live monitoring.
loopmanager sync <file> [loop-id] Sync all loops (or one) to Claude Code routines.
loopmanager sync <path> --from-claude Reverse: reconstruct a Loop Architecture YAML from existing routines.

serve

loopmanager serve <file> starts a local server that schedules every loop from the YAML (5-field cron and one-off ISO triggers), triggers the agent for each run, tracks run history, and serves the diagram plus live monitoring (per-loop badges: running / last run / outcome) at http://127.0.0.1:8700.

Runs are dry-run by default (safe, they only simulate a turn). Pass --exec to actually run each agent with claude -p. Trigger a loop by hand from the diagram's detail panel ("Run now").

view writes a small HTML page that embeds the YAML and loads the shared visualizer (visualizer/dist/visualizer.js), which parses the YAML and builds the diagram itself, systems, loops, layout and favicons all live in the visualizer.

What sync produces

Routines are cloud-managed (they live in your claude.ai account, created with /schedule), so cloud is the default. For each loop, sync writes the slash command and prints the /schedule step:

.claude/
  commands/loop-<id>.md    # the prompt Claude Code runs (what to do + the systems it uses)

Run a loop once in Claude Code with /loop-<id>, or register it as a routine on its cadence with /schedule at claude.ai/code, using the printed cron/event.

--local additionally writes a .claude/routines/<id>.json descriptor (schedule/event, model, repositories, connectors), an offline record that sync --from-claude can read back.

The format

See the specification and the JSON schema. A full example lives in examples/your-org.loopmanager.yaml.

Development

uv sync --extra dev
uv run pytest

Metadata

Release files for loopmanager 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for loopmanager 0.1.0
File Size Uploaded Provenance Actions
loopmanager-0.1.0.tar.gz 194.6 kB Without provenance Details for loopmanager-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for loopmanager 0.1.0
File Interpreter ABI Platform Actions
loopmanager-0.1.0-py3-none-any.whl Python 3 none any Details for loopmanager-0.1.0-py3-none-any.whl

Total release size: 394.3 kB

Release files / loopmanager-0.1.0.tar.gz

Download URL loopmanager-0.1.0.tar.gz
Size 194.6 kB
Tags Source
SHA-256 checksum
How to use checksums
bcd202e8a71d50c4704ed732c1e705ceb50c1ea92bab178c5364625a6b7e17e9
BLAKE2b-256 checksum
How to use checksums
a44a85bc4c18fabedd96a3d73660e617a0542f3c4f5229ddd40c2fb161e6105d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / loopmanager-0.1.0-py3-none-any.whl

Download URL loopmanager-0.1.0-py3-none-any.whl
Size 199.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7332b98bf3bf5858fdaee5b07907706765666b28626c2132d2bae61c91d0bb0c
BLAKE2b-256 checksum
How to use checksums
987bd0075fe4fb7ffe1e90e171d9073465d6504fe59332e03d904b52b951a707
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for loopmanager 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page