Initial commit : agent2 basé sur agent1

- agent2.py : bot XMPP agent2@xmpp.ovh
- skills/ : web_search, web_read, memory, prompt_memory (ChromaDB), mqtt
- Chemins mis à jour vers /opt/agent2

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-07 11:10:47 +00:00
parent 3ab9ecc155
commit 47f88f7cde
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ SKILL_NAME = "memory"
TRIGGER = None
TRIGGERS = {"REMEMBER:": "remember", "RECALL:": "recall"}
DB_PATH = Path("/opt/agent/memory.db")
DB_PATH = Path("/opt/agent2/memory.db")
def _get_conn():
conn = sqlite3.connect(DB_PATH)
+1 -1
View File
@@ -23,7 +23,7 @@ TRIGGERS = {
"PROMPT_DEL:": "prompt_del",
}
DB_PATH = Path("/opt/agent/chroma_db")
DB_PATH = Path("/opt/agent2/chroma_db")
# Phase 1 : embedding factice (hash MD5 → vecteur 16 dims)
# Phase 2 : remplacer par un vrai modèle (ex: sentence-transformers)