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-agentmesh

v0.11.0

Published

n8n community node for AgentMesh - Search Reddit posts via async task processing

Downloads

295

Readme

n8n-nodes-agentmesh

This is an n8n community node that integrates with the AgentMesh API for Reddit automation via async task processing.

Features

  • Search Reddit posts by query keywords
  • Get comments from a specific Reddit post
  • Reply to a Reddit post or a specific comment
  • Create new Reddit posts (support draft and optional flair text)
  • Async task processing with automatic polling

Supported Resource and Operations

Resource

  • Post

Operations

  • Search
  • Get Post & Comments
  • Reply
  • Create

Installation

Community Node (Recommended)

  1. Go to Settings > Community Nodes in your n8n instance
  2. Select Install a community node
  3. Enter n8n-nodes-agentmesh
  4. Agree to the risks and click Install

Manual Installation

cd ~/.n8n/custom
npm install n8n-nodes-agentmesh

Or link locally for development:

cd /path/to/n8n-nodes-agentmesh
npm install
npm run build
npm link

cd ~/.n8n
npm link n8n-nodes-agentmesh

Then restart n8n.

Credentials

You need to configure an AgentMesh API credential with:

| Field | Description | Default | |---|---|---| | API Key | Your AgentMesh API key (sk_xxx...) | — | | Base URL | The API server base URL | https://agentmesh.cc |

Operation Parameters

Search

| Parameter | Type | Required | Default | Description | |---|---|---|---|---| | Sort Type | Options | Yes | hot | Sort order: Best, Hot, New, Top, Rising | | Query | String | No | — | Search keyword (for example AI Agents) | | Subreddit | String | No | all | Target subreddit. Use all for global search | | Limit | Number | No | 10 | Max results to return (1-100) |

Get Post & Comments

| Parameter | Type | Required | Default | Description | |---|---|---|---|---| | Post URL | String | Yes | — | URL of the Reddit post | | Limit | Number | No | 10 | Max comments to return (1-100) |

Reply

| Parameter | Type | Required | Default | Description | |---|---|---|---|---| | Post URL | String | Yes | — | URL of the Reddit post to reply to | | Reply Text | String | Yes | — | Reply content | | Parent Comment ID | String | No | — | Reply to this comment ID if provided; empty means reply to the post |

Create

| Parameter | Type | Required | Default | Description | |---|---|---|---|---| | Subreddit | String | Yes | — | Target subreddit | | Title | String | Yes | — | Post title | | Text | String | No | "" | Post body text | | Flair Text | String | No | "" | Optional flair text | | Draft | Boolean | No | false | Save as draft instead of publishing immediately |

How It Works

The node uses an async task pattern:

  1. Create Task - Sends POST /api/v1/tasks with operation-specific task_type
  2. Poll Result - Polls GET /api/v1/tasks/{taskId} every 2 seconds (up to 30 attempts, about 60s timeout)
  3. Return Output - Returns operation results and _meta data

Task type mapping:

  • Search -> search_posts
  • Get Post & Comments -> crawl_post_comments
  • Reply -> reply_to_post
  • Create -> create_post

Output

Search / Get Post & Comments

When result.items is returned, each item becomes one n8n output item, with _meta attached.

Reply / Create

Returns a single output item containing:

  • task_id
  • status
  • result
  • _meta (operation-specific metadata)

Project Structure

n8n-nodes-agentmesh/
├── credentials/
│   └── AgentMeshApi.credentials.ts
├── nodes/
│   └── AgentMesh/
│       └── AgentMesh.node.ts
├── package.json
├── tsconfig.json
└── README.md

Development

# Install dependencies
npm install

# Build
npm run build

# Watch mode
npm run build:watch

License

MIT

Author

shwanShare