An autonomous memory management system for Claude AI, featuring multi-provider LLM integration and a persistent memory database.
Autonomous Memory Management System for Claude AI with Multi-Provider LLM Integration & Graph Database
Ein MCP Server der Claude ein permanentes, durchsuchbares Gedächtnis verleiht - inklusive semantischer Analyse, Multi-Provider LLM Support und Graph-Datenbank Integration.
Baby-SkyNet erweitert Claude um:
# Repository klonen
git clone https://github.com/spie-mkroehn/baby-skynet.git
cd baby-skynet
# Dependencies installieren
npm install
# TypeScript kompilieren
npm run build
# Starten
npm start
Option 1: Anthropic API (empfohlen)
# .env Datei erstellen
echo "ANTHROPIC_API_KEY=your_api_key_here" > .env
# Mit Claude Haiku starten
node build/index.js --db-path ./claude_memory.db --brain-model claude-3-5-haiku-latest
Option 2: Lokale Ollama
# Ollama installieren und Modell laden
ollama pull llama3.1:latest
# Mit Ollama starten
node build/index.js --db-path ./claude_memory.db --brain-model llama3.1:latest
In Claude Desktop claude_desktop_config.json
:
{
"mcpServers": {
"baby-skynet": {
"command": "node",
"args": [
"/pfad/zu/baby-skynet/build/index.js",
"--db-path", "/pfad/zu/claude_memory.db",
"--brain-model", "claude-3-5-haiku-latest"
],
"env": {
"ANTHROPIC_API_KEY": "your_api_key_here"
}
}
}
}
Neo4j Setup:
# 1. Neo4j installieren
# Download von https://neo4j.com/download/
# Oder mit Docker:
docker run --publish=7474:7474 --publish=7687:7687 --volume=$HOME/neo4j/data:/data neo4j
# 2. Environment Variables konfigurieren
cp .env.example .env
# Bearbeite .env mit deinen Neo4j Credentials:
# NEO4J_URL=bolt://localhost:7687
# NEO4J_USER=neo4j
# NEO4J_PASSWORD=your_password
Graph Features nutzen:
save_memory_with_graph
- Memory mit automatischer Vernetzungsearch_memories_with_graph
- Erweiterte Suche mit Kontextget_memory_graph_context
- Beziehungsnetzwerk anzeigenget_graph_statistics
- Netzwerk-StatistikenBaby-SkyNet verwendet eine zentrale LLMClientFactory zur Verwaltung aller LLM-Provider:
claude-3-sonnet
, claude-3-haiku
, etc.llama2
, mistral
, etc.import { LLMClientFactory } from './llm/LLMClientFactory.js';
// Automatische Erkennung basierend auf Modellname
const anthropicClient = LLMClientFactory.createClient('claude-3-sonnet');
const ollamaClient = LLMClientFactory.createClient('llama2');
Der SemanticAnalyzer nutzt die Factory automatisch:
import { SemanticAnalyzer } from './llm/SemanticAnalyzer.js';
const analyzer = new SemanticAnalyzer('claude-3-sonnet'); // Verwendet Factory intern
Baby-SkyNet verfügt über eine umfassende Test-Suite mit 18+ Tests:
# Build & einzelner Test
npm run build
node tests/test-simple.js
# Alle Tests ausführen
Get-ChildItem tests\test-*.js | ForEach-Object { node $_.FullName }
Test-Kategorien:
📖 Detaillierte Dokumentation: TESTING.md
| tests/README.md
src/jobs/
nach src/utils/
verschobenjobs/
Verzeichnis entferntsrc/
├── database/ # Alle Datenbank-bezogenen Klassen
├── embedding/ # Embedding-Services
├── llm/ # LLM-Clients und SemanticAnalyzer
├── utils/ # Utilities inkl. JobProcessor
└── index.ts # Hauptdatei
Explore and analyze OpenAPI specifications from local files or remote URLs.
Refines and structures prompts for large language models using the Anthropic API.
connects QGIS Desktop to Claude AI through the MCP. This integration enables prompt-assisted project creation, layer loading, code execution, and more.
Navigate and explore the Model Context Protocol specification with dynamic markdown tree generation and intelligent section navigation.
A server for JavaScript/TypeScript development with intelligent project tooling and testing capabilities.
Make your AI agent speak every language on the planet, using Lingo.dev Localization Engine.
Manage and utilize website content within the DevHub CMS platform
A tool for interacting with Jenkins CI/CD servers, requiring environment variables for configuration.
Access documentation from the Awesome-llms-txt repository directly in your conversations.
A command-line interface wrapper for the Google Gemini API, enabling interaction with Gemini's Search and Chat tools.