文章目录

lark-cli is the official command-line interface for Lark (Feishu), developed and actively maintained by the larksuite team. Released in March 2026, it brings the full power of the Lark/Feishu platform to your terminal — covering 17 business domains with 200+ curated commands and 24 built-in AI Agent Skills. Whether you are a developer automating workflows, an AI agent operating on behalf of a user, or a power user who prefers the keyboard over the mouse, lark-cli delivers a structured, reliable way to interact with Lark ecosystem without leaving your terminal.

  • Agent-Native Design — 24 structured Skills out of the box, compatible with popular AI agent frameworks (OpenClaw, Hermes, and more). AI agents can operate Lark with zero extra setup, making it a natural fit for the agentic AI era.
  • Three-Layer Command Architecture — Shortcuts (human and AI friendly) to API Commands (platform-synced) to Raw API (full coverage). Choose the right level of granularity for your use case.
  • 17 Business Domains, 200+ Commands — Messenger, Docs, Base, Sheets, Slides, Calendar, Mail, Tasks, Meetings, Wiki, Contact, Drive, Whiteboard, and more — all accessible from a single CLI.
  • Zero-Barrier Setup — One-click app creation, interactive login, and from install to first API call in just 3 steps. MIT licensed, available via npm.
  • Security-First — Input injection protection, terminal output sanitization, and OS-native keychain credential storage keep your data safe.

Here are some of the most active English discussions from the lark-cli community:

"feat(event): add event subscription and consume system — built for AI-agent subprocess ergonomics."

PR #615 adds a new event top-level command with a cross-platform IPC-backed event bus, supporting event list, event schema, event consume, event status, and event stop. The bus daemon uses Unix Sockets on macOS/Linux and Named Pipes on Windows, with automatic orphan-bus detection and cleanup. This enables AI agents to subscribe to real-time Lark events (IM messages, reactions, chat member changes) and react to them asynchronously. (5 comments)

"feat: Add whiteboard +query shortcut and enhance +update with Mermaid/PlantUML support."

This PR introduces a dedicated whiteboard business domain, splitting whiteboard functionality from the docs domain. The enhancement enables AI agents to query and update whiteboards with visual diagram rendering via Mermaid and PlantUML syntax — a major usability boost for visual thinking and documentation workflows. (5 comments)

"feat(config): add config bind for per-Agent credential isolation."

PR #515 adds lark-cli config bind so AI Agents (OpenClaw / Hermes) can import their Feishu credentials into an isolated lark-cli workspace in a single command — no manual appId/appSecret copying, no touching the developer local config. This is critical for multi-tenant agent deployments where credential isolation is non-negotiable. (4 comments)

lark-cli is a rapidly evolving, officially-backed CLI tool that bridges the gap between the Lark/Feishu enterprise platform and modern developer tooling. Its agent-native architecture, comprehensive coverage of Lark business domains, and active community (200+ open issues, weekly releases) make it a standout choice for anyone building automation around Lark/Feishu. If you are running AI agents, automating business workflows, or simply prefer the terminal, lark-cli deserves a spot in your toolbox.


GitHub: @larksuite/cli  |  License: MIT  |  Requirements: Go >= 1.23