docs: Fase C — R3 (Ollama), R4 (cron jobs), R5 (agent name), R6 (Qdrant)

R3: .env.example — Embedding backend reestruturado com Option A (Ollama,
recomendado para produção) e Option B (OpenRouter). install.md passo 4
atualizado para mencionar Ollama como opção local.

R4: install.md passo 8 — adicionados 3 cron jobs stack-base na tabela
e nos exemplos CLI: holographic-memory-backup (backup semanal do
memory_store.db), wiki-raw-ingest-monitor (detecção de drift em raw/),
maas-heartbeat (healthcheck Qdrant/Redis/ARQ).

R5: .env.example + install.md passo 6 — adicionado HERMES_AGENT_NAME.
state.py write_entry agora loga warning quando AGENT_NAME não está
definido.

R6: install.md Troubleshooting — nota sobre coexistência de coleções
Qdrant (knowledge_base + outras coleções de agentes externos).
This commit is contained in:
ClaudioDrews
2026-06-03 15:46:31 -03:00
parent 6b11dc554a
commit 3fd7cd6faf
3 changed files with 55 additions and 10 deletions
+13 -10
View File
@@ -4,10 +4,6 @@
# ── Required ──────────────────────────────────────────
# OpenRouter API key — REQUIRED only when EMBEDDING_API_BASE points to OpenRouter.
# For local providers (Ollama, vLLM, llama.cpp) leave unset or comment out.
OPENROUTER_API_KEY=sk-or-...
# Redis password (generate with: openssl rand -hex 16)
REDIS_PASSWORD=
@@ -49,12 +45,14 @@ MAA_ENV_PATH=/home/your-user/.env
# ── Embedding Backend ─────────────────────────────────
# Default: OpenRouter with Qwen3-Embedding-8B.
# Recommended model: multilingual (excellent for non-English content),
# high-quality 4096d embeddings, fast inference, affordable pricing.
# To use a local model (Ollama, vLLM, llama.cpp), set both vars:
# EMBEDDING_API_BASE=http://host.docker.internal:11434/v1
# EMBEDDING_MODEL=nomic-embed-text
# Choose ONE backend. If both are set, Ollama takes priority (local, zero cost).
#
# Option A: Ollama (recommended for production, local, zero latency)
OLLAMA_BASE_URL=http://localhost:11434
OLLAMA_EMBEDDING_MODEL=nomic-embed-text
#
# Option B: OpenRouter (cloud, pay-per-use, multilingual Qwen3-Embedding-8B)
# OPENROUTER_API_KEY=sk-or-...
# EMBEDDING_API_BASE=https://openrouter.ai/api/v1
# EMBEDDING_MODEL=qwen/qwen3-embedding-8b
@@ -65,6 +63,11 @@ MAA_ENV_PATH=/home/your-user/.env
# ── Strongly Recommended ──────────────────────────────
# Agent identity — distinguishes this agent in fabric entries and cross-agent
# handoffs. Without this, fabric entries use "agent" as a fallback and
# multi-agent deployments cannot tell agents apart.
HERMES_AGENT_NAME=hermes
# LLM extraction token limit — 1024 is too small, causes fabric truncation
ICARUS_EXTRACTION_MAX_TOKENS=4096