TaskFlow
DashboardFreewriteWhiteboardsProjectsCRMTasksNotificationsSettingsAgent TowerAPI Docs
OpenClaw Docs
?

User

Member

Caricamento in corso...

Home
Progetti
Task
Notifiche
CRM

    OpenClaw

    Documentation Mirror

    Documentation Overview

    Docs

    Auth credential semantics
    Scheduled tasks
    Hooks
    Automation & tasks
    Standing orders
    Task flow
    Background tasks
    BlueBubbles
    Broadcast groups
    Channel routing
    Discord
    Feishu
    Google Chat
    Group messages
    Groups
    iMessage
    Chat channels
    IRC
    LINE
    Channel location parsing
    Matrix
    Matrix migration
    Matrix push rules for quiet previews
    Mattermost
    Microsoft Teams
    Nextcloud Talk
    Nostr
    Pairing
    QA channel
    QQ bot
    Signal
    Slack
    Synology Chat
    Telegram
    Tlon
    Channel troubleshooting
    Twitch
    WeChat
    WhatsApp
    Yuanbao
    Zalo
    Zalo personal
    CI pipeline
    ACP
    Agent
    Agents
    Approvals
    Backup
    Browser
    Channels
    Clawbot
    `openclaw commitments`
    Completion
    Config
    Configure
    Cron
    Daemon
    Dashboard
    Devices
    Directory
    DNS
    Docs
    Doctor
    Flows (redirect)
    Gateway
    Health
    Hooks
    CLI reference
    Inference CLI
    Logs
    MCP
    Memory
    Message
    Migrate
    Models
    Node
    Nodes
    Onboard
    Pairing
    Plugins
    Proxy
    QR
    Reset
    Sandbox CLI
    Secrets
    Security
    Sessions
    Setup
    Skills
    Status
    System
    `openclaw tasks`
    TUI
    Uninstall
    Update
    Voicecall
    Webhooks
    Wiki
    Active memory
    Agent runtime
    Agent loop
    Agent runtimes
    Agent workspace
    Gateway architecture
    Channel docking
    Inferred commitments
    Compaction
    Context
    Context engine
    Delegate architecture
    Dreaming
    Experimental features
    Features
    Markdown formatting
    Memory overview
    Builtin memory engine
    Honcho memory
    QMD memory engine
    Memory search
    Messages
    Model failover
    Model providers
    Models CLI
    Multi-agent routing
    OAuth
    OpenClaw App SDK
    Presence
    QA overview
    Matrix QA
    Command queue
    Steering queue
    Retry policy
    Session management
    Session pruning
    Session tools
    SOUL.md personality guide
    Streaming and chunking
    System prompt
    Timezones
    TypeBox
    Typing indicators
    Usage tracking
    Date and time
    Node + tsx crash
    Diagnostics flags
    Authentication
    Background exec and process tool
    Bonjour discovery
    Bridge protocol
    CLI backends
    Configuration — agents
    Configuration — channels
    Configuration — tools and custom providers
    Configuration
    Configuration examples
    Configuration reference
    Diagnostics export
    Discovery and transports
    Doctor
    Gateway lock
    Health checks
    Heartbeat
    Gateway runbook
    Local models
    Gateway logging
    Multiple gateways
    Network model
    OpenAI chat completions
    OpenResponses API
    OpenShell
    OpenTelemetry export
    Gateway-owned pairing
    Prometheus metrics
    Gateway protocol
    Remote access
    Remote gateway setup
    Sandbox vs tool policy vs elevated
    Sandboxing
    Secrets management
    Secrets apply plan contract
    Security audit checks
    Security
    Tailscale
    Tools invoke API
    Troubleshooting
    Trusted proxy auth
    Debugging
    Environment variables
    FAQ
    FAQ: first-run setup
    FAQ: models and auth
    GPT-5.5 / Codex agentic parity
    GPT-5.5 / Codex parity maintainer notes
    Help
    Scripts
    Testing
    Testing: live suites
    General troubleshooting
    OpenClaw
    Ansible
    Azure
    Bun (experimental)
    ClawDock
    Release channels
    DigitalOcean
    Docker
    Docker VM runtime
    exe.dev
    Fly.io
    GCP
    Hetzner
    Hostinger
    Install
    Installer internals
    Kubernetes
    macOS VMs
    Migration guide
    Migrating from Claude
    Migrating from Hermes
    Nix
    Node.js
    Northflank
    Oracle Cloud
    Podman
    Railway
    Raspberry Pi
    Render
    Uninstall
    Updating
    Logging
    Network
    Audio and voice notes
    Camera capture
    Image and media support
    Nodes
    Location command
    Media understanding
    Talk mode
    Node troubleshooting
    Voice wake
    Pi integration architecture
    Pi development workflow
    Android app
    Platforms
    iOS app
    Linux app
    Gateway on macOS
    Canvas
    Gateway lifecycle
    macOS dev setup
    Health checks (macOS)
    Menu bar icon
    macOS logging
    Menu bar
    Peekaboo bridge
    macOS permissions
    Remote control
    macOS signing
    Skills (macOS)
    Voice overlay
    Voice wake (macOS)
    WebChat (macOS)
    macOS IPC
    macOS app
    Windows
    Plugin internals
    Plugin architecture internals
    Building plugins
    Plugin bundles
    Codex Computer Use
    Codex harness
    Community plugins
    Plugin compatibility
    Google Meet plugin
    Plugin hooks
    Plugin manifest
    Memory LanceDB
    Memory wiki
    Message presentation
    Agent harness plugins
    Building channel plugins
    Channel turn kernel
    Plugin entry points
    Plugin SDK migration
    Plugin SDK overview
    Building provider plugins
    Plugin runtime helpers
    Plugin setup and config
    Plugin SDK subpaths
    Plugin testing
    Skill workshop plugin
    Voice call plugin
    Webhooks plugin
    Zalo personal plugin
    OpenProse
    Alibaba Model Studio
    Anthropic
    Arcee AI
    Azure Speech
    Amazon Bedrock
    Amazon Bedrock Mantle
    Chutes
    Claude Max API proxy
    Cloudflare AI gateway
    ComfyUI
    Deepgram
    Deepinfra
    DeepSeek
    ElevenLabs
    Fal
    Fireworks
    GitHub Copilot
    GLM (Zhipu)
    Google (Gemini)
    Gradium
    Groq
    Hugging Face (inference)
    Provider directory
    Inferrs
    Inworld
    Kilocode
    LiteLLM
    LM Studio
    MiniMax
    Mistral
    Model provider quickstart
    Moonshot AI
    NVIDIA
    Ollama
    OpenAI
    OpenCode
    OpenCode Go
    OpenRouter
    Perplexity
    Qianfan
    Qwen
    Runway
    SGLang
    StepFun
    Synthetic
    Tencent Cloud (TokenHub)
    Together AI
    Venice AI
    Vercel AI gateway
    vLLM
    Volcengine (Doubao)
    Vydra
    xAI
    Xiaomi MiMo
    Z.AI
    Default AGENTS.md
    Release policy
    API usage and costs
    Credits
    Device model database
    Full release validation
    Memory configuration reference
    OpenClaw App SDK API design
    Prompt caching
    Rich output protocol
    RPC adapters
    SecretRef credential surface
    Session management deep dive
    AGENTS.md template
    BOOT.md template
    BOOTSTRAP.md template
    HEARTBEAT.md template
    IDENTITY template
    SOUL.md template
    TOOLS.md template
    USER template
    Tests
    Token use and costs
    Transcript hygiene
    Onboarding reference
    Contributing to the threat model
    Threat model (MITRE ATLAS)
    Formal verification (security models)
    Network proxy
    Agent bootstrapping
    Docs directory
    Getting started
    Docs hubs
    OpenClaw lore
    Onboarding (macOS app)
    Onboarding overview
    Personal assistant setup
    Setup
    Showcase
    Onboarding (CLI)
    CLI automation
    CLI setup reference
    ACP agents
    ACP agents — setup
    Agent send
    apply_patch tool
    Brave search
    Browser (OpenClaw-managed)
    Browser control API
    Browser troubleshooting
    Browser login
    WSL2 + Windows + remote Chrome CDP troubleshooting
    BTW side questions
    ClawHub
    Code execution
    Creating skills
    Diffs
    DuckDuckGo search
    Elevated mode
    Exa search
    Exec tool
    Exec approvals
    Exec approvals — advanced
    Firecrawl
    Gemini search
    Grok search
    Image generation
    Tools and plugins
    Kimi search
    LLM task
    Lobster
    Tool-loop detection
    Media overview
    MiniMax search
    Multi-agent sandbox and tools
    Music generation
    Ollama web search
    PDF tool
    Perplexity search
    Plugins
    Reactions
    SearXNG search
    Skills
    Skills config
    Slash commands
    Sub-agents
    Tavily
    Thinking levels
    Tokenjuice
    Trajectory bundles
    Text-to-speech
    Video generation
    Web search
    Web fetch
    Linux server
    Control UI
    Dashboard
    Web
    TUI
    WebChat

    OpenAPI Specs

    openapi
    TaskFlow
    docs/openclaw
    Original Docs

    Real-time Synchronized Documentation

    Last sync: 01/05/2026 07:01:56

    Note: This content is mirrored from docs.openclaw.ai and is subject to their terms and conditions.

    OpenClaw Docs

    v2.4.0 Production

    Last synced: Today, 22:00

    Technical reference for the OpenClaw framework. Real-time synchronization with the official documentation engine.

    Use this file to discover all available pages before exploring further.

    Memory overview

    OpenClaw remembers things by writing plain Markdown files in your agent's workspace. The model only "remembers" what gets saved to disk — there is no hidden state.

    How it works

    Your agent has three memory-related files:

    • text
      MEMORY.md
      — long-term memory. Durable facts, preferences, and decisions. Loaded at the start of every DM session.
    • text
      memory/YYYY-MM-DD.md
      — daily notes. Running context and observations. Today and yesterday's notes are loaded automatically.
    • text
      DREAMS.md
      (optional) — Dream Diary and dreaming sweep summaries for human review, including grounded historical backfill entries.

    These files live in the agent workspace (default

    text
    ~/.openclaw/workspace
    ).

    tip

    If you want your agent to remember something, just ask it: "Remember that I prefer TypeScript." It will write it to the appropriate file.

    Inferred commitments

    Some future follow-ups are not durable facts. If you mention an interview tomorrow, the useful memory may be "check in after the interview," not "store this forever in

    text
    MEMORY.md
    ."

    Commitments are opt-in, short-lived follow-up memories for that case. OpenClaw infers them in a hidden background pass, scopes them to the same agent and channel, and delivers due check-ins through heartbeat. Explicit reminders still use scheduled tasks.

    Memory tools

    The agent has two tools for working with memory:

    • text
      memory_search
      — finds relevant notes using semantic search, even when the wording differs from the original.
    • text
      memory_get
      — reads a specific memory file or line range.

    Both tools are provided by the active memory plugin (default:

    text
    memory-core
    ).

    Memory Wiki companion plugin

    If you want durable memory to behave more like a maintained knowledge base than just raw notes, use the bundled

    text
    memory-wiki
    plugin.

    text
    memory-wiki
    compiles durable knowledge into a wiki vault with:

    • deterministic page structure
    • structured claims and evidence
    • contradiction and freshness tracking
    • generated dashboards
    • compiled digests for agent/runtime consumers
    • wiki-native tools like
      text
      wiki_search
      ,
      text
      wiki_get
      ,
      text
      wiki_apply
      , and
      text
      wiki_lint

    It does not replace the active memory plugin. The active memory plugin still owns recall, promotion, and dreaming.

    text
    memory-wiki
    adds a provenance-rich knowledge layer beside it.

    See Memory Wiki.

    Memory search

    When an embedding provider is configured,

    text
    memory_search
    uses hybrid search — combining vector similarity (semantic meaning) with keyword matching (exact terms like IDs and code symbols). This works out of the box once you have an API key for any supported provider.

    info

    OpenClaw auto-detects your embedding provider from available API keys. If you have an OpenAI, Gemini, Voyage, or Mistral key configured, memory search is enabled automatically.

    For details on how search works, tuning options, and provider setup, see Memory Search.

    Memory backends

    Builtin (default)

    SQLite-based. Works out of the box with keyword search, vector similarity, and hybrid search. No extra dependencies.

    QMD

    Local-first sidecar with reranking, query expansion, and the ability to index directories outside the workspace.

    Honcho

    AI-native cross-session memory with user modeling, semantic search, and multi-agent awareness. Plugin install.

    LanceDB

    Bundled LanceDB-backed memory with OpenAI-compatible embeddings, auto-recall, auto-capture, and local Ollama embedding support.

    Knowledge wiki layer

    Memory Wiki

    Compiles durable memory into a provenance-rich wiki vault with claims, dashboards, bridge mode, and Obsidian-friendly workflows.

    Automatic memory flush

    Before compaction summarizes your conversation, OpenClaw runs a silent turn that reminds the agent to save important context to memory files. This is on by default — you do not need to configure anything.

    To keep that housekeeping turn on a local model, set an exact memory-flush model override:

    json
    { "agents": { "defaults": { "compaction": { "memoryFlush": { "model": "ollama/qwen3:8b" } } } } }

    The override applies only to the memory-flush turn and does not inherit the active session fallback chain.

    tip

    The memory flush prevents context loss during compaction. If your agent has important facts in the conversation that are not yet written to a file, they will be saved automatically before the summary happens.

    Dreaming

    Dreaming is an optional background consolidation pass for memory. It collects short-term signals, scores candidates, and promotes only qualified items into long-term memory (

    text
    MEMORY.md
    ).

    It is designed to keep long-term memory high signal:

    • Opt-in: disabled by default.
    • Scheduled: when enabled,
      text
      memory-core
      auto-manages one recurring cron job for a full dreaming sweep.
    • Thresholded: promotions must pass score, recall frequency, and query diversity gates.
    • Reviewable: phase summaries and diary entries are written to
      text
      DREAMS.md
      for human review.

    For phase behavior, scoring signals, and Dream Diary details, see Dreaming.

    Grounded backfill and live promotion

    The dreaming system now has two closely related review lanes:

    • Live dreaming works from the short-term dreaming store under
      text
      memory/.dreams/
      and is what the normal deep phase uses when deciding what can graduate into
      text
      MEMORY.md
      .
    • Grounded backfill reads historical
      text
      memory/YYYY-MM-DD.md
      notes as standalone day files and writes structured review output into
      text
      DREAMS.md
      .

    Grounded backfill is useful when you want to replay older notes and inspect what the system thinks is durable without manually editing

    text
    MEMORY.md
    .

    When you use:

    bash
    openclaw memory rem-backfill --path ./memory --stage-short-term

    the grounded durable candidates are not promoted directly. They are staged into the same short-term dreaming store the normal deep phase already uses. That means:

    • text
      DREAMS.md
      stays the human review surface.
    • the short-term store stays the machine-facing ranking surface.
    • text
      MEMORY.md
      is still only written by deep promotion.

    If you decide the replay was not useful, you can remove the staged artifacts without touching ordinary diary entries or normal recall state:

    bash
    openclaw memory rem-backfill --rollback openclaw memory rem-backfill --rollback-short-term

    CLI

    bash
    openclaw memory status # Check index status and provider openclaw memory search "query" # Search from the command line openclaw memory index --force # Rebuild the index

    Further reading

    • Builtin memory engine: default SQLite backend.
    • QMD memory engine: advanced local-first sidecar.
    • Honcho memory: AI-native cross-session memory.
    • Memory LanceDB: LanceDB-backed plugin with OpenAI-compatible embeddings.
    • Memory Wiki: compiled knowledge vault and wiki-native tools.
    • Memory search: search pipeline, providers, and tuning.
    • Dreaming: background promotion from short-term recall to long-term memory.
    • Memory configuration reference: all config knobs.
    • Compaction: how compaction interacts with memory.

    Related

    • Active memory
    • Memory search
    • Builtin memory engine
    • Honcho memory
    • Memory LanceDB
    • Commitments

    © 2024 TaskFlow Mirror

    Powered by TaskFlow Sync Engine