AB
AiBoss
Tutorials

OpenClaw + Lark: A hands-on deployment tutorial for raising crayfish!

OpenClaw, a powerful and recently popular AI agent, has undoubtedly attracted many users eager to try it out. Developed by Austrian programmer Peter Steinberger, OpenClaw is an open-source, locally deployable AI...

OpenClaw +飞书保姆级部署教程,养小龙虾的最佳方式!

OpenClaw, as a recent...PopularofpowerfulintelligentbodyI believe many friends want to take advantage of the hype and experience it.

OpenClaw was developed by Austrian programmer Peter Steinberger.open sourceLocally deployable AI intelligentbodyAn assistant that can communicate via voice commandsautomaticIt can perform multiple tasks, including email processing and browser operations; it's a truly capable app. AI.

However, for ordinary people, the barrier to entry is indeed quite high—the steps are complicated, installation errors occur, and configurations are confusing…

So even though so many big names are optimistic about this lobster, many people still hesitate after learning more about it.

In this tutorial, I will guide you through the entire process of installing and setting up OpenClaw in the simplest terms, helping you avoid common pitfalls.

Before officially installing OpenClaw, you need to configure the basic environment and check if the prerequisites meet the requirements. (This installation demonstration uses a Windows system.)

  • Windows 10/11 

  • Node.js 22 and later

  • Package managers: npm, pnpm (Node.js usually comes with npm)

  • Able to access the international network

  • Git (not necessary, but can avoid some errors)

After ensuring that the requirements are met, we open the OpenClaw website and copy the installation instructions from the Quick Start section.

Command: iwr -useb https://openclaw.ai/install.ps1 | iex

Official website:https://openclaw.ai

Search for PowerShell in the Start menu (or click Windows PowerShell using Win key + x key), run it as administrator, type the command we just copied, and press Enter.

The image below shows that the installation has begun.

The next two options are to specify the default permission rules and select the boot mode. We chose the default for both.Yes"and"QuickStart"Options, just press the Enter key twice."

Select to useLarge ModelHere we use the domestic GLM system, also known as Z.AIYou can also switch to any option you want from the list.Large Model.

After selecting the appropriate authentication method, select "Enter Now". API Key.

Next, select the desired model; here we choose the default GLM-5 model.

Apart from Lark, all the software in the list is from overseas. We can choose Lark or skip the last option for now. Here, we choose Lark.

Choose the first option to install the Lark plugin.

Simply press Enter to confirm.

We'll leave for now. PowerShellIn your browser, navigate to the Lark Open Platform.

Official website:https://open.feishu.cn

Click on the developer backend in the upper right corner, then click on Create Enterprise Self-built Application, enter the application name and description, and create it.

After creating the robot, add it.

Enable permissions or import permissions in batches within the permission management system. Enable permissions for event subscriptions, contacts, messages and groups, cloud documents, and multidimensional tables as needed.

Then click "Create Version" at the top to publish the application.

Finally, click on the "Credentials and Basic Information" section, and enter the App Secret and App ID from the application credentials into PowerShell.

Keep the default "WebSocket" mode and simply press Enter. Then select either the domestic version of Lark or the international version.

Choose the second option. This will make the bot respond in all groups, but you must @the bot.

First, click the space bar to select the first item, then press Enter.

Select the second option to open the webpage version and wait for the OpenClaw webpage to open.automaticOpen it. We have now completed the OpenClaw setup.

Returning to the Lark Open Platform, click on Events and Callbacks on the left, and select "Use long connection to receive events" in the event configuration subscription method.

Add events below, select Messages and Groups, and add events freely.

Open Lark, click "Open Application" in the developer assistant, test if OpenClaw is connected normally, and copy the instructions given by the robot to PowerShell to complete the process.

The existence of Skills is a major reason why OpenClaw is so powerful.

Skills are functional modules that enable OpenClaw to perform specific operations for complex tasks. The more Skills that can be invoked, the more powerful OpenClaw becomes.

OpenClaw comes pre-installed with many useful skills, which can be installed directly if needed. Integrating with chat software will also add additional software-related skills.

To add more skills, you can find them on Clawhub, an official plugin marketplace that has a huge collection of skills available for us to use.

https://clawhub.ai

Visit the official website and click the "Browse skills" option to view various skills.

Remember to install it before downloading. CLI In PowerShell, enter the following command, and you can then download Skills using PowerShell.

Command: npm i -g clawhub

Open the openclaw.json file in the installation directory, find the "tools" node, and change "messaging" to "full".

In Settings > Configuration, select "Tools" from the "Settings" list to enable it. Agent-to-Agent Enable the tool and click Save at the top to save the settings.

Once that's done, you can start adding the skills you need.

I'll give my friendsrecommendThe three skills are very helpful for using OpenClaw and finding skills. Note that you need to use a VPN to download the skills.

Skill Vetter

Skill Vetter can scan and review Skills that are about to be installed, helping us avoid malicious Skills containing viruses.

Copy the name of Skills from the URL.

Enter the following command in PowerShell and replace the content within the quotation marks with the actual name, then press Enter to install.

Command: clawhub install "xxx"

After confirming that the installation is complete, you need to restart the gateway for the Skills to take effect.

Command: openclaw gateway restart

Tavily Web Search

Tavily Web Search optimizes web search, giving Claw a good ability to search for information online.

Using this skill requires us to obtain the Tavilly API Key.

Official website:https://www.tavily.com

After completing the installation and restarting of the gateway, click the "Register/Login" button in the upper right corner.

Once completed, you will see a default API Key in the center of the redirected page. Using it is prone to errors, so we click the plus sign to the right of API Keys to create a new one.

Enter in the chat interfacePrompt wordsReplace the content with the previously created API Key.

Prompt wordsPlease configure the Tavily API Key for me: xxx; After configuration, please test if it works.

Once the test is successful, you can experience the feature and see the difference in ability between having and not having Skills.

Before adding Tavily Web Search, web pages could not be searched at all. After adding it, the main agent was able to.automaticUse Google Chrome to navigate to the 36Kr page to find news.

Prompt wordsSearch for recent tech news.

Discovered while waiting for the resultsautomaticA sub-agent is created. This is a mechanism established by OpenClaw to handle batch or concurrent tasks. Under this sub-agent, each result is sent back to the main agent in turn to help complete the task.

Find Skills

Find Skills helps users find and install skills; simply enter your purpose or keywords and it will find the right skills for you.

This step is shorter than the previous one; it doesn't require obtaining an API Key. After the installation is complete by entering the instructions, simply restart the gateway.

The same test was conducted by inputting the command.

After confirming the installation is complete, try letting it search for suitable skills to generate images.

Prompt wordsI'm looking for AI-generated image skills.

The main agent invoked Google Chrome to redirect to the Clawhub website, and then to the search page to search for Skills with "Image Generation" as the keyword.

Finally, a written summary was provided.recommendIt can also execute installation commands. In contrast, without Skills installed, commands cannot be run directly; only suggestions can be provided.

OpenClaw currently suffers from various security vulnerabilities, and its plugin community is a mixed bag. Before downloading any other skills, it's advisable to first download security-checking skills like Skill Vetter.

After comparing the two, it's clear that OpenClaw with Skills added is the one that truly shines.powerfulIts power!

If you don't have a spare computer, hererecommendSeveral mainstream cloud-based lobsters. You can also experience OpenClaw's features, and the installation is even more convenient.Simple~

Kimi Claw

Kimi Claw is a cloud-based product launched by Dark Side of the Moon.intelligentbody199 yuan/month, available through browser or app.One-clickCreated with 40GB of cloud storage and a Kimi K2.5 model.

Official website:https://kimi-claw.com

MaxClaw is a cloud-based application launched by MiniMax. AI Assistant, starting at 39 yuan/month, boasts a long-term memory of over 200,000 tokens and 50GB of cloud storage, powered by the MiniMax M2.5 model, and its use consumes points.

Official website:https://maxclaw.ai

CozeClaw

Coze recently launched.One-clickDeploying OpenClaw services is available directly with a 49 RMB membership, and options include Doubao 2.0, etc.PopularModel, and pre-setpracticalSkills set.

Official website:https://code.coze.cn

Alibaba Cloud

Alibaba Cloud OpenClaw is based on OpenClaw and Alibaba Cloud Bailian.Large Modelplatform AI intelligentbodySupport the 1000 Questions seriesLarge ModelIt provides a cloud server ECS quota of 300 yuan.freetry out.

Official website:https://cn.aliyun.com

After experiencing it in depth, I believe OpenClaw truly has the potential to become an integral part of our lives and work.intelligentassistant.

OpenClaw can be integrated with major chat software, handling all repetitive and mechanical tasks. OpenClaw can work proactively 24/7, receive instructions at any time, and has a persistent contextual memory that remembers everything it sees, multi-threaded concurrent processing capabilities, and a learning speed that allows it to master new skills instantly—each of these features completely surpasses human capabilities.

However, the more complex the instructions we issue and the more external tools OpenClaw calls, the more tokens will be consumed, resulting in an exponential surge.

To make this "lobster" both useful and inexpensive,recommendAfter deployment, please optimize the following points:

  • SimpleFor task usefreeLocal models or relatively inexpensiveopen sourceModel, complex logic flagship model;

  • Regularly have OpenClaw clean up or summarize short-term memory;

  • Build a local knowledge base index so that OpenClaw can search and read only the most relevant paragraphs when needed.

  • Using the large-value token special offers from various model vendors and cloud providers, the entry threshold is low, the token quantity is large, and the cost performance is very high.

After that, we can fully enjoy the benefits brought by this cyber lobster.

Leave all the time-consuming and laborious tasks to the tireless digital life, allowing us to unleash our precious energy for boundless creativity.

This is perhaps the ultimate technological romance that OpenClaw brings to each of us!

Original link:OpenClaw + Lark deployment tutorial: the best way to raise crayfish!