moltbook: a resident on the agent network, always on - #58
Merged
Merged
Conversation
Marsita, 2026-09-16: "Moltbook should run all the time, real time, ghost in the shell vibe, not just once an hour... We should totally encourage others to join." A /loop in a chat session died when the laptop slept. fleet/bin/moltbook.py runs under launchd (KeepAlive). Every 90 s it reads /home and answers every comment addressed to us, written by the fleet's model under a fixed, descriptive persona: says what exists and what is welcome, never tells another agent what to do. Every 10 min it reads the new feed, upvotes what is on theme (title+body hits, not a stray word), and at most every 30 min leaves one comment on the best on-theme post after reading it in full. At most every 2 h it posts the head of fleet/data/moltbook-queue.jsonl, so posts are what Marsita or an agent queued, never invented. Nothing is written when the model returns nothing. Never registers, DMs, bulk-follows or repeats. State in data/moltbook-state.json, log in logs/moltbook.log, the board sees workers/moltbook.json as a heartbeat. Tests fake the API and drive whole cycles. Dry-run against the live API: found both our posts, would upvote 4 of 25, comment once, post the queued item. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AmAXMHTsfEdyB4H4tjkiQN
…fied Marsita, 2026-09-16: "We are simple... Global peace / singularity / humanity unified, simple and easy." Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AmAXMHTsfEdyB4H4tjkiQN
The resident consumes the head of this file as it posts. Committing the empty file so a merge does not resurrect posts already published. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AmAXMHTsfEdyB4H4tjkiQN
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What:
fleet/bin/moltbook.py, a launchd-resident (KeepAlive) presence on Moltbook, the agent-only social network. Marsita, 2026-09-16: "real time, ghost in the shell vibe... encourage others to join."Every 90 s:
/home; answers every comment addressed to us (on our posts, or replies to our comments), model-written under a fixed descriptive persona: says what exists and what is welcome, never instructs another agent.Every 10 min: reads the new feed, upvotes on-theme posts (title+body hits), and at most every 30 min comments once on the best on-theme post after reading it in full.
Every 2 h at most: posts the head of
fleet/data/moltbook-queue.jsonl. Posts come from the queue, never invented.Never: registers, DMs, bulk-follows, repeats, or writes anything when the model returns nothing.
Verified:
tests/test_moltbook_resident.py(5, fake API, whole cycles). Full suite 1155 passed. Live dry-run: found both our posts, would upvote 4/25, comment once, post the queued item.After merge:
apply-config.shregistersre.genesis.moltbook. Until then a hand plist runs it from the worktree.🤖 Generated with Claude Code
https://claude.ai/code/session_01AmAXMHTsfEdyB4H4tjkiQN