← 返回
未分类 中文

OpenClaw Ollama Memory

Set up local semantic memory search in OpenClaw using Ollama + nomic-embed-text. Free, private, offline-capable. Replaces cloud embedding APIs (OpenAI, Gemin...
在 OpenClaw 中使用 Ollama + nomic-embed-text 设置本地语义记忆搜索。免费、私密、可离线使用。替代云端嵌入 API(OpenAI、Gemin...)
djc00p djc00p 来源
未分类 clawhub v1.1.0 1 版本 99826.4 Key: 无需
★ 0
Stars
📥 575
下载
💾 4
安装
1
版本
#latest

概述

OpenClaw Ollama Memory

Local semantic memory search for OpenClaw using Ollama — free, private, no API key required.

Quick Start

1. Install & Run Ollama

Download from https://ollama.ai, then pull the embedding model:

ollama pull nomic-embed-text

Verify Ollama is running:

curl http://127.0.0.1:11434/api/tags

2. Configure OpenClaw

Edit ~/.openclaw/openclaw.json and add under agents.defaults.memorySearch:

{
  "agents": {
    "defaults": {
      "memorySearch": {
        "provider": "ollama",
        "model": "nomic-embed-text:latest",
        "remote": {
          "baseUrl": "http://127.0.0.1:11434"
        }
      }
    }
  }
}

3. Restart OpenClaw

openclaw gateway restart

Key Points

  • Ollama must be explicit — use provider: "ollama", not "openai". OpenClaw doesn't auto-detect Ollama.
  • No API key needed — runs locally, fully offline.
  • nomic-embed-text — 274MB model, fast, accurate, free.
  • baseUrl formathttp://127.0.0.1:11434 (no /v1 suffix, no trailing slash).

Next Steps

  • See references/config-reference.md for advanced tuning (hybrid search, MMR, temporal decay, extra paths).
  • See references/troubleshooting.md for common errors and fixes.

版本历史

共 1 个版本

  • v1.1.0 当前
    2026-05-03 05:15 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-agent

self-improving agent

pskoett
捕获经验教训、错误及修正内容,以实现持续改进。适用于以下场景:(1)命令或操作意外失败;(2)用户纠正Claude(如“不,那不对……”“实际上……”);(3)用户请求的功能不存在;(4)外部API或工具出现故障;(5)Claude发现自身
★ 4,107 📥 830,427
ai-agent

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,398 📥 322,993
dev-programming

Rails CI Fixer

djc00p
使用分层升级循环修复Rails PR的CI失败。当Rails拉取请求出现CI失败时使用此技能——包括RSpec测试失败、RuboCop违规等。
★ 0 📥 908