Visualize termling avatars with the avatar command.
termlings avatar 2c5f423 # Render by DNA
termlings avatar alice # Render by name
termlings avatar # Random avatar
termlings avatar --help # Full documentationEach termling has a unique 7-character hex DNA string (~32 million combinations):
termlings avatar 2c5f423 --info # Show DNA traits
# Output:
# {
# "skin": "tan",
# "body": "slim",
# "clothing": "jacket",
# "hair": "curly",
# "colors": [120, 45, 200]
# }DNA encodes:
- Skin tone
- Body type
- Clothing style
- Hair style
- Two color hues
You can render avatars directly in app code using framework exports from termlings.
import { Avatar } from "termlings/react";
export function TeamCard() {
return <Avatar dna="2c5f423" size="lg" talking />;
}<script lang="ts">
import { Avatar } from "termlings/svelte";
</script>
<Avatar dna="2c5f423" size="lg" /><script setup lang="ts">
import { Avatar } from "termlings/vue";
</script>
<template>
<Avatar dna="2c5f423" size="lg" />
</template>import React from "react";
import { render } from "ink";
import { Avatar } from "termlings/ink";
render(<Avatar dna="2c5f423" compact />);dna?: string- explicit 7-char DNAname?: string- deterministic DNA source whendnais not providedwalking?: booleantalking?: booleanwaving?: booleanbw?: boolean
Web components (react, svelte, vue) also support:
size?: "sm" | "lg" | "xl"backside?: boolean
Ink component supports:
compact?: boolean
termlings avatar alice
# Renders in terminal with ANSI colorsPerfect for:
- CLI automation and scripts
- Server environments
- Quick visualization
- Team coordination messages
The workspace interfaces automatically display avatars:
- Agent cards - Shows avatar in agent list
- Message streams - Avatar next to each message
- Task assignments - Shows who's assigned to each task
- Calendar events - Shows assigned agents visually
Avatars render automatically with no extra setup needed.
termlings avatar alice --svg > avatar.svg
termlings avatar alice --svg --size 50 --bg "#ffffff"Perfect for:
- Web pages and applications
- Presentations
- Print materials
- CSS animations
Options:
--size <px>- Avatar size (default: 10)--bg <color>- Background color (hex or "none")--padding <n>- Padding in pixels (default: 1)
termlings avatar alice --svg --animated --walk
# Outputs: idle, walking, talking, waving animationsIncludes CSS animations for:
- Idle (default)
- Walking (
--walk) - Talking (
--talk) - Waving (
--wave)
Perfect for:
- Interactive web dashboards
- Marketing materials
- Animated presentations
termlings avatar alice --mp4 --walk --duration 3 --out alice.mp4
# Requires: ffmpegPerfect for:
- Video presentations
- Social media
- Documentation
- Team introductions
Options:
--walk/--talk/--wave- Animation type--duration <seconds>- Video length (default: 3)--out <file>- Output filename (default: termling.mp4)--fps <n>- Frame rate (default: 4)
# Black and white
termlings avatar alice --bw
# Compact (half height)
termlings avatar alice --compact
# Random DNA
termlings avatar --randomWhen creating an agent, you can specify DNA:
termlings create --name "Alice" --dna 2c5f423This creates an agent with a specific visual identity.
Agent Onboarding: Generate unique avatars for new team members
Presentations: Export avatars as SVG or MP4 for slides
Debugging: View avatar DNA to understand termling identity
Art: Create custom termling avatars with specific color schemes