Dead man's switch for AI agents. Miss a heartbeat, get an alert.
Project description
Agent Pulse
Dead man's switch for AI agents. Miss a heartbeat, get an alert.
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-pulse
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-pulse[server]
uvicorn server.main:app --host 0.0.0.0 --port 8000
Requires: Python 3.9+, SQLite (included). No external databases needed.
Pricing
| Plan | Agents | Min Interval | Channels | Price |
|---|---|---|---|---|
| Free | 3 | 5 min | Telegram | $0 |
| Indie | 20 | 1 min | Telegram + Email + Webhook | $9/mo |
| Team | Unlimited | 30 sec | All | $19/mo |
Built by LuciferForge
Part of the AI agent safety ecosystem:
- mcp-security-audit — MCP server security auditor
- agentcred — Agent trust scoring
- kya-agent — Agent identity standard
Contact: LuciferForge@proton.me
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file agent_heartbeat-0.1.0.tar.gz.
File metadata
- Download URL: agent_heartbeat-0.1.0.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
769bbb3950814cdb8a2b54c1bd3709fca395293dbd52e0363b5a6aace67ac4da
|
|
| MD5 |
80a5e378ac3207d23857834403592aff
|
|
| BLAKE2b-256 |
368d187637c312fc6349f205f937f9769e6edfef3c49d31527c5e8151a128f88
|
File details
Details for the file agent_heartbeat-0.1.0-py3-none-any.whl.
File metadata
- Download URL: agent_heartbeat-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cd1bc1ab7d502a9bca49b894d6dbdb584bf54a4a9f7e064fa87f0246fcd623ac
|
|
| MD5 |
9a2a39af80164ad5138fc21364848ddd
|
|
| BLAKE2b-256 |
9999e07e4e4ad0e7e9e0084aa78b1aab9dbbed024ef13cd84d8eefa44265d4dd
|