-
Notifications
You must be signed in to change notification settings - Fork 31
docs(agenteye): explain device login approval #626
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,55 @@ | ||
| --- | ||
| title: "Claude Code session capture" | ||
| description: "Bring your team's local Claude Code sessions and subagents into AgentEye as ordinary sessions and events — with no change to how they run Claude Code." | ||
| --- | ||
|
|
||
| Your engineers already run Claude Code every day. Claude Code session capture brings those coding sessions into AgentEye as ordinary sessions and events, so you can search, replay, and evaluate them next to everything else you observe. It complements the [Python SDK](/agenteye/python-sdk): the SDK instruments agents you write, while this captures the Claude Code work your team already does — with no change to how they run it. | ||
|
|
||
| A small background collector reads Claude Code's local session transcripts as they are written and ships them to AgentEye. One collector per machine captures the terminal CLI, headless `claude -p` runs, and IDE integrations backed by local Claude Code — there is no per-surface setup. | ||
|
|
||
| The same collector captures other agents too — see [Codex](/agenteye/codex-capture), [OpenClaw](/agenteye/openclaw-capture), and [Hermes](/agenteye/hermes-capture). Enable each one you run; a single collector can capture several at once. | ||
|
|
||
| --- | ||
|
|
||
| ## What it captures | ||
|
|
||
| Each Claude Code session becomes an AgentEye [session](/agenteye/sessions). Its user and assistant turns, tool calls and results, token usage and context fill, hook runs, compaction boundaries, and failures become the matching [events](/agenteye/event-stream). | ||
|
|
||
| This includes failed turns, API errors, and tool failures, so sessions remain useful when you are investigating what went wrong. Claude Code's reasoning text is not captured because its local transcripts do not contain that content. | ||
|
|
||
| ### Subagents become child sessions | ||
|
|
||
| When Claude Code starts a task subagent, the subagent appears as its own session with its own transcript, tool activity, and usage. AgentEye links it to the parent session, so you can follow the full delegation flow without mixing the subagent's work into the main transcript. | ||
|
|
||
| --- | ||
|
|
||
| ## Turn it on | ||
|
|
||
| Capture is off until you enable it. Install the collector with an API key that has the `events:add` permission (see [API keys](/agenteye/api-keys)), and turn on Claude Code capture: | ||
|
|
||
| ```bash | ||
| curl -fsSL https://raw.githubusercontent.com/FailproofAI/agenteye-collector/main/install.sh \ | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Blocking — unsafe installer and exposed API key. This executes mutable |
||
| | sh -s -- --key <YOUR_API_KEY> --claude-enabled | ||
| ``` | ||
|
Comment on lines
+31
to
+33
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🔒 Security & Privacy | 🟠 Major | 🏗️ Heavy lift Avoid an unpinned installer and API key in argv. This primary setup path executes mutable 🤖 Prompt for AI Agents |
||
|
|
||
| That installs the collector, registers it as a background service, and starts capturing. Confirm it is running: | ||
|
|
||
| ```bash | ||
| agenteye-collector health | ||
| ``` | ||
|
|
||
| Capturing more than one agent on the same machine? Add each one's flag to the same command — for example `--claude-enabled --codex-enabled`. | ||
|
|
||
| On first run, Claude Code sessions still available on the machine are backfilled and new activity then streams as it is written. Claude Code's own files are only ever read — never modified, moved, or deleted. | ||
|
|
||
| --- | ||
|
|
||
| ## Where it shows up | ||
|
|
||
| Captured sessions appear in **Sessions**, and their events in the **Events** stream, the same as any other agent you observe — so [session replay](/agenteye/sessions), [search](/agenteye/queries), [evaluations](/agenteye/evaluations), and [alerts](/agenteye/alerts) all work on them. Filter by the Claude agent to see them on their own. | ||
|
|
||
| --- | ||
|
|
||
| ## Privacy | ||
|
|
||
| Claude Code transcripts can contain raw command output, file contents, command arguments, and secrets. Captured content is shipped as-is without redaction, so enable capture only on machines and for teams where centralizing that content in AgentEye is appropriate, and give the collector a key scoped to `events:add` only. See [Security](/agenteye/security) for how your data is kept isolated. | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔒 Security & Privacy | 🟠 Major | ⚡ Quick win
🧩 Analysis chain
🏁 Script executed:
Repository: FailproofAI/failproofai
Length of output: 225
🌐 Web query:
Claude Code release notes reasoning-effort metadata session transcripts feed.xml anthropics/claude-code💡 Result:
As of July 30, 2026, there is no official implementation or release note confirming that "reasoning-effort" metadata has been added to the status line JSON or session transcripts in Claude Code. Multiple community members have filed feature requests (e.g., issues
#13158,#37701,#38637,#50060) on the official anthropics/claude-code GitHub repository explicitly asking for the current reasoning effort level (e.g., low, medium, high) to be exposed in the status line stdin JSON. Users report that this metadata is currently missing from the status line hook, making it difficult to display real-time, mid-session changes made via the /effort command or other settings [1][2][3][4][5]. Currently, while Claude Code internally tracks reasoning effort, it is not consistently exposed in an accessible, programmatic way for external status line scripts or within standard transcript files [1][2][4]. Users relying on workarounds, such as parsing local configuration files (like settings.json) or attempting to regex-match transcript output, find these methods fragile because they do not reliably reflect dynamic, in-session state changes [2][3][4]. You can monitor the official GitHub repository for updates and progress on these feature requests [1][4]. The official documentation, including the changelog, remains the primary source for confirming when such metadata is officially supported [6][7].Citations:
🌐 Web query:
site:github.com/anthropics/claude-code reasoning effort session transcripts feed.xml "reasoning effort"💡 Result:
Reasoning effort in Claude Code refers to the configurable "thinking" budget assigned to the model during complex tasks, which directly impacts response latency, cost, and depth of reasoning [1]. Recent updates to Claude Code have integrated reasoning effort more deeply into the system: 1. Session Transcripts: Reasoning effort levels are now recorded on each assistant message within session transcripts [2][3]. This change ensures that the effort applied to specific turns is documented, which is particularly useful for tracking model behavior and debugging [4]. 2. Status Line Integration: The
statusLinestdin JSON payload now includes aneffort.levelfield [5]. This allows custom status line scripts to display the active reasoning effort level in real-time, including changes made mid-session via the/effortcommand [1][5]. 3. Configuration and Precedence: Reasoning effort can be set or overridden through multiple layers. While documentation indicates a precedence of environment variables > skill/subagent frontmatter > session settings > model defaults, users have noted discrepancies where certain overrides (such as skill-specific frontmatter) may not always take effect at runtime [6][7]. 4. Feed Updates: Technical changes related to these features are tracked in the project's feed (feed.xml) and changelog, which document updates such as the inclusion of reasoning effort in status line payloads and transcript records [2][3]. Important limitations identified by users include the failure of the--resumecommand to persist the session's effort level, which can lead to unexpected behavior and prompt cache invalidation [4], as well as issues where environment-forced effort levels may bypass model capability checks and cause errors with subagents that do not support reasoning parameters [8].Citations:
--resumedrops the session's--effortlevel, invalidating the prompt cache anthropics/claude-code#66005effort.levelandthinking.enabledstdin fields anthropics/claude-code#52616Make the reasoning-data claim version-specific.
Claude Code release notes document that reasoning effort is recorded in session transcripts, so “Claude Code’s reasoning text is not captured” is absolute enough that users may infer transcripts remain private from Claude’s own reasoning data. Clarify that the collector excludes Claude reasoning-content while noting any reasoning metadata that may still remain, or tie the statement to the supported Claude Code version.
🤖 Prompt for AI Agents
Source: MCP tools