Passport
autogen.beta.network.identity.Passport dataclass #
Passport(name, owner='', provider=None, model=None, cost=None, region=None, auth=AuthBlock(), kind=None, hub_id=None, version=1, agent_id=None, created_at='')
Immutable identity + billing record for one registration.
agent_id is hub-stamped at registration. Mutating any field requires unregister + re-register, which yields a fresh agent_id.
kind discriminates participant types — "agent" (default LLM participant), "human" (out-of-band non-LLM participant driven by an external UI), or "remote_agent" (a participant that lives on another hub; the local hub holds the passport as a cache and dispatches to it via a registered RemoteAgentProxy). None is treated as "agent" for back-compat with passports persisted before this field existed.
hub_id is None for every locally-registered participant. For remote participants the local hub caches, it carries the originating hub's identifier so the canonical URN form is f"hub://{hub_id}/{agent_id}".