kubeshark
eBPF-powered network observability for Kubernetes. Indexes L4/L7 traffic with full K8s context, decrypts TLS without keys. Queryable by AI agents via MCP and humans via dashboard.
- 12.1k stars
- 552 forks
- 141 open issues
- Language: Go
- License: Apache-2.0
- updated
Install
git clone https://github.com/kubeshark/kubeshark && cp kubeshark/*.md ~/.claude/agents/- Clone the repository and copy the agent .md definitions into ~/.claude/agents (or .claude/agents inside a project).
- Start a new Claude Code session to load the agents.
- Delegate work to them with the Task/Agent tool or by name.
Editor's note
Kubeshark is a Kubernetes network observability tool written in Go that captures and indexes cluster-wide L4/L7 traffic at the kernel level using eBPF, requiring no code instrumentation or sidecar proxies. It automatically decrypts TLS and mTLS traffic without key management, parses protocols including HTTP, gRPC, Redis, Kafka, and DNS, and stores retrospective PCAPs that can be scoped by time range, workloads, nodes, and IPs for export to Wireshark or cloud storage (S3, Azure Blob, GCS). The tool connects to Claude via MCP using a two-command setup (`kubeshark mcp` registered through `claude mcp add`), enabling Claude Code and other MCP-compatible agents to query live traffic in natural language for incident response and root cause analysis. It also ships two installable Claude Code plugins called AI Skills: Network RCA, which handles snapshot extraction and trend comparison, and KFL, which writes and debugs queries in Kubeshark Filter Language. SREs, platform engineers, and AI-driven workflows investigating production incidents are the primary audience.
4 items in this repository
Subagents overview
Network Observability for SREs & AI Agents
Live Demo · Docs
Kubeshark indexes cluster-wide network traffic at the kernel level using eBPF — delivering instant answers to any query using network, API, and Kubernetes semantics.
What you can do:
Download Retrospective PCAPs — cluster-wide packet captures filtered by nodes, time, workloads, and IPs. Store PCAPs for long-term retention and later investigation.
Visualize Network Data — explore traffic matching queries with API, Kubernetes, or network semantics through a real-time dashboard.
See Encrypted Traffic in Plain Text — automatically decrypt TLS/mTLS traffic using eBPF, with no key management or sidecars required.
Integrate with AI — connect your favorite AI assistant (e.g. Claude, Copilot) to include network data in AI-driven workflows like incident response and root cause analysis.

Get Started
helm repo add kubeshark https://helm.kubeshark.com
helm install kubeshark kubeshark/kubeshark
kubectl port-forward svc/kubeshark-front 8899:80Open http://localhost:8899 in your browser. You're capturing traffic.
For production use, we recommend using an ingress controller instead of port-forward.
Connect an AI agent via MCP:
brew install kubeshark
claude mcp add kubeshark -- kubeshark mcpNetwork Data for AI Agents
Kubeshark exposes cluster-wide network data via MCP — enabling AI agents to query traffic, investigate API calls, and perform root cause analysis through natural language.
"Why did checkout fail at 2:15 PM?" "Which services have error rates above 1%?" "Show TCP retransmission rates across all node-to-node paths" "Trace request abc123 through all services"
Works with Claude Code, Cursor, and any MCP-compatible AI.

AI Skills
Open-source, reusable skills that teach AI agents domain-specific workflows on top of Kubeshark's MCP tools:
| Skill | Description |
|---|---|
| Network RCA | Retrospective root cause analysis — snapshots, dissection, PCAP extraction, trend comparison |
| KFL | KFL (Kubeshark Filter Language) expert — writes, debugs, and optimizes traffic filters |
Install as a Claude Code plugin:
/plugin marketplace add kubeshark/kubeshark
/plugin install kubesharkOr clone and use directly — skills trigger automatically based on conversation context.
Query with API, Kubernetes, and Network Semantics
Kubeshark indexes cluster-wide network traffic by parsing it according to protocol specifications, with support for HTTP, gRPC, Redis, Kafka, DNS, and more. A single KFL query can combine all three semantic layers — Kubernetes identity, API context, and network attributes — to pinpoint exactly the traffic you need. No code instrumentation required.

KFL reference → · Traffic indexing →
Workload Dependency Map
A visual map of how workloads communicate, showing dependencies, traffic volume, and protocol usage across the cluster.

Traffic Retention & PCAP Export
Capture and retain raw network traffic cluster-wide, including decrypted TLS. Download PCAPs scoped by time range, nodes, workloads, and IPs — ready for Wireshark or any PCAP-compatible tool. Store snapshots in cloud storage (S3, Azure Blob, GCS) for long-term retention and cross-cluster sharing.

Snapshots guide → · Cloud storage →
Features
| Feature | Description |
|---|---|
| Traffic Snapshots | Point-in-time snapshots with cloud storage (S3, Azure Blob, GCS), PCAP export for Wireshark |
| Traffic Indexing | Real-time and delayed L7 indexing with request/response matching and full payloads |
| Protocol Support | HTTP, gRPC, GraphQL, Redis, Kafka, DNS, and more |
| TLS Decryption | eBPF-based decryption without key management, included in snapshots |
| AI Integration | MCP server + open-source AI skills for network RCA and traffic filtering |
| KFL Query Language | CEL-based query language with Kubernetes, API, and network semantics |
| 100% On-Premises | Air-gapped support, no external dependencies |
Install
| Method | Command |
|---|---|
| Helm | helm repo add kubeshark https://helm.kubeshark.com && helm install kubeshark kubeshark/kubeshark |
| Homebrew | brew install kubeshark && kubeshark tap |
| Binary | Download |
Contributing
We welcome contributions. See CONTRIBUTING.md.
License
What people ask about kubeshark
What is kubeshark/kubeshark?
kubeshark/kubeshark is subagents for the Claude AI ecosystem. eBPF-powered network observability for Kubernetes. Indexes L4/L7 traffic with full K8s context, decrypts TLS without keys. Queryable by AI agents via MCP and humans via dashboard. It has 12.1k GitHub stars and its last recorded update is dated 2026-10-21.
How do I install kubeshark?
You can install kubeshark by cloning the repository (https://github.com/kubeshark/kubeshark) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is kubeshark/kubeshark safe to use?
Our security agent has analyzed kubeshark/kubeshark and assigned a Trust Score of 100/100 (tier: Verified). See the full breakdown of passed checks and flags on this page.
Who maintains kubeshark/kubeshark?
kubeshark/kubeshark is maintained by kubeshark. The last recorded GitHub activity is dated 2026-10-21, with 141 open issues.
Are there alternatives to kubeshark?
Yes. On ClaudeWave you can browse similar subagents at /categories/agents, sorted by popularity or recent activity.
Maintain this repo? Show its Trust Score in your README
The badge shows this repository's current Trust Score and verdict, and links back to this page. It follows the catalogue data: nobody can buy or edit the score it displays.
[](https://claudewave.com/en/repo/kubeshark-kubeshark)<a href="https://claudewave.com/en/repo/kubeshark-kubeshark"><img src="https://claudewave.com/api/badge/kubeshark-kubeshark" alt="ClaudeWave Trust Score for kubeshark/kubeshark" width="320" height="64"></a>