Cansın Cengiz
Docs

VibeOS: Persistent Memory for Your Agents

A second brain installed with one prompt: persistent memory for your agents across sessions and machines, adapts to your existing notes, upgrades module by module.

Category
System
Updated
November 18, 2026
Sources
4

The second-brain setup I use every day, now open source for everyone. You give your agent one prompt; it reads the layout of your folder, adapts to it, installs the memory engine and tests the result with you.

Section 01

What VibeOS is

If you run several projects, the problem is always the same: every new session you explain everything to the agent again, and the answer to "where did we leave that project?" is scattered across five chats. VibeOS is a Markdown-based second brain that gives AI agents persistent memory across sessions and machines.

When a session starts, the agent already knows who you are, which rules it works by, what was left open last time, and the source notes for whatever you ask about. Your notes stay in your own folder as plain Markdown, locked into no SaaS memory. It works with Claude Code, Codex, Hermes, OpenCode, Antigravity and Kiro.

This is the shareable version of the setup I use every day. Every rule in it was written after something broke in the field. It's open source: fork it on GitHub and adapt it to your own layout.

Section 02

One fire, full install

A wanderer plants a sword into ash in a ruined chapel and it ignites into an ember fire

Open your notes folder (or an empty one) in your agent and give it this prompt. The agent does the rest: downloads, verifies, installs, wires up and tests.

prompt
Read https://cansincengiz.me/vibeos.md and install VibeOS in this folder. If there is an existing second brain or note system, adapt to it and keep my notes; if VibeOS is already installed, add the missing modules and update it. Do the downloads and setup yourself. At the end, save a sample fact and let's verify it together by reading it back in a new session.
  1. 01

    Discovery. It looks at what's already there: Obsidian, PARA, your own layout, an older Avenox Beyin install, your AGENTS.md / CLAUDE.md. It deletes and moves nothing.

  2. 02

    Adaptation. It maps VibeOS onto your layout instead of building a parallel one. Wherever your project folder is, project notes go there.

  3. 03

    Choice. It asks, in a single question, which modules you want.

  4. 04

    Install. It installs the memory engine from the official release with SHA-256 verification, adds the VibeOS block to AGENTS.md and wires up the modules you chose.

  5. 05

    Verification. It saves a sample fact and reads it back. Then you open a new session and ask for it together. Nothing counts as installed until that test passes.

Section 03

Modules

There is one install. Pick the modules you want; later, give the same prompt again to add what's missing and level up. The agent checks what's actually installed on this machine and only fills the gaps.

  • Core

    core

    Memory across sessions: identity (Core.md), rules, session cards, open threads, source-linked notes and recall. Required.

  • Sync

    sync

    Keeps the vault in step across machines through a private GitHub repo. Every five minutes; it never stalls on a conflict and never deletes data (your local version is kept as a .cakisma copy), and machine-specific files stay out of Git.

  • Assistant

    assistant

    A Hermes Agent plugin. A personal assistant that reads your vault, reachable over Telegram if you like, or running 24/7 on a server.

  • Bridge

    bridge

    Agent sessions in your other project folders know about the vault. Say "note this to VibeOS" and the note lands in the vault with its source; each session starts with that project's latest state.

Everything rests on the core. A 24/7 assistant on a server needs sync, because the vault reaches it through Git. Installed modules are recorded per machine in .vibeos/kurulum.json.

Section 04

Learn a project

After install, point your agent at a project folder and say "learn this project". Nothing to install; it comes with the core. The project folder is never touched; the output is a source-cited project card in your vault.

  1. 01

    Recon. The agent makes sure it learns the right code: if your local copy is on a side branch or behind, it clones the main branch separately. Then it sizes the project and picks how many angles to use: 3-4 for small projects, 7 for large ones.

  2. 02

    Parallel angles. Each angle gets its own read-only sub-agent: product, architecture, data, integrations, operations, history, risks. Secret values are never read, only names and traces.

  3. 03

    Synthesis and verification. The main agent merges the results and checks every conflicting or critical claim itself, including the "X doesn't exist" ones. In our trials this step caught a leak the sub-agents had missed.

  4. 04

    The card. Overview, purpose, architecture, data, integrations, operations, history, ranked risks, inconsistencies and open questions for you. When the project changes, say "refresh"; only the affected angles run again.

Section 05

How it works

VibeOS has four layers: at the bottom your Markdown notes (the source of truth), above them the memory engine, then the VibeOS rules, and on top the modules.

I didn't rewrite the engine. The memory engine is the MIT-licensed Avenox Beyin V3, installed from its official release. Its hooks add your identity, the last session card and the relevant notes at the start of every session; the index is built locally from your notes, with no model calls and no API key. VibeOS adds working rules, adaptation to existing systems, modules and field lessons on top.

An instruction file tells the agent what to do. A hook brings the context to every message. Memory runs on hooks, not instructions.
  1. 01

    Meeting and decision notes go into the relevant project's folder, with open steps listed by owner and date.

  2. 02

    Your corrections are recorded with their reasoning: in that project's Kurallar.md if they belong to one project, in the general rules if they apply everywhere.

  3. 03

    Handoff notes let one agent or machine pass work to another: what was done, what's open, which source.

  4. 04

    Secrets never go into the vault; only where they live does.

Section 06

Bestiary: traps beaten in the field

A dungeon with a cable slime, a ghost holding a broken key, a gear-toothed mimic chest and a goblin cutting a thread, facing a knight with a torch

VibeOS's rules weren't designed on paper. Each one went into the recipe after something broke in a real install.

  1. 01

    The Lying Message. On an empty crontab the script died halfway but still printed "added". Weapon: trust real output, not messages (crontab -l).

  2. 02

    The Root Ghost. docker exec ran as root and Hermes couldn't read its own files. Weapon: always run container commands as the Hermes user.

  3. 03

    The Time Goblin. The server ran on UTC and reminders drifted three hours. Weapon: every scheduled job states its time zone.

  4. 04

    The Lock Slime. When the same new note appeared on two machines, sync got stuck in a "pull conflict" loop for 16 hours. Weapon: commit → merge → push; on a real conflict the local version is kept as a .cakisma-<machine> copy, sync keeps going and nothing is lost.

  5. 05

    The PATH Mimic. launchd ignored the shell profile and couldn't find git. Weapon: give the scheduler an explicit PATH.

  6. 06

    The Twin Record. Two machines wrote a record with the same id and Git stopped on an add/add conflict. Weapon: append the first eight characters of the session id.

  7. 07

    The Open Door. A bot meant for someone else would have inherited the main assistant's vault, mail and terminal access. Weapon: separate profile, separate bot, minimal tools.

Section 07

Safety principles

  1. 01

    Your notes are never deleted, moved or renamed. Your existing layout wins.

  2. 02

    The engine is installed only from its official release, with SHA-256 verification.

  3. 03

    Passwords, tokens and keys never go into the vault, a commit or the chat. The sync repo is private.

  4. 04

    Global changes (client settings, crontab) are announced first and need your approval.

  5. 05

    Nothing is called installed until verified; cross-session memory is tested together in a new session.

Section 08

Resources

Work smart, not hard. Explaining the same thing to your agent every day is the most expensive repetition there is.