Baidu Intelligent Search for Openclaw

An integrated search and generation skill that combines real-time Baidu web results with LLM summarization to provide direct natural language answers.

jisuapi
v1.0.4
Apr 3, 2026
9
1.2k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install jisu-baiduai

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install jisu-baiduai using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Baidu Intelligent Search?

Baidu Intelligent Search is a powerful integration for Openclaw Skills based on the Baidu Qianfan Intelligent Search Generation API. Unlike standard search tools that only return a list of URLs, this skill performs an automated workflow of searching the live web and then using large language models like ERNIE to synthesize a comprehensive, natural language response. It is designed to bridge the gap between raw data retrieval and actionable insights.

By leveraging this skill, developers can provide their agents with the ability to summarize recent events, track news updates, and provide grounded conclusions without requiring the user to manually browse multiple search results. It serves as a robust Retrieval-Augmented Generation (RAG) solution for Chinese-language contexts and beyond.

Baidu Intelligent Search Use Cases

  • Summarizing the latest developments of specific news events or public incidents.
  • Generating comprehensive answers to complex natural language queries that require real-time web data.
  • Performing targeted searches within specific domains or websites (e.g., weather sites or news portals).
  • Validating real-time information like current fuel prices or exchange rates when paired with structured data APIs.

How Baidu Intelligent Search Works

  1. The user provides a natural language query and specifies a target model (e.g., ernie-4.5-turbo).
  2. The skill sends a POST request to the Baidu Qianfan API endpoint.
  3. Baidu performs a live web search based on the query, applying any specified filters like recency or site limitations.
  4. The integrated LLM analyzes the top search results to synthesize a coherent response.
  5. The skill returns a JSON object containing the synthesized content along with a list of references (URLs, titles, and dates) used to generate the answer.

Baidu Intelligent Search Setup

To use this within Openclaw Skills, you must configure your Baidu AppBuilder API Key as an environment variable.

# Linux / macOS
export BAIDU_API_KEY="your_appbuilder_api_key_here"

# Windows PowerShell
$env:BAIDU_API_KEY="your_appbuilder_api_key_here"

Ensure you have python3 installed and the script located at skills/baiduai/baiduai.py.

Baidu Intelligent Search Data Schema & Taxonomy

The skill organizes its requests and responses using a structured JSON format. Below is the primary schema for interaction:

Field Type Required Description
query string Yes The natural language question from the user.
model string Yes The specific model name (e.g., ernie-4.5-turbo-32k).
top_k int No Number of results to return per resource type.
search_recency_filter string No Time range filter: week, month, year.
site string No Restricts search to a specific domain.
enable_deep_search bool No Whether to enable deep search capabilities.
enable_reasoning bool No Whether to enable reasoning models (e.g., DeepSeek-R1).

Baidu Intelligent Search Advanced Features

  • Reasoning Model Support: Ability to combine thinking models like DeepSeek-R1 with execution models for complex logic.
  • Site-Specific Targeting: Restrict searches to high-authority domains for more reliable data synthesis.
  • Flexible Filtering: Control search recency (week/month/year) and resource types (web/image/video).
  • Raw Body Passthrough: Power users can bypass the wrapper and send a raw_body to access the full range of Baidu's API parameters.
  • Multi-Skill Synergy: Recommended for use alongside JisuAPI for high-precision structured data validation.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Requires
Bins python3
Github Stars: 0
forks: 0

Featured*