Usage Guide¶
Via the Web UI¶
Open the route URL in a browser, select your agent, and start chatting. The UI supports:
- Multi-turn conversations with session history in the sidebar
- Running Sessions panel showing in-progress requests
- Agent Activity tab showing real-time chunk streaming
- Stop button to cancel an in-flight request
Via kubectl (CRDs directly)¶
Send a message:
apiVersion: kubecopilot.io/v1
kind: KubeCopilotSend
metadata:
name: my-question
namespace: kube-copilot-agent
spec:
agentRef: github-copilot-agent
message: "What is the overall health of the cluster?"
sessionID: "" # leave empty to start a new session
Watch real-time activity:
Read the response:
Resume a session: set spec.sessionID to the session ID returned in a previous KubeCopilotResponse.
Cancel a request: