k8s llm agent for planing, monitoring and auto healing of the cluster
# LangGraph K8s Agent Agent Kubernetes piloté par LLM (Ollama + DeepSeek) construit avec LangGraph. Il observe votre cluster, propose/planifie des actions et peut appliquer des remédiations automatiques via un moteur de règles simple. ## Fonctionnalités - **Observation et raisonnement** via LLM (DeepSeek local avec Ollama) - **Auto-healing** minimaliste via `src/healing/`: - Règles déclaratives (`Rule`) - Registre d’actions (`ActionRegistry`) - Cooldowns pour éviter les boucles - Moteur d’évaluation (`HealingEngine`) - **Intégration K8s**: utilise votre `~/.kube/config` (monté en read-only) - **Mode API (optionnel)** et intégrations monitoring (Prometheus/Grafana en profils) ## Architecture (aperçu) ``` langgraph-k8s-agent/ ├─ src/ │ ├─ agent/ │ │ ├─ __init__.py │ │ ├─ state.py # `AgentState` utilisé par le graphe │ │ ├─ core.py # logique coeur de l'agent (noeuds LangGraph) │ │ └─ prompts.py # prompts pour le LLM │ └─ healing/ │ ├─ __init__.py # exporte l'API publique │ ├─ actions.py # `HealingAction`, `ActionRegistry`, `global_registry` │ ├─ cooldown.py # `CooldownStore`, `global_cooldowns` │ ├─ rules.py # `Rule` │ └─ engine.py # `HealingEngine` ├─ docker-compose.yml ├─ Dockerfile ├─ config/ ├─ data/ └─ logs/ ``` ## Prérequis - Python 3.12 ou supérieur - [Ollama](https://ollama.ai/) installé et fonctionnel - Accès à un cluster Kubernetes (kubeconfig local fonctionnel) - Minimum 8GB RAM pour faire tourner les modèles LLM ## Installation 1. Installer Ollama : ```bash curl -fsSL https://ollama.ai/install.sh | sh ``` 2. Démarrer le serveur Ollama : ```bash ollama serve ``` 3. Télécharger le modèle LLM (dans un autre terminal) : ```bash # Option 1 : Modèle léger (recommandé pour débuter) ollama pull mistral:latest # Option 2 : Modèle plus performant ollama pull deepseek-chat ``` 4. Créer et activer un environnement virtuel Python : ```bash pyt
HAL 分层混合模型工作流 — 强模型(Claude)负责理解/拆解/验收,低成本模型(DeepSeek)负责检索/提取/清洗。Hermes Agent skill。
An LLM agent fine-tuned on DeepSeek for spaced repetition, dynamically integrating knowledge points based on the Ebbinghaus forgetting curve.
基于 STM32F103 构建的端到端 AI 智能手表生态。自研“零重定位”原生机器码动态加载引擎与页面栈式 UI 框架;集成生产级 OTA 回滚保护机制与高带宽(921600 baud)串口协议栈。通过 Node.js 中继实现 DeepSeek AI 语义控制及 ASRPRO 语音全双工交互,是一个集成了分布式计算、现代存储管理与 AI Agent 的嵌入式全栈工程。
A Meta-Agent-Driven Self-Evolving Multi-Agent System for UAV Detection and Tracking
One command to run Hermes AI Agent with a browser UI. Zero prerequisites. 一行命令,AI 就位。
网页应用Agent,接入DeepSeek、Mimo等模型