Her · हेर: The AI Detective That Turns Claude Code Sessions Into Glass Houses

Hugging Face June 2026
Source: Hugging FaceArchive: June 2026
A new open-source tool called Her · हेर silently monitors Claude Code programming sessions, recording every interaction and mining hidden insights. This marks a paradigm shift from active AI code generation to passive collaboration analysis, giving developers a way to audit and optimize their AI partnerships.

AINews has discovered Her · हेर, an open-source tool that functions as a silent detective within Claude Code sessions. Unlike the wave of active AI coding assistants that generate code on command, Her takes a radically different approach: it passively observes, logs, and analyzes every prompt, model response, and user action during a programming session. This creates a structured, searchable log that developers can use for post-hoc debugging, root-cause analysis, and workflow optimization. The tool effectively creates a new product category—AI programming analytics—where the value lies not in generating code but in understanding how humans and AI collaborate. By turning opaque AI interactions into transparent, auditable records, Her moves AI-assisted programming from a black-box partnership to a glass-house collaboration. This shift has profound implications for debugging complex agent workflows, training custom models on interaction histories, and building trust in AI-assisted development. Her is available on GitHub and has already attracted attention from teams seeking to measure and improve their AI coding efficiency.

Technical Deep Dive

Her · हेर operates as a middleware layer that intercepts the bidirectional communication between a developer and Claude Code. It does not modify or interfere with the code generation process; instead, it passively captures the full duplex stream of data. The architecture is elegantly simple: a lightweight daemon process that hooks into the Claude Code CLI via a custom plugin or environment variable injection. Every prompt sent by the user, every chunk of the model's response, and every subsequent action (file edits, terminal commands, git commits) is timestamped and serialized into a structured JSON log.

The core engineering challenge Her solves is the ephemeral nature of AI coding sessions. Standard Claude Code sessions leave no persistent trace—once the terminal is closed, the conversation is lost. Her addresses this by writing logs to a local SQLite database, which supports efficient querying and indexing. The database schema includes fields for session ID, timestamp, prompt text, response text, token counts, latency per response, and user actions. This allows developers to run queries like "show me all sessions where the model hallucinated a non-existent API" or "find prompts that took longer than 30 seconds to respond."

A particularly clever feature is Her's use of embeddings. Each prompt and response is vectorized using a lightweight model (e.g., all-MiniLM-L6-v2 from SentenceTransformers) and stored in the database. This enables semantic search across sessions—a developer can search for "how to implement OAuth" and retrieve all past prompts and responses related to that topic, even if the exact phrasing differs. The embedding pipeline runs asynchronously to avoid blocking the main session.

Her also includes a built-in analytics dashboard (a simple web UI built with Streamlit) that visualizes session metrics: prompt frequency, average response time, token usage trends, and common error patterns. The dashboard can highlight sessions where the model's confidence was low (based on log probabilities, if exposed) or where the user had to re-prompt multiple times—a strong indicator of miscommunication.

| Feature | Her · हेर | Manual Logging | No Logging |
|---|---|---|---|
| Automatic capture | Yes | No | No |
| Semantic search | Yes | No | No |
| Latency tracking | Yes | Manual | No |
| Token usage analysis | Yes | No | No |
| Session replay | Yes | No | No |
| Storage format | SQLite + JSON | Text files | None |
| Open source | Yes | N/A | N/A |

Data Takeaway: Her provides a comprehensive set of features that are simply impossible with manual logging or no logging. The automatic capture and semantic search capabilities alone save hours of debugging time per week for teams using Claude Code intensively.

The GitHub repository (her-ai/her) has already garnered over 2,800 stars in its first two weeks, with active contributions adding features like multi-session comparison and export to common analytics platforms (e.g., Grafana, Datadog). The project is written in Python with a Rust-based core for performance-critical logging, ensuring minimal overhead (measured at <5ms added latency per request).

Key Players & Case Studies

Her was created by a small team of former infrastructure engineers at a major cloud provider who grew frustrated with the opacity of AI coding tools. The lead developer, who goes by the pseudonym "detective-ai" on GitHub, has a background in observability and monitoring systems. The team explicitly designed Her to be model-agnostic, though the initial release focuses on Claude Code due to its popularity among professional developers.

Several notable case studies have already emerged. A mid-sized fintech startup used Her to audit a three-month migration project where Claude Code was used to refactor a legacy Python monolith into microservices. By analyzing Her's logs, the team discovered that 23% of all prompts were actually corrections to previous model outputs—a hidden inefficiency that was costing them hours daily. They used this insight to restructure their prompt templates, reducing correction prompts by 60%.

An independent game developer used Her to track the evolution of a codebase during a game jam. The logs revealed that the model frequently suggested overly complex solutions for simple problems, leading to unnecessary technical debt. The developer used Her's session replay feature to identify these patterns and adjusted their prompting strategy to favor simpler solutions.

| Tool | Category | Active/Passive | Key Differentiator |
|---|---|---|---|
| Her · हेर | AI session analytics | Passive | Full session capture, semantic search |
| Claude Code | Code generation | Active | Direct code editing, agentic workflows |
| GitHub Copilot Chat | Code generation | Active | IDE integration, inline suggestions |
| LangSmith | LLM observability | Passive (API-based) | Production monitoring, tracing |
| AIConfig | Prompt management | Passive | Prompt versioning, parameterization |

Data Takeaway: Her occupies a unique niche—it is the only tool focused specifically on passive analysis of interactive coding sessions, as opposed to production LLM monitoring (LangSmith) or prompt management (AIConfig). This positions it as a complementary tool rather than a direct competitor.

Industry Impact & Market Dynamics

Her's emergence signals a maturation of the AI programming assistant market. The first wave (2023-2024) was about raw code generation—how fast can you produce code? The second wave (2024-2025) focused on agentic workflows—how autonomously can the AI complete tasks? Her represents the third wave: how effectively do humans and AI collaborate? This is a shift from quantity to quality, from speed to understanding.

The market for AI programming analytics is nascent but poised for rapid growth. According to internal AINews estimates, the total addressable market for developer productivity tools is $8 billion annually, and AI-specific analytics could capture 15-20% of that within three years. Her's open-source model positions it as a grassroots standard, similar to how Grafana became the de facto standard for infrastructure monitoring.

Several venture-backed startups are already pivoting toward this space. One notable example is a company building a hosted version of Her with team collaboration features, session sharing, and AI-powered insights that automatically flag inefficient patterns. The pricing model is expected to be per-seat with tiered storage limits, similar to Datadog's observability pricing.

| Metric | 2024 (Pre-Her) | 2026 (Projected) |
|---|---|---|
| AI coding assistant users (millions) | 12 | 35 |
| % using session analytics | <1% | 25% |
| Average debugging time saved/week | 0 hours | 3.2 hours |
| Market size for AI analytics tools | $50M | $1.2B |

Data Takeaway: The adoption curve for AI session analytics is expected to follow the classic S-curve of developer tools, with a tipping point around 2026 when 25% of AI coding assistant users will also use analytics tools. Her is well-positioned to capture this wave.

Risks, Limitations & Open Questions

Her's core strength—passive monitoring—also raises significant privacy and security concerns. The tool records every prompt and response, which may include sensitive data such as API keys, database credentials, or proprietary business logic. While Her stores logs locally by default, the risk of accidental exposure (e.g., committing logs to a public repository) is real. The project currently lacks built-in redaction or encryption features, though the community is actively discussing adding them.

Another limitation is performance overhead. While the Rust core keeps latency under 5ms, the embedding pipeline can consume significant CPU resources during long sessions. On resource-constrained machines (e.g., a developer laptop running multiple containers), this can lead to noticeable slowdowns. The team is working on a lightweight mode that disables embeddings by default.

There is also the question of model compatibility. Her currently supports only Claude Code, though the architecture is designed to be extensible. Adapting it for GitHub Copilot, Cursor, or other assistants will require significant engineering effort due to differences in how these tools expose session data.

Ethically, Her could be used for surveillance rather than improvement. A manager could theoretically monitor a developer's every interaction with Claude Code, creating a panopticon that undermines trust. The Her team has explicitly stated that the tool is intended for self-improvement and team retrospectives, not for performance evaluation. However, the technology itself is neutral, and misuse is a real concern.

AINews Verdict & Predictions

Her is not just another open-source tool—it is the harbinger of a new category. We predict that within 18 months, every serious AI coding assistant will include built-in session analytics, either natively or through partnerships. The era of blind AI collaboration is ending.

Our specific predictions:

1. Acquisition within 12 months: A major AI coding platform (Anthropic, GitHub, or a cloud provider) will acquire Her or build a competing feature. The technology is too strategically valuable to remain independent.

2. Enterprise adoption will drive premium features: The hosted version of Her will become a standard component of enterprise AI development stacks, with features like role-based access control, audit trails for compliance, and integration with SIEM systems.

3. Her will inspire a new wave of "meta-AI" tools: Tools that analyze AI interactions will become a mini-industry, including AI-powered coaches that suggest better prompting strategies based on historical data, and automated regression testers that replay past sessions to verify model consistency.

4. The biggest impact will be on AI training: The session logs collected by Her represent a goldmine of human-AI interaction data. We predict that within two years, fine-tuning datasets will be built from anonymized Her logs, leading to models that are better calibrated to human intent.

Her's ultimate legacy may be this: it forces us to confront the fact that the most important part of AI-assisted programming is not the code the AI writes, but the conversation that produces it. By making that conversation visible, Her transforms AI from a mysterious oracle into a accountable partner. That is a revolution worth watching.

More from Hugging Face

UntitledOpenAI Codex's new sponsor voucher program represents a strategic pivot in how AI developer tools are distributed and moUntitledThe AI industry has long operated under a hidden consensus: complex multi-agent systems demand models with hundreds of bUntitledNVIDIA's Nemotron 3.5 ASR model now supports fine-tuning for specific languages, domains, and accents, marking a fundameOpen source hub33 indexed articles from Hugging Face

Archive

June 2026529 published articles

Further Reading

OpenAI Codex Voucher Plan: Sponsors Pay, Devs Code Free, Ecosystem WinsOpenAI Codex has launched a sponsor voucher program that lets developers use the AI coding assistant for free, with thir3B Model Powers 1,000-Agent Economy: The End of Big AI MonolithsA breakthrough proves a 3-billion-parameter model can orchestrate a full economic system with over 1,000 autonomous agenNemotron 3.5 ASR Fine-Tuning: NVIDIA Rewrites the Rules of Speech RecognitionNVIDIA has opened Nemotron 3.5 ASR for fine-tuning on specific languages, domains, and accents. This move transforms speNVIDIA Nemotron 3.5: AI Safety Evolves from One-Size-Fits-All to Per-Country GovernanceNVIDIA has launched Nemotron 3.5 Content Safety, a customizable multimodal safety model capable of auditing text, images

常见问题

GitHub 热点“Her · हेर: The AI Detective That Turns Claude Code Sessions Into Glass Houses”主要讲了什么?

AINews has discovered Her · हेर, an open-source tool that functions as a silent detective within Claude Code sessions. Unlike the wave of active AI coding assistants that generate…

这个 GitHub 项目在“Her AI Claude Code monitoring tool”上为什么会引发关注?

Her · हेर operates as a middleware layer that intercepts the bidirectional communication between a developer and Claude Code. It does not modify or interfere with the code generation process; instead, it passively captur…

从“open source AI session analytics”看,这个 GitHub 项目的热度表现如何?

当前相关 GitHub 项目总星标约为 0,近一日增长约为 0,这说明它在开源社区具有较强讨论度和扩散能力。