Back to browse
GitHub Repository

A local event gateway for AI code agents. Capture lifecycle events from Claude Code, Gemini CLI, and more — fan them out to any HTTP endpoint, webhook, or device.

5 starsGo

Agent-pulse – local gateway that fans out AI agent events to clients

by SantiagoBobrik·Mar 6, 2026·1 point·0 comments

AI Analysis

●●SolidSolve My ProblemNiche Gem

Replaces scattered per-project agent hooks with one global config and SSE fan-out.

Strengths
  • Solves a real friction point: managing hooks across multiple AI agents and projects from a single config.
  • Thoughtful dual-delivery design: HTTP POST for webhooks/scripts, SSE for dashboards that can't expose endpoints.
  • Auto-start on first event and config hot-reload eliminate boilerplate and restart friction.
Weaknesses
  • Narrow audience: only Claude Code and Gemini CLI today, limiting immediate utility for broader agent ecosystem.
  • No evidence of active adoption or real-world usage beyond the author's own setup (3 stars, no external issues).
Target Audience

Developers using Claude Code or Gemini CLI who want to integrate agent events with local dashboards, IoT devices, or custom webhooks.

Similar To

n8n (event routing) · Zapier (fan-out automation)

Post Description

I wanted Claude Code to notify my ESP32 when it finished a task. A `curl` in the Stop hook worked — until I needed a local dashboard too. The dashboard couldn't expose an HTTP endpoint, it needed to subscribe. And every new client meant editing hook configs across all my projects.

So I built agent-pulse: a local gateway that captures AI agent lifecycle events and fans them out to registered clients.

You register clients once in a global YAML. Projects just call `agent-pulse hook --provider claude --event stop` from their hooks. The gateway handles routing, per-client filtering, and parallel dispatch. It auto-starts on the first event.

Two delivery modes: HTTP POST fan-out for webhooks and scripts, SSE stream (`GET /events/stream`) for dashboards and anything that can't expose an endpoint. You can also attach project metadata via `.agent-pulse.json` that travels with every event.

Single Go binary, zero runtime dependencies. Claude Code and Gemini CLI supported today, OpenCode and Codex CLI in progress.

Note: Claude Code recently added native HTTP hooks, so you can POST directly to an endpoint without any intermediary. agent-pulse is useful when you have multiple clients, need SSE, or want one config across projects.

Thanks!

https://github.com/SantiagoBobrik/agent-pulse

Similar Projects

Open Source●●Solid

Self hosted fan out restreaming

Self-hosted Restream alternative with GStreamer pipeline management in Rust.

Big BrainNiche Gem
paulgardiner
102mo ago
AI/ML●●Solid

Web Client for Hermes Agent

CLI-driven streaming without gateway is clever, but Hermes itself is niche.

Niche GemBig Brain
lotsoftick
101mo ago