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

@gravityai-dev/n8n-nodes-gravity

v0.2.60

Published

Gravity AI nodes for n8n with service bus integration

Readme

n8n-nodes-gravity

Official n8n nodes for Gravity AI - Build AI workflows with ease.

Features

  • 🤖 Multiple AI Models - Claude (via AWS Bedrock), OpenAI GPT-4, and more
  • 📡 Real-time Communication - Seamless integration with Gravity's event-driven architecture
  • 🔄 Streaming Support - Handle streaming responses from AI models
  • 🎯 Type-Safe - Full TypeScript support with comprehensive type definitions
  • 🔧 Easy Setup - Simple credential configuration

Installation

Community Nodes (Recommended)

  1. In n8n, go to Settings > Community Nodes
  2. Select Install
  3. Enter https://github.com/gravityai-dev/n8n-nodes-gravity
  4. Click Install

Manual Installation

npm install -g @gravityai-dev/n8n-nodes-gravity

Then restart n8n.

Quick Start

1. Configure Credentials

Add your Gravity API credentials:

  • Go to Credentials > New
  • Select Gravity API
  • Enter your server URL and API key
  • Save

2. Create Your First Workflow

  1. Add a Gravity Input node to receive messages
  2. Process with Gravity Claude or Gravity OpenAI
  3. Send responses with Gravity Output

Available Nodes

🎯 Gravity Input

Entry point for Gravity messages in your workflows.

Outputs:

  • chatId - Unique chat identifier
  • conversationId - Conversation thread ID
  • userId - User identifier
  • message - Incoming message text
  • metadata - Additional context

🤖 Gravity Claude

Process messages with Claude AI via AWS Bedrock.

Inputs:

  • message - Text to process
  • systemPrompt - System instructions
  • model - Claude model version
  • temperature - Response creativity (0-1)
  • maxTokens - Maximum response length

Outputs:

  • response - Claude's response
  • usage - Token usage statistics

🧠 Gravity OpenAI

Process messages with OpenAI's GPT models.

Inputs:

  • message - Text to process
  • systemPrompt - System instructions
  • model - GPT model version
  • temperature - Response creativity (0-1)

Outputs:

  • response - GPT's response
  • usage - Token usage statistics

📤 Gravity Output

Send responses back to Gravity.

Message Types:

  • text - Simple text response
  • json - Structured data
  • mdx - Rich markdown components
  • image - Image responses
  • tool - Tool/function outputs
  • action - Suggested actions

📊 Gravity Update

Send progress updates during processing.

Inputs:

  • message - Status message
  • progress - Progress percentage (0-100)
  • state - Current state

🔍 Gravity Embed

Generate embeddings for semantic search.

Inputs:

  • text - Text to embed
  • model - Embedding model

Outputs:

  • embedding - Vector representation
  • dimensions - Vector size

Example Workflows

Basic Chat Assistant

[Gravity Input] → [Gravity Claude] → [Gravity Output]

Multi-Model Comparison

[Gravity Input] → [Split]
                    ├→ [Gravity Claude] → [Merge]
                    └→ [Gravity OpenAI] → [Merge] → [Gravity Output]

Document Processing

[Gravity Input] → [Extract Text] → [Gravity Embed] → [Vector Store] → [Gravity Output]

AWS Bedrock Setup

To use Gravity Claude nodes:

  1. Create AWS credentials in n8n
  2. Ensure your AWS account has Bedrock access
  3. Enable Claude models in your region

Best Practices

  1. Error Handling: Always add error outputs to handle failures gracefully
  2. Progress Updates: Use Gravity Update nodes for long-running processes
  3. Metadata: Include relevant metadata in responses for better tracking
  4. Streaming: Enable streaming for better user experience with long responses

Support

License

MIT - See LICENSE file for details


Built with ❤️ by the Gravity AI Team