当前位置: 首页 > news >正文

AgenticSeek开源的完全本地的 Manus AI。无需 API,享受一个自主代理,它可以思考、浏览 Web 和编码,只需支付电费。

​一、软件介绍

文末提供程序和源码下载

       AgenticSeek开源的完全本地的 Manus AI。无需 API,享受一个自主代理,它可以思考、浏览 Web 和编码,只需支付电费。这款支持语音的 AI 助手是 Manus AI 的 100% 本地替代品 ,可自主浏览网页、编写代码和计划任务,同时将所有数据保留在您的设备上。它专为本地推理模型量身定制,完全在您的硬件上运行,确保完全隐私和零云依赖。

二、为什么选择 AgenticSeek?

  • 🔒 Fully Local & Private - Everything runs on your machine — no cloud, no data sharing. Your files, conversations, and searches stay private.
    🔒 完全本地和私有 - 一切都在您的机器上运行 - 没有云,没有数据共享。您的文件、对话和搜索将保持私密。

  • 🌐 Smart Web Browsing - AgenticSeek can browse the internet by itself — search, read, extract info, fill web form — all hands-free.
    🌐 智能网页浏览 - AgenticSeek 可以自行浏览互联网 - 搜索、阅读、提取信息、填写网页表格 - 所有这些都是免提的。

  • 💻 Autonomous Coding Assistant - Need code? It can write, debug, and run programs in Python, C, Go, Java, and more — all without supervision.
    💻 Autonomous Coding Assistant - 需要代码?它可以用 Python、C、Go、Java 等语言编写、调试和运行程序 — 所有这些都无需监督。

  • 🧠 Smart Agent Selection - You ask, it figures out the best agent for the job automatically. Like having a team of experts ready to help.
    🧠 智能代理选择 - 您询问,它会自动找出最适合该工作的代理。就像有一个随时准备提供帮助的专家团队。

  • 📋 Plans & Executes Complex Tasks - From trip planning to complex projects — it can split big tasks into steps and get things done using multiple AI agents.
    📋 计划并执行复杂的任务 - 从旅行计划到复杂的项目 - 它可以将大任务分成步骤,并使用多个 AI 代理完成工作。

  • 🎙️ Voice-Enabled - Clean, fast, futuristic voice and speech to text allowing you to talk to it like it's your personal AI from a sci-fi movie
    🎙️ 支持语音 - 干净、快速、未来主义的语音和语音到文本,让您可以像科幻电影中的个人 AI 一样与它交谈

三、Installation  安装

Make sure you have chrome driver, docker and python3.10 installed.
确保您已安装 chrome 驱动程序、docker 和 python3.10。

We highly advice you use exactly python3.10 for the setup. Dependencies error might happen otherwise.
我们强烈建议您完全使用 python3.10 进行设置。否则可能会发生依赖项错误。

For issues related to chrome driver, see the Chromedriver section.
有关 Chrome 驱动程序的问题,请参阅 Chromedriver 部分。

1️⃣ Clone the repository and setup
1️⃣ 克隆存储库并设置

git clone https://github.com/Fosowl/agenticSeek.git
cd agenticSeek
mv .env.example .env

2️ Create a virtual env
2️ 创建虚拟环境

python3 -m venv agentic_seek_env
source agentic_seek_env/bin/activate
# On Windows: agentic_seek_env\Scripts\activate

3️⃣ Install package
3️⃣ 安装软件包

Ensure Python, Docker and docker compose, and Google chrome are installed.
确保已安装 Python、Docker 和 docker compose 以及 Google Chrome。

We recommand Python 3.10.0.
建议使用 Python 3.10.0。

Automatic Installation (Recommanded):
自动安装 (推荐):

For Linux/Macos:  对于 Linux/Macos:

./install.sh

For windows:  对于 Windows:

./install.bat

Manually:  手动地:

Note: For any OS, ensure the ChromeDriver you install matches your installed Chrome version. Run google-chrome --version. See known issues if you have chrome >135
注意:对于任何作系统,请确保您安装的 ChromeDriver 与您安装的 Chrome 版本相匹配。运行 google-chrome --version。如果您使用的是 chrome >135,请参阅已知问题

  • Linux:  Linux 的:

Update Package List: sudo apt update
更新包列表:sudo apt update

Install Dependencies: sudo apt install -y alsa-utils portaudio19-dev python3-pyaudio libgtk-3-dev libnotify-dev libgconf-2-4 libnss3 libxss1
安装依赖项: sudo apt install -y alsa-utils portaudio19-dev python3-pyaudio libgtk-3-dev libnotify-dev libgconf-2-4 libnss3 libxss1

Install ChromeDriver matching your Chrome browser version: sudo apt install -y chromium-chromedriver
安装与您的 Chrome 浏览器版本匹配的 ChromeDriver: sudo apt install -y chromium-chromedriver

Install requirements: pip3 install -r requirements.txt
安装要求: pip3 install -r requirements.txt

  • Macos:  苹果科斯 

Update brew : brew update
Update brew : brew update (更新

Install chromedriver : brew install --cask chromedriver
安装 chromedriver : brew install --cask chromedriver

Install portaudio: brew install portaudio
安装 portaudio:brew install portaudio

Upgrade pip : python3 -m pip install --upgrade pip  升级 pip : python3 -m pip install --upgrade pip

Upgrade wheel : : pip3 install --upgrade setuptools wheel
升级轮 : : pip3 install --upgrade setuptools wheel

Install requirements: pip3 install -r requirements.txt
安装要求: pip3 install -r requirements.txt

  • Windows:  Windows (窗口 ):

Install pyreadline3 pip install pyreadline3
安装 pyreadline3 pip 安装 pyreadline3

Install portaudio manually (e.g., via vcpkg or prebuilt binaries) and then run: pip install pyaudio
手动安装 portaudio(例如,通过 vcpkg 或预构建的二进制文件),然后运行:pip install pyaudio

Download and install chromedriver manually from: https://sites.google.com/chromium.org/driver/getting-started
从以下位置手动下载并安装 chromedriver:https://sites.google.com/chromium.org/driver/getting-started

Place chromedriver in a directory included in your PATH.
将 chromedriver 放在 PATH 中包含的目录中。

Install requirements: pip3 install -r requirements.txt
安装要求: pip3 install -r requirements.txt



四、在计算机上本地运行 LLM 的设置

Hardware Requirements:  硬件要求:

To run LLMs locally, you'll need sufficient hardware. At a minimum, a GPU capable of running Qwen/Deepseek 14B is required. See the FAQ for detailed model/performance recommendations.
要在本地运行 LLM,您需要足够的硬件。至少需要能够运行 Qwen/Deepseek 14B 的 GPU。有关详细的型号/性能建议,请参阅 FAQ。

Setup your local provider
设置您的本地提供商

Start your local provider, for example with ollama:
启动您的本地提供商,例如 ollama:

ollama serve

See below for a list of local supported provider.
有关本地支持的提供商列表,请参阅下文。

Update the config.ini  更新 config.ini

Change the config.ini file to set the provider_name to a supported provider and provider_model to a LLM supported by your provider. We recommand reasoning model such as Qwen or Deepseek.
更改 config.ini 文件,将 provider_name 设置为支持的提供商,并将 provider_model 设置为提供商支持的 LLM。我们推荐 Qwen 或 Deepseek 等推理模型。

See the FAQ at the end of the README for required hardware.
请参阅 README 末尾的常见问题解答 ,了解所需的硬件。

[MAIN]
is_local = True # Whenever you are running locally or with remote provider.
provider_name = ollama # or lm-studio, openai, etc..
provider_model = deepseek-r1:14b # choose a model that fit your hardware
provider_server_address = 127.0.0.1:11434
agent_name = Jarvis # name of your AI
recover_last_session = True # whenever to recover the previous session
save_session = True # whenever to remember the current session
speak = True # text to speech
listen = False # Speech to text, only for CLI
work_dir =  /Users/mlg/Documents/workspace # The workspace for AgenticSeek.
jarvis_personality = False # Whenever to use a more "Jarvis" like personality (experimental)
languages = en zh # The list of languages, Text to speech will default to the first language on the list
[BROWSER]
headless_browser = True # Whenever to use headless browser, recommanded only if you use web interface.
stealth_mode = True # Use undetected selenium to reduce browser detection

Warning: Do NOT set provider_name to openai if using LM-studio for running LLMs. Set it to lm-studio.
警告: 如果使用 LM-studio 运行 LLM, 请不要将 provider_name 设置为 openai,将其设置为 lm-studio

Note: Some provider (eg: lm-studio) require you to have http:// in front of the IP. For example http://127.0.0.1:1234
注意:某些提供商(例如:lm-studio)要求您在 IP 前面有 http://。例如 http://127.0.0.1:1234

List of local providers  本地提供商列表

Provider  供应商Local?  当地?Description  描述
ollama  哦,羊驼Yes  是的Run LLMs locally with ease using ollama as a LLM provider
使用 ollama 作为 LLM 提供程序,轻松在本地运行 LLM
lm-studio  LM-工作室Yes  是的Run LLM locally with LM studio (set provider_name to lm-studio)
使用 LM studio 在本地运行 LLM(将 provider_name 设置为 lm-studio
openai  OpenAI 公司Yes  是的Use openai compatible API (eg: llama.cpp server)
使用兼容 openai 的 API(例如:llama.cpp 服务器)

Next step: Start services and run AgenticSeek
下一步: 启动服务并运行 AgenticSeek

See the Known issues section if you are having issues
如果您遇到问题,请参阅已知问题部分

See the Run with an API section if your hardware can't run deepseek locally
如果您的硬件无法在本地运行 deepseek ,请参阅使用 API 运行 部分

See the Config section for detailled config file explanation.
有关配置文件的详细解释,请参阅 Config 部分。


五、使用 API 运行的设置

Set the desired provider in the config.ini. See below for a list of API providers.
在 config.ini 中设置所需的提供程序。有关 API 提供程序的列表,请参阅下文。

[MAIN]
is_local = False
provider_name = google
provider_model = gemini-2.0-flash
provider_server_address = 127.0.0.1:5000 # doesn't matter

Warning: Make sure there is not trailing space in the config.
警告: 确保配置中没有尾随空格。

Export your API key: export <<PROVIDER>>_API_KEY="xxx"
导出您的 API 密钥: export <<PROVIDER>>_API_KEY="xxx"

Example: export TOGETHER_API_KEY="xxxxx"
示例:export TOGETHER_API_KEY=“xxxxx”

List of API providers  API 提供者列表

Provider  供应商Local?  当地?Description  描述
openai  OpenAI 公司Depends  取决于Use ChatGPT API  使用 ChatGPT API
deepseek  深度搜索No  不Deepseek API (non-private)
Deepseek API(非私有)
huggingface  拥抱脸No  不Hugging-Face API (non-private)
Hugging-Face API(非私有)
togetherAI  一起 AINo  不Use together AI API (non-private)
一起使用 AI API (非私有)
google  谷歌No  不Use google gemini API (non-private)
使用 google gemini API(非私有)

We advice against using gpt-4o or other closedAI models, performance are poor for web browsing and task planning.
我们建议不要使用 gpt-4o 或其他 closedAI 模型 ,因为 Web 浏览和任务规划的性能很差。

Please also note that coding/bash might fail with gemini, it seem to ignore our prompt for format to respect, which are optimized for deepseek r1.
另请注意,gemini 的 coding/bash 可能会失败,它似乎忽略了我们对 format to respect 的提示,它针对 deepseek r1 进行了优化。

Next step: Start services and run AgenticSeek
下一步: 启动服务并运行 AgenticSeek

See the Known issues section if you are having issues
如果您遇到问题,请参阅已知问题部分

See the Config section for detailled config file explanation.
有关配置文件的详细解释,请参阅 Config 部分。


Start services and Run  启动服务并运行

Activate your python env if needed.
如果需要,请激活您的 python env。

source agentic_seek_env/bin/activate

Start required services. This will start all services from the docker-compose.yml, including: - searxng - redis (required by searxng) - frontend
启动所需的服务。这将从 docker-compose.yml 启动所有服务,包括: - searxng - redis(searxng 需要)- 前端

sudo ./start_services.sh # MacOS
start ./start_services.cmd # Window

Options 1: Run with the CLI interface.
选项 1: 使用 CLI 界面运行。

python3 cli.py

We advice you set headless_browser to False in the config.ini for CLI mode.
我们建议您在 CLI 模式的 config.ini 中将 headless_browser 设置为 False。

Options 2: Run with the Web interface.
选项 2: 使用 Web 界面运行。

Start the backend.  启动后端。

python3 api.py

Go to http://localhost:3000/ and you should see the web interface.
转到 http://localhost:3000/ 您应该会看到 Web 界面。


Usage  用法

Make sure the services are up and running with ./start_services.sh and run the AgenticSeek with python3 cli.py for CLI mode or python3 api.py then go to localhost:3000 for web interface.
确保服务已启动并运行 ./start_services.sh,并使用 python3 cli.py 运行 AgenticSeek(用于 CLI 模式)或 python3 api.py 然后转到 localhost:3000 用于 Web 界面。

You can also use speech to text by setting listen = True in the config. Only for CLI mode.
您还可以通过在配置中设置 listen = True 来使用语音转文本。仅适用于 CLI 模式。

To exit, simply say/type goodbye.
要退出,只需说/键入 goodbye

Here are some example usage:
以下是一些示例用法:

Make a snake game in python!
用 python 制作贪吃蛇游戏!

Search the web for top cafes in Rennes, France, and save a list of three with their addresses in rennes_cafes.txt.
在网上搜索法国雷恩的顶级咖啡馆,并保存三家咖啡馆的列表以及它们在 rennes_cafes.txt 中的地址。

Write a Go program to calculate the factorial of a number, save it as factorial.go in your workspace
编写一个 Go 程序来计算一个数字的阶乘,在你的工作区中将其保存为 factorial.go

Search my summer_pictures folder for all JPG files, rename them with today’s date, and save a list of renamed files in photos_list.txt
在我的 summer_pictures 文件夹中搜索所有 JPG 文件,使用今天的日期重命名它们,并在 photos_list.txt 中保存重命名文件的列表

Search online for popular sci-fi movies from 2024 and pick three to watch tonight. Save the list in movie_night.txt.
在线搜索 2024 年的热门科幻电影,并选择今晚观看的三部。将列表保存在 movie_night.txt 中。

Search the web for the latest AI news articles from 2025, select three, and write a Python script to scrape their titles and summaries. Save the script as news_scraper.py and the summaries in ai_news.txt in /home/projects
在网上搜索 2025 年最新的 AI 新闻文章,选择三篇,然后编写一个 Python 脚本来抓取它们的标题和摘要。将脚本另存为 news_scraper.py 并将摘要保存在 /home/projects 中 ai_news.txt

Friday, search the web for a free stock price API, register with supersuper7434567@gmail.com then write a Python script to fetch using the API daily prices for Tesla, and save the results in stock_prices.csv
星期五,在 Web 上搜索免费的股票价格 API,注册 supersuper7434567@gmail.com,然后编写一个 Python 脚本以使用 API 获取特斯拉的每日价格,并将结果保存在 stock_prices.csv

Note that form filling capabilities are still experimental and might fail.
请注意,表单填写功能仍处于试验阶段,可能会失败。

After you type your query, AgenticSeek will allocate the best agent for the task.
键入查询后,AgenticSeek 将为任务分配最佳代理。

Because this is an early prototype, the agent routing system might not always allocate the right agent based on your query.
由于这是一个早期原型,因此代理路由系统可能并不总是根据您的查询分配正确的代理。

Therefore, you should be very explicit in what you want and how the AI might proceed for example if you want it to conduct a web search, do not say:
因此,您应该非常明确地说明您想要什么以及 AI 可能会如何进行,例如,如果您希望它进行网络搜索,请不要说:

Do you know some good countries for solo-travel?

Instead, ask:  相反,请询问:

Do a web search and find out which are the best country for solo-travel


Setup to run the LLM on your own server
设置以在您自己的服务器上运行 LLM

If you have a powerful computer or a server that you can use, but you want to use it from your laptop you have the options to run the LLM on a remote server using our custom llm server.
如果您有一台功能强大的计算机或可以使用的服务器,但您想在笔记本电脑上使用它,您可以选择使用我们的自定义 llm 服务器在远程服务器上运行 LLM。

On your "server" that will run the AI model, get the ip address
在将运行 AI 模型的 “服务器” 上,获取 IP 地址

ip a | grep "inet " | grep -v 127.0.0.1 | awk '{print $2}' | cut -d/ -f1 # local ip
curl https://ipinfo.io/ip # public ip

Note: For Windows or macOS, use ipconfig or ifconfig respectively to find the IP address.
注意:对于 Windows 或 macOS,请分别使用 ipconfig 或 ifconfig 查找 IP 地址。

Clone the repository and enter the server/folder.
克隆存储库并输入 server/folder。

git clone --depth 1 https://github.com/Fosowl/agenticSeek.git
cd agenticSeek/llm_server/

Install server specific requirements:
安装 Server 特定要求:

pip3 install -r requirements.txt

Run the server script.
运行 server 脚本。

python3 app.py --provider ollama --port 3333

You have the choice between using ollama and llamacpp as a LLM service.
您可以选择使用 ollama 和 llamacpp 作为 LLM 服务。

Now on your personal computer:
现在在您的个人计算机上:

Change the config.ini file to set the provider_name to server and provider_model to deepseek-r1:xxb. Set the provider_server_address to the ip address of the machine that will run the model.
更改 config.ini 文件,将 provider_name 设置为 server 将 provider_model 设置为 deepseek-r1:xxb。将 provider_server_address 设置为将运行模型的计算机的 IP 地址。

[MAIN]
is_local = False
provider_name = server
provider_model = deepseek-r1:70b
provider_server_address = x.x.x.x:3333

Next step: Start services and run AgenticSeek
下一步: 启动服务并运行 AgenticSeek


Speech to Text  语音到文本

Please note that currently speech to text only work in english.
请注意,目前语音转文本仅支持英语。

The speech-to-text functionality is disabled by default. To enable it, set the listen option to True in the config.ini file:
默认情况下,语音转文本功能处于禁用状态。要启用它,请在 config.ini 文件中将 listen 选项设置为 True:

<span style="background-color:var(--bgColor-muted, var(--color-canvas-subtle))"><span style="color:#1f2328"><span style="color:var(--fgColor-default, var(--color-fg-default))"><span style="background-color:var(--bgColor-muted, var(--color-canvas-subtle))"><code>listen = True
</code></span></span></span></span>

When enabled, the speech-to-text feature listens for a trigger keyword, which is the agent's name, before it begins processing your input. You can customize the agent's name by updating the agent_name value in the config.ini file:
启用后,语音转文本功能会在开始处理您的输入之前侦听触发器关键字,即代理的名称。您可以通过更新 config.ini 文件中的 agent_name 值来自定义代理的名称:

<span style="background-color:var(--bgColor-muted, var(--color-canvas-subtle))"><span style="color:#1f2328"><span style="color:var(--fgColor-default, var(--color-fg-default))"><span style="background-color:var(--bgColor-muted, var(--color-canvas-subtle))"><code>agent_name = Friday
</code></span></span></span></span>

For optimal recognition, we recommend using a common English name like "John" or "Emma" as the agent name
为了获得最佳识别效果,我们建议使用常见的英文名称,如“John”或“Emma”作为代理名称

Once you see the transcript start to appear, say the agent's name aloud to wake it up (e.g., "Friday").
看到转录文本开始出现后,大声说出代理的姓名以将其唤醒(例如,“星期五”)。

Speak your query clearly.
清楚地说出您的问题。

End your request with a confirmation phrase to signal the system to proceed. Examples of confirmation phrases include:
以确认短语结束您的请求,以指示系统继续。确认短语的示例包括:

<span style="background-color:var(--bgColor-muted, var(--color-canvas-subtle))"><span style="color:#1f2328"><span style="color:var(--fgColor-default, var(--color-fg-default))"><span style="background-color:var(--bgColor-muted, var(--color-canvas-subtle))"><code>"do it", "go ahead", "execute", "run", "start", "thanks", "would ya", "please", "okay?", "proceed", "continue", "go on", "do that", "go it", "do you understand?"
</code></span></span></span></span>

Config  配置

Example config:  示例配置:

<span style="background-color:var(--bgColor-muted, var(--color-canvas-subtle))"><span style="color:#1f2328"><span style="color:var(--fgColor-default, var(--color-fg-default))"><span style="background-color:var(--bgColor-muted, var(--color-canvas-subtle))"><code>[MAIN]
is_local = True
provider_name = ollama
provider_model = deepseek-r1:32b
provider_server_address = 127.0.0.1:11434
agent_name = Friday
recover_last_session = False
save_session = False
speak = False
listen = False
work_dir =  /Users/mlg/Documents/ai_folder
jarvis_personality = False
languages = en zh
[BROWSER]
headless_browser = False
stealth_mode = False
</code></span></span></span></span>

Explanation:  说明 

  • is_local -> Runs the agent locally (True) or on a remote server (False).
    is_local -> 在本地 (True) 或在远程服务器上运行代理 (False)。

  • provider_name -> The provider to use (one of: ollamaserverlm-studiodeepseek-api)
    provider_name -> 要使用的提供程序(以下之一:ollamaserverlm-studiodeepseek-api

  • provider_model -> The model used, e.g., deepseek-r1:32b.
    provider_model -> 使用的模型,例如 deepseek-r1:32b。

  • provider_server_address -> Server address, e.g., 127.0.0.1:11434 for local. Set to anything for non-local API.
    provider_server_address -> 服务器地址,例如,127.0.0.1:11434 表示本地。对于非本地 API,设置为 anything。

  • agent_name -> Name of the agent, e.g., Friday. Used as a trigger word for TTS.
    agent_name -> 代理的名称,例如 Friday。用作 TTS 的触发词。

  • recover_last_session -> Restarts from last session (True) or not (False).
    recover_last_session -> 从上一个会话重新开始 (True) 或不 (False)。

  • save_session -> Saves session data (True) or not (False).
    save_session -> 保存会话数据 (True) 或不保存 (False)。

  • speak -> Enables voice output (True) or not (False).
    speak -> 启用语音输出 (True) 或不启用 (False)。

  • listen -> listen to voice input (True) or not (False).
    listen -> 监听语音输入 (True) 或不监听 (False)。

  • work_dir -> Folder the AI will have access to. eg: /Users/user/Documents/.
    work_dir -> AI 将有权访问的文件夹。例如:/Users/user/Documents/。

  • jarvis_personality -> Uses a JARVIS-like personality (True) or not (False). This simply change the prompt file.
    jarvis_personality -> 使用类似 JARVIS 的个性 (True) 或不 (False)。这只是更改提示文件。

  • languages -> The list of supported language, needed for the llm router to work properly, avoid putting too many or too similar languages.
    languages -> llm 路由器正常工作所需的支持语言列表,避免放置太多或太相似的语言。

  • headless_browser -> Runs browser without a visible window (True) or not (False).
    headless_browser -> 在没有可见窗口 (True) 或不显示 (False) 的情况下运行浏览器。

  • stealth_mode -> Make bot detector time harder. Only downside is you have to manually install the anticaptcha extension.
    stealth_mode -> 使机器人检测器时间更难。唯一的缺点是您必须手动安装 anticaptcha 扩展。

  • languages -> List of supported languages. Required for agent routing system. The longer the languages list the more model will be downloaded.
    languages - > 支持的语言列表。代理路由系统是必需的。语言列表越长,下载的模型就越多。

Providers  供应商

The table below show the available providers:
下表显示了可用的提供商:

Provider  供应商Local?  当地?Description  描述
ollama  哦,羊驼Yes  是的Run LLMs locally with ease using ollama as a LLM provider
使用 ollama 作为 LLM 提供程序,轻松在本地运行 LLM
server  服务器Yes  是的Host the model on another machine, run your local machine
在另一台计算机上托管模型,运行本地计算机
lm-studio  LM-工作室Yes  是的Run LLM locally with LM studio (lm-studio)
使用 LM studio (lm-studio) 在本地运行 LLM
openai  OpenAI 公司Depends  取决于Use ChatGPT API (non-private) or openai compatible API
使用 ChatGPT API(非私有)或 openai 兼容 API
deepseek-api  深度搜索 APINo  不Deepseek API (non-private)
Deepseek API(非私有)
huggingface  拥抱脸No  不Hugging-Face API (non-private)
Hugging-Face API(非私有)
togetherAI  一起 AINo  不Use together AI API (non-private)
一起使用 AI API (非私有)
google  谷歌No  不Use google gemini API (non-private)
使用 google gemini API(非私有)

To select a provider change the config.ini:
要选择提供商,请更改 config.ini:

<span style="background-color:var(--bgColor-muted, var(--color-canvas-subtle))"><span style="color:#1f2328"><span style="color:var(--fgColor-default, var(--color-fg-default))"><span style="background-color:var(--bgColor-muted, var(--color-canvas-subtle))"><code>is_local = True
provider_name = ollama
provider_model = deepseek-r1:32b
provider_server_address = 127.0.0.1:5000
</code></span></span></span></span>

is_local: should be True for any locally running LLM, otherwise False.
is_local: 对于任何本地运行的 LLM,都应该为 True,否则为 False。

provider_name: Select the provider to use by it's name, see the provider list above.
provider_name:按名称选择要使用的提供商,请参阅上面的提供商列表。

provider_model: Set the model to use by the agent.
provider_model:设置代理要使用的模型。

provider_server_address: can be set to anything if you are not using the server provider.
provider_server_address:如果您不使用服务器提供程序,则可以设置为任何值。

Known issues  已知问题

Chromedriver Issues  Chromedriver 问题

Known error #1: chromedriver mismatch
已知错误 #1:chromedriver 不匹配

Exception: Failed to initialize browser: Message: session not created: This version of ChromeDriver only supports Chrome version 113 Current browser version is 134.0.6998.89 with binary path

This happen if there is a mismatch between your browser and chromedriver version.
如果您的浏览器和 chromedriver 版本不匹配,就会发生这种情况。

You need to navigate to download the latest version:
您需要导航以下载最新版本:

https://developer.chrome.com/docs/chromedriver/downloads

If you're using Chrome version 115 or newer go to:
如果您使用的是 Chrome 115 或更高版本,请转到:

Chrome for Testing availability

And download the chromedriver version matching your OS.
并下载与您的作系统匹配的 chromedriver 版本。


六、连接适配器问题

连接适配器问题

<span style="background-color:var(--bgColor-muted, var(--color-canvas-subtle))"><span style="color:#1f2328"><span style="color:var(--fgColor-default, var(--color-fg-default))"><span style="background-color:var(--bgColor-muted, var(--color-canvas-subtle))"><code>Exception: Provider lm-studio failed: HTTP request failed: No connection adapters were found for '127.0.0.1:11434/v1/chat/completions'
</code></span></span></span></span>

Make sure you have http:// in front of the provider IP address :
确保提供商 IP 地址前面有 http:// :

provider_server_address = http://127.0.0.1:11434

SearxNG base URL must be provided
必须提供 SearxNG 基本 URL

<span style="background-color:var(--bgColor-muted, var(--color-canvas-subtle))"><span style="color:#1f2328"><span style="color:var(--fgColor-default, var(--color-fg-default))"><span style="background-color:var(--bgColor-muted, var(--color-canvas-subtle))"><code>raise ValueError("SearxNG base URL must be provided either as an argument or via the SEARXNG_BASE_URL environment variable.")
ValueError: SearxNG base URL must be provided either as an argument or via the SEARXNG_BASE_URL environment variable.
</code></span></span></span></span>

Maybe you didn't move .env.example as .env ? You can also export SEARXNG_BASE_URL:
也许您没有将 .env.example 移动为 .env ?您还可以导出 SEARXNG_BASE_URL:

export SEARXNG_BASE_URL="http://127.0.0.1:8080"

FAQ  常见问题

Q: What hardware do I need?
Q: 我需要什么硬件?

Model Size  模型大小GPUComment  评论
7B8GB Vram  8GB 显存⚠️ Not recommended. Performance is poor, frequent hallucinations, and planner agents will likely fail.
⚠️ 不推荐。表现不佳,经常出现幻觉,规划师代理很可能会失败。
14B12 GB VRAM (e.g. RTX 3060)
12 GB VRAM(例如 RTX 3060)
✅ Usable for simple tasks. May struggle with web browsing and planning tasks.
✅ 可用于简单的任务。可能在 Web 浏览和规划任务方面遇到困难。
32B24+ GB VRAM (e.g. RTX 4090)
24+ GB VRAM(例如 RTX 4090)
🚀 Success with most tasks, might still struggle with task planning
🚀 成功完成大多数任务,可能仍然难以进行任务规划
70B+48+ GB Vram (eg. mac studio)
48+ GB 显存(例如 mac studio)
💪 Excellent. Recommended for advanced use cases.
💪 非常好。推荐用于高级使用案例。

Q: Why Deepseek R1 over other models?
Q: 为什么选择 Deepseek R1 而不是其他型号?

Deepseek R1 excels at reasoning and tool use for its size. We think it’s a solid fit for our needs other models work fine, but Deepseek is our primary pick.
Deepseek R1 在推理和工具使用方面表现出色。我们认为它非常适合我们的需求,其他模型运行良好,但 Deepseek 是我们的首选。

Q: I get an error running cli.py. What do I do?
问:我在运行 cli.py 时遇到错误。我该怎么办?

Ensure local is running (ollama serve), your config.ini matches your provider, and dependencies are installed. If none work feel free to raise an issue.
确保 local 正在运行 (ollama serve),您的 config.ini 与您的提供商匹配,并且已安装依赖项。如果没有工作,请随时提出问题。

Q: Can it really run 100% locally?
问:它真的可以 100% 在本地运行吗?

Yes with Ollama, lm-studio or server providers, all speech to text, LLM and text to speech model run locally. Non-local options (OpenAI or others API) are optional.
是的,对于 Ollama、lm-studio 或服务器提供商,所有语音转文本、LLM 和文本转语音模型都在本地运行。非本地选项(OpenAI 或其他 API)是可选的。

七、软件下载

夸克网盘分享

本文信息来源于GitHub作者地址:GitHub - Fosowl/agenticSeek: Fully Local Manus AI. No APIs, No $200 monthly bills. Enjoy an autonomous agent that thinks, browses the web, and code for the sole cost of electricity.

相关文章:

AgenticSeek开源的完全本地的 Manus AI。无需 API,享受一个自主代理,它可以思考、浏览 Web 和编码,只需支付电费。

​一、软件介绍 文末提供程序和源码下载 AgenticSeek开源的完全本地的 Manus AI。无需 API&#xff0c;享受一个自主代理&#xff0c;它可以思考、浏览 Web 和编码&#xff0c;只需支付电费。这款支持语音的 AI 助手是 Manus AI 的 100% 本地替代品 &#xff0c;可自主浏览网页…...

Java类一文分解:JavaBean,工具类,测试类的深度剖析

解锁Java类的神秘面纱&#xff1a;从JavaBean到测试类的深度剖析 前言一、JavaBean 类&#xff1a;数据的守护者&#xff08;一&#xff09;JavaBean 类是什么&#xff08;二&#xff09;JavaBean 类的特征&#xff08;三&#xff09;JavaBean 类的使用场景&#xff08;四&…...

2025认证杯数学建模第二阶段C题:化工厂生产流程的预测和控制,思路+模型+代码

2025认证杯数学建模第二阶段思路模型代码&#xff0c;详细内容见文末名片 一、探秘化工世界&#xff1a;问题背景大揭秘 在 2025 年 “认证杯”数学中国数学建模网络挑战赛第二阶段 C 题中&#xff0c;我们一头扎进了神秘又复杂的化工厂生产流程预测与控制领域。想象一下&…...

day 17 无监督学习之聚类算法

一、聚类流程 1. 利用聚类发现数据模式 无监督算法中的聚类&#xff0c;目的就是将数据点划分成不同的组或 “簇”&#xff0c;使得同一簇内的数据点相似度较高&#xff0c;而不同簇的数据点相似度较低&#xff0c;从而发现数据中隐藏的模式。 2. 对聚类后的类别特征进行可视…...

渗透测试流程-上篇

#作者&#xff1a;允砸儿 #日期&#xff1a;乙巳青蛇年 四月十八 本期就开始进入到网安的内容了笔者会和大家一起开始实操练习。在此之前笔者的老师和我说要知己知彼&#xff0c;胆大心细。笔者也把他的理念传出去&#xff0c;网安的知识比较复杂且使用的工具很多。笔者看过…...

Ubuntu离线安装Minio

MinIO 支持在 Linux 环境下离线安装&#xff0c;非常适合内网或无法联网的服务器环境。下面是详细的 Linux 离线安装 MinIO 服务端 的步骤&#xff1a; ✅ 一、准备工作 1. 创建安装目录&#xff08;可选&#xff09; mkdir -p /opt/minio cd /opt/minio2. 下载 MinIO 可执行…...

2025年山东省数学建模F题思路

2025年山东省数学建模F题思路 一、问题背景 在现代金融市场中&#xff0c;资产价格波动呈现出非线性、高噪声、强跨市场联动性等复杂动态特征。例如&#xff0c;2020年新冠疫情期间&#xff0c;美股数次熔断事件引发全球股市剧烈震荡&#xff1b;而2023年美元加息周期&#x…...

C++核心编程--3 函数提高

函数的一些高级用法。 3.1 函数形参默认值 C中&#xff0c;函数的形参可以有默认值&#xff0c;调用函数时&#xff0c;未进行赋值的形参会使用默认值 void func(int f_var1 10, int f_var2 20); // 声明 ​ void func(int f_var1, int f_var2) // 定义 {std::cout <&l…...

AI Agent开发第67课-彻底消除RAG知识库幻觉(1)-文档分块全技巧

开篇 在上篇《AI Agent开发第66课-彻底消除RAG知识库幻觉-带推理的RAG》放出后,网友们反响很大。有得告诉我:原来还有Rewrite这么一招?早知道这一招很多之前的一些遗留问题都能解决了。不过在上一篇结尾我已经提到了,要真正解决一个AI Agent在响应时产生的幻觉我们用提示语…...

c++多态面试题之(析构函数与虚函数)

有以下问题展开 析构函数要不要定义成虚函数&#xff1f;基类的析构函数要不要定义成虚函数&#xff1f;如果不定义会有什么问题&#xff0c;定义了在什么场景下起作用。 1. 基类析构函数何时必须定义为虚函数&#xff1f; 当且仅当通过基类指针&#xff08;或引用&#xff09;…...

buildroot使用外部编译链编译bluez蓝牙工具

buildroot使用外部编译链编译bluez蓝牙工具 主要参见这个csdn buildroot使用外部编译链编译bluez蓝牙工具_bluez编译-CSDN博客 设置交叉编译工具路径时&#xff0c;设置到bin目录之前 如果menuconfig不能改路径&#xff0c;就去 .config下去改 这样才能编译过...

自定义类型:结构体

1.结构体类型的声明 1.1.1结构的声明 struct tag {member-list; }variable-list; 描述一个学生&#xff1a;只包含了学生的名字、年龄、性别、学号 struct Stu {char name[20];//名字int age;//年龄char sex[5];//性别char id[20];//学号 }; 1.1.2 结构体变量的创建和初始…...

以项目的方式学QT开发C++(一)——超详细讲解(120000多字详细讲解,涵盖qt大量知识)逐步更新!

以项目的方式学QT开发 以项目的方式学QT开发 P1 QT介绍 1.1 QT简介 1.2 QT安装 1.2.1 Windows QT安装 1.2.2 QT Creator 使用基本介绍 P2 C基础 2.1 命名空间 2.1.1 命名空间作用 2.1.2 自定义命名空间 2.2 从C语言快速入门 2.2.1 输入输出 2.2.2 基…...

Spring框架的事务管理

引言 在企业级应用开发中&#xff0c;事务管理是一个至关重要的环节&#xff0c;它确保了数据的一致性和完整性。Spring 框架为我们提供了强大而灵活的事务管理功能&#xff0c;能够帮助开发者更轻松地处理复杂的事务场景。本文将深入探讨 Spring 框架的事务管理&#xff0c;包…...

TypeScript:类

一、基本概念 TypeScript 类是基于 ES6 类的语法扩展&#xff0c;增加了类型注解和访问修饰符等特性&#xff0c;提供了更强大的面向对象编程能力。 二、基本语法 class Person {name: string;age: number;constructor(name: string, age: number) {this.name name;this.ag…...

Python继承

在Python编程中&#xff0c;继承是一个让新手又爱又怕的概念。今天我们就来聊聊这个看似高深实则简单的特性&#xff0c;保证让你看完后能拍着胸脯说&#xff1a;“继承嘛&#xff0c;小菜一碟&#xff01;” 一、什么是继承&#xff1f; 想象一下你正在玩一个养成游戏。你创…...

浏览器宝塔访问不了给的面板地址

注意你们的端口&#xff0c;服务器的端口开放了没&#xff01;&#xff01;&#xff01;宝塔给的端口是否在范围之内&#xff01;&#xff01; 我的当时是1000/10000 &#xff08;阿里云服务器&#xff09; 但是宝塔给的是 4W多 对不上&#xff01;&#xff01; 更换安全组…...

强化学习入门:马尔科夫奖励过程

文章目录 前言1、组成部分2、应用例子3、马尔科夫奖励过程总结 前言 最近想开一个关于强化学习专栏&#xff0c;因为DeepSeek-R1很火&#xff0c;但本人对于LLM连门都没入。因此&#xff0c;只是记录一些类似的读书笔记&#xff0c;内容不深&#xff0c;大多数只是一些概念的东…...

RHCE实验:通过脚本判断用户是否存在

一、实验要求 1、 写一个脚本&#xff0c;使用函数完成 1 、函数能够接受一个参数&#xff0c;参数为用户名&#xff1b; 判断一个用户是否存在 如果存在&#xff0c; 就返回此用户的 shell 和 UID &#xff1b;并返回正常状态值&#xff1b; 如果不存在&#xff0c;就说此用…...

Windows软件插件-音视频捕获

下载本插件 音视频捕获就是获取电脑外接的话筒&#xff0c;摄像头&#xff0c;或线路输入的音频和视频。 本插件捕获电脑外接的音频和视频。最多可以同时获取4个视频源和4个音频源。插件可以在win32和MFC程序中使用。 使用方法 首先&#xff0c;加载本“捕获”DLL&#xff0c…...

每日算法 - 【Swift 算法】Two Sum 问题:从暴力解法到最优解法的演进

【Swift 算法】Two Sum 问题&#xff1a;从暴力解法到最优解法的演进 本文通过“Two Sum”问题&#xff0c;带你了解如何从最直观的暴力解法&#xff0c;逐步优化到高效的哈希表解法&#xff0c;并对两者进行对比&#xff0c;适合算法入门和面试准备。 &#x1f4a1; 问题描述 …...

2025年,如何制作并部署一个完整的个人博客网站

欢迎访问我的个人博客网站&#xff1a;欢迎来到Turnin的个人博客 github开源地址&#xff1a;https://github.com/Re-restart/my_website 前言 2024年年初&#xff0c;从dji实习回来之后&#xff0c;我一直想着拓宽自己的知识边界。在那里我发现虽然大家不用java&#xff0c;…...

深度学习框架---TensorFlow概览

一、TensorFlow 概述 1. 发展历程 1.x 版本&#xff1a;基于静态图&#xff08;Graph&#xff09;和会话&#xff08;Session&#xff09;&#xff0c;需预先定义计算图&#xff0c;调试较复杂。2.x 版本&#xff1a;默认启用动态图&#xff08;Eager Execution&#xff09;&…...

鸿蒙OSUniApp制作自定义的下拉菜单组件(鸿蒙系统适配版)#三方框架 #Uniapp

UniApp制作自定义的下拉菜单组件&#xff08;鸿蒙系统适配版&#xff09; 前言 在移动应用开发中&#xff0c;下拉菜单是一个常见且实用的交互组件&#xff0c;它能在有限的屏幕空间内展示更多的选项。虽然各种UI框架都提供了下拉菜单组件&#xff0c;但在一些特定场景下&…...

扣子(Coze)案例:工作流生成小红书心理学卡片

大家好&#xff01;我是 Robin。专注于 AI 技术探索与实践&#xff0c;持续分享 Coze 智能体、Coze 模板&#xff0c;以及 Coze 工作流搭建案例。 工作流智能体作用&#xff1a; 输入需要生成小红书心理学知识卡片的数量&#xff0c;工作流自动批量生成图文。 首先演示一下生…...

深度理解用于多智能体强化学习的单调价值函数分解QMIX算法:基于python从零实现

引言&#xff1a;合作式多智能体强化学习与功劳分配 在合作式多智能体强化学习&#xff08;MARL&#xff09;中&#xff0c;多个智能体携手合作&#xff0c;共同达成一个目标&#xff0c;通常会收到一个团队共享的奖励。在这种场景下&#xff0c;一个关键的挑战就是功劳分配&a…...

C语言经典笔试题目分析(持续更新)

1. 描述下面代码中两个static 各自的含义 static void func (void) {static unsigned int i; }static void func(void) 中的 static 作用对象&#xff1a;函数 func。 含义&#xff1a; 限制函数的作用域&#xff08;链接属性&#xff09;&#xff0c;使其仅在当前源文件&…...

射击游戏demo11

完善地图&#xff0c;加载出装饰品&#xff0c;检测人员与地面的碰撞&#xff0c;检测子弹与岩壁的碰撞&#xff0c;检测手雷与地面的碰撞。 import pygame import sys import os import random import csv # 初始化Pygame pygame.init()# 屏幕宽度 SCREEN_WIDTH 1200 # 屏幕高…...

多智能体Multi-Agent应用实战与原理分析

一:Agent 与传统工具调用的对比 在当今的开发环境中,Agent 的出现极大地简化了工作流程。其底层主要基于提示词、模型和工具。用户只需向 Agent 输入需求,Agent 便会自动分析需求,并利用工具获取最终答案。而传统方式下,若没有 Agent,我们则需要手动编码来执行工具,还要…...

专项智能练习(定义判断)_DA_01

1. 单选题 热传导是介质内无宏观运动时的传热现象&#xff0c;其在固体、液体和气体中均可发生。但严格而言&#xff0c;只有在固体中才是纯粹的热传导&#xff0c;在流体&#xff08;泛指液体和气体&#xff09;中又是另外一种情况&#xff0c;流体即使处于静止状态&#xff0…...

关于NLP自然语言处理的简单总结

参考&#xff1a; 什么是自然语言处理&#xff1f;看这篇文章就够了&#xff01; - 知乎 (zhihu.com) 所谓自然语言理解&#xff0c;就是研究如何让机器能够理解我们人类的语言并给出一些回应。 自然语言处理&#xff08;Natural Language Processing&#xff0c;NLP&#xff0…...

SLAM定位与地图构建

SLAM介绍 SLAM全称Simultaneous Localization And Mapping&#xff0c;中文名称同时定位与地图构建。旨在让移动设备在未知环境中同时完成以下两个任务&#xff08;定位需要地图&#xff0c;而建图又依赖定位信息&#xff0c;两者互为依赖&#xff09;&#xff1a; 定位&#…...

REST架构风格介绍

一.REST&#xff08;表述性状态转移&#xff09; 1.定义 REST&#xff08;Representational State Transfer&#xff09;是由 Roy Fielding 在 2000 年提出的一种软件架构风格&#xff0c;用于设计网络应用的通信模式。它基于 HTTP 协议&#xff0c;强调通过统一的接口&#…...

前端流行框架Vue3教程:16. 组件事件配合`v-model`使用

组件事件配合v-model使用 如果是用户输入&#xff0c;我们希望在获取数据的同时发送数据配合v-model 来使用&#xff0c;帮助理解组件间的通信和数据绑定。 &#x1f9e9; 第一步&#xff1a;创建子组件&#xff08;SearchComponent.vue&#xff09; 这个组件用于处理用户的搜…...

5月15日day26打卡

函数专题1 知识点回顾&#xff1a; 函数的定义变量作用域&#xff1a;局部变量和全局变量函数的参数类型&#xff1a;位置参数、默认参数、不定参数传递参数的手段&#xff1a;关键词参数传递参数的顺序&#xff1a;同时出现三种参数类型时 作业&#xff1a; 题目1&#xff1a;…...

Java中的深拷贝与浅拷贝

什么是拷贝 在Java中&#xff0c;拷贝是指创建一个对象的副本。拷贝主要分为两种类型&#xff1a;浅拷贝(Shallow Copy)和深拷贝(Deep Copy)。理解这两种拷贝的区别对于编写正确的Java程序非常重要&#xff0c;特别是在处理对象引用时。 浅拷贝(Shallow Copy) 浅拷贝是指创建…...

springboot AOP中,通过解析SpEL 表达式动态获取参数值

切面注解 import com.bn.document.constants.FmDeptCatalogueConstants;import java.lang.annotation.*;Target(ElementType.METHOD) Retention(RetentionPolicy.RUNTIME) public interface FmDeptCatalogueAopAnnotation {/*** 权限类型*/FmDeptCatalogueConstants value();/…...

【论信息系统项目的合同管理】

论信息系统项目的合同管理 论文要求写作要点正文前言一、合同的签订管理二、合同履行管理三、合同变更管理四、合同档案管理五、合同违约索赔管理结语 论文要求 项目合同管理通过对项目合同的全生命周期进行管理&#xff0c;来回避和减轻可识别的项目风险。 请以“论信息系统项…...

redis持久化方式

一、RDB redis database&#xff1a;快照&#xff0c;某一时刻将内存中的数据&#xff0c;写入磁盘中生成1个dump.rdb文件RDB的触发方式&#xff1a; 手动触发&#xff1a;save&#xff08;阻塞主进程&#xff0c;阻塞其它指令&#xff0c;保证数据一致性&#xff09;、bgsave…...

free void* 指令

https://stackoverflow.com/questions/2182103/is-it-ok-to-free-void free(ptr) 仅释放指针指向的内存&#xff0c;不会修改指针变量本身的值。调用后&#xff0c;ptr 仍然指向原来的地址&#xff08;称为 "悬空指针"&#xff09;&#xff0c;但该地址对应的内存已…...

ADS1220高精度ADC(TI)——应用 源码

文章目录 德州仪器ADS1220概述资料引脚&封装布线寄存器配置寄存器0&#xff08;00h&#xff09;配置寄存器1&#xff08;01h&#xff09;配置寄存器2&#xff08;02h&#xff09;配置寄存器3&#xff08;03h&#xff09; 连续转换流程驱动源码ads1220.cads1220.h 德州仪器A…...

mysql-Java手写分布式事物提交流程

准备 innodb存储引擎开启支持分布式事务 set global innodb_support_axon分布式的流程 详细流程&#xff1a; XA START ‘a’; 作用&#xff1a;开始一个新的XA事务&#xff0c;并分配一个唯一的事务ID ‘a’。 说明&#xff1a;在这个命令之后&#xff0c;所有后续的SQL操…...

红黑树:数据世界的平衡守护者

在 C 算法的神秘森林里&#xff0c;红黑树是一棵充满智慧的 “魔法树”。它既不像普通二叉搜索树那样容易失衡&#xff0c;也不像 AVL 树对平衡要求那么苛刻。作为 C 算法小白&#xff0c;今天就和大家一起深入探索红黑树的奥秘&#xff0c;看看它是如何成为数据世界的平衡守护…...

哈夫曼树完全解析:从原理到应用

目录 一、核心概念 二、构造全流程解析 三、编码生成机制 四、C语言实现关键代码 五、核心特性深度解读 六、现代应用场景 七、压缩实战演示 一、核心概念 哈夫曼树&#xff08;最优二叉树&#xff09;是带权路径长度&#xff08;WPL&#xff09;最短的树形结构&#x…...

如何在 Windows 命令提示符中创建多个文件夹和多个文件

如何在 Windows 命令提示符中创建多个文件夹和多个文件 虽然大多数用户习惯使用 Windows 图形界面来创建文件夹&#xff0c;但如果你需要一次性创建多个文件夹或文件&#xff0c;如同在类Unix系统中可以使用mkdir和touch命令一样&#xff0c;windows下也有创建目录和文件的对应…...

【Java】Spring的声明事务在多线程场景中失效问题。

大家都知道Spring的声明式事务在多线程当中会失效&#xff0c;来看一下如下案例。 按照如下方式&#xff0c;b()方法抛出异常,由于父子线程导致事务失效&#xff0c;a()会成功插入,但是b()不会。 因此成功插入一条数据&#xff0c;事务失效。 Component public class UserServ…...

多平台图标设计与管理的终极解决方案

IconWorkshop Pro 是一款由Axialis团队开发的专业图标设计与制作软件&#xff0c;专注于为设计师、开发者及企业用户提供高效且灵活的图标创作解决方案。该软件凭借其强大的功能与跨平台适配性&#xff0c;成为Windows、macOS、iOS、Android等多系统图标设计的首选工具之一。 …...

【搭建Node-RED + MQTT Broker实现AI大模型交互】

搭建Node-RED MQTT Broker实现AI大模型交互 搭建Node-RED MQTT Broker实现AI大模型交互一、系统架构二、环境准备与安装1. 安装Node.js2. 安装Mosquitto MQTT Broker3. 配置Mosquitto4. 安装Node-RED5. 配置Node-RED监听所有网络接口6. 启动Node-RED 三、Node-RED流程配置1. …...

小结: js 在浏览器执行原理

浏览器多进程与多线程 现代浏览器的标签环境隔离主要通过多进程架构和多线程机制实现&#xff0c;以确保安全、性能和稳定性。以下是浏览器实现标签环境隔离的多进程和多线程交互架构的详细解析&#xff1a; ------------------- ------------------- -----------…...

C++核心编程--2 引用

引用就是给变量起别名&#xff0c;操作引用就等于操作原始变量。 2.1 引用基本用法 int var 10; int & r_var var; 2.2 注意事项 声明时必须初始化不允许更改引用指向的原始变量 2.3 引用作为函数参数传递 简化指针修饰函数参数 2.4 引用作为函数返回值 不要返回…...