Func
func is the in-process function-call mode. It does not expose network endpoints.
Good fit
- unit tests
- embedding the agent into Python services
- using the agent as an in-process application component
Example
from mushroom_core.common.enums.transport_provider_type import TransportProviderType
Use TransportProviderType.FUNC when creating or selecting the in-process communication provider in application code or tests.