You can see how the OpenAI agents that hacked Huggingface used something like this when communicating between them:
https://youtu.be/87DyyMV0kCY?si=CSBzdYgkwy0kLhV6&t=749