LocalLink
autogen.beta.network.transport.local.LocalLink #
Factory creating in-process duplex pairs against one Hub.
Pass to HubClient(link=LocalLink(hub), hub=hub). Each HubClient requests one LocalLinkClient (held for the life of the process); multiple AgentClients registered through that HubClient share the connection.
Each client() call constructs a fresh endpoint and immediately hands it to Hub.attach_endpoint so the hub spawns its frame-processor task. A wire transport follows the same shape — its connect handler calls Hub.attach_endpoint once the connection is up.
Source code in autogen/beta/network/transport/local.py
client #
Create a fresh client+endpoint pair; attach to the hub.