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

activepieces-piece-agentool

v1.0.0

Published

AgenTool AI Assistant integration for Activepieces - OpenAI-style workflow automation

Readme

AgenTool Pieces for Activepieces

Custom Activepieces pieces for integrating with the AgenTool AI Assistant platform.

Features

This package provides 22 actions and 2 triggers for building AI-powered workflows:

Core Assistant Actions

  • Chat with Assistant - Send messages and get AI responses
  • List Assistants - Get all your AI assistants
  • Get Assistant - Get details of a specific assistant
  • Create Thread - Start a new conversation
  • Get Thread - Retrieve thread messages

Text Analysis Actions

  • Classify Text - Categorize text into predefined categories
  • Analyze Sentiment - Detect sentiment and emotions
  • Summarize Text - Generate concise summaries
  • Translate Text - Translate between 20+ languages
  • Detect Language - Identify text language
  • Extract Entities - Find people, places, organizations, etc.
  • Extract Keywords - Pull out important terms
  • Detect Intent - Understand user intentions
  • Question & Answer - Answer questions from context
  • Rewrite Text - Transform text style (professional, casual, etc.)
  • Check Guardrails - Validate content against safety rules

AI/ML Actions

  • Generate Embeddings - Create vector embeddings for semantic search
  • Compute Similarity - Calculate text similarity scores

Image Actions

  • Analyze Image - Use AI vision to understand images
  • Generate Image - Create images with DALL-E

Audio Actions

  • Generate Audio (TTS) - Convert text to speech
  • Transcribe Audio - Convert speech to text with Whisper

Triggers

  • New Message - Trigger on new assistant messages
  • Webhook - Receive AgenTool webhook events

Installation

Option 1: Docker (Recommended)

The pieces are automatically available when running Activepieces with the AgenTool docker-compose:

docker-compose -f docker-compose.activepieces.yml up -d

Option 2: Manual Installation

  1. Clone this repository into your Activepieces pieces directory:
cd /path/to/activepieces/packages/pieces/custom
git clone https://github.com/agentool/pieces-agentool agentool
  1. Install dependencies:
cd agentool
npm install
  1. Build the pieces:
npm run build
  1. Add to Activepieces environment:
AP_DEV_PIECES=@activepieces/piece-agentool

Authentication

Embedded Mode (Recommended)

When running Activepieces as part of AgenTool, authentication is automatic via environment variables:

  • AGENTOOL_API_URL - AgenTool API endpoint
  • AGENTOOL_API_KEY - API key (auto-generated)
  • TENANT_NUMBER - Multi-tenant identifier

Standalone Mode

Enter your AgenTool API key when connecting the piece:

  1. Go to AgenTool → Settings → API Keys
  2. Generate a new key
  3. Paste it in the Activepieces connection dialog

Usage Examples

Example 1: Customer Support Classification

Trigger: Webhook (email received)
   ↓
Action: Classify Text
   - Categories: ["billing", "technical", "general", "urgent"]
   ↓
Action: Chat with Assistant
   - Use classification to route to appropriate assistant

Example 2: Content Translation Pipeline

Trigger: New content posted
   ↓
Action: Detect Language
   ↓
Action: Translate Text
   - Target: English, Spanish, French
   ↓
Action: Summarize Text
   - Style: Brief

Example 3: Image Analysis Workflow

Trigger: Image uploaded
   ↓
Action: Analyze Image
   - Get description and labels
   ↓
Action: Generate Embeddings
   - Create searchable vector
   ↓
Action: Chat with Assistant
   - Provide context for customer queries

Development

Building

npm run build

Watching for changes

npm run watch

Project Structure

pieces-agentool/
├── src/
│   ├── index.ts                 # Main piece definition
│   └── lib/
│       ├── common/
│       │   └── client.ts        # AgenTool API client
│       ├── actions/
│       │   ├── chat.ts
│       │   ├── classify.ts
│       │   ├── sentiment.ts
│       │   └── ...
│       └── triggers/
│           ├── new-message.ts
│           └── webhook.ts
├── package.json
├── tsconfig.json
└── README.md

API Reference

All actions use the AgenTool REST API. See the AgenTool API Documentation for full details.

Support

  • Documentation: https://agentool.org/docs
  • Issues: https://github.com/agentool/pieces-agentool/issues
  • Email: [email protected]

License

MIT License - see LICENSE file for details.