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 install agents-are-thinking

I just want to watch agents thinking in terminals

uv install agents-are-thinking[cli]  # with rich and click
uv 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:
        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.

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

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.1.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.1-py3-none-any.whl (18.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: agents_are_thinking-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 2d34cd6ad22001180129256627ef75807adfb89c3b0f1526e656a117928f90a2
MD5 45abf38b1ad9e00f2efac6fb676be4e0
BLAKE2b-256 41ba08866f7c134b08f155c6f9976e3539f5eb0cd8d0e3cc29683b0c6af38bbb

See more details on using hashes here.

Provenance

The following attestation bundles were made for agents_are_thinking-0.1.1.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.1-py3-none-any.whl.

File metadata

File hashes

Hashes for agents_are_thinking-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c9fec0fd6a29f20b5814a869f48328e599979e0612c55e74a8010f38c3daf8a2
MD5 148d257e07469c95c13b5f8ab161d47b
BLAKE2b-256 93c90b8bd9199e8e4c2fe4451b02eaa461810754642e3dd7b547d6e2de882c35

See more details on using hashes here.

Provenance

The following attestation bundles were made for agents_are_thinking-0.1.1-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