Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/qingwave/kubewizard
✨Kubewizard is An AI-Agent for automated Kubernetes troubleshooting, and management, based on LangChain and k8s related tools.
https://github.com/qingwave/kubewizard
agent ai ai-agent k8s langchain llm openai
Last synced: 3 days ago
JSON representation
✨Kubewizard is An AI-Agent for automated Kubernetes troubleshooting, and management, based on LangChain and k8s related tools.
- Host: GitHub
- URL: https://github.com/qingwave/kubewizard
- Owner: qingwave
- License: apache-2.0
- Created: 2024-08-02T13:36:48.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-08-09T09:23:26.000Z (4 months ago)
- Last Synced: 2024-10-31T11:05:11.534Z (about 2 months ago)
- Topics: agent, ai, ai-agent, k8s, langchain, llm, openai
- Language: Python
- Homepage:
- Size: 12.7 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Kubewizard
**Kubewizard** is An AI-Agent for automated Kubernetes troubleshooting, deployment, and management, based on LangChain and k8s related tools.
[![asciicast](https://asciinema.org/a/XS80PxLxtmurqMw6LU7UJtzhb.svg)](https://asciinema.org/a/XS80PxLxtmurqMw6LU7UJtzhb)
## Features
- Troubleshoot Kubernetes issues automatically
- Manage Kubernetes resources
- Search latest Kubernetes knowledge from internet
- Human in the Agent Loop, need approve when dangerous commands
- Chat memory
- Interactive console## Usage
Run the application with interactive console:
```sh
python main.py
```Commands:
```sh
kubewizard>: help
Available commands:
- clear : Clear the chat history.
- history: Display the chat history.
- help : Print help info.
- exit : Exit the application.
- * : Ask me everything about your kubernetes cluster(why my nginx pod not ready)
```## Installation
1. Clone the repository:
```sh
git clone https://github.com/yourusername/kubewizard.git
cd kubewizard
```2. Install the dependencies:
```sh
pip install -r requirements.txt
```3. Copy the example environment file and configure it, set your `OPENAI_API_KEY` and `KUBECONFIG`
```sh
cp .env.example .env
```## License
This project is licensed under the terms of the Apache-2.0 license. See the [`LICENSE`](./LICENSE) file for details.