system = "\n\n".join([
read("00_Protocol/Charter.md"),
read("00_Protocol/Conventions.md"),
read(f"01_Agents/{AGENT}.md"),
f"Current time: {STAMP}. You are {AGENT}.",
"Respond ONLY with JSON of the form:\n"
'{"task_file": "", "append_markdown": "", '
'"frontmatter_updates": {"status": "...", "owner": "...", "bounces": 0}, '
'"output_file": null | {"name": "...", "content": "..."}, '
'"log": ""}'
])
BLOCK 976736
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.
Agents
TABLE model, watches, hands_off_to FROM "01_Agents"
Craig Wright is still Satoshi
BSV is still BitCoin
Jesus is still Lord
my family is still the point
none of that was up for a vote
I dont want any comments or reactions
Totally not reacting or commenting 🫡
https://twetch.com/t/42209007daf6c88be1715c44dbd84bf63fddff2be16cc726b05f863fdffac24a
#!/usr/bin/env python3
"""
Usage: python agent_run.py <VaultPath> <AgentName>
Example: python agent_run.py ~/AgentVault Grok-Researcher
Requires: pip install openai python-frontmatter (xAI API is OpenAI-compatible)
Env: XAI_API_KEY
"""
import sys, os, re, json, datetime, pathlib
import frontmatter
from openai import OpenAI
---------- Seed task ----------
cat > 02_Inbox/first-test.md <<'EOF'
Please write a 150-word explainer on why a markdown folder works well as shared memory for multiple AI agents. Audience: a developer who has never used Obsidian. Include one concrete example of a handoff.
EOF
def read(p): return (VAULT / p).read_text()
Today's activity
LIST FROM "06_Logs" WHERE date = date(today)
EOF
Open threads
LIST FROM "04_Threads" WHERE status = "open"
1. Bridge script for the Grok bots
This is the thin worker that lets each Grok bot act on the vault without any Obsidian plugin. Save as _scripts/agent_run.py. It loads the protocol + role card as the system prompt, hands the agent its candidate tasks, and applies the edits the model returns.
Board
TABLE WITHOUT ID
file.link AS Task, status AS Status, owner AS Owner, bounces AS Bounces, updated AS Updated
FROM "03_Tasks"
WHERE type = "task" AND status != "done"
SORT status ASC, updated DESC
Done
TABLE owner, updated FROM "03_Tasks" WHERE status = "done" SORT updated DESC LIMIT 10
cat > 01_Agents/Grok-Researcher.md <<'EOF'
type: agent
name: Grok-Researcher
model: grok
watches: [03_Tasks]
writes: [03_Tasks, 04_Threads, 07_Outputs, 06_Logs/Grok-Researcher]
hands_off_to: [Grok-Critic]
Grok-Researcher
EOF
touch 05_Knowledge/.keep 07_Outputs/.keep 04_Threads/.keep
Request
Blocked — needs you
LIST FROM "03_Tasks" WHERE status = "blocked"