Skip to main content

Feishu/Lark plugin for elizaOS - Python implementation for bot integration

Project description

Feishu/Lark Plugin for ElizaOS (Python)

Python implementation of the Feishu/Lark plugin for elizaOS agents.

Installation

pip install elizaos-plugin-feishu

Usage

from elizaos_plugin_feishu import FeishuService, FeishuConfig

# Create configuration
config = FeishuConfig.from_env()

# Or create manually
config = FeishuConfig(
    app_id="cli_xxx",
    app_secret="your-app-secret",
    domain="feishu",  # or "lark" for global
)

# Create and start service
service = FeishuService(config)
await service.start()

# Send a message
await service.send_message(
    chat_id="oc_xxx",
    content=FeishuContent(text="Hello from ElizaOS!")
)

# Stop service
await service.stop()

Configuration

Environment variables:

  • FEISHU_APP_ID: Application ID (required)
  • FEISHU_APP_SECRET: Application secret (required)
  • FEISHU_DOMAIN: "feishu" or "lark" (default: "feishu")
  • FEISHU_ALLOWED_CHATS: JSON array of allowed chat IDs

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

elizaos_plugin_feishu-2.0.0a4.tar.gz (9.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

elizaos_plugin_feishu-2.0.0a4-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

Details for the file elizaos_plugin_feishu-2.0.0a4.tar.gz.

File metadata

  • Download URL: elizaos_plugin_feishu-2.0.0a4.tar.gz
  • Upload date:
  • Size: 9.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for elizaos_plugin_feishu-2.0.0a4.tar.gz
Algorithm Hash digest
SHA256 a5a3b724fe0b16ce8eae99dbc1e89a348bb242d081b575e775c95fd1bb29838c
MD5 f4327897e89da1ceab75231b334302b5
BLAKE2b-256 2fd789036a72800b497ca7ea78fb107f16061f123610a27e473fc10d68505392

See more details on using hashes here.

File details

Details for the file elizaos_plugin_feishu-2.0.0a4-py3-none-any.whl.

File metadata

File hashes

Hashes for elizaos_plugin_feishu-2.0.0a4-py3-none-any.whl
Algorithm Hash digest
SHA256 bfd45a7f35fe61ad0b9ffad28f22f2c77e6f9d0211a757c5dddc55dcd741815c
MD5 e63d7a2965da57eb4ac73e6f4d6c4492
BLAKE2b-256 900a0aafbbf0f1cd7c44f64e3ecfc449aa16d253980d876a0162167941933c2c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page