01
无需密钥
ollama 预设通过 Ollama 的 OpenAI 兼容接口连接 http://localhost:11434/v1,无需注册任何服务。
02
完全本地
FastClaw 把数据存在本地 SQLite 文件里,模型由 Ollama 运行,提示词和记忆都留在你自己的机器上。
03
本地与云端混用
私密的 Agent 跑在 Ollama 上,其他 Agent 使用云端模型——每个 Agent 各选各的服务商。
能做什么
- 在笔记本上跑一个不依赖云服务的私人 Agent——参见 开发者场景。
- 先免费验证 Agent 原型,再切换到 OpenAI 或 DeepSeek 等托管模型。
- 敏感 Agent 使用本地模型,其他 Agent 使用云端 模型服务商。
接入步骤
- 安装 Ollama,并拉取一个支持工具调用的模型:
ollama pull qwen3
- 在 Console → Models 中点击 Add provider,选择 Ollama。API 地址默认为
http://localhost:11434/v1,无需 API Key。 - 或使用 CLI:
fastclaw agents init local \
--provider ollama \
--model ollama/qwen3
补充说明
如果 FastClaw 本身运行在 Docker 中,localhost 指向的是容器自身——请把 API 地址改成宿主机的地址。
常见问题
更多集成
全部集成OpenAI
用 OpenAI 模型驱动 FastClaw Agent:设置全局默认模型、按 Agent 单独覆盖,并通过 OpenAI 兼容 API 对外提供 Agent。
Anthropic
通过 Anthropic 原生 Messages API 让 FastClaw Agent 跑在 Claude 上,完整保留提示缓存、扩展思考和图片输入。
DeepSeek
用 DeepSeek 驱动 FastClaw Agent:内置预设、支持思考模式、可按 Agent 覆盖模型,低成本也能跑出好效果。
OpenRouter
把 FastClaw 接入 OpenRouter,用一个 API Key 让每个 Agent 都能使用多家厂商的模型。