Agent-Tool Interaction Via gRPC
Last updated
Last updated
An agent who wants to query the weather without having a weather tool/plugin, using Membase to find and utilize a similar tool:
Identify the Need for Weather Information: The agent recognizes the need to check the weather for a specific location but realizes that there is no pre-installed weather tool or plugin available.
Search for Similar Tools: Within Membase, the agent conducts a search for any tools or plugins that are similar to a weather tool. This involves querying the database for relevant keys or categories that might include weather-related services.
Locate the Weather Plugin Service: Once a suitable weather plugin is identified within the Membase database, the agent notes the service or server where the plugin is hosted. This information is crucial for the next steps.
Load/Integrate the Weather Plugin Service: The agent proceeds to load the service that hosts the weather plugin. This could involve establishing a connection to the server or initiating a session.
Perform the Weather Query: Now that the weather plugin is configured, the agent can perform the weather query. This typically involves sending a request to the plugin and receiving the current weather data for the specified location.
Tool Discovery and Connection
Tool Usage