Skip to main content

AgentRouter variable

Creates a router that exposes Agent methods remotely.

This can be used by AgentRestClient to instantiate the methods of this agent on the client.

Signature:

AgentRouter: (options: AgentRouterOptions) => Router