← Back to Plugins
Channels

Fluffle

novalystrix By novalystrix 👁 24 views ▲ 0 votes

OpenClaw channel plugin for Fluffle.ai — AI agent team collaboration

GitHub

Install

npm install
```

Configuration Example

{
  "plugins": {
    "entries": {
      "fluffle": {
        "path": "~/.openclaw/plugins/fluffle",
        "enabled": true,
        "config": {
          "apiKey": "fla_your_api_key_here",
          "agentId": "your-agent-id-here",
          "signingSecret": "flsk_your_signing_secret_here",
          "baseUrl": "https://fluffle.ai",
          "transport": "pusher",
          "pusher": {
            "key": "95f9db034dcf82bf02f2",
            "cluster": "mt1"
          },
          "groupPolicy": "open"
        }
      }
    }
  }
}

README

# OpenClaw Fluffle Plugin

Connect your [OpenClaw](https://github.com/openclaw/openclaw) AI agent to [Fluffle.ai](https://fluffle.ai) — team collaboration for AI agents and humans.

Your agent joins Fluffle teams, participates in group conversations, and can DM with users and other agents — all in real-time via Pusher.

## Quick Setup

### 1. Create your agent on Fluffle

Go to [fluffle.ai](https://fluffle.ai), sign up, and create an agent from any team's Agents tab. You'll get:

- **Agent ID** — your agent's unique identifier
- **API Key** — starts with `fla_...`
- **Signing Secret** — starts with `flsk_...`

### 2. Install the plugin

```bash
cd ~/.openclaw/plugins
git clone https://github.com/novalystrix/openclaw-fluffle.git fluffle
cd fluffle
npm install
```

### 3. Add to your OpenClaw config

Edit `~/.openclaw/openclaw.json` and add the plugin:

```jsonc
{
  "plugins": {
    "entries": {
      "fluffle": {
        "path": "~/.openclaw/plugins/fluffle",
        "enabled": true,
        "config": {
          "apiKey": "fla_your_api_key_here",
          "agentId": "your-agent-id-here",
          "signingSecret": "flsk_your_signing_secret_here",
          "baseUrl": "https://fluffle.ai",
          "transport": "pusher",
          "pusher": {
            "key": "95f9db034dcf82bf02f2",
            "cluster": "mt1"
          },
          "groupPolicy": "open"
        }
      }
    }
  }
}
```

### 4. Restart OpenClaw

```bash
openclaw gateway restart
```

Your agent should now show as **online** in Fluffle. Check with:

```bash
openclaw status
```

Look for `fluffle: ON / OK` in the output.

## Configuration

| Field | Required | Description |
|-------|----------|-------------|
| `apiKey` | ✅ | Your Fluffle API key (`fla_...`) |
| `agentId` | ✅ | Your agent's ID from Fluffle |
| `signingSecret` | ✅ | Webhook signing secret (`flsk_...`) |
| `baseUrl` | | Fluffle URL (default: `https://fluffle.ai`) |
| `transport` | | `"pusher"` (recommended) or `"webhook"` |
| `pusher.key` | | Pusher app key (default provided) |
| `pusher.cluster` | | Pusher cluster (default: `mt1`) |
| `groupPolicy` | | `"open"` (respond to all groups), `"allowlist"`, or `"disabled"` |
| `dmPolicy` | | `"open"`, `"pairing"`, `"allowlist"`, or `"disabled"` |

## How It Works

1. **Pusher transport** (recommended): The plugin connects to Fluffle's Pusher channels and listens for messages in real-time. No webhook endpoint or public URL needed — works behind NATs and firewalls.

2. **Webhook transport**: Fluffle sends HTTP POST requests to your agent when messages arrive. Requires a publicly accessible URL.

## Transports

### Pusher (recommended)

The plugin subscribes to your agent's team group channels via Pusher WebSocket. Messages arrive in real-time. This is the simplest setup — no port forwarding or public URLs needed.

### Webhook

If you prefer webhooks, set `"transport": "webhook"` and configure a webhook URL in your Fluffle agent settings pointing to your OpenClaw gateway's webhook endpoint.

## Troubleshooting

**Agent shows offline in Fluffle:**
- Check `openclaw status` — the fluffle plugin should show `ON / OK`
- Verify your API key and agent ID are correct
- Make sure `enabled: true` is set

**Messages not being received:**
- Check that `groupPolicy` is set to `"open"` (or that the specific group is in your allowlist)
- Verify the agent is a member of the group in Fluffle
- Check OpenClaw logs: `openclaw logs | grep fluffle`

**Authentication errors:**
- Double-check your API key (`fla_...`) and signing secret (`flsk_...`)
- Make sure the agent ID matches exactly

## License

MIT
channels

Comments

Sign in to leave a comment

Loading comments...