Skip to main content

Terminal animation effects built with braille, block characters, and unicode glyphs

Project description

agents-are-thinking

A Weekend project exporing agents' "thinking" animation.

Terminal animation effects built with braille, block characters, and unicode glyphs. Pure Python, no dependencies.

Get Started

uv add agents-are-thinking

I just want to watch agents thinking in terminals

uv tool install agents-are-thinking[cli]  # with rich and click
uv tool run agents-are-thinking preview

And Enjoy :)

Usage

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:
        break

With Rich

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:
            break

Effect list

from agents_are_thinking import EFFECTS

for cls in EFFECTS:
    print(cls.name, "-", cls.description)

CLI

agents-are-thinking ships with a CLI for previewing effects in your terminal. Requires the [cli] extra.

uv tool run agents-are-thinking preview          # gallery showcase
uv tool run agents-are-thinking list             # list all effects
uv tool run agents-are-thinking run braille-spin # run a single effect
uv tool run agents-are-thinking                  # name-effect showcase

All effects

Braille

Effect Description
BrailleSpin Braille spinner, same char repeated
BrailleSpin2 Braille spinner, wider path
BrailleWave Smooth sine wave scrolls across as braille dots
BrailleRandom Each column picks random dots
BrailleBreathe Gentle breathing pattern
BrailleRipple Ripple radiating from center
BrailleBounce Dots bouncing across
BrailleRain Falling dots
BrailleZigzag Zigzag path
BrailleDissolve Dissolve and reform
BrailleFire Fire simulation
BrailleNoise Static noise
BrailleHeartbeat Heartbeat pulse
BrailleArrow Arrow pattern
BrailleScanner Scanner sweep
BrailleMatrix Matrix-style rain
BrailleCheckerboard Checkerboard toggle
BrailleCheckerboard2x2 2x2 checkerboard toggle

Shade

Effect Description
ShadeWave Smooth sine wave as shade blocks
ShadeScanner Scanner sweep as shades
ShadeFire Fire simulation with shade characters
ShadeRipple Ripple radiating from center
ShadeBreathe Gentle breathing pattern
ShadeSeeSaw Left and right halves alternate
ShadeBlink Blinking pattern
ShadeLayers Layered shading
ShadePinch Pinch effect

Bar

Effect Description
BarBounce Each bar bounces independently
BarWave Smooth sine wave scrolls across as bar heights
BarSeeSaw Left and right halves alternate like a seesaw

VBlock

Effect Description
VBlockWave Smooth sine wave
VBlockFill Fill and drain
VBlockTide Tide coming in and out
VBlockBreathe Gentle breathing pattern
VBlockBounce Bounce across
VBlockPulse Pulse effect
VBlockRipple Ripple from center
VBlockRain Falling blocks
VBlockCascade Cascade effect

Square

Effect Description
SquarePulse Pulse effect
SquareFill Fill and drain
SquareBlink Blinking pattern
SquareArrow Arrow pattern

Dot

Effect Description
DotWave Smooth sine wave
DotPulse Pulse effect
DotHeartbeat Heartbeat pulse
DotArrow Arrow pattern
DotBounce Bounce across

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agents_are_thinking-0.1.2.tar.gz (11.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agents_are_thinking-0.1.2-py3-none-any.whl (19.0 kB view details)

Uploaded Python 3

File details

Details for the file agents_are_thinking-0.1.2.tar.gz.

File metadata

  • Download URL: agents_are_thinking-0.1.2.tar.gz
  • Upload date:
  • Size: 11.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for agents_are_thinking-0.1.2.tar.gz
Algorithm Hash digest
SHA256 d8ad75fa5dcb9c6fa38c5471ec40202c37a155a391bf5cde3dccc4a06aff9b5b
MD5 940968f362f24730388424f60ae5b454
BLAKE2b-256 5f1d3fbb39ff76bb44926f804955da28de45c1e4a8a76b41a329929ebfeebce2

See more details on using hashes here.

Provenance

The following attestation bundles were made for agents_are_thinking-0.1.2.tar.gz:

Publisher: publish.yml on czl9707/agents-are-thinking

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file agents_are_thinking-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for agents_are_thinking-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0e6a9e7ab4ffab1e2d91439c0c64e9f574120d61f8c99a20c2b08092abf365b7
MD5 ee238544e6c0eb3cee4e8bfa96ec68f3
BLAKE2b-256 412fd1f85c7fbfc96c136e9f9776bd62558534f07bbeb4c919322ef9a10e0632

See more details on using hashes here.

Provenance

The following attestation bundles were made for agents_are_thinking-0.1.2-py3-none-any.whl:

Publisher: publish.yml on czl9707/agents-are-thinking

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page