Skip to main content

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

Endpoint Method Description
/api/v1/register POST Create owner account, get API token
/api/v1/agents POST Register a new agent
/api/v1/agents/{id}/ping POST Send heartbeat
/api/v1/agents/{id} GET Check agent status
/api/v1/agents GET List all agents
/api/v1/agents/{id} DELETE Remove agent
/api/v1/config/telegram POST Set Telegram alert channel
/api/v1/config/webhook POST Set 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

Metadata

Release files for agent-heartbeat 0.1.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 agent-heartbeat 0.1.2
File Size Uploaded Provenance Actions
agent_heartbeat-0.1.2.tar.gz 5.1 kB Without provenance Details for agent_heartbeat-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for agent-heartbeat 0.1.2
File Interpreter ABI Platform Actions
agent_heartbeat-0.1.2-py3-none-any.whl Python 3 none any Details for agent_heartbeat-0.1.2-py3-none-any.whl

Total release size: 10.6 kB

Release files / agent_heartbeat-0.1.2.tar.gz

Download URL agent_heartbeat-0.1.2.tar.gz
Size 5.1 kB
Tags Source
SHA-256 checksum
How to use checksums
fdfa7b7d557eeed30276b7a42c821a2dba35af32a3fe81b53ec124341303b071
BLAKE2b-256 checksum
How to use checksums
4df2b2c5d4243e00cc402fb3de97e5e06f8f2033a23fc6084a86d97dabf048e3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.2

Release files / agent_heartbeat-0.1.2-py3-none-any.whl

Download URL agent_heartbeat-0.1.2-py3-none-any.whl
Size 5.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9864a9e465d8c64d869e7354640f4844b9aea622ef63d9161da87f2754e72bc4
BLAKE2b-256 checksum
How to use checksums
b996266d882572b2492aebec2f7586707f8ff72a42d38463dc41da861978a1bd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.2

Security for agent-heartbeat 0.1.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.

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