praisonai

n8n community node for PraisonAI - Run AI agents with PraisonAI

Package Information

Released: 10 mo ago
Downloads: 7 weekly / 48 monthly
Latest Version: 0.2.4
Author: Mervin Praison

Documentation

n8n-nodes-praisonai

This is an n8n community node for PraisonAI. It lets you run AI agents with PraisonAI directly from your n8n workflows.

n8n is a fair-code licensed workflow automation platform.

PraisonAI is an AI agents framework that simplifies building and running multi-agent systems.

Installation

Follow the installation guide in the n8n community nodes documentation.

Quick Install

  1. Go to Settings > Community Nodes
  2. Click Install a community node
  3. Enter n8n-nodes-praisonai
  4. Click Install

Prerequisites

Before using this node, you need to:

  1. Install PraisonAI:

    pip install praisonai praisonaiagents
    
  2. Create an agents.yaml file:

    name: My Workflow
    
    agents:
      researcher:
        name: Researcher
        role: Research Specialist
        goal: Research topics thoroughly
        instructions: You are a research expert.
        llm: gpt-4o-mini
    
  3. Start the PraisonAI server:

    praisonai serve agents.yaml --port 8005
    

Operations

Run Agent

Execute a specific agent with a query.

Run Workflow

Execute the entire workflow with all agents sequentially.

List Agents

Get a list of all available agents from the PraisonAI server.

Credentials

This node requires PraisonAI API credentials:

Field Description
API URL URL of your PraisonAI server (default: http://localhost:8005)
OpenAI API Key Your OpenAI API key (optional if set on server)

Usage

Basic Example

  1. Add a PraisonAI node to your workflow
  2. Configure credentials with your API URL
  3. Select operation: Run Agent or Run Workflow
  4. Enter your query
  5. Execute the workflow

Chaining Agents

Connect multiple PraisonAI nodes to create complex workflows:

[Trigger] → [PraisonAI: Researcher] → [PraisonAI: Writer] → [PraisonAI: Editor]

Example Workflows

Ready-to-use workflow templates are available in the examples/ folder:

1. AI Research Workflow

Simple webhook-triggered research agent.

  • File: examples/ai-research-workflow.json
  • Use case: API endpoint for AI-powered research

2. Multi-Agent Content Pipeline

Chain multiple agents: Researcher → Writer → Editor

  • File: examples/multi-agent-content-pipeline.json
  • Use case: Automated content creation pipeline

3. Slack AI Assistant

Slack bot powered by PraisonAI agents.

  • File: examples/slack-ai-assistant.json
  • Use case: AI assistant in Slack channels

Import: Copy the JSON and paste into n8n (Ctrl+V on canvas)

Resources

Development

# Install dependencies
npm install

# Build
npm run build

# Run tests
npm test

# Lint
npm run lint

License

MIT

Discussion