Skip to main content

Weather Agent Demo

This document provides detailed steps for running the Weather Agent proof-of-concept (PoC) demo.

In this demo, we will use the Rossoctl UI to import and deploy both the Weather Service Agent and the Weather Tool. During deployment, we'll configure the A2A protocol for managing agent calls and MCP for enabling communication between the agent and the image tool.

Once deployed, we will query the agent using a natural language prompt. The agent will then invoke the tool and return the image data as a response.

This demo illustrates how Rossoctl manages the lifecycle of all required components: agents, tools, protocols, and runtime infrastructure.

Here's a breakdown of the sections:

Prerequisites: Ensure you've completed the Rossoctl platform setup as described in the Installation section.


Import New Agent

To deploy the Image Agent:

  1. Navigate to Import New Agent in the Rossoctl UI.
  2. Under Select Agent, choose Weather Service Agent
  3. Expand Environment Variables
  • Choose `Import from File/URL
  • Edit the URL to read https://raw.githubusercontent.com/rossoctl/examples/refs/heads/main/a2a/weather_service/.env.ollama
    • If using OpenAI LLMs, skip this step
  • Click Fetch and Parse
  • Click Import
  1. Click Build & Deploy Agent to deploy.

Note: The ollama environmental variable set specifies gpt-4o-mini-2024-07-18 as the default model. To download the model, run ollama pull gpt-4o-mini-2024-07-18. Please ensure an Ollama server is running in a separate terminal via ollama serve.


Import New Tool

To deploy the Image Tool using Shipwright:

  1. Navigate to Import New Tool in the UI.
  2. Under *Select Tool, choose Weather Tool
  3. Click Build & Deploy Tool to deploy.

You will be redirected to a Build Progress page where you can monitor the Shipwright build. Once the build succeeds, the Deployment and Service for the tool will be created automatically.


Chat with the Weather Agent

Once the deployment is complete, you can run the demo:

  1. Select the Chat tab.

  2. Scroll to the bottom of the page. In the input field labeled Type your message..., enter:

    What is the weather in New York?

If you encounter any errors, check the Troubleshooting section.

Cleanup

  • Select Delete Agent, and delete the weather agent.
  • Select Delete Tool, and delete the weather tool.