*[<Null safety>](https://dart.dev/null-safety)*
Agent is a globally available object which simplifies common tasks that agent developers will face. At a high level, it is a wrapper around the agent_context.fidl and agent.fidl interface.
##### [ServiceProvider](../package-fuchsia_modular_agent/ServiceProvider.md)<{T extends [Service](../package-fidl_fidl/Service-class.md)}> = FutureOr<T>? Function() The service provider function that is responsible to return a service that
will be exposed upon receiving a service request. Where T represents the service type.