Skip to content

Open-source personal finance manager. Self-hosted, privacy-first.

docs: document AI Agents opt-in (COMPOSE_PROFILES + AGENTS_ENABLED)

Tássio Noronhaf4d93692464f
diff --git a/.env.example b/.env.example
index 3caf1c14..c838abf2 100644
--- a/.env.example
+++ b/.env.example
@@ -9,7 +9,13 @@ PLUGGY_CLIENT_ID=
PLUGGY_CLIENT_SECRET=
# Host ports (optional) — change these to avoid conflicts with other services
-## Default values are set in docker-compose.yml and docker-compose.prod.yml.
+## Default values are set in docker-compose.yml and docker-compose.prod.yml.
## Example:
# FRONTEND_PORT=3132
-# BACKEND_PORT=8182
\ No newline at end of file
+# BACKEND_PORT=8182
+
+# AI Agents (optional) — to enable, set BOTH:
+# 1) the feature flag
+# 2) COMPOSE_PROFILES so `docker compose up` starts the mcp-server container
+# AGENTS_ENABLED=true
+# COMPOSE_PROFILES=agents
\ No newline at end of file
diff --git a/README.md b/README.md
index ed979589..08efa93f 100644
--- a/README.md
+++ b/README.md
@@ -53,6 +53,7 @@ Open [http://localhost:3000](http://localhost:3000) and create an account. That'
- Multi-user support with admin panel and registration controls
- Two-factor authentication (TOTP) with brute-force protection
- Dark/light theme, multi-language support, privacy mode
+- AI Agents (optional): self-hosted LLM chat with tool-use over your data, plus a per-agent RAG knowledge base
## Bank Sync (Optional)
@@ -75,6 +76,19 @@ OPENEXCHANGERATES_APP_ID=your-app-id
Rates are fetched on-demand when foreign-currency transactions are created. Without a key, cross-currency amounts default to a 1:1 fallback rate with a visual warning.
+## AI Agents (Optional)
+
+Self-hosted AI assistants over your Securo data — multi-provider (OpenAI, Anthropic, Ollama, OpenAI-compatible), tool-use via MCP, per-agent RAG knowledge base, ⌘J global chat panel.
+
+Add to `.env`:
+
+```
+AGENTS_ENABLED=true
+COMPOSE_PROFILES=agents
+```
+
+Then `docker compose up -d`. Settings → AI Agents to add a provider connection. Off by default; zero cost when off.
+
## Tech Stack
| Layer | Stack |