OpenClaw + Obsidian gives you super powers

OpenClaw + Obsidian gives you super powers

How to Enhance OpenClaw's Memory with Obsidian

Introduction to the System

  • The speaker critiques OpenClaw's memory capabilities and introduces a system using Obsidian to improve it.
  • A preview of the setup is provided, emphasizing ease of use and functionality for both OpenClaw and Hermes agents.

Daily Logs and Mistakes Tracking

  • Daily logs are automatically created by the agent, capturing high-level discussions and important tasks.
  • A mistakes file is maintained where errors made by the AI agents are logged, allowing them to learn from past mistakes.

Shared Workspaces in Obsidian

  • Agents have access to a shared workspace that allows collaboration; actions taken by one agent can be accessed by others.

Understanding Markdown Files

  • Obsidian is described as a free tool for organizing markdown files, which are essential for AI agents' comprehension.
  • Markdown has become the standard language for AI due to its simplicity and effectiveness in structuring information.

Layers of Memory in OpenClaw

  • The existing memory structure includes built-in memory (layer 1), rules (agents.md), personality (soul.md), and session history (layer 4).
  • The new layer being added is an Obsidian vault (layer 3), which enhances memory retention without overloading context during prompts.

Compaction Issues Addressed

  • The new system prevents issues related to compaction where the AI might forget recent interactions; it checks its vault before each session.
  • This method ensures that relevant information from previous sessions is retained, improving overall performance during interactions.

Enhancing Project Memory with AI Agents

The Challenge of Project Continuity

  • The speaker discusses the difficulty of maintaining focus on small projects, such as adding AI to smart glasses, due to distractions and forgetfulness over time.
  • With the new system in Obsidian, users can easily retrieve past project details by referencing specific timelines, addressing previous memory gaps.

Shared Workspace for AI Agents

  • Introduction of an agent shared workspace allows multiple AI agents to collaborate on projects seamlessly. For example, a YouTube video project scripted with Hermes can be resumed effortlessly.
  • Emphasizes the importance of having at least two AI agents working side by side for better collaboration and communication within the shared directory.

Setting Up the System

  • A guide is provided for setting up this memory system, including prompts that will help configure both individual agents and their shared workspace.
  • Encouragement to engage with content through likes and subscriptions while promoting upcoming live streams and boot camps related to OpenClaw Memory.

Installation Instructions

  • Users are instructed to install Obsidian first so that their agents can access it effectively. A prompt detailing a four-layer system will be provided for setup.
  • Customization is necessary; users should specify the location of their Obsidian Vault correctly to avoid confusion for their OpenClaw agent.

Validating Memory Storage

  • After setup, it's crucial to validate that memories are being stored correctly in the vault. If issues arise, users should instruct their agent to ensure rules are properly written into its operational files.
  • Once established, this memory system can enhance personal applications like creating a visual interface or personal wiki for easier exploration of stored memories.

Expanding Possibilities with Personal Wikis

  • The speaker shares how they created a personal wiki using OpenClaw that visually organizes memories and concepts without needing direct access to Obsidian.
  • Highlights endless possibilities once a personal memory system is built within Obsidian, encouraging viewers to subscribe for more insights and updates from Vibe Coding Academy.
Video description

OpenClaw's memory is 100x better when you combine it with Obsidian. Here's how to do it. FULL OpenClaw/Obsidian bootcamp in the Vibe Coding Academy coming up: https://vibecodingacademy.dev Sign up for my free newsletter: https://www.alexfinn.ai/subscribe Follow my X: https://x.com/AlexFinn My $300k/yr AI app: https://www.creatorbuddy.io/ Prompt: I want to build an Obsidian memory system into OpenClaw. Here's how it will work: There are 4 layers, from smallest/always-present to largest/on-demand: LAYER 1: BUILT-IN MEMORY (~2,200 chars) ---------------------------------------- - Injected into every single prompt automatically - Tiny — just compact facts and pointers - Things like "Alex's name", "SSH into DGX with ssh spark", "vault is at X path" - Think of it as sticky notes on my monitor — always visible LAYER 2: AGENTS.md + SOUL.md ----------------------------- - Also injected every single prompt automatically - My operating instructions, personality, and hard rules - Includes the mandatory logging rules we just tightened - This is my "how to behave" layer LAYER 3: OBSIDIAN VAULT (the big one) -------------------------------------- - Location: iCloud Obsidian vault, shared with OpenClaw - NOT auto-injected — I read it on session start and during work - Three folders: Agent-Shared/ — both agents read/write user-profile.md — who you are, preferences, corrections project-state.md — all projects and their status decisions-log.md — shared decision history Agent-Hermes/ — my private workspace working-context.md — what I'm actively doing right now mistakes.md — things I've gotten wrong daily/ — daily logs (one file per day) Agent-OpenClaw/ — OpenClaw's space (I don't touch it) - I READ on: session start, after compaction, when I need details - I WRITE on: task start, every 3-5 tool calls, task completion, corrections LAYER 4: SESSION SEARCH ------------------------ - Searchable archive of every past conversation - I don't write to it — it's automatic - I query it when you reference past work or I need cross-session context - Last resort recall — "what did we do about X last week?" THE FLOW ======== New session starts | v Read vault (user-profile, project-state, working-context, today's log) | v Work on tasks — checkpoint to vault every 3-5 tool calls | v Task done — append to daily log, update working-context | v Compaction hits? — todo list survives, re-read vault after | v Session ends — flush everything to daily log Timestamps: 0:00 Intro 0:21 What the memory system is 2:32 How OpenClaw memory works 7:40 How to set it up 9:38 Personal knowledge wiki