This repository's primary functionality seems quite similar to the Agent Client Protocol (ACP). Perhaps you could explore it further. https://agentclientprotocol.com/get-started/introduction