uv add agents-are-thinkingRequires Python 3.11+.
import time
from agents_are_thinking import ShadeFire
ef = ShadeFire()
t0 = time.time()
for frame in ef:
print(f"\r{frame}", end="", flush=True)
if time.time() - t0 > 5:
breakEffects are iterators. They never stop on their own — break when you're done.
import time
from rich.live import Live
from agents_are_thinking import BrailleFire
ef = BrailleFire()
t0 = time.time()
with Live(refresh_per_second=16) as live:
for frame in ef:
time.sleep(0.1)
live.update(frame)
if time.time() - t0 > 5:
breakfrom agents_are_thinking import EFFECTS
for cls in EFFECTS:
print(cls.name, "-", cls.description)Install with the [cli] extra for a terminal preview:
uv tool install agents-are-thinking[cli]agents-are-thinking preview # animated gallery with verbs
agents-are-thinking list # list all effects
agents-are-thinking run braille-spin # run a single effect
agents-are-thinking # name-effect showcaseEach effect class has:
| Method | Description |
|---|---|
cls.name |
Effect name (class attribute) |
cls.description |
One-line description (class attribute) |
cls.cycle_length |
Frames before the animation repeats (class attribute) |
instance.step() |
Returns the next frame string |
iter(instance) |
Yields frame strings forever |
All 48 classes are importable directly: from agents_are_thinking import BrailleFire, ShadeWave, ....