Google is committed to advancing racial equity for Black communities. See how.

agent library

*[<Null safety>](*

A collection of utilities simplifying Agent interactions.



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/;{T extends [Service](../package-fidl_fidl/}> = FutureOr&lt;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.