explaingit

carmelyne/agent-hook-face-reactions

Analysis updated 2026-05-18

0HTMLAudience · vibe coderComplexity · 2/5Setup · easy

TLDR

Turns an old tablet into a small screen that shows a reacting face tied to what your AI coding agent is doing.

Mindmap

mindmap
  root((agent-hook-face-reactions))
    What it does
      Face display for agents
      Ambient status glance
    Tech stack
      HTML
      Python server
      Shell script
    Use cases
      Reuse old tablet
      Agent status feedback
      Shared state file
    Audience
      Vibe coders
      CLI agent users

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Repurpose an old tablet as a status screen for your AI coding tools.

USE CASE 2

Get a glance-able signal for whether Codex, Claude, or Gemini is thinking, waiting, or blocked.

USE CASE 3

Wire agent hook events to a shared face-state file that any local tool can update.

What is it built with?

HTMLPythonShellJavaScript

How does it compare?

carmelyne/agent-hook-face-reactionsamureki/sweatbucksanikchand461/ragbucket
Stars00
LanguageHTMLHTMLHTML
Last pushed2025-08-15
MaintenanceQuiet
Setup difficultyeasyeasyeasy
Complexity2/51/52/5
Audiencevibe codergeneraldeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 30min

Needs a local Python server running plus a tablet on the same Wi-Fi network to view the display.

In plain English

This project turns an old tablet into a small screen that shows a face reacting to what your AI coding assistant is doing. Instead of staring at a terminal to see if a tool is thinking, waiting, or stuck, you glance at the tablet and see an expression that tells you the current state. The setup works by running a tiny local server on your computer. Any command line AI tool, such as Codex, Claude, Gemini, or a local Ollama model, can call one shared command, facectl.sh, and pass it a state and a source name. States include happy, thinking, loading, attention, blocked, and needs-info. The source tells the display which tool triggered the change, though the current demo uses one visual style regardless of which tool called it. All the files live in a shared folder at home/.agents/tablet-face so that no single AI tool owns the setup. Multiple tools can write to the same state file, and the tablet just watches one browser page for updates. To use it, you copy over an index.html file, the facectl.sh script, and a small Python server, make the script executable, and open the page in a browser on the tablet using your computer's local network address. The project includes example hook scripts for Codex, Claude, and Gemini showing how to wire real agent events, like a finished turn or an approval request, to specific facial states. If you open the HTML file directly without the local server running, it will randomly cycle through faces as a preview instead of reflecting real activity. The README notes this is meant for repurposing an old tablet, since it only needs Wi-Fi, a browser, and to stay plugged in. It also states that hook calls should be fast and never block the agent, so a sleeping tablet or a server hiccup will not interrupt your actual workflow.

Copy-paste prompts

Prompt 1
Help me set up the tablet-face runtime folder and copy over index.html, facectl.sh, and server.py.
Prompt 2
Show me how to write a Claude Code hook that calls facectl.sh with the right state when a task finishes.
Prompt 3
Explain how facectl.sh writes to state.json and how the browser page picks up the change.
Prompt 4
Help me find my computer's LAN IP so I can open the display on a tablet over Wi-Fi.

Frequently asked questions

What is agent-hook-face-reactions?

Turns an old tablet into a small screen that shows a reacting face tied to what your AI coding agent is doing.

What language is agent-hook-face-reactions written in?

Mainly HTML. The stack also includes HTML, Python, Shell.

How hard is agent-hook-face-reactions to set up?

Setup difficulty is rated easy, with roughly 30min to a first successful run.

Who is agent-hook-face-reactions for?

Mainly vibe coder.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.