Skip to main content

exoclaw-channel-heartbeat

Periodic heartbeat service that wakes the agent on a schedule to check for active tasks in HEARTBEAT.md.

Install

pip install exoclaw-channel-heartbeat

Usage

from pathlib import Path
from exoclaw_channel_heartbeat.service import HeartbeatService

heartbeat = HeartbeatService(
    workspace=Path("~/.nanobot/workspace").expanduser(),
    provider=provider,       # any exoclaw LLMProvider
    model="anthropic/claude-opus-4-5",
    on_execute=agent_loop.process_direct,   # called when tasks are found
    on_notify=send_to_user,                 # optional: deliver the result
    interval_s=30 * 60,
)

await heartbeat.start()

Each tick reads HEARTBEAT.md, asks the LLM via a structured tool call whether there are active tasks (skip / run), and only invokes on_execute when the decision is run.

Release files for exoclaw-channel-heartbeat 0.3.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 exoclaw-channel-heartbeat 0.3.0
File Size Uploaded
exoclaw_channel_heartbeat-0.3.0.tar.gz 4.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for exoclaw-channel-heartbeat 0.3.0
File Interpreter ABI Platform
exoclaw_channel_heartbeat-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.6 kB

Release files / exoclaw_channel_heartbeat-0.3.0.tar.gz

Download URL exoclaw_channel_heartbeat-0.3.0.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
f655e1df25117c23aad900e42d61469a13f5010e4cd236b3b8d0191c8c9b15cd
BLAKE2b-256 checksum
How to use checksums
607c310ed5e06283332c76fe6a1b50f5a21248029fa7dbb21477579f393c4946
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.10 {"installer":{"name":"uv","version":"0.10.10","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 / exoclaw_channel_heartbeat-0.3.0-py3-none-any.whl

Download URL exoclaw_channel_heartbeat-0.3.0-py3-none-any.whl
Size 3.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dc9d9ec87610ef0d67fa576706f28b84ea3213026b441a3d3bb4b81a1d3453ea
BLAKE2b-256 checksum
How to use checksums
f7b158996b3e8db51518fa11f55153f484ba91ad111d2b14eef3ce7231e03a95
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.10 {"installer":{"name":"uv","version":"0.10.10","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 history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release 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