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

@mazaal-dev/piece-ai-agent

v1.0.0

Published

This Activepieces integration allows you to incorporate Mazaal AI agents into your automation workflows.

Readme

Mazaal AI Agent

This Activepieces integration allows you to incorporate Mazaal AI agents into your automation workflows.

Overview

Mazaal AI Agent integration enables you to harness the power of AI agents in your automation flows. This piece allows you to interact with Mazaal AI agents, trigger workflows based on agent responses, and automate complex tasks with AI assistance.

Authentication

To use this integration, you'll need:

  1. API Key: Obtain your Mazaal AI API key from your dashboard
  2. Agent ID: The unique identifier for the specific agent you want to use

Actions

Execute Agent

Runs a Mazaal AI agent with specified inputs and returns the response.

Input Parameters:

  • prompt (required): The instruction or query to send to the agent
  • parameters (optional): JSON object containing additional parameters for the agent
  • tools (optional): Array of tools the agent should have access to
  • contextData (optional): Additional context information for the agent

Output: JSON object containing the agent's response

Send Message to Agent

Sends a message to an ongoing agent conversation.

Input Parameters:

  • conversationId (required): ID of the existing conversation
  • message (required): The message content to send to the agent
  • attachments (optional): Any file attachments to include with the message

Output: JSON object containing the agent's response

Triggers

Agent Response

Triggers when a specific agent responds with a defined pattern.

Input Parameters:

  • agentId (required): ID of the agent to monitor
  • pattern (optional): Pattern to match in agent responses
  • maxWaitTime (optional): Maximum time to wait for a response in seconds

Example Usage

Basic Workflow

  1. Trigger: When a new support ticket is created
  2. Action: Execute the Mazaal AI Customer Support Agent
    • Set prompt to ticket description
    • Set contextData with customer information
  3. Action: Send email with the agent's response to the customer

Ongoing Conversation

  1. Trigger: When a user sends a message
  2. Action: Send Message to Agent with the user's query
  3. Action: Record the agent's response in the database
  4. Action: Send the agent's response back to the user

Installation

If you're using the Activepieces platform:

  1. Navigate to the Pieces section in your Activepieces dashboard
  2. Search for "Mazaal AI Agent"
  3. Click "Add" to install the integration

If you're using a self-hosted version:

npm install @activepieces/piece-mazaal-ai-agent

Building from Source

This library was generated with Nx.

Run nx build pieces-mazaal-ai-agent to build the library.

Additional Resources