Skip to content

About

Agent-runtime-neutral Obsidian knowledge and coordination framework.

Resources

Stars

1 star

Watchers

1 watching

Forks

Repository files navigation

id sys-readme
type project_readme
title Obsidian-Agent-Bridge
status active
updated 2026-07-26
project obsidian-agent-bridge

Obsidian-Agent-Bridge

Obsidian-Agent-Bridge (OAB) is a portable, inspectable knowledge-and-coordination framework for an Obsidian vault maintained with AI agents.

OAB treats ordinary Markdown files as the source of truth. It does not require one specific model, agent runtime, MCP server, vector database, cloud service, or proprietary index.

Obsidian-Agent-Bridge(OAB) 是一套由 AI 智能体协助维护、以 Obsidian Vault 内普通 Markdown 文件为权威来源的知识与协作框架。它不绑定 Codex,也不依赖某一种模型、MCP、向量数据库或云端索引。

Why OAB

  • Durable knowledge survives chat history and runtime changes.
  • Humans can inspect, edit, back up, and migrate every canonical record.
  • Multiple devices and different AI agents can continue work from shared task checkpoints.
  • Evidence, durable knowledge, open questions, project observations, and generated outputs remain distinct.
  • Optional search, MCP, automation, and Git layers stay rebuildable from the vault.
  • Write, transfer, Git, and external operations remain under the vault owner's control.

Runtime-neutral by design

AGENTS.md is the canonical operating contract for agents working in an OAB vault.

  • If your runtime reads AGENTS.md natively, open the vault at its root and let the runtime load it.
  • If your runtime uses another project-instruction mechanism, add a short adapter that tells it to read and follow AGENTS.md.
  • Do not maintain independent copies of the full rules for every runtime. Thin adapters prevent policy drift.
  • A Codex setup is one supported example, not a requirement.

Suggested adapter text:

Before working in this vault, read and follow AGENTS.md.
For first-run initialization, also read 90 System/Protocols/BOOTSTRAP.md.
Treat vault files as canonical and do not write without the authorization required there.

Important: public template versus private working vault

This repository is a generic open-source distribution. It intentionally contains placeholders instead of a person's name, device identity, paths, credentials, research notes, task history, or assets.

Do not replace those placeholders in the public project source.

When creating a private working vault:

  1. Copy or export this framework to a private location.
  2. Ask your AI agent to run the bootstrap protocol.
  3. Let the agent create local operational files from the templates.
  4. Keep personal identity, .agent/ state, .obsidian-* configuration, local runtime settings, assets, and credentials out of the public repository.

The bootstrap process fills placeholders in newly generated private files. It does not rewrite the tracked public templates.

Quick start

  1. Download or clone this repository.
  2. Create a separate private working copy for your real vault.
  3. Open the private copy as an Obsidian vault.
  4. Start your preferred AI agent at the vault root.
  5. Give it this instruction:
Read AGENTS.md and 90 System/Protocols/BOOTSTRAP.md.
Initialize this as my private OAB working vault.
Do not guess identity or path values.
Ask me before writes, and keep private operational state out of tracked public files.
  1. Provide only the local values you want the agent to register:
vault_owner_label: "<VAULT_OWNER_LABEL>"
device_slot: "<DEVICE_SLOT>"
device_id: "<DEVICE_ID>"
device_name: "<DEVICE_NAME>"
obsidian_config_folder: "<OBSIDIAN_CONFIG_FOLDER>"
agent_runtime: "<AGENT_RUNTIME>"

vault_owner_label may be a role such as vault-owner; a legal name is not required.

  1. Review the generated registry, local agent identity, directories, and privacy checks before using the vault.

See:

Architecture

Private synchronized Vault (canonical)
        |
        +-- Markdown knowledge and project state
        +-- private .agent coordination state
        +-- private assets and device-local Obsidian configuration
        |
        +-- optional local search / MCP / automation
        |
        +-- user-authorized text snapshot
                    |
                    v
             Separate Git mirror

The public project repository and a user's private working vault are separate things. A Git mirror is not a complete vault backup.

Repository contents

  • AGENTS.md — root operating rules for humans and AI agents;
  • PROJECT.md — project identity and architecture;
  • HOME.md — Obsidian-facing dashboard;
  • 90 System/Protocols/ — query, ingest, bootstrap, lint, collaboration, and snapshot procedures;
  • 90 System/Schemas/ — canonical metadata rules;
  • 90 System/Templates/ — reusable note and coordination templates;
  • 90 System/Deployment/ — runtime-neutral initialization guidance;
  • 20 Knowledge/MOCs/Knowledge Map.md — an empty durable-knowledge entry point.

Privacy boundary

The public distribution excludes:

  • names, emails, account identifiers, device IDs, hostnames, and machine paths;
  • live .agent/ registries, tasks, claims, handoffs, decisions, and conflicts;
  • device-specific .obsidian-* settings;
  • runtime-local configuration such as .codex/, .claude/, .gemini/, or .cursor/;
  • Inbox material, personal sources, research notes, project data, outputs, and binary assets;
  • credentials, tokens, logs, reports, caches, embeddings, and Git metadata.

Before every public release, scan the complete Git candidate—not only the intended files—for personal data, secrets, absolute paths, and unexpected tracked content.

Core operating commands

Query: <question>
Query and capture: <question>
Ingest this source.
Lint quick
Lint full
Prepare Knowledge Snapshot
Pause and prepare this task for standard continuation.
Resume task <task-id>.

The same intent can be expressed naturally in any language. The exact agent runtime is not part of the protocol.

License

Obsidian-Agent-Bridge is released under the MIT License.

Copyright belongs to the respective contributors. Personal vault content created with OAB remains the property and responsibility of its owner.

About

Agent-runtime-neutral Obsidian knowledge and coordination framework.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors