Catalog PyPI
PACKAGE EXPLORERView in registry

agent-heartbeat

PyPI

Dead man's switch for AI agents. Miss a heartbeat, get an alert.

agentaideadman-switchheartbeatmcpmonitoringwatchdog
Versions collected1
Direct dependencies6From release 0.1.2
Last observed20 Oct, 22:09 UTC

README

Version 0.1.2 documentation

Agent Pulse

Dead man's switch for AI agents. Miss a heartbeat, get an alert.

PyPI License: MIT

The Problem

Your AI agent silently dies at 2am. OOM, uncaught exception, network drop. You find out 6 hours later when a customer complains. Healthchecks.io works for cron jobs — but it doesn't understand agent-specific failures like token budget exhaustion or decision trace anomalies.

The Solution

Agent Pulse monitors your agents with heartbeats. If a heartbeat is missed, you get a Telegram alert (email and webhook coming). One line of Python to integrate.

Quick Start

pip install agent-heartbeat
import agentpulse

# One line. Background thread pings automatically.
agentpulse.init(
    token="ap_your_token_here",
    agent_id="my-scraper",
    interval=300,  # ping every 5 min
)

# Your agent code runs normally...

Or use the client directly:

from agentpulse import Client

client = Client(token="ap_your_token_here")

# Register a new agent
agent = client.register("my-trading-bot", interval=300)

# Send heartbeats
client.ping(agent["agent_id"])

# Check status
status = client.status(agent["agent_id"])
print(status)  # {'status': 'alive', 'last_ping_at': '...'}

API

EndpointMethodDescription
/api/v1/registerPOSTCreate owner account, get API token
/api/v1/agentsPOSTRegister a new agent
/api/v1/agents/{id}/pingPOSTSend heartbeat
/api/v1/agents/{id}GETCheck agent status
/api/v1/agentsGETList all agents
/api/v1/agents/{id}DELETERemove agent
/api/v1/config/telegramPOSTSet Telegram alert channel
/api/v1/config/webhookPOSTSet webhook alert channel

Self-Hosting

pip install agent-heartbeat[server]
uvicorn server.main:app --host 0.0.0.0 --port 8000

Requires: Python 3.9+, SQLite (included). No external databases needed.

Pricing

Self-hosted is free and unlimited. A hosted service with managed alerting is planned for a future release.

Built by LuciferForge

Part of the AI agent safety ecosystem:

Contact: LuciferForge@proton.me

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.1.214 Mar 20266

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
luciferforge/agent-pulse

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 22:09 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:5e676aba60a4dcab8c2ee3c39ed4208e7396ec5495c53a499c11dd5237e19929