hackagent.interfaces.tui.views.agents
Agents Tab
Manage and view AI agents.
AgentsTab Objects
class AgentsTab(BaseTab)
Agents tab for managing AI agents.
__init__
def __init__(cli_config: CLIConfig)
Initialize agents tab.
Arguments:
cli_config- CLI configuration object
compose
def compose() -> ComposeResult
Compose the agents layout.
on_mount
def on_mount() -> None
Called when the tab is mounted.
on_button_pressed
def on_button_pressed(event: Button.Pressed) -> None
Handle button press events.
action_refresh
def action_refresh() -> None
Action to manually refresh agents data.
on_data_table_row_selected
def on_data_table_row_selected(event: DataTable.RowSelected) -> None
Handle row selection in the agents table.
refresh_data
def refresh_data() -> None
Refresh agents data from the local backend.