Skip to content
AstrBot
Main Navigation HomeBlogRoadmapHTTP API

English

简体中文

English

简体中文

Toggle dark mode

Intro & DeployMessaging PlatformsAI IntegrationUsageDevelopment
Sidebar Navigation

Introduction

What is AstrBot

Community

FAQ

Deployment

Package Manager

One-click Launcher

Docker

Kubernetes

BT Panel

1Panel

Manual

Other Deployments

CasaOS

Compshare GPU

Community-provided Deployment

Support Us

Messaging Platforms

Quick Start

QQ Official Bot

Websockets

Webhook

OneBot v11

WeCom Application

WeCom AI Bot

WeChat Official Account

Personal WeChat

Lark

DingTalk

Telegram

LINE

Slack

Mattermost

Misskey

Discord

Satori

Connect Satori

Using server-satori

Community-provided

Matrix

KOOK

VoceChat

AI Integration

✨ Model Providers

NewAPI

AIHubMix

PPIO Cloud

SiliconFlow

TokenPony

302.AI

Ollama

LMStudio

⚙️ Agent Runners

Built-in Agent Runner

Dify

Coze

Alibaba Bailian

DeerFlow

Usage

WebUI

Plugins

Built-in Commands

Tool Use

Anthropic Skills

Computer Use

SubAgent Orchestration

Proactive Tasks

MCP

Web Search

Knowledge Base

Custom Rules

Agent Runner

Unified Webhook Mode

Auto Context Compression

Agent Sandbox

Development

Plugin Development

🌠 Getting Started

Minimal Example

Listen to Message Events

Send Messages

Plugin Configuration

AI

Storage

HTML to Image

Session Control

Publish Plugin

Platform Adapter Integration

AstrBot HTTP API

AstrBot Configuration File

Others

Self-hosted HTML to Image

Open Source Summer

OSPP 2025

On this page

Web Search ​

The web search feature gives large language models internet retrieval capability for recent information, which can improve response accuracy and reduce hallucinations to some extent.

AstrBot's built-in web search functionality relies on the large language model's function calling capability. If you're not familiar with function calling, please refer to: Function Calling.

When using a large language model that supports function calling with the web search feature enabled, you can try saying:

  • Help me search for xxx
  • Help me summarize this link: https://soulter.top
  • Look up xxx
  • Recent xxxx

And other prompts with search intent to trigger the model to invoke the search tool.

AstrBot currently supports 4 web search providers: Tavily, BoCha, Baidu AI Search, and Brave.

image

Go to Configuration, scroll down to find Web Search, where you can select Tavily, BoCha, Baidu AI Search, or Brave.

Tavily ​

Go to Tavily to get an API Key, then fill it in the corresponding configuration item.

BoCha ​

Get an API Key from the BoCha platform, then fill it in the corresponding configuration item.

Baidu AI Search ​

Get an API Key from Baidu Qianfan APP Builder, then fill it in the corresponding configuration item.

Brave ​

Get an API Key from Brave Search, then fill it in the corresponding configuration item.

If you use Tavily as your web search source, you will get a better experience optimization on AstrBot ChatUI, including citation source display and more:

Edit this page on GitHub

Last updated:

Pager
PreviousMCP
NextKnowledge Base

Deployed on Rainyun Logo