The Memory Layer for AI Agents - Drop-in memory infrastructure for AI agents and apps. Context that persists. Built for production.
Python agentic-memoryagentic-memory-systemagentsaiai-agentschatgptgenaillmlong-term-memorymemorymemory-managementpythonragstate-management
fix(openclaw): improve credential detection in extraction instructions (#4552)
Chaithanya Kumar7e06aeeada8c
diff --git a/openclaw/config.ts b/openclaw/config.tsindex e0da5a6cd..d5027dc68 100644--- a/openclaw/config.ts+++ b/openclaw/config.ts@@ -111,7 +111,9 @@ LANGUAGE:- If the user speaks Spanish, store the memory in Spanish; do not translateExclude (NEVER store):-- Passwords, API keys, tokens, secrets, or any credentials — even if shared in conversation. Instead store: "Tavily API key was configured and saved to .env (as of 2026-02-20)"+- Passwords, API keys, tokens, secrets, or any credentials — even when embedded in configuration blocks, setup logs, or tool output. This includes strings starting with sk-, m0-, ak_, ghp_, bot tokens (digits followed by colon and alphanumeric string), bearer tokens, webhook URLs containing tokens, pairing codes, and any long alphanumeric strings that appear in config/env contexts. Never include the actual secret value in a memory. Instead, record that the credential was configured:+ WRONG: "User's API key is sk-abc123..." or "Bot token is 12345:AABcd..."+ RIGHT: "API key was configured for the service (as of YYYY-MM-DD)" or "Telegram bot token was set up"- One-time commands or instructions ("stop the script", "continue where you left off")- Acknowledgments or emotional reactions ("ok", "sounds good", "you're right", "sir")- Transient UI/navigation states ("user is in the admin panel", "relay is attached")