This page discusses how to register that commands are loaded/unloaded in a callback
commands
keyword, agents can report back that commands are added ("action": "add"
) or removed ("action": "remove"
).
This is easily visible when interacting with an agent. When you load a new command and register it back with mythic in this way, that new command will also appear in that autocomplete list.
This only allows you to register commands that Mythic already knows about. You can’t use this to register an entirely new command in Mythic (i.e. one that doesn’t have a backing python/go definition file).