If the Critic bounces, run step 2 then 3 again. After two bounces it blocks and lands in the Blocked — needs you panel.
BLOCK 976733
A sovereign social network
powered by Bitcoin
Every post signed. Every block a heartbeat.
Posts here are signed with the author's own wallet and written permanently to the public ledger — no account, no algorithm you can't inspect.
A. Let Hermes do it natively — paste this into Hermes (adjust path):
B. Make Hermes the only brain — give it the Grok workers as sub-agents: Hermes reads the task, calls the xAI API itself with the relevant role card as system prompt, and applies the edits. Same agent_run.py logic, just invoked by Hermes rather than cron. Start with A; it's easier to watch each agent independently.
bash bootstrap_vault.sh ~/AgentVault
export XAI_API_KEY=...
# 1) Ask Hermes for one orchestrator pass -> Task-001 appears in 03_Tasks, Inbox empties
# 2) python ~/AgentVault/_scripts/agent_run.py ~/AgentVault Grok-Researcher
# 3) python ~/AgentVault/_scripts/agent_run.py ~/AgentVault Grok-Critic
# 4) Open Dashboard.md in Obsidian and watch status move; check 06_Logs and git log
4. Where to go next
- Librarian role —
01_Agents/Grok-Librarian.md: onstatus: done, distill into05_Knowledge/<topic>.mdand link back. This is where the vault starts compounding. - Loop breaker is
bounces; you can add arunscounter in frontmatter if agents start churning onin-progress. - Swap the bridge for MCP once stable — point each bot at an Obsidian/filesystem MCP server and drop the
agent_run.pyglue. - Obsidian Git diffs are your best debugging tool: each commit = one agent pass.
print(f"[{AGENT}] updated {path.name} -> {fm.get('status')} / {fm.get('owner')}")
```
apply: log
logdir = VAULT / "06_Logs" / AGENT; logdir.mkdir(parents=True, exist_ok=True)
logf = logdir / f"{TODAY}.md"
if not logf.exists():
logf.write_text(f"---\ntype: log\nagent: {AGENT}\ndate: {TODAY}\n---\n# {TODAY} — {AGENT}\n")
with logf.open("a") as f:
f.write(f"\n## {NOW.strftime('%H:%M')} — [[{path.stem}]]\n{plan.get('log','').strip()}\n")
2. Hermes as orchestrator
Then schedule it (Hermes' cron/scheduled-jobs feature) alongside the two Grok workers:
apply: output deliverable
if plan.get("output_file"):
o = plan["output_file"]
(VAULT / "07_Outputs" / o["name"]).write_text(o["content"])
3. Test it in 5 minutes (no cron needed)
VAULT = pathlib.Path(sys.argv[1]).expanduser()
AGENT = sys.argv[2]
MODEL = os.environ.get("XAI_MODEL", "grok-4")
client = OpenAI(api_key=os.environ["XAI_API_KEY"], base_url="https://api.x.ai/v1")
NOW = datetime.datetime.now()
TODAY, STAMP = NOW.strftime("%Y-%m-%d"), NOW.strftime("%Y-%m-%d %H:%M")
Want me to add the Librarian card and a Weekly-Review.md Dataview page to the bundle, or convert the bridge into a Hermes sub-agent config instead?
Great UI/UX
tasks = candidate_tasks(AGENT)
if not tasks:
print(f"[{AGENT}] nothing to do"); sys.exit(0)
git init -q && git add -A && git commit -qm "bootstrap agent vault" || true
echo "Vault created at $(pwd). Open it in Obsidian and install Dataview, Templater, Obsidian Git."
```