Record system-level agent activity with AgentSight
Wrap Claude Code, Codex, Gemini CLI, OpenClaw, or another agent command with AgentSight to capture processes, files, network destinations, prompts, and reports.
Prerequisites
Linux with eBPF support, sudo or equivalent probe permissions, Rust Cargo or AgentSight release binary, target agent CLI such as Claude Code, Codex, Gemini CLI, OpenCode, or OpenClaw
Installation
Use the upstream install or setup path that matches your environment:
- cargo install agentsight
- For local use, install with cargo install agentsight or download the latest
- Docker is useful for container, CI, or isolated Linux environments, but it still needs privileged host access for eBPF. See docs/docker.md.
- cargo run --manifest-path agentpprof/Cargo.toml -- \
Requirements and caveats from upstream:
- | Python (aider, open-interpreter, …) | sudo ./agentsight record -c python |
- | Docker containers (OpenClaw, …) | sudo ./agentsight record -c node --binary-path docker://openclaw |
- Q: Why doesn't AgentSight capture traffic from Claude Code, Node.js, or Gemini CLI?
Basic usage or getting-started notes:
Documentation
Source
1---2name: record-system-level-agent-activity-with-agentsight3description: Wrap Claude Code, Codex, Gemini CLI, OpenClaw, or another agent command with AgentSight to capture processes, files, network destinations, prompts, and reports.4---56# Record system-level agent activity with AgentSight78Wrap Claude Code, Codex, Gemini CLI, OpenClaw, or another agent command with AgentSight to capture processes, files, network destinations, prompts, and reports.910## Prerequisites1112Linux with eBPF support, sudo or equivalent probe permissions, Rust Cargo or AgentSight release binary, target agent CLI such as Claude Code, Codex, Gemini CLI, OpenCode, or OpenClaw1314## Installation1516Use the upstream install or setup path that matches your environment:17- cargo install agentsight18- For local use, install with cargo install agentsight or download the latest19- Docker is useful for container, CI, or isolated Linux environments, but it still needs privileged host access for eBPF. See [docs/docker.md](https://github.com/eunomia-bpf/agentsight/blob/master/docs/docker.md).20- cargo run --manifest-path agentpprof/Cargo.toml -- \2122Requirements and caveats from upstream:23- | Python (aider, open-interpreter, …) | sudo ./agentsight record -c python |24- | Docker containers (OpenClaw, …) | sudo ./agentsight record -c node --binary-path docker://openclaw |25- **Q: Why doesn't AgentSight capture traffic from Claude Code, Node.js, or Gemini CLI?**2627Basic usage or getting-started notes:28- Run agentsight around Claude Code, Codex, Gemini CLI,29- sudo agentsight top30- <div align="center">3132- Source: https://github.com/eunomia-bpf/agentsight33- Extracted from upstream docs: https://raw.githubusercontent.com/eunomia-bpf/agentsight/HEAD/README.md3435## Documentation3637- https://eunomia.dev/agentsight/3839## Source4041- [Agent Skill Exchange](https://agentskillexchange.com/skills/record-system-level-agent-activity-with-agentsight/)