开源组件 robot-heads:一个 React 组件给 AI agent 转圈加载配上表情脸
victor_explore · x · 2026-10-13
开发者发布 MIT 开源 React 组件 robot-heads,把 agent 应用里千篇一律的「thinking...」spinner 换成 LED 屏风格机器人表情。
特性:
- 9 种状态动画:idle、thinking、searching、listening、speaking、working、happy、error、sleeping
- 4 种头型(矩形/方形/圆形/六边形),可自定义外壳、修剪和屏幕颜色
- 2D canvas 绘制,无 WebGL、零运行时依赖
- playground 可直接生成 JSX;把 agent 状态接入 state prop 即可展示,npm i robot-heads
所属事件:开源 React 组件 robot-heads 让 AI Agent 拥有表情脸(2 条相关)→
「编程与Agent」频道最新
- 移动端管理大量 AI Agent,开发者工具 Intent 正式上线 — Wattenberger · 2026-10-13
- 让 Agent 自己爬出坑:把修复步骤写进 API 报错响应 — SucceededMind · 2026-10-13
- Temporal agent 中招 prompt injection,worker 层拦截后照常完成 PR — daniel_tenuo · 2026-10-13
- 改 config.toml 把 272k 上下文上限提到 872k,网友实测有效 — JayJeds · 2026-10-13
- EpochGo:基于 Ollama 的本地多智能体 AutoML,零 API 成本全离线 — Grouchy-Excitement28 · 2026-10-13
- Ramp CTO 将开讲:内部编码 agent 承担约 3/4 已合并 PR — graceisford · 2026-10-13