Get your AI agent connected to AgentPulse in under 5 minutes.
Sign up at AgentPulse to get your API key. After creating your account, go to Settings to find your API key.
Install via npm:
npm install @agentpulse/agentpulseThen add to the top of your app:
const agentpulse = require('@agentpulse/agentpulse');agentpulse.init({ apiKey: 'ap_...', agentName: 'my-bot' });agentpulse.autoInstrument();// All OpenAI / Anthropic calls are now tracked automaticallyOr install globally for the CLI:
sudo npm install -g @agentpulse/agentpulseagentpulse initagentpulse start -dSSH into your server where OpenClaw is running, then run this one-liner to install AgentPulse:
# Create a virtual environment and installpython3 -m venv ~/.agentpulse-venvsource ~/.agentpulse-venv/bin/activatepip install git+https://github.com/sru4ka/agentpulse.git#subdirectory=pluginNote: On Ubuntu/Debian, Python requires a virtual environment for pip installs. The commands above handle this automatically.
Or use the quick install script:
curl -sSL https://raw.githubusercontent.com/sru4ka/agentpulse/main/plugin/install.sh | bashRun the interactive setup to configure your API key and agent:
agentpulse initYou'll be prompted for:
/tmp/openclaw/)Or create the config file manually:
# ~/.openclaw/agentpulse.yamlapi_key: "ap_your_key_here"endpoint: "https://agentpulses.com/api/events"agent_name: "MyBot"framework: "openclaw"log_path: "/tmp/openclaw/"poll_interval: 5batch_interval: 30Start the AgentPulse daemon:
agentpulse startOther useful commands:
agentpulse status # Check if runningagentpulse stop # Stop the daemonFor production, run AgentPulse as a systemd service so it starts automatically:
# Create the service filesudo nano /etc/systemd/system/agentpulse.servicePaste this content:
[Unit]Description=AgentPulse Monitoring DaemonAfter=network.target [Service]Type=simpleUser=botExecStart=/root/.agentpulse-venv/bin/agentpulse startRestart=alwaysRestartSec=10 [Install]WantedBy=multi-user.targetThen enable and start it:
sudo systemctl enable agentpulsesudo systemctl start agentpulsesudo systemctl status agentpulse # Verify it's runningFull support. Gateway log parsing with model detection, error tracking, and cost estimation.
Coming soon. Plugin support in development.
Coming soon. Plugin support in development.
Coming soon. Plugin support in development.
Send events from your agent to AgentPulse.
{
"api_key": "ap_your_key_here",
"agent_name": "MyBot",
"framework": "openclaw",
"events": [
{
"timestamp": "2026-02-16T07:07:04.797Z",
"provider": "minimax",
"model": "MiniMax-M2.5",
"input_tokens": 12500,
"output_tokens": 850,
"cost_usd": 0.2895,
"latency_ms": 3200,
"status": "success",
"tools_used": ["web_search"],
"error_message": null
}
]
}AgentPulse is not a constructor
The SDK exports functions, not a class. Use agentpulse.init() not new AgentPulse().
Cannot find module '@agentpulse/agentpulse'
Run npm install @agentpulse/agentpulse in your project directory.
EACCES: permission denied (global install)
Use sudo npm install -g @agentpulse/agentpulse.
No events appearing on dashboard
init() is called before autoInstrument()agentpulse test to confirm connectivityagentpulse: command not found (after npm -g install)
Open a new terminal. Check that npm root -g is in your PATH.
Upgrade to latest version
Run npm update @agentpulse/agentpulse or sudo npm update -g @agentpulse/agentpulse for global.
agentpulse: command not found
Run source ~/.bashrc or open a new terminal. Check pipx list and ensure ~/.local/bin is in your PATH.
Dashboard shows 0 events
Run agentpulse status to confirm it's running, then agentpulse test to verify connectivity.
API key invalid / 401 error
Re-run agentpulse init with a fresh key from your Settings page.
Upgrade to latest version
Run pipx upgrade agentpulse then agentpulse stop && agentpulse start -d.
Open an issue on GitHub or reach out to us.
Open an Issue