ai-agents-interoperability

This project provides a framework-agnostic approach to achieve interoperability of agentic AI solutions. By implementing search tools using Tavily and Google SERP APIs, users can learn how different AI agents can collaborate. This facilitates easy data exchange and integration of functionalities across different platforms.

GitHub Stars

17

User Rating

Not Rated

Favorites

0

Views

30

Forks

2

Issues

0

README
AI Agents Interoperability Series

Learn how to architect Agentic AI solutions which are framework agnostic, LLM Agnostic. Refer to the Blog series below to learn more.

Reference Architecture

image

Medium articles

Read more about AI Agents Interoperability here: Medium.com

Pre-requirements
  1. I have used Tavily search for the web search tool implementation, create a Tavily API Key here: https://www.tavily.com
  2. I have used Google SERP APIs for the flight search tool implementation, create a SERP API key here: https://serpapi.com/manage-api-key
Setup codebase
  1. Clone the repo.

    git clone https://github.com/manojjahgirdar/ai-agents-interoperability.git
    

    Note: UV Package manager is recommended.

  2. Install the uv package manager.

    pip install pipx
    pipx install uv
    
  3. Once the uv package manager is installed, create a virtual environment and activate it.

    uv venv
    source .venv/bin/activate
    
  4. Install the python dependencies.

    uv sync
    
  5. Export env variables

    cp env.example .env
    

    Fill the env values

  6. Launch the mcp/acp servers.

    1. To launch the mcp server run:
      cd src/mcp/mcp-server
      uv run mcp_server.py
      
    2. To launch the acp server, in another terminal run:
      cd src/acp/acp-server
      export REMOTE_MCP_URL=http://127.0.0.1:8000/sse
      uv run acp_server.py
      
  7. To run the notebooks, goto src/notebooks directory and run the following command:

    jupyter notebook