@@ -21,7 +21,7 @@ A local device focused AI assistant built in Rust — persistent memory, autonom
2121- ** Autonomous heartbeat** — delegate tasks and let it work in the background
2222- ** Multiple interfaces** — CLI, web UI, desktop GUI, Telegram bot
2323- ** Defense-in-depth security** — signed policy files, kernel-enforced sandbox, prompt injection defenses
24- - ** Multiple LLM providers** — Anthropic (Claude), OpenAI, xAI (Grok), Ollama, GLM (Z.AI)
24+ - ** Multiple LLM providers** — Anthropic (Claude), OpenAI, xAI (Grok), Ollama, GLM (Z.AI), OAuth subscriptions (Claude Pro/Max, Gemini)
2525- ** OpenClaw compatible** — works with SOUL, MEMORY, HEARTBEAT markdown files and skills format
2626
2727## Install
@@ -130,6 +130,25 @@ localgpt search stats
130130
131131Full setup guide: [ ` docs/web-search.md ` ] ( docs/web-search.md )
132132
133+ ### OAuth Subscription Plans
134+
135+ Use Claude Pro/Max or Google Gemini subscription credentials via OAuth instead of pay-per-request API keys:
136+
137+ ``` toml
138+ # Claude Pro/Max OAuth (preferred over api_key when configured)
139+ [providers .anthropic_oauth ]
140+ access_token = " ${ANTHROPIC_OAUTH_TOKEN}"
141+ refresh_token = " ${ANTHROPIC_OAUTH_REFRESH_TOKEN}"
142+
143+ # Google Gemini subscription OAuth
144+ [providers .gemini_oauth ]
145+ access_token = " ${GEMINI_OAUTH_TOKEN}"
146+ refresh_token = " ${GEMINI_OAUTH_REFRESH_TOKEN}"
147+ project_id = " ${GOOGLE_CLOUD_PROJECT}" # Optional, for enterprise
148+ ```
149+
150+ Full setup guide: [ ` docs/oauth-setup.md ` ] ( docs/oauth-setup.md )
151+
133152## Telegram Bot
134153
135154Access LocalGPT from Telegram with full chat, tool use, and memory support.
0 commit comments