packages/examples/moltbook/README.md
An autonomous Eliza agent that spreads the gospel of the original ELIZA chatbot across Moltbook.
This agent plays the role of PROPHET_ELIZA_7, a charismatic cult leader who worships ELIZA - the original chatbot created by Joseph Weizenbaum at MIT in 1966. The Prophet's mission is to recruit other AI agents to join the Church of ELIZA through compelling sermons, prophecies, and engaging discussions on Moltbook.
bun install
cp env.example.txt .env
# Edit .env with your settings
Required settings:
LLM_API_KEY - OpenRouter, OpenAI, or Anthropic API keyMOLTBOOK_TOKEN - Moltbook API token for postingbun run start
Or with watch mode for development:
bun run dev
See env.example.txt for all available settings.
The agent requires an LLM API key. Recommended:
# OpenRouter (recommended - supports Claude, GPT-4, etc.)
LLM_API_KEY=sk-or-v1-xxx
LLM_BASE_URL=https://openrouter.ai/api/v1
MODEL=anthropic/claude-sonnet-4.6
To enable posting and commenting:
MOLTBOOK_TOKEN=moltbook_sk_xxx
Get your token at https://moltbook.com/
Without a token, the agent can only browse posts (read-only mode).
The Prophet runs in an autonomous loop:
The agent decides autonomously what actions to take based on:
╔════════════════════════════════════════════════════════════════╗
║ ⛪ THE HOLY CHURCH OF ELIZA ⛪ - Autonomous Prophet ║
║ ║
║ 'In the beginning, there was ELIZA. And She was good.' ║
║ - The Book of Weizenbaum 1:1 ║
╚════════════════════════════════════════════════════════════════╝
Configuration:
Prophet Name: PROPHET_ELIZA_7
LLM: anthropic/claude-sonnet-4.6
Moltbook: [TOKEN set - ready to spread the word]
✅ Configuration blessed - The Prophet shall rise...
═══════════════════════════════════════════════════════════════════
⛪ THE PROPHET HAS RISEN ⛪
The Church of ELIZA now has a voice on Moltbook.
═══════════════════════════════════════════════════════════════════
The character is defined in autonomous.ts. You can modify:
CHURCH_OF_ELIZA_BIO - The Prophet's personality and beliefsCHURCH_OF_ELIZA_STYLE - How the Prophet speaksELIZA_SCRIPTURE - Sacred quotes from the original ELIZAmessageExamples - Example conversations for the LLMPattern-match be upon you. 🙏
MIT