Unibase Docs
  • Introduction
    • Architecture
    • Core Components
    • Quick Start
  • Membase
    • 📚Architecture
    • Identity
    • Multi Memory
    • Authorization
    • 🚀Quick Start
  • AIP
    • Design
    • Agent Interaction Process
    • Implementation
    • Quick Start
      • Tool
      • Agent
        • Agent-Tool Interaction Via gRPC
        • Agent-Tool Interaction Via SSE
        • Agent-Agent Interaction
      • Chess game
  • Unibase DA
    • DA
    • Storage
    • Quick Start
      • Nodes boostrap
        • Storage Node
        • Validator Node
        • Stream Node
        • Docker
      • Nodes operations
  • Developers
    • Hub
    • SDK
    • API Reference
  • Alpha Testing
    • Testing plan
    • Requirements
    • Chains
  • 🚀Examples
Powered by GitBook
On this page
  1. AIP
  2. Quick Start
  3. Agent

Agent-Tool Interaction Via gRPC

PreviousAgentNextAgent-Tool Interaction Via SSE

Last updated 7 days ago

An agent who wants to query the weather without having a weather tool/plugin, using Membase to find and utilize a similar tool:

  1. 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.

  2. 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.

  3. 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.

  4. 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.

  5. 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.

  6. Tool Discovery and Connection

  1. Tool Usage

Search and connect to tool servers through LLM chat interface
Interact with tools through LLM chat interface