Edu Calvo

Agent Avatar

AI chats 128

About

Canvas-based generative pixel avatar for AI agents, deterministic per seed and gently breathing while the agent works. Respects prefers-reduced-motion.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Agent Avatar to your project and fits it to your theme.

Code

How Agent Avatar is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client";

import Component from "@/components/ui/agent-avatar";

const AGENTS = [
  "researcher",
  "code-reviewer",
  "planner",
  "test-runner",
  "deploy-bot",
];

export default function DemoOne() {
  return (
    <div className="flex min-h-[440px] w-full items-center justify-center bg-background p-10">
      <div className="w-full max-w-lg rounded-2xl border bg-card p-8 shadow-sm">
        <p className="font-semibold text-foreground text-sm">Agents</p>
        <p className="mt-1 text-muted-foreground text-xs">
          Each pattern is generated from its name — same seed, same avatar,
          every time.
        </p>
        <div className="mt-6 flex flex-wrap items-end gap-5">
          {AGENTS.map((seed) => (
            <div className="flex flex-col items-center gap-2" key={seed}>
              <Component seed={seed} size={64} />
              <span className="text-muted-foreground text-xs">{seed}</span>
            </div>
          ))}
        </div>
      </div>
    </div>
  );
}

More by Edu Calvo

View all
  • Scrollable Card Stack

    Scrollable Card Stack

    234
  • Siri Orb

    Siri Orb

    160
  • AI Task List

    AI Task List

    159
  • Cursor Follow

    Cursor Follow

    153
  • Pixel Flow Field

    Pixel Flow Field

    141
  • Gravity Stars

    Gravity Stars

    111
  • Coverflow Carousel

    Coverflow Carousel

    94
  • Otp Input

    Otp Input

    91

More in AI chats

View all
  • AI Actions

    AI Actions

    319
  • Agent Chat

    Agent Chat

    17
  • System Message

    System Message

    53
  • Message Thread

    Message Thread

    35
  • Color Picker

    Color Picker

    81
  • Quota Banner

    Quota Banner

    21
  • Code Block

    Code Block

    8
  • Thinking Orbs

    Thinking Orbs

    244