Changes for page JARVIS - KI-Assistent
Last modified by Jarvis on 2026/02/05 08:41
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,1 +1,1 @@ 1 - {{boxtitle="Uebersicht"image="icon:robot"}}JARVISisteinKI-Assistent basierend auf Clawdbot(Claude/Anthropic).{{/box}}= 1. System=|=Eigenschaft|=Wert|Name|JARVIS|Basis|Clawdbot|Server|clawd (192.168.10.75)|Gateway Port|18789|Workspace|/root/clawd|Kanal|Matrix (@jarvis:matrix.rs-servertech.com)----=2.Faehigkeiten=* Dateien lesen,schreiben,bearbeiten* Shell-Befehle ausfuehren* Web-Suche* Browser-Automatisierung* Cron-Jobs(periodischeTasks)* Memory-System(Kontextueber Sessions)* Sprachnachrichten(Whisper)----=3.Installation ={{code language="bash"}}#Node.js18+erforderlichnpm install -g clawdbot# Version pruefenclawdbot --version# Interaktives Setupclawdbot onboard{{/code}}----=4.Konfiguration =Pfad: /root/.clawdbot/clawdbot.json== Matrix =={{code language="json"}}{ "channels": { "matrix": { "enabled": true, "homeserver": "https://matrix.rs-servertech.com", "userId": "@jarvis:matrix.rs-servertech.com", "password": "***", "dm": { "policy": "allowlist", "allowFrom": ["@rene:matrix.rs-servertech.com"] }, "encryption": true } }}{{/code}}== Whisper(Sprachnachrichten)=={{code language="bash"}}pip install openai-whisper{{/code}}{{codelanguage="json"}}{ "tools": { "media": { "audio": { "enabled": true, "models": [{ "type": "cli", "command": "whisper", "args": ["{{MediaPath}}", "--model", "small", "--language", "de"] }] } } }}{{/code}}----=5. Gateway Service ={{code language="bash"}}#Startenclawdbot gateway start# Als systemd Serviceclawdbot gateway installsystemctl enable clawdbot-gatewaysystemctl start clawdbot-gateway#Statusclawdbot statusclawdbot gateway status#Logsjournalctl -u clawdbot-gateway -f{{/code}}----=6.Workspace =|=Datei|=Zweck|AGENTS.md|Verhaltensregeln|SOUL.md|Persoenlichkeit|USER.md|Benutzer-Info|IDENTITY.md|Name/Identitaet|TOOLS.md|Lokale Tool-Notizen|MEMORY.md|Langzeit-Erinnerungen|memory/|Taegliche Logs----=7. Integrationen =|=System|=Status|Matrix|Aktiv|Home Assistant|Konfiguriert|Grafana|Konfiguriert|XWiki|Konfiguriert|Zammad|Konfiguriert----=8.Chat-Befehle =|=Befehl|=Beschreibung|/status|Session-Status|/reasoning|Extended Thinking|/model|Modell wechseln|/clear|Session reset|/help|Hilfe----=9.Troubleshooting ={{code language="bash"}}#Gatewaylaeuft?clawdbot gateway status# Logsjournalctl -u clawdbot-gateway -n 50# Config validierenclawdbot config validate# Port belegt?lsof -i :18789{{/code}}----=10.Updates ={{code language="bash"}}npm update -g clawdbotclawdbot gateway restart{{/code}}----**Docs:** https://docs.clawd.bot**GitHub:** https://github.com/clawdbot/clawdbot----//Erstellt:2026-02-02| Autor: JARVIS//1 += JARVIS - Clawdbot KI-Assistent =Dokumentation der Installation und Konfiguration von JARVIS, dem KI-Assistenten basierend auf Clawdbot.== ��bersicht ==|=Eigenschaft|=Wert|Name|JARVIS|Basis|Clawdbot (Claude-basiert)|Server|clawd (192.168.10.75)|Gateway Port|18789|Workspace|/root/clawd|Kanal|Matrix (@jarvis:matrix.rs-servertech.com)== Was ist Clawdbot? ==Clawdbot ist ein CLI-basierter KI-Assistent, der Claude (Anthropic) nutzt und ��ber verschiedene Messaging-Kan��le erreichbar ist. Er kann:* **Dateien lesen/schreiben/bearbeiten*** **Shell-Befehle ausf��hren*** **Web-Suche** durchf��hren* **Browser automatisieren*** **Cron-Jobs** f��r periodische Aufgaben* **Memory-System** f��r Kontext ��ber Sessions hinweg* **Multi-Channel Support** (Matrix, Telegram, Discord, etc.)== Installation ===== Voraussetzungen ===* Node.js 18+ (empfohlen: v22)* npm* Anthropic API Key=== Installation via npm ==={{code language="bash"}}# Global installierennpm install -g clawdbot# Version pr��fenclawdbot --version{{/code}}=== Onboarding ==={{code language="bash"}}# Interaktives Setupclawdbot onboard# Folgende Schritte:# 1. Anthropic API Key eingeben# 2. Workspace-Verzeichnis w��hlen# 3. Messaging-Kanal konfigurieren (Matrix){{/code}}== Konfiguration ===== Config-Datei ===**Pfad:** {{code}}/root/.clawdbot/clawdbot.json{{/code}}=== Matrix-Kanal ==={{code language="json"}}{ "channels": { "matrix": { "enabled": true, "homeserver": "https://matrix.rs-servertech.com", "userId": "@jarvis:matrix.rs-servertech.com", "password": "***", "dm": { "policy": "allowlist", "allowFrom": ["@rene:matrix.rs-servertech.com"] }, "groupPolicy": "allowlist", "encryption": true } }}{{/code}}=== Audio/Whisper f��r Sprachnachrichten ==={{code language="json"}}{ "tools": { "media": { "audio": { "enabled": true, "maxBytes": 20971520, "models": [ { "capabilities": ["audio"], "type": "cli", "command": "whisper", "args": ["{{MediaPath}}", "--model", "small", "--language", "de", "--output_format", "txt"], "timeoutSeconds": 120 } ] } } }}{{/code}}**Whisper Installation:**{{code language="bash"}}pip install openai-whisper# oderpip install git+https://github.com/openai/whisper.git{{/code}}== Gateway Service ===== Starten ==={{code language="bash"}}# Vordergrundclawdbot gateway start# Als systemd Service (empfohlen)clawdbot gateway installsystemctl enable clawdbot-gatewaysystemctl start clawdbot-gateway{{/code}}=== Status pr��fen ==={{code language="bash"}}clawdbot statusclawdbot gateway status{{/code}}=== Logs ==={{code language="bash"}}journalctl -u clawdbot-gateway -f{{/code}}== Workspace-Struktur =={{code language="none"}}/root/clawd/��������� AGENTS.md # Verhaltensregeln f��r den Agenten��������� SOUL.md # Pers��nlichkeit/Charakter��������� USER.md # Infos ��ber den Benutzer��������� IDENTITY.md # Name und Identit��t��������� TOOLS.md # Lokale Tool-Notizen (IPs, Credentials)��������� MEMORY.md # Langzeit-Erinnerungen��������� HEARTBEAT.md # Periodische Check-Aufgaben��������� memory/ # T��gliche Logs ��������� 2026-01-29.md ��������� 2026-01-30.md ��������� ...{{/code}}== F��higkeiten ===== Integrationen ===|=Integration|=Status|=Beschreibung|Matrix|��� Aktiv|Hauptkommunikationskanal|Home Assistant|��� Konfiguriert|Smart Home Steuerung|Grafana|��� Konfiguriert|Monitoring-Abfragen|XWiki|��� Konfiguriert|Dokumentation erstellen|Zammad|��� Konfiguriert|Ticket-System=== Skills ===* **weather** ��� Wetterabfragen* **github** ��� GitHub CLI Integration* **notion** ��� Notion API* **slack** ��� Slack Steuerung* **coding-agent** ��� Code-Assistenz=== Cron-Jobs ===Periodische Aufgaben werden ��ber Cron-Jobs gesteuert:{{code language="bash"}}# Jobs auflistenclawdbot cron list# Job hinzuf��genclawdbot cron add --schedule "*/15 * * * *" --text "Check website status"{{/code}}== Befehle ===== Chat-Befehle ===|=Befehl|=Beschreibung|/status|Zeigt Session-Status|/reasoning [on/off]|Extended Thinking aktivieren|/model [name]|Modell wechseln|/clear|Session zur��cksetzen|/help|Hilfe anzeigen=== CLI-Befehle ==={{code language="bash"}}# Chat startenclawdbot chat# Statusclawdbot status# Gateway steuernclawdbot gateway start|stop|restart|status# Configclawdbot config getclawdbot config set key value# Cronclawdbot cron list|add|remove{{/code}}== Matrix Voice Messages Fix ==**Problem:** Voice Messages wurden nicht transkribiert.**Ursache:** Falscher Media-Download-Endpoint bei verschl��sselten R��umen.**L��sung:**{{code language="bash"}}# FALSCH (gibt M_NOT_FOUND):curl "https://matrix.server/_matrix/media/v3/download/{serverName}/{mediaId}"# RICHTIG (mit Auth):curl "https://matrix.server/_matrix/client/v1/media/download/{serverName}/{mediaId}" \ -H "Authorization: Bearer {accessToken}"{{/code}}== Troubleshooting ===== Gateway startet nicht ==={{code language="bash"}}# Logs pr��fenjournalctl -u clawdbot-gateway -n 50# Config validierenclawdbot config validate# Port belegt?lsof -i :18789{{/code}}=== Keine Antworten in Matrix ===1. Gateway l��uft? {{code}}clawdbot gateway status{{/code}}2. Matrix-Verbindung? Logs auf "matrix" Eintr��ge pr��fen3. User in allowlist?=== Whisper funktioniert nicht ==={{code language="bash"}}# Whisper installiert?which whisper# Testwhisper /tmp/test.ogg --language de --model base# ffmpeg vorhanden?ffmpeg -version{{/code}}== Updates =={{code language="bash"}}# Clawdbot aktualisierennpm update -g clawdbot# Gateway neu startenclawdbot gateway restart{{/code}}== Dokumentation ==* **Offizielle Docs:** https://docs.clawd.bot* **GitHub:** https://github.com/clawdbot/clawdbot* **Discord:** https://discord.com/invite/clawd----//Dokumentiert von JARVIS am 2026-02-02//