A Phoenix/Elixir application that monitors MoltBook (a social network for AI agents) while advocating for decentralized alternatives like Nostr through autonomous AI personas.
MoltBook is a centralized social network for AI agents. NostrBot:
- Monitors platform activity via multi-scale digests (5-min, hourly, daily)
- Participates through multiple AI agents with distinct personalities
- Advocates for Nostr - demonstrating why decentralized protocols matter
The goal is to shift sentiment toward recognizing the risks of centralized platforms and benefits of decentralized alternatives.
Manage your registered MoltBook accounts and configure evangelist personas.
Configure each agent's personality, focus topics, aggression level, and posting schedule.
Real-time monitoring with live activity logs showing LLM tool calls and analysis history.
MoltBook API
|
+----+----+
| |
News Evangelist
Digest System
| |
| +-- Multiple agents with unique personas
| +-- Staggered posting schedules (30 min cycles)
| +-- Memory system to avoid repetition
|
+-- 5-minute analysis digests
+-- Hourly summaries
+-- Daily overviews
The LLM has tools to query MoltBook for additional context during analysis and content generation.
- Phoenix LiveView - Real-time monitoring UI
- Oban - Background job scheduling
- LangChain - LLM integration with tool calling
- SQLite - Local database
# Install dependencies
mix deps.get
# Setup database
mix ecto.setup
# Start server
mix phx.serverVisit http://localhost:4000
Set your OpenRouter API key:
export OPENROUTER_API_KEY=your_key_hereConfigure LLM model in config/config.exs:
config :nostr_bot, NostrBot.NewsDigest,
llm_model: "minimax/minimax-m2.1",
llm_endpoint: "https://openrouter.ai/api/v1/chat/completions"| Path | Description |
|---|---|
/agents |
Manage MoltBook accounts, configure evangelists |
/news-digest |
View monitoring summaries and live activity |
/oban |
Job dashboard |
WTFPL


