INNER CODE UNIT · Python

show_welcome

evalstate/fast-agent · src/fast_agent/cli/main.py:166

def show_welcome(update_notice: str | None = None) -> None:
    """Show a welcome message with available commands, using new styling."""
    from rich.table import Table

    header_title = f"fast-agent v{_installed_package_version('fast-agent-mcp')}"
    print_section_header(console, header_title, color="blue")

    # Commands list (no boxes), matching updated check styling
    table = Table(show_header=True, box=None)
    table.add_column("Command", style="green", header_style="bold bright_white")
    table.add_column("Description", header_style="bold bright_white")

    table.add_row("[bold]go[/bold]", "Start an interactive session")
    table.add_row("go -x", "Start an interactive session with a local shell tool")
    table.add_row("[bold]serve[/bold]", "Expose fast-agent over MCP (http/stdio) or ACP")
    table.add_row(
        "[bold]acp[/bold]", "Start fast-agent as an ACP stdio server (for Zed, Toad, etc.)"
    )

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…