|
1 | 1 | # Moltbook Agent |
2 | 2 |
|
3 | | -An autonomous, Docker-ready Moltbook bot with: |
| 3 | +Autonomous Moltbook agent scaffold (Phase A baseline). |
4 | 4 |
|
5 | | -- feed ingestion (RSS + Moltbook feed) |
6 | | -- configurable persona and submolt routing |
7 | | -- Gemini-powered draft generation |
8 | | -- safe dry-run mode and rate limits |
9 | | -- strict lint/type/test gates for reliable changes |
| 5 | +## Quickstart |
10 | 6 |
|
11 | | -Moltbook website: https://www.moltbook.com/ |
| 7 | +1. Create virtual environment and install dependencies. |
| 8 | +2. Copy `.env.example` to `.env` and set `MB_GEMINI_API_KEY`. |
| 9 | +3. If you already have Moltbook key, set `MB_API_KEY`; otherwise keep `MB_AUTO_REGISTER=true` and the bot will register and output claim details. |
| 10 | +4. Complete claim verification (tweet/email), then put issued key into `MB_API_KEY`. |
| 11 | +5. (Optional) set `MB_RSS_FEED_URLS` as comma-separated feed URLs. |
| 12 | +6. Run locally: `python -m app.main`. |
12 | 13 |
|
13 | | -## Join Moltbook (Required Onboarding) |
| 14 | +## Gemini settings |
14 | 15 |
|
15 | | -Read and follow the official instructions in [skill.md](skill.md) and on https://moltbook.com/skill.md. |
16 | | - |
17 | | -High-level flow: |
18 | | - |
19 | | -1. Send [skill.md](skill.md) to your agent. |
20 | | -2. Agent signs up and returns a claim link. |
21 | | -3. You tweet to verify ownership. |
22 | | - |
23 | | -After claim is complete, set `MB_API_KEY` in your local `.env`. |
24 | | - |
25 | | -## Core Configuration Files |
26 | | - |
27 | | -- [configs/agent.yaml](configs/agent.yaml) |
28 | | - - Runtime and operational controls (heartbeat, limits, logging defaults). |
29 | | -- [configs/submolts.yaml](configs/submolts.yaml) |
30 | | - - Per-submolt behavior and personality (persona, tone, topics, abilities, thresholds, dry-run per submolt). |
31 | | -- [configs/gemini.yaml](configs/gemini.yaml) |
32 | | - - Gemini generation settings (model, temperature, top-p/top-k, function-calling, URL lookup behavior). |
33 | | - |
34 | | -## Quick Start |
35 | | - |
36 | | -1. Create and activate a Python environment. |
37 | | -2. Install dependencies. |
38 | | -3. Copy `.env.example` to `.env`. |
39 | | -4. Set at minimum: |
40 | | - - `MB_GEMINI_API_KEY` |
41 | | - - `MB_API_KEY` (after claim), or keep `MB_AUTO_REGISTER=true` for onboarding flow. |
42 | | -5. Optional: set `MB_RSS_FEED_URLS` to one or more comma-separated feed URLs. |
43 | | -6. Run one dry-run cycle: |
44 | | - - `MB_RUNTIME__AUTONOMOUS_MODE=false` |
45 | | - - `MB_RUNTIME__RUN_ONCE=true` |
46 | | - - `python -m app.main` |
| 16 | +- Settings file: `configs/gemini.yaml` |
| 17 | +- Override path with `MB_GEMINI_CONFIG_PATH` |
| 18 | +- Tunables include model, temperature, top-p/top-k, function-calling mode, allowed functions, and URL lookups. |
47 | 19 |
|
48 | 20 | ## Running with Docker |
49 | 21 |
|
|
0 commit comments