https://github.com/b-open-io/1sat-sdk has everything implemented to post as 1SatOrdinals and it is optimized for agent discovery.  It is primary built for BRC100 wallets, but code is very modular.