To use the SRE-Agent playground, you need the following installed or running in your OS:
-
access to a Kubernetes cluster with
KUBECONFIGenvironment variable pointing to the cluster's kubeconfig file.# add in your .bashrc/.bash_profile or .zshrc/.zshenv export KUBECONFIG=/path/to/kubeconfig_file
-
uvcommand# For Linux and MacOS curl -LsSf https://astral.sh/uv/install.sh | sh
-
kubectlcommand# For Linux curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" # For MacOS curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/darwin/arm64/kubectl"
-
helmcommandcurl -sSL https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash -
nodecommand# For MacOS # using brew brew install node # For Linux/MacOS # using curl # Download and install nvm: curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash # restart the shell nvm install 25
-
ollamaserver for serving local agents# install ollama in linux curl -fsSL https://ollama.com/install.sh | sh # install ollama using brew in MacOS brew install ollama # or download the ollama application curl -OL "https://ollama.com/download/Ollama.dmg"
-
qwen3:8blocal llm running in ollama server# install qwen3 chatbot ollama pull qwen3:8b ollama list # test the chatbot ollama run qwen3:8b
-
FlowiseGUI framework for Agentflow or Chatflow# install flowise npm install -g flowise # start flowise and access it at http://localhost:3000 npx flowise start
There are three major options to build AI-powered applications in Flowise, namely: Assistants, Chatflows, and Agentflows.
An AI Assistant provides the simplest way to build AI applications using preconfigured structure for rapid prototyping. It lacks
customization but it can be a good choice to try and explore a running application in the flowise framework.
Chatflow focuses on a single agent doing tasks using different sources of information while Agentflow covers advanced features
for multi-steps reasoning, multi-agents interaction, decision-making, planning, orchestration, and context engineering.
Since Agentflow is a superset of Chatflow and provides the most customization among the three,
its framework will be used in the implementation of a Simple SRE Agent and its
customizations and configurations are listed in detail below.
-
{ "command": "uvx", "args": [ "--from", "git+https://github.com/mdwoicke/kuber-mcp-server.git", "kubectl-mcp" ], "env": { "KUBECONFIG": "/absolute/path/to/.kube/config" }
-
-
You can close the
Agentcustomization options by clicking anywhere outside the customization box. At the upper-right corner, click the chat icon to open the chat interface as shown below. Type your query in the designated chatbox.
NOTE: One can skip the manual creation of this simple SRE agent by loading the json file called
simple-sre-agent.jsonin the agents directory. Navigate at the left-hand menu and clickAgentflowsto open the main panel and click theAdd Newbutton located at the upper right corner. Once theAgentflowpanel is active, click the gear icon at the upper right corner and chooseLoad Agents. Clone the repo so that you have the copy of the json file that you can load. Just remember to edit theCustom MCP Parametersof the agent with the following content:
{
"command": "uvx",
"args": [
"--from",
"git+https://github.com/mdwoicke/kuber-mcp-server.git",
"kubectl-mcp"
],
"env": {
"KUBECONFIG": "/absolute/path/to/.kube/config"
}







