AgentClick: A Skill-Based Human-in-the-Loop Review Layer for Terminal AI Agents

Haomin Zhuang, Hanwen Xing, Xiangliang Zhang

TL;DR

This paper introduces AgentClick, a novel browser-based review layer designed to bridge the gap between humans and powerful but often clunky terminal-based AI agents. By providing structured, task-specific interfaces for reviewing and intervening in agent actions, AgentClick significantly lowers the barrier to entry for non-expert users and enhances collaboration efficiency.

What Problem Does This Paper Address?

As AI agents become more capable of handling complex, multi-step tasks (like writing code, drafting emails, or executing shell commands), the primary mode of interaction remains the terminal. This presents several challenges:

  • Inefficiency and Poor Readability: Long, interleaved text outputs from agents are difficult to parse, making it hard to identify what needs review.
  • Cumbersome Feedback: Users must type detailed corrections, which is tedious and discourages fine-grained control.
  • Lack of Structure and Context: Proposed actions are often presented as opaque events, offering little visual context or opportunity for targeted modification before execution.
  • High Barrier for Non-Experts: These issues disproportionately affect users less familiar with command-line interfaces, hindering their ability to effectively collaborate with AI agents.
  • Remote Access Difficulties: Interacting with agents running on remote servers via terminals or text-based channels like Discord is even more challenging.

Methods

AgentClick tackles these problems by acting as an interactive review layer that sits between the AI agent and the user. Its core components and approach include:

  • Human-Browser-Backend-Agent Architecture: The system is designed around four key elements. The agent performs tasks but submits proposals to a backend. The backend manages session state and user preferences, serving a browser interface. The browser presents task-specific views, and the human user interacts through this UI.
  • Interactive Review Flow: When an agent reaches a critical step, it sends a proposal to the backend. AgentClick then creates a review session in the browser. Users can approve, edit, delete, or request rewrites of agent proposals at the artifact level (e.g., a specific paragraph in an email draft, a step in a plan) rather than just raw text.
  • Hierarchical Skill-Based Integration: AgentClick uses a lightweight, Markdown-based "skill" system. This allows agents to integrate with AgentClick without modifying their core codebase or adding runtime dependencies. A main skill handles bootstrapping and dispatching, while sub-skills cater to specific task types (email, planning, code, memory, trajectory).
  • Task-Specific Review Interfaces: Instead of a generic interface, AgentClick offers tailored UIs for different agent outputs. Examples include:
  • Email Review: Displays inbox, message content, and editable reply drafts.
  • Plan Review: Presents proposed workflows as structured step cards.
  • Code Review: Shows proposed changes with context and unified diffs.
  • Memory Management: Allows inspection and control of agent memory.
  • Trajectory Inspection: Visualizes the agent's execution trace.
  • Preference Memory and Adaptation: User edits and feedback (especially reasons for edits) are captured and stored in a structured memory file. This allows the agent to learn and adapt its behavior for future sessions, personalizing its responses.
  • Remote and Cross-Device Review: AgentClick exposes its interface over HTTP, enabling remote access from any device, making it suitable for agents running on headless servers.

Datasets

Not discussed in the paper. The evaluation focuses on qualitative walkthroughs and demonstrations of the system's capabilities rather than quantitative results on specific datasets.

Key Insights and Ideas

  • The Terminal is a Bottleneck: The paper strongly argues that traditional terminal interfaces are fundamentally ill-suited for effective human-AI collaboration on complex tasks, especially for non-experts.
  • Artifact-Level Interaction is Crucial: Moving beyond raw text to interact with structured artifacts (like code diffs, plan steps, or email drafts) is key to enabling precise control and efficient feedback.
  • Lightweight Integration is Achievable: The skill-based integration approach demonstrates that powerful human-in-the-loop capabilities can be added to existing agents without requiring deep code modifications.
  • Learning from Edits is Powerful: Capturing user feedback with reasons and integrating it into agent memory offers a practical path towards personalized and adaptive AI agents.
  • Remote Collaboration is Enabled: The HTTP-based interface makes sophisticated human oversight accessible even when agents are deployed remotely or on headless infrastructure.

Key Results

The paper presents qualitative results through three detailed task walkthroughs:

  • Task 1 (Plan Review): Demonstrated how AgentClick allows users to inject targeted constraints into a plan before execution, leading to more informed framework selection and execution monitoring.
  • Task 2 (Email Rewrite): Showcased how AgentClick learns stylistic preferences from user edits (e.g., using emojis) and applies them automatically to subsequent emails, improving intent communication.
  • Task 3 (Remote Review): Verified that AgentClick's review interface is accessible and usable from a mobile device when interacting with an agent running on a remote server, proving its utility beyond local terminal access.

These walkthroughs collectively illustrate AgentClick's ability to provide structured artifact review, targeted user intervention, pre-execution modification, improved intent communication, preference adaptation, and remote/cross-device review.

Limitations and Future Work

  • Limitations:
    • The paper acknowledges that the evaluation is primarily through capability-oriented illustrations and walkthroughs, not a formal user study.
  • While the system is designed to be lightweight, the initial setup involves running a local npm server.
  • Future Work:
    • The authors hope their work demonstrates that structured review interfaces are a practical path toward more effective and accessible human-agent co-work.
  • The skill-based integration approach suggests extensibility for new review modes.
  • The preference memory mechanism opens avenues for deeper personalization and adaptation of AI agents.

Summary updated

BibTeX
@inproceedings{zhuang2026agentclick,
  author = {Haomin Zhuang and Hanwen Xing and Xiangliang Zhang},
  title = {{AgentClick: A Skill-Based Human-in-the-Loop Review Layer for Terminal AI Agents}},
  booktitle = {AgentSkills @ CAIS},
  year = {2026},
  url = {https://openreview.net/forum?id=451wo4AiJ2},
}
Figure