chat.banner
Banner and animation utilities for the Agent Runtimes Chat assistant.
GREEN_DARK
16A085 - Green brand
GREEN_MEDIUM
1ABC9C - Green accent
GREEN_LIGHT
2ECC71 - Green bright
GREEN_TEXT
117A65 - Accessible green text
RED
E74C3C - Error / missing
GRAY
59595C - Secondary text
WHITE
FFFFFF - Primary text (dark mode)
matrix_rain_banner
def matrix_rain_banner(width: int = 60,
height: int = 12,
duration: float = 2.0,
fps: int = 15,
start_row: int = 0) -> None
Display an animated Matrix-style digital rain effect.
Arguments:
width- Width of the rain display in charactersheight- Height of the rain display in rowsduration- How long to show the animation in secondsfps- Frames per second for the animationstart_row- Row to start drawing from (to preserve content above)
spinning_animation
def spinning_animation(width: int = 70,
height: int = 20,
duration: float = 3.0,
fps: int = 10) -> None
Display an animated black hole GIF converted to ASCII art.
Downloads a spinning black hole GIF and renders it as animated ASCII art using PIL for image processing.
Arguments:
width- Width of the display in charactersheight- Height of the display in rowsduration- How long to show the animation in secondsfps- Frames per second for the animation
BANNER_HEIGHT
+2 for the "Powered by" line and extra newline
show_banner
def show_banner(splash: bool = False, splash_all: bool = False) -> None
Display the Agent Runtimes Chat welcome banner with optional animations.
Arguments:
splash- If True, show Matrix rain animation before banner.splash_all- If True, show both Matrix rain and black hole animations before banner.