Builderoom

September 28, 2026

Install

The official Lark/Feishu CLI tool, offering 200+ commands across core business domains for both humans and AI agents.

MIT
安装命令(说明)bash
```bash
npx @larksuite/cli@latest install
```
最小用法bash
```bash
# 初始化配置
lark-cli config init

# 登录
lark-cli auth login --recommend

# 查看日历
lark-cli calendar +agenda
```

Product facts

Type
CLI / Terminal
Category
AI & Machine Learning › AI Agents
Pricing
Open source
License
MIT
Launched
Sep 28, 2026
Listed
Sep 28, 2026
Website
github.com

Overview

GitHubGitHub

Introduction

lark-cli is the official Lark/Feishu command-line interface (CLI) maintained by the larksuite team. Written in Go and open-sourced under the MIT license, it is designed for both human developers and AI agents. It covers 18 core business domains—including Messenger, Docs, Base, Sheets, Calendar, Mail, Tasks, and Meetings—providing over 200 commands and 26 AI Agent Skills.

Key Capabilities

  • Agent-Native Design: Includes 24 built-in structured Skills compatible with mainstream AI tools, allowing agents to operate Lark without extra configuration.
  • Three-Layer Command Architecture: Consists of Shortcuts (for humans and AI), API Commands (synced with the platform), and Raw API (full coverage), letting users choose the appropriate level of granularity.
  • AI-Friendly Optimization: Every command is tested with real agents, featuring streamlined parameters, smart defaults, and structured output to improve agent invocation success rates.
  • Secure and Controllable: Supports input injection protection, terminal output sanitization, and OS-native keychain credential storage.

Supported Business Domains

lark-cli supports a wide range of operations, including but not limited to:

  • Calendar & Meetings: View, create, and update events; find meeting rooms; search past meetings and analyze transcripts.
  • Messaging & Mail: Send/reply to messages, manage group chats, browse, search, and send emails, and manage drafts.
  • Docs & Drive: Create, read, write, and search documents; upload and download files; manage wiki nodes.
  • Base & Sheets: Manage tables, fields, records, views, and dashboards; read, write, and export spreadsheet data.
  • Tasks & Approval: Create, query, and complete tasks; query and handle approval workflows.
  • Others: Contact search, attendance queries, OKR management, Markdown file operations, and app management.

Who Is It For?

  • Individual Developers: Use it directly in the terminal or integrate Lark capabilities with your own AI agents.
  • Enterprise IT / ISVs: Embed lark-cli into your own agents or platforms using the extension/ package to build wrappers. This enables centralized credential management, unified audit logs, and restricted command sets without modifying the CLI source code.

Installation & Usage

Requires Node.js (npm/npx). Building from source also requires Go v1.23+ and Python 3. One-click installation via npm is recommended, followed by an interactive guide to configure app credentials and log in before making calls.

Key features

  • Agent-Native Design: 24 built-in structured Skills compatible with mainstream AI tools, enabling zero-config Lark operations for agents.
  • Three-Layer Command Architecture: Offers Shortcuts, API Commands, and Raw API layers so you can choose the right invocation granularity.
  • Broad Business Coverage: Spans 18 business domains with 200+ commands and 26 AI Agent Skills.
  • AI-Friendly Optimization: Commands are tested with real agents, featuring streamlined parameters, smart defaults, and structured output.
  • Security & Credential Management: Supports input injection protection, terminal output sanitization, and OS-native keychain storage.
  • Calendar & Meeting Management: Create and update events, find meeting rooms, search meetings, and analyze transcripts.
  • Messaging & Mail Operations: Send and reply to messages, manage group chats, browse and search emails, and manage drafts.
  • Docs & Drive Management: Create, read, write, and search documents; upload and download files; manage wiki spaces and nodes.
  • Spreadsheet Data Processing: Manage Base tables, fields, records, and views; read, write, and export Sheets data.
  • Task & Approval Workflows: Create, query, and complete tasks; approve, reject, or transfer approval requests.
  • Enterprise Embedding Support: Embed the CLI into your platform via the extension package, supporting centralized credentials and audit logs.
  • Markdown File Operations: Create, fetch, modify, and overwrite native .md files on Drive.

Releases

Notify me

Initial · lark-cli

Q&A

What is lark-cli?AI-generated
lark-cli is the official Lark/Feishu CLI maintained by the larksuite team, written in Go and open-sourced under the MIT license. It provides over 200 commands covering 18 core business domains for both humans and AI agents.
What environment is required to install lark-cli?AI-generated
Node.js (npm/npx) is required. If you choose to build from source, Go v1.23+ and Python 3 are also needed.
How do I install lark-cli?AI-generated
Installation via npm is recommended—just run `npx @larksuite/cli@latest install`. Alternatively, clone the repository and build from source using `make install`.
How do I configure and use it after installation?AI-generated
First, run `lark-cli config init` for interactive credential setup, then run `lark-cli auth login --recommend` to log in. After that, you can use commands like `lark-cli calendar +agenda`.
How can AI agents use lark-cli?AI-generated
AI agents can run `lark-cli config init --new` and `lark-cli auth login --recommend` in the background, extract the authorization URL for the user to complete in a browser, and finally verify with `lark-cli auth status`.
What is the three-layer command architecture?AI-generated
The three layers are: Shortcuts (human- and AI-friendly quick commands), API Commands (API commands synced with the platform), and Raw API (full-coverage raw APIs). Users can pick the appropriate granularity based on their needs.
How can enterprises embed lark-cli into their own platforms?AI-generated
Enterprise IT teams or ISVs can consult the documentation and use the packages under the `extension/` directory to build a wrapper main for extension. This enables centralized credential management and unified audit logs without modifying the CLI source code.
Which business domains does lark-cli support?AI-generated
It supports 18 domains: Calendar, Messenger, Docs, Drive, Markdown, Base, Sheets, Slides, Tasks, Wiki, Contact, Mail, Meetings, Attendance, Approval, OKR, Project, and Apps.
How is the security of lark-cli ensured?AI-generated
lark-cli provides input injection protection and terminal output sanitization, and uses the OS-native keychain to store credentials.
More
Install
Bookmark

This product has no owner yet

It was listed by the platform or its author left. If it is your work, prove your relationship to become the owner.

Claim this product

The product content on this page was translated by AI from the author's original.