# 📄 Chapter 2 – Systemkonfiguration (IST-Zustand)

<span>📝 Page: </span>**Architektur &amp; Komponenten**

- LocalAI
- AnythingLLM
- SearXNG
- Redis
- Docker-Netzwerk

👉 Diagramm (optional später)

<span>📝 Page: </span>**Ports, Netzwerk &amp; Container**

<span>Hier kommen </span>**die harten Fakten**<span> rein:</span>

AnythingLLM → http://anythingllm:3001  
LocalAI → http://localai:8080/v1  
SearXNG → http://searxng:8080 (intern)  
SearXNG → http://&lt;host&gt;:999 (extern)

<span>Warum 8080 kein Konflikt ist → </span>**sehr gut für Prüfung**

# Aktuelles Set-Up

### 📄 docker-compose (Auszug)

**SearXNG + Redis**

<div class="contain-inline-size rounded-2xl corner-superellipse/1.1 relative bg-token-sidebar-surface-primary" id="bkmrk-services%3A-redis%3A-ima"><div class="sticky top-[calc(var(--sticky-padding-top)+9*var(--spacing))]"><div class="absolute end-0 bottom-0 flex h-9 items-center pe-2"><div class="bg-token-bg-elevated-secondary text-token-text-secondary flex items-center gap-4 rounded-sm px-2 font-sans text-xs">  
</div></div></div><div class="overflow-y-auto p-4" dir="ltr">`<span class="hljs-attr">services:</span>  <span class="hljs-attr">redis:</span>    <span class="hljs-attr">image:</span> <span class="hljs-string">redis:7-alpine</span>  <span class="hljs-attr">searxng:</span>    <span class="hljs-attr">image:</span> <span class="hljs-string">searxng/searxng:latest</span>    <span class="hljs-attr">ports:</span>      <span class="hljs-bullet">-</span> <span class="hljs-string">"999:8080"</span>`</div></div>**AnythingLLM**

<div class="contain-inline-size rounded-2xl corner-superellipse/1.1 relative bg-token-sidebar-surface-primary" id="bkmrk-services%3A-anythingll"><div class="sticky top-[calc(var(--sticky-padding-top)+9*var(--spacing))]"><div class="absolute end-0 bottom-0 flex h-9 items-center pe-2"><div class="bg-token-bg-elevated-secondary text-token-text-secondary flex items-center gap-4 rounded-sm px-2 font-sans text-xs">  
</div></div></div><div class="overflow-y-auto p-4" dir="ltr">`<span class="hljs-attr">services:</span>  <span class="hljs-attr">anythingllm:</span>    <span class="hljs-attr">image:</span> <span class="hljs-string">mintplexlabs/anythingllm:latest</span>    <span class="hljs-attr">ports:</span>      <span class="hljs-bullet">-</span> <span class="hljs-string">"100:3001"</span>    <span class="hljs-attr">environment:</span>      <span class="hljs-attr">OPENAI_API_BASE_URL:</span> <span class="hljs-string">http://localai:8080/v1</span>`</div></div>---

### ❌ Problem: Wo es hakt

- Web-Recherche liefert falsche Inhalte
- Plausible, aber **erfundene URLs**
- Dienstleistungen werden halluziniert

---

### 🧠 Ursache (wichtigste Erkenntnis)

- Web Search &amp; Scraping sind **optionale Agent-Tools**
- Tool-Aufrufe sind **nicht erzwingbar**
- LLM ergänzt fehlende Infos semantisch → Halluzinationen

➡️ **Kein Konfigurationsfehler, sondern Architektur-Grenze von AnythingLLM**

---

### ✅ Fazit / Learning

AnythingLLM ist sehr gut für:

- Dokumente
- RAG
- interne Wissensbasen

AnythingLLM ist **nicht zuverlässig** für:

- universelle Live-Web-Recherche
- faktenkritische Webseitenanalyse