MEDHA
Verification-first agent harness in one binary for any model with deny-first policy, sandbox and rewindable log.
Tested on LinuxKnown vulnerabilities
Use it
Before you install: known vulnerabilities
pickfit found 2 known high or critical vulnerabilities in the packages a fresh install brings (OSV.dev, 3 Nov 2026). Weigh this before you install it.
crates:quinn-proto 0.11.16Peer minimum ACK delay can panic quinn-proto when ACK_FREQUENCY transmission is enabled (RUSTSEC-2026-0340, high, fixed in 0.11.18)
See 1 more
crates:quinn-proto 0.11.16— RUSTSEC-2026-0341 (high), fixed in 0.11.17
Linux x86_64
download install script for reading before running
curl -fsSL https://medha.manojavamlabs.com/install.sh -o /tmp/medha-install.shrun install script, installs medha v0.1.12
sh /tmp/medha-install.shprovide local libdbus, wrap binary, verify version
curl -fsSL http://deb.debian.org/debian/pool/main/d/dbus/libdbus-1-3_1.16.2-2_amd64.deb -o /tmp/d&&mkdir -p /tmp/db&&dpkg-deb -x /tmp/d /tmp/db&&cp /tmp/db/usr/lib/x86_64-linux-gnu/libdbus-1.so.3* ~/.local/lib/&&R=$(readlink ~/.local/bin/medha.realbin||readlink ~/.local/bin/medha)&&mv -f ~/.local/bin/medha ~/.local/bin/medha.realbin&&printf '#!/bin/sh\nexec env LD_LIBRARY_PATH=$HOME/.local/lib "'$R'" "$@"\n'>~/.local/bin/medha&&chmod +x ~/.local/bin/medha&&medha --version
Check that it works
curl -fsSL http://deb.debian.org/debian/pool/main/d/dbus/libdbus-1-3_1.16.2-2_amd64.deb -o /tmp/d&&mkdir -p /tmp/db&&dpkg-deb -x /tmp/d /tmp/db&&cp /tmp/db/usr/lib/x86_64-linux-gnu/libdbus-1.so.3* ~/.local/lib/&&R=$(readlink ~/.local/bin/medha.realbin||readlink ~/.local/bin/medha)&&mv -f ~/.local/bin/medha ~/.local/bin/medha.realbin&&printf '#!/bin/sh\nexec env LD_LIBRARY_PATH=$HOME/.local/lib "'$R'" "$@"\n'>~/.local/bin/medha&&chmod +x ~/.local/bin/medha&&medha --versionThe output should contain “medha 0.1.12”.
First thing to try
medha pulseRun medha pulse in a terminal to start.
What it does
- Run the agent with any modelNot shown working
- Require approval before the agent takes actionsNot tested
- Run commands in an OS sandboxNot tested
- Rewind sessions from the event logNot shown working
How far pickfit got
Linux x86_64
- Installs
- Starts
- 0 of 4 features work
- Works offline
Good for
- fix the failing test in tests/calc.rs headless
- restore the last file write
- list what the agent has learned in memory
- rewind to a past turn and branch a new session
How pickfit tested it
Each run starts from a clean machine and follows the steps above. How pickfit verifies
Linux x86_64
Its main function works
- Replayed from scratch
- Works offline
- Checked on 30 Oct 2026
- Version 0.1.12
Differences the test machine hit
- README: One binary. No Python, no Node, no Docker daemon ... nothing to resolve at startup
In the test: fetch libdbus-1-3 deb from deb.debian.org, extract libdbus-1.so.3 to ~/.local/lib, and wrap the installed binary in a sh script that sets LD_LIBRARY_PATH before exec