Moltbot-Lite: Windows-first AI assistant with Web + Mail, workspace files, memory, and scheduled tasks.
- Web UI: Local HTTP server (default port 3000), chat and session list at
/ - Mail: IMAP/SMTP (e.g. QQ mailbox), MBCTX protocol for context and agent selection
- LLM: SiliconFlow (OpenAI-compatible), configurable models
- Memory: Per-conversation summary + facts (file-based), optional LLM summarization
- File tools: Workspace-only (WorkspaceFS), read/list without approval; write/delete require approval via
/api/approvals - Scheduler: Cron tasks in
data/tasks.json, actions: sendMessage (mail), runTool, runChat
- Copy
.env.exampleto.envand set at least:SILICONFLOW_API_KEYfor LLM- Optionally
MAIL_USER/MAIL_PASSfor Mail channel
- Install and run:
pnpm install
pnpm dev- Open http://localhost:3000 for the Web UI.
GET /api/sessions– list conversationsPOST /api/chat– send message (body:{ sessionId?, message, agentId? })GET /api/thread?sessionId=...– get threadPOST /api/tools/file/list– list workspace (body:{ path? })POST /api/tools/file/read– read file (body:{ path, maxBytes? })POST /api/tools/file/write– request write (returnspendingId; thenPOST /api/approvals/:id/approve)POST /api/tools/file/delete– request delete (same approval flow)GET /api/approvals– list pending approvalsPOST /api/approvals/:id/approve– approve and runPOST /api/approvals/:id/reject– rejectGET /api/tasks– list scheduled tasksPOST /api/tasks– add task (body:{ id?, cron, timezone?, action, enabled? })
data/conv/<convId>/– meta.json, thread.jsonl, summary.md, facts.jsondata/workspace/– file tool rootdata/tasks.json– scheduled tasksdata/runs.jsonl– scheduler run logdata/audit.jsonl– tool call auditdata/inbox_processed.jsonl– mail dedupe
MIT