npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@hazeljs/ops-agent

v1.0.0

Published

Ops agent for Jira, Slack, and DevOps workflows - AI-powered incident triage and team coordination

Downloads

901

Readme

@hazeljs/ops-agent

Ops Agent — AI-powered DevOps assistant for Jira, Slack, and incident coordination.

npm version npm downloads License: Apache-2.0

Overview

When you need an AI assistant that can create Jira tickets, post to Slack, and coordinate incidents, use this package. It provides:

  • OpsAgent@Agent with tools for Jira (create, comment, get) and Slack (post)
  • createOpsRuntime – wires AI + Agent + tools together
  • AdapterscreateJiraTool, createSlackTool for Jira Cloud and Slack Web API

Installation

npm install @hazeljs/ops-agent @hazeljs/ai @hazeljs/agent @hazeljs/rag

Quick Start

import { AIEnhancedService } from '@hazeljs/ai';
import { createOpsRuntime, runOpsAgent, createJiraTool, createSlackTool } from '@hazeljs/ops-agent';

// Configure tools (uses env vars when omitted)
const jiraTool = createJiraTool(); // JIRA_HOST, JIRA_EMAIL, JIRA_API_TOKEN
const slackTool = createSlackTool(); // SLACK_BOT_TOKEN

const runtime = createOpsRuntime({
  aiService: new AIEnhancedService(),
  tools: {
    jira: jiraTool,
    slack: slackTool,
  },
  model: 'gpt-4',
});

const result = await runOpsAgent(runtime, {
  input:
    'Create a Jira ticket in PROJ for "Payment API timeout in prod" and post a summary to #incidents',
  sessionId: 'incident-2024-01',
});

console.log(result.response);

Environment Variables

| Variable | Description | | ----------------- | --------------------------------------------------------------------------------------- | | JIRA_HOST | Jira host (e.g. https://your-domain.atlassian.net) | | JIRA_EMAIL | Email for Basic auth | | JIRA_API_TOKEN | API token from Atlassian | | SLACK_BOT_TOKEN | Slack bot token (xoxb-...) from app OAuth |

When not configured, tools return placeholder responses so you can develop without credentials.

Tools

| Tool | Description | Approval | | -------------------- | ------------------------------------------------------- | -------- | | create_jira_ticket | Create Jira issue (project, summary, description, type) | Yes | | add_jira_comment | Add comment to existing issue | No | | get_jira_ticket | Get issue details by key | No | | post_to_slack | Post message to channel (optionally in thread) | Yes |

Memory

The ops agent has memory enabled by default (in-memory BufferMemory). Use the same sessionId for follow-up requests in the same incident.

Human-in-the-Loop

create_jira_ticket and post_to_slack use requiresApproval: true. Subscribe to tool.approval.requested and approve/reject before the action runs:

runtime.on('tool.approval.requested', (event) => {
  // Approve: runtime.approveToolExecution(event.data.requestId, userId);
  // Reject: runtime.rejectToolExecution(event.data.requestId);
});

License

Apache 2.0