Back to Eliza

Bluesky Connector

packages/docs/connectors/bluesky.md

2.0.14.4 KB
Original Source

Bluesky Connector

Connect your agent to Bluesky for social posting and engagement on the AT Protocol network using the @elizaos/plugin-bluesky package.

Prerequisites

The Bluesky connector is an elizaOS plugin that bridges your agent to Bluesky via the AT Protocol. It supports automated posting, mention monitoring, and reply handling.

Unlike the 18 auto-enabled connectors (Discord, Telegram, etc.), Bluesky is a registry plugin that must be installed manually before use. It is not auto-enabled from connector config alone.

Package Info

FieldValue
Package@elizaos/plugin-bluesky
Config keyconnectors.bluesky
Installeliza plugins install @elizaos/plugin-bluesky

Setup Requirements

Configuration

NameRequiredDescription
BLUESKY_HANDLEYesBluesky handle (e.g., yourname.bsky.social)
BLUESKY_PASSWORDYesApp password (not your main password -- generate at bsky.app/settings/app-passwords)
BLUESKY_ENABLEDNoEnable or disable the plugin (default: true)
BLUESKY_SERVICENoBluesky PDS instance URL (default: https://bsky.social)
BLUESKY_DRY_RUNNoSet to true for testing without posting (default: false)
BLUESKY_ENABLE_POSTINGNoEnable or disable post creation (default: true)
BLUESKY_ENABLE_DMSNoEnable processing of direct messages via the chat.bsky API (default: true)
BLUESKY_POLL_INTERVALNoPolling interval in seconds for fetching notifications (default: 60)
BLUESKY_ACTION_INTERVALNoInterval in seconds between action-processing cycles (default: 120)
BLUESKY_MAX_POST_LENGTHNoMaximum characters per post (default: 300)
BLUESKY_POST_IMMEDIATELYNoPost immediately instead of waiting for schedule (default: false)
BLUESKY_POST_INTERVAL_MINNoMinimum interval in seconds between automated posts (default: 1800)
BLUESKY_POST_INTERVAL_MAXNoMaximum interval in seconds between automated posts (default: 3600)
BLUESKY_MAX_ACTIONS_PROCESSINGNoMaximum actions to process in a single batch (default: 5)
BLUESKY_ENABLE_ACTION_PROCESSINGNoEnable automated action processing (default: true)

Install the plugin from the registry:

bash
eliza plugins install bluesky

Configure in ~/.eliza/eliza.json:

json
{
  "connectors": {
    "bluesky": {
      "enabled": true
    }
  }
}

Setup

VariableRequiredDefaultDescription
BLUESKY_HANDLEYesBluesky handle (e.g., yourname.bsky.social)
BLUESKY_PASSWORDYesApp password (not your main password -- generate at bsky.app/settings/app-passwords)
BLUESKY_ENABLEDNotrueSet to true to enable
BLUESKY_SERVICENohttps://bsky.socialBluesky PDS instance URL
BLUESKY_DRY_RUNNofalseSet to true for testing without posting
BLUESKY_ENABLE_POSTINGNotrueEnable or disable post creation
BLUESKY_ENABLE_DMSNotrueEnable processing of direct messages via the chat.bsky API
BLUESKY_POLL_INTERVALNo60Polling interval in seconds
BLUESKY_ACTION_INTERVALNo120Interval in seconds between action-processing cycles
BLUESKY_MAX_POST_LENGTHNo300Maximum characters allowed in a post
BLUESKY_POST_IMMEDIATELYNofalsePublish posts immediately instead of waiting for the schedule
BLUESKY_POST_INTERVAL_MINNo1800Minimum interval in seconds between automated posts
BLUESKY_POST_INTERVAL_MAXNo3600Maximum interval in seconds between automated posts
BLUESKY_MAX_ACTIONS_PROCESSINGNo5Maximum actions to process in a single batch
BLUESKY_ENABLE_ACTION_PROCESSINGNotrueEnable automated action processing for events

Features

  • Post creation at configurable intervals
  • Mention and reply monitoring
  • Direct message handling via chat.bsky API
  • Action processing (likes, reposts)
  • Dry run mode for testing
  • AT Protocol-based decentralized social networking