v0.2.0 - bring your own LLM + history-grounded drafts
The autoreply sidecar no longer assumes Claude Code or an external notes source. Bring any LLM, and drafts ground themselves in your own WhatsApp history out of the box.
Bring your own LLM
AUTOREPLY_LLM_PROVIDER selects the backend for draft generation:
claude-cli(default) - the localclaudeCLI, no API key neededanthropic- Anthropic Messages API via the official SDK (AUTOREPLY_LLM_API_KEYorANTHROPIC_API_KEY)openai- ANY OpenAI-compatible chat-completions endpoint: OpenAI, OpenRouter, Groq, Mistral, and local runtimes like Ollama or LM Studio (AUTOREPLY_LLM_BASE_URL+AUTOREPLY_LLM_MODEL; key optional for local endpoints)
Drafts grounded in your own message history
- Reference context from WhatsApp history: each draft now sees the recent conversation with that chat plus keyword matches across all stored messages - no external "second brain" required
- Style corpus auto-build: if no style corpus exists when the first draft is generated, one is built automatically from your own sent messages
npm run autoreply:build-corpusno longer fails without a notes source - it falls back to a WhatsApp-only corpus
Config
# example: OpenRouter
AUTOREPLY_LLM_PROVIDER=openai
AUTOREPLY_LLM_BASE_URL=https://openrouter.ai/api/v1
AUTOREPLY_LLM_API_KEY=sk-or-...
AUTOREPLY_LLM_MODEL=anthropic/claude-sonnet-4.6Full reference: docs/autoreply.md