Skip to main content
Glama
Informer.py•751 B
# Copyright Ā© 2025 Dr.-Ing. Paul Wilhelm <paul@wilhelm.dev> # This file is part of Archive Agent. See LICENSE for details. from contextlib import contextmanager from rich.progress import Progress, SpinnerColumn, TextColumn @contextmanager def Informer(description: str): """ Context manager to display a single Rich spinner for the duration of a block. :param description: Description text shown next to the spinner. """ with Progress( SpinnerColumn(), TextColumn("[progress.description]{task.description}"), transient=True ) as progress: task = progress.add_task(description=description, total=None) try: yield finally: progress.remove_task(task)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/shredEngineer/Archive-Agent'

If you have feedback or need assistance with the MCP directory API, please join our Discord server