# 在笔记本上私密运行 AI

配方 · https://godooo.ai/zh/recipe/local-ai

> 在笔记本上私密运行 AI，共 4 步：Ollama → LM Studio → Dify → Cline。

数据不出本机：离线对话、检索文件、写代码。

## 步骤

1. **[Ollama](https://godooo.ai/zh/product/ollama)** — 安装运行时并下载模型 ([本地运行模型](https://godooo.ai/zh/capability/local-inference))
2. **[LM Studio](https://godooo.ai/zh/product/lm-studio)** — 在对话窗口里对比模型 ([本地运行模型](https://godooo.ai/zh/capability/local-inference))
3. **[Dify](https://godooo.ai/zh/product/dify)** — 基于你的文件自建知识库 ([知识库检索](https://godooo.ai/zh/capability/knowledge-base))
4. **[Cline](https://godooo.ai/zh/agent/cline)** — 在 VS Code 里用本地模型写代码 ([自主编程](https://godooo.ai/zh/capability/coding-agent))

- **相关:** [在本地运行大模型](https://godooo.ai/zh/goal/run-llm-locally)

---

最后更新 2026-09-24 · 这是 https://godooo.ai/zh/recipe/local-ai 的 Markdown 版本。本站每个页面都有：在地址后面加 .md。
