Skip to main content

agents-live

PyPI version Python 3.12 or later License: MIT

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

Your agent stays one Markdown file. Agents Live adds triggers, execution controls, logs, and automatic repair using standard host tools.

markdown-polisher.md

---
description: Polish Markdown documents when they change.
runtime: claude
mode: write
watchPath: docs/
---
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 installation details.

uv tool install agents-live
agents-live init
agents-live start ./markdown-polisher.md

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

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 or GitHub Copilot 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 handlers 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 handler 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 plan with a validated handler or pipeline with schema-checked pre-processors and post-processors.

Installation

Install Claude Code, GitHub Copilot CLI, or both:

npm i -g @anthropic-ai/claude-code
npm i -g @github/copilot

Then install uv and Agents Live.

On Debian or Ubuntu:

curl -LsSf https://astral.sh/uv/install.sh | sh
sudo apt install cron inotify-tools
uv tool install agents-live
agents-live init

cron runs scheduled agents and automatic maintenance; inotifywait is only needed when agents watch files or directories. On WSL, agents-live init installs a heartbeat that keeps the distro running, so scheduled agents fire without an open session.

On Windows:

winget install --id=astral-sh.uv -e
uv tool install agents-live
agents-live init

Windows uses Task Scheduler and a built-in watcher, so there is nothing more to install.

Note that macOS is untested.

Run agents-live doctor to diagnose missing requirements and inspect configuration. Use agents-live doctor --repair to repair supported configuration issues.

Go further

Repositories are optional. Initialize one later with agents-live init --repo when you need shared configuration or name-based commands.

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

The optional /agents-live skill is installed by agents-live init, but every workflow remains 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

Download files

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

Source Distribution

agents_live-5.4.2.tar.gz (506.7 kB view details)

Uploaded Source

Built Distribution

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

agents_live-5.4.2-py3-none-any.whl (396.0 kB view details)

Uploaded Python 3

File details

Details for the file agents_live-5.4.2.tar.gz.

File metadata

  • Download URL: agents_live-5.4.2.tar.gz
  • Upload date:
  • Size: 506.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.0 {"installer":{"name":"uv","version":"0.12.0","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}

File hashes

Hashes for agents_live-5.4.2.tar.gz
Algorithm Hash digest
SHA256 05cc78616881ecacab17f7df7df533aae9b99e8b259a07344464e2ddbb3212bd
MD5 a7b62f8a50305524206c1f88de3d4448
BLAKE2b-256 1962f0ec993b407e09983be662ccbc78c38b15edabd0792c8367201c01d988e6

See more details on using hashes here.

File details

Details for the file agents_live-5.4.2-py3-none-any.whl.

File metadata

  • Download URL: agents_live-5.4.2-py3-none-any.whl
  • Upload date:
  • Size: 396.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.0 {"installer":{"name":"uv","version":"0.12.0","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}

File hashes

Hashes for agents_live-5.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3c547d07602755c1286fbf568f184132fc862866bf4c04550e83dcae23d389e5
MD5 f1257ae5bd3c913a51e752197616a1d5
BLAKE2b-256 d267a0deb53b73a8386af3c58e552794fb64bb1a1d8f2a669c4b7aee97e3d00f

See more details on using hashes here.

Release history Release notifications | RSS feed

6.9.1

2 files

6.9.0

2 files

6.8.0

2 files

6.7.0

2 files

6.6.0

2 files

6.5.0

2 files

6.4.1

2 files

6.3.8

2 files

6.3.5

2 files

6.3.4

2 files

6.3.3

2 files

6.3.2

2 files

6.3.1

2 files

6.3.0

2 files

6.2.0

2 files

6.1.1

2 files

6.1.0

2 files

6.0.6

2 files

6.0.5

2 files

6.0.4

2 files

6.0.3

2 files

6.0.2

2 files

6.0.1

2 files

6.0.0

2 files

5.5.2

2 files

5.5.1

2 files

5.5.0

2 files

This release

5.4.2 This release

2 files

5.4.1

2 files

5.4.0

2 files

5.3.0

2 files

5.2.0

2 files

5.1.0

2 files

5.0.1

2 files

5.0.0

2 files

4.0.0

2 files

3.0.0

2 files

2.2.0

2 files

2.1.3

2 files

2.1.2

2 files

2.1.1

2 files

2.1.0

2 files

2.0.2

2 files

2.0.1

2 files

2.0.0

2 files

1.0.0

2 files

0.3.1

2 files

0.3.0

2 files

0.2.0

2 files

0.1.6

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.0.1

2 files

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