Skip to main content

agents-live

PyPI version Python 3.12 or later License: MIT

Take your agents live. Turn Claude Code, GitHub Copilot, and OpenAI Codex agents into scheduled and file-triggered local automations, without moving them to another agent platform.

Definitions can be conforming Agent Skill directories or flat Markdown files in configured repository directories. Agents Live reads their namespaced execution metadata, adds local triggers, and repairs drift using standard host tools.

Agents/markdown-polisher/SKILL.md

---
name: markdown-polisher
description: Polish Markdown documents when they change.
metadata:
  agents-live.schema-version: "2"
  agents-live.selector: "claude"
  agents-live.mode: "write"
  agents-live.watch: "docs/** debounce 1s"
---
Correct spelling, grammar, and Markdown formatting errors in the selected files.
Preserve their meaning, links, code, and frontmatter. When a `Files changed:`
list is present, process only those files.

Quick start

See Installation for required host tools and platform-specific instructions.

curl -fsSL \
  https://github.com/johnshew/agents-live/releases/latest/download/install.sh | sh
agents-live init
agents-live start markdown-polisher

The watcher sleeps until a file changes, then runs the agent immediately with the changed paths. Add or edit a Markdown file under docs/, then open the file to see the fixes.

Manage the running agent with status and stop:

agents-live status
agents-live stop markdown-polisher

There is no polling interval or clock tick. The agent runs only when the operating system reports a change in the watched directory.

Lightweight

There is no listener service, separate application runtime, or database to deploy and maintain. The core stack is the Claude Code, GitHub Copilot, or OpenAI Codex CLI you already use, uv, and your host scheduler and file-watch facility.

Cron-only agents have no persistent process. A file-watch agent uses one small local watcher. There are no externally reachable ports or databases. Custom post-processors and plugins may bring their own dependencies; Agents Live core does not require them.

Safe by default

Execution modes make write access explicit:

  1. plan is read-only. The agent emits JSON for a validated post-processor to apply.
  2. pipeline limits the agent to a schema-checked data channel shared with your pre-processors and post-processors.
  3. write grants full write access as an explicit per-agent choice.

This is tool policy, not a sandbox. Agents still inherit the permissions of your local account and agent CLI.

The example uses write so it can fix documents directly. For tighter control, use the complete plan and pipeline Markdown-polisher examples. They apply the same correction task through validated, deterministic write boundaries.

Installation

Agents Live supports Linux, WSL, and native Windows. macOS is currently untested. First install and sign in to at least one supported provider CLI:

Linux and WSL

On Debian, Ubuntu, or WSL, install the host tools used by schedules and file watchers, then run the latest stable installer:

sudo apt-get update
sudo apt-get install -y cron inotify-tools
curl -fsSL \
  https://github.com/johnshew/agents-live/releases/latest/download/install.sh | sh

agents-live --repo /path/to/repository init

cron runs scheduled agents and automatic maintenance. inotifywait is only needed for file or directory watches. The installer links agents-live and al from ~/.local/bin to the stable current commands and adds that directory to supported shell profiles. Open a new shell if the current one did not already include ~/.local/bin on PATH.

The installer refuses to replace an existing ~/.local/bin/agents-live or ~/.local/bin/al that does not point to this installation. Remove or rename the conflicting command, then run the installer again.

On WSL, use these Linux instructions inside the distribution. The first convergence also stages and verifies Windows-side liveness so scheduled work can wake the distribution without an open terminal.

Windows

Run PowerShell as your normal user. Install a provider CLI if one is not already available:

winget install Anthropic.ClaudeCode
# Or: winget install GitHub.Copilot

Run the latest stable installer, then initialize a repository:

irm https://github.com/johnshew/agents-live/releases/latest/download/install.ps1 | iex
agents-live --repo C:\path\to\repository init

The installer updates both the current PowerShell process and the persistent user PATH. Native Windows uses Task Scheduler and directory change notifications, so no separate scheduler or watcher package is required.

Manage the installation

agents-live upgrade
agents-live uninstall

See the command reference for pinning, rolling back, or removing installed versions. The diagnostics guide covers installation conflicts, existing repositories, and repair.

Go further

Definitions live under a registered repository's Agents/ directory by default, and Agents Live also searches .claude/skills/, .github/skills/, and .agents/skills/, claiming a skill there only when it carries agents-live. execution metadata. Set agent_directories = ["foo"] in .agents-live.toml to also discover immediate foo/<name>.md files and foo/<name>/SKILL.md bundles. Register another repository with agents-live init --repo <path>. Once registered, run, start, stop, and status fall back to the other registered repositories when a name is not present locally.

Cross-machine assignment is optional. Repository registration and ownership backend installation leave a project local-only. Run agents-live ownership enable to validate the backend and owners document before enabling transfers; agents-live ownership status reports the mode.

See the command reference for repository workflows, health checks and repair, upgrades, dashboards, shell completion, plugins, ownership, and multi-repository operations. The architecture guide covers runtime, safety, persistence, and maintenance behavior.

Documentation

Every workflow is an ordinary CLI command.

Design documents and the high-level backlog for the project itself live in docs/; they are not installed with the skill.

Contributing

Bug reports and pull requests are welcome in Issues.

License

MIT

Metadata

Release files for agents-live 6.9.2

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

Source distribution (sdist)

Source distribution for agents-live 6.9.2
File Size Uploaded Provenance
agents_live-6.9.2.tar.gz 748.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for agents-live 6.9.2
File Interpreter ABI Platform
agents_live-6.9.2-py3-none-any.whl Python 3 none any Details

Total release size: 1.2 MB

Release files / agents_live-6.9.2.tar.gz

Download URL agents_live-6.9.2.tar.gz
Size 748.4 kB
Tags Source
SHA-256 checksum
How to use checksums
45fc92b13fb034c95230122107a4975d85f8d0b10b480874407b7e9adb7b9007
BLAKE2b-256 checksum
How to use checksums
4c6dd5f02eb2f35184d92a68b96f56efa90ef0d973a796e6c7781b635a672353
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / agents_live-6.9.2-py3-none-any.whl

Download URL agents_live-6.9.2-py3-none-any.whl
Size 461.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0e3af6de9b3c7c93c8880700ba4d6b600db786b9d93f0d2358f86f4188d121c5
BLAKE2b-256 checksum
How to use checksums
083b6ade97cb05d2198467e4b166262a2aab226b2f0e1c05c6e8648c3f2faeb5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for agents-live 6.9.2

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

6.9.2 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