Skip to main content

Agent

The hackagent agent command manages agents registered with HackAgent (target endpoints you've configured for testing).

Commands

Every agent subcommand currently opens the interactive TUI directly on the Agents tab — arguments/options are validated but the actual list/create/show/update/delete/test actions happen inside the TUI, not headlessly on the command line.

hackagent agent list
hackagent agent create --name "my-agent" --type openai-sdk --endpoint "http://localhost:8000/v1"
hackagent agent show <agent_id>
hackagent agent update <agent_id> --name "renamed-agent"
hackagent agent delete <agent_id>
hackagent agent test <agent_name>
SubcommandArguments/OptionsDescription
listOpen the Agents tab to browse registered agents
create--name, --type (google-adk|litellm|openai-sdk|ollama), --endpoint, --description, --metadataOpen the Agents tab to create a new agent
showagent_idOpen the Agents tab to inspect a specific agent
updateagent_id, --name, --endpoint, --description, --metadataOpen the Agents tab to update a specific agent
deleteagent_id, --confirmOpen the Agents tab to delete a specific agent
testagent_nameOpen the Agents tab to test connectivity to a specific agent

See Also

  • Attack — Run security attacks against a configured agent
  • Web — Launch the local dashboard directly