whatisgithub

What is pulse?

hanyo-ai/pulse — explained in plain English

Analysis updated 2026-05-18

5TypeScriptAudience · developerComplexity · 3/5Setup · moderate

In one sentence

A self-hosted gateway and live dashboard that shows every prompt, tool call, and response an AI agent makes, with cost tracking built in.

Mindmap

mindmap
  root((PULSE))
    What it does
      Proxies AI provider requests
      Shows live agent activity
      Tracks cost and audit logs
    Tech stack
      Bun
      Elysia
      SQLite
      React
    Use cases
      Debug AI agent sessions
      Track API cost
      Connect Claude Code traffic
    Audience
      Developers building AI agents
      Teams running self-hosted gateways

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Watch an AI agent's prompts, tool calls, and responses live in a dashboard.

USE CASE 2

Track API cost and keep audit logs for OpenAI or Anthropic requests.

USE CASE 3

Route Claude Code's traffic through PULSE to debug agent sessions.

USE CASE 4

Restrict gateway API keys to specific models for different applications.

What is it built with?

TypeScriptBunElysiaSQLiteReact

How does it compare?

hanyo-ai/pulsecprecioso/tubecasterfarique/cursor-chat-explorer
Stars555
LanguageTypeScriptTypeScriptTypeScript
Last pushed2025-03-29
MaintenanceStale
Setup difficultymoderatemoderateeasy
Complexity3/52/52/5
Audiencedevelopergeneraldeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires Bun 1.2+ and configuring upstream provider keys in the dashboard before routing agent traffic through it.

So what is it?

PULSE is a self-hosted dashboard that lets you watch what an AI agent is actually doing in real time, including its system prompts, user messages, assistant responses, and every tool call it makes. It works by sitting between your application and an AI provider like OpenAI or Anthropic, acting as a gateway that your code talks to instead of talking to those providers directly, so every request and response passes through PULSE and gets logged and shown live in its dashboard. Because it acts as a compatible gateway, existing code written for OpenAI's or Anthropic's APIs can point at PULSE with only a small configuration change, and it keeps working as before while PULSE quietly tracks cost, keeps audit logs, and streams what is happening to the dashboard over a live connection rather than requiring you to refresh the page. Setup is a single command using Bun, a JavaScript runtime, which installs and runs PULSE locally with no login required by default. There is also a mode for running it as a shared, multi-user service with authentication, user accounts, and API keys that can be restricted to specific models. Configuration happens mostly through the dashboard itself, where you set up the upstream provider connection, generate gateway keys for your applications to use, and control how long request logs are kept. The project includes a specific one-command setup for connecting Claude Code to PULSE, which reroutes Claude Code's requests through the gateway so every agent session, tool call, and model response shows up automatically in the dashboard, making it easier to debug what an AI coding agent is doing behind the scenes. It is built with Bun, the Elysia web framework, SQLite for storage, and React for its interface.

Copy-paste prompts

Prompt 1
Help me install PULSE with bun install -g @hanyo_ai/pulse and run pulse run.
Prompt 2
Walk me through connecting Claude Code to PULSE with the env-deploy.sh script.
Prompt 3
Explain how to configure an upstream provider endpoint in PULSE's dashboard.
Prompt 4
Show me how to generate a restricted gateway API key limited to one model.

Frequently asked questions

What is pulse?

A self-hosted gateway and live dashboard that shows every prompt, tool call, and response an AI agent makes, with cost tracking built in.

What language is pulse written in?

Mainly TypeScript. The stack also includes TypeScript, Bun, Elysia.

How hard is pulse to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is pulse for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.