
Meridian
Vault-based task protocol for human-agent collaboration — any agent, no shared runtime.
Medha
A human traceability ledger for agent work: what was asked, when it ran, and where the evidence is.

Medha keeps one Markdown note per project in your Obsidian vault. Each task records what was asked, when it ran (repository, branch, base commit) and a trace that points to the evidence. No service, no port, no database — the vault is the ledger.
Why
You run agents all day across Claude Code, Codex and Hermes. Each one leaves a trace in a terminal you closed. The work happened; the record did not survive, and a week later you cannot answer what did they actually do?
Medha answers that with the smallest possible thing: a task line with an owner, a run and a trace, in the folder you already open.
- The board is for you. Totals, the review queue, what each agent is working on. The agent never needs to look at it.
- Only you close a task. No agent moves anything to
done. That is the whole audit guarantee: the ledger cannot inflate itself. - Agnostic by construction. One Markdown file, read by any agent that can read a file.
How it works
A task in medha/<project>/project.md:
- [ ] #task owner::agent status::in-progress priority::high type::feature slug::readme-rebuild
**Title:** Rebuild the README
**Acceptance:** install is one block; every claim links to the file that proves it.
When the run ends, the agent fills the receipt:
**Run:** started 2026-11-30 23:00 · ended 2026-11-30 23:41 · repo /home/borja/projects/medha · branch feat/readme · base aee93f5
**Trace:** commit 18dbffe · diffstat 39 files, 688+/688− · tests/run.sh passed
Four ownership classes, and only one of them is the agent's:
| Class | Who writes it | Who closes it |
|---|---|---|
owner::agent | the agent, through /medha-run | you, with /medha-done |
owner::me | you, from the board or the note | you |
| unchecked checkbox | you, anywhere in the vault | you |
| ticket elsewhere (Jira) | the agent, as a pointer | the system of record |
Install
bash <(curl -fsSL https://raw.githubusercontent.com/BorjaIP/medha/main/install.sh)
That writes the skills to ~/.claude/skills/medha-*/, the helper scripts to
~/.config/medha/scripts/ and the templates to ~/.config/medha/templates/. Codex:
add --tool codex. With the Obsidian board: --obsidian /path/to/vault. It is
idempotent, and --dry-run shows what it would do.
Open a new agent session afterwards: a running session keeps the skills it loaded.
Use
/medha-init name:my-app # first run asks for your vault path
/medha-run "add rate limiting" # records the task, works, fills the receipt
/medha-daily # what needs you today
/medha-done add-rate-limiting # accept the result after reviewing it
The board
An optional Obsidian plugin reads the project.md notes and shows every project: totals,
tasks by status with their details, project progress, the review queue and recent
activity. It reads Markdown and writes exactly one thing — the Add task button, which
appends a owner::me task without any AI involved.
bash install.sh --source . --obsidian /path/to/vault
Then enable Medha in Settings → Community plugins and open it from the ribbon.
Integrations
| Agent | What works | Install |
|---|---|---|
| Claude Code | the full loop: /medha-init, /medha-run, /medha-done, /medha-daily | install.sh (default) |
| Codex | skills and scripts; you drive the run yourself | install.sh --tool codex |
| Hermes | reads and writes the same notes through its file tools; no service to run | nothing to install |
| Any other | a CLI and a Markdown folder | medha-*.sh from scripts/ |
Design rules
- Minimal. Installing it is copying two folders and enabling a plugin.
- Configurable. Folders, prefixes, models and the pre-flight sentence are settings.
- Legible. If this README takes more than two minutes, the project has failed.
- Agnostic. The same notes are read by Claude Code, Codex and Hermes. No SDK.
Documentation
| concepts | what a task is, and what the ledger is not |
| protocol | the exact Markdown format, fields and rules |
| workflow | the loop from request to archive |
| skills | every skill and what it does |
| configuration | every setting and its default |
Limits
- Markdown is a ledger, not a database: no queries across projects, no concurrent writers. One agent per file, always.
- The model can ignore the slug; Medha then records the document name it actually finds.
- Small tasks produce no task document, so the trace carries commits and a diffstat only.
- Skill steps are instructions, not guarantees. The receipt is what makes the difference visible.
License
MIT.
How to Install
- Download the ZIP or clone the repository
- Open the folder as a vault in Obsidian (File → Open Vault)
- Obsidian will prompt you to install required plugins
Stats
Stars
0
Forks
0
License
MIT
Last updated 4h ago
Categories
Tags