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

n8n-nodes-agentsgt

v1.0.4

Published

n8n node for interacting with AgentsGT AI agents via the v1 API

Readme

n8n-nodes-agentsgt

AgentsGT Logo

This is an n8n community node that allows you to integrate AgentsGT AI agents into your n8n workflows. With this node, you can leverage powerful AI agents to automate tasks, analyze data, generate content, and more.

n8n is a fair-code licensed workflow automation platform.

Installation
Configuration
Resources and Operations
Usage Examples
Troubleshooting
Resources
License

Installation

Community Nodes (Recommended)

  1. Open your n8n instance
  2. Go to Settings > Community Nodes
  3. Click Install a community node
  4. Enter n8n-nodes-agentsgt
  5. Click Install

Manual Installation

# Navigate to your n8n installation directory
cd /path/to/your/n8n

# Install the package
npm install n8n-nodes-agentsgt

# Restart n8n
npm restart

Configuration

API Credentials

Before using the AgentsGT node, you need to set up your API credentials:

  1. Log in to your AgentsGT dashboard
  2. Navigate to Account > API Keys
  3. Create a new API key pair
  4. Copy both the Public Key (starts with pk_) and Secret Key (starts with sk_)

Setting Up Credentials in n8n

  1. In n8n, go to Credentials
  2. Click Create New Credential
  3. Search for and select AgentsGT API
  4. Fill in the required fields:
    • Public Key: Your pk_ key
    • Secret Key: Your sk_ key
    • Base URL: https://agentsgt.com/api/v1 (default)
  5. Click Save

Resources and Operations

The AgentsGT node supports three main resources:

1. Agent Resource

Get Many

Retrieves all agents available in your organization.

Parameters:

  • None required

Output: Returns an array of agent objects with details such as ID, name, description, model information, etc.

2. Chat Resource

Send Message

Sends a message to an AI agent and returns the agent's response.

Parameters:

  • Agent ID: The ID of the agent to chat with
  • Message: The message to send to the agent
  • Session Identifier: Unique identifier for the conversation session
  • Chat Type: Type of chat interaction
    • Basic: Simple request/response chat
    • Advanced: Advanced chat with streaming support
    • CopilotKit: CopilotKit framework integration

Output: Returns the agent's response to your message.

3. Balance Resource

Check Balance

Verifies your organization's credit balance and subscription status.

Parameters:

  • Organization ID: (Optional) Specific organization ID for balance check
  • Agent ID: (Optional) Specific agent ID for agent-specific balance check

Output: Returns information about your account status, including organization ID, credit availability, and subscription status.

Usage Examples

Example 1: Basic Agent Interaction

This workflow demonstrates how to retrieve agents and chat with a specific agent:

  1. Start NodeAgentsGT: Get AgentsSet Variable (to store agent ID) → AgentsGT: Send MessageProcess Response

Configuration:

[AgentsGT: Get Agents]
Resource: Agent
Operation: Get Many

[Set Variable]
Name: agentId
Value: {{ $node["AgentsGT: Get Agents"].json.data[0].id }}

[AgentsGT: Send Message]
Resource: Chat
Operation: Send Message
Agent ID: {{ $vars.agentId }}
Message: Hello, can you help me analyze this data?
Session Identifier: workflow-{{$workflow.id}}-{{$execution.id}}
Chat Type: basic

Example 2: Data Analysis Workflow

This workflow uses an AI agent to analyze data from an HTTP request:

  1. HTTP RequestAgentsGT: Send MessageSend Email

Configuration:

[HTTP Request]
URL: https://api.example.com/data
Method: GET

[AgentsGT: Send Message]
Resource: Chat
Operation: Send Message
Agent ID: agent-data-analysis-123
Message: Please analyze this data and provide insights: {{ $json.body | json }}
Session Identifier: analysis-{{$execution.id}}
Chat Type: basic

[Send Email]
To: [email protected]
Subject: Data Analysis Results
Body: {{ $node["AgentsGT: Send Message"].json.response }}

Example 3: Content Generation Pipeline

This workflow generates content using an AI agent and posts it to a CMS:

  1. Schedule TriggerAgentsGT: Send MessageWordPress: Create Post

Configuration:

[Schedule Trigger]
Frequency: Weekly

[AgentsGT: Send Message]
Resource: Chat
Operation: Send Message
Agent ID: agent-content-creation-456
Message: Generate a blog post about the latest trends in AI technology
Session Identifier: content-{{$execution.id}}
Chat Type: basic

[WordPress: Create Post]
Title: AI Trends - Weekly Update
Content: {{ $node["AgentsGT: Send Message"].json.response }}
Status: publish

Troubleshooting

Common Issues and Solutions

  1. Authentication Errors (401)

    • Verify your API credentials are correct
    • Check if your API keys are active in the AgentsGT dashboard
  2. Payment Required Errors (402)

    • Verify your account has sufficient credits
    • Check your subscription status in the AgentsGT dashboard
  3. Not Found Errors (404)

    • Confirm the Agent ID exists and is accessible to your account
    • Verify the API endpoint URLs
  4. Rate Limit Errors (429)

    • Implement retry logic with exponential backoff
    • Reduce the frequency of API calls
  5. Server Errors (500)

    • Check the AgentsGT status page for service disruptions
    • Contact AgentsGT support if the issue persists

Debugging Tips

  • Enable "Continue on Fail" in node settings to prevent workflow failures
  • Use the "Debug" tab in n8n to inspect input/output data
  • Add Function nodes to log detailed information during execution

Resources

Support

License

MIT