packages/docs/plugin-registry/platform/feishu.md
The Feishu plugin connects Eliza agents to Feishu (known as Lark outside China), enabling bot interactions in direct messages and group chats.
Package: @elizaos/plugin-feishu
eliza plugins install @elizaos/plugin-feishu
Go to the Feishu Open Platform (or Lark Developer for global) and create a Custom App.
Under your app settings, enable the Bot capability and configure event subscriptions.
{
"env": {
"FEISHU_APP_ID": "cli_your_app_id",
"FEISHU_APP_SECRET": "your_app_secret"
},
"connectors": {
"feishu": {
"enabled": true
}
}
}
| Variable | Required | Default | Description |
|---|---|---|---|
FEISHU_APP_ID | Yes | — | Application ID (cli_xxx format) |
FEISHU_APP_SECRET | Yes | — | Application secret |
FEISHU_DOMAIN | No | feishu | Domain: feishu for China, lark for global |
FEISHU_ALLOWED_CHATS | No | — | JSON array of authorized chat IDs |
FEISHU_TEST_CHAT_ID | No | — | Chat ID for test suite validation |
feishu.cn) and global (larksuite.com) supportThe plugin auto-enables when the connectors.feishu block contains token, botToken, or apiKey. Environment variables alone (FEISHU_APP_ID / FEISHU_APP_SECRET) do not trigger auto-enable. Set "apiKey": "your_app_secret" in the connector config to trigger auto-enable, or add the plugin to plugins.allow explicitly.