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:
- In Import New Agent, you'll build and deploy the
weather_serviceagent. - In Import New Tool, you'll build and deploy the
weather_tooltool. - In Chat with the Weather Agent, you'll interact with the agent and confirm it responds correctly with current weather information.
Prerequisites: Ensure you've completed the Rossoctl platform setup as described in the Installation section.
Import New Agent
To deploy the Image Agent:
- Navigate to Import New Agent in the Rossoctl UI.
- Under Select Agent, choose
Weather Service Agent - 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
- 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:
- Navigate to Import New Tool in the UI.
- Under *Select Tool, choose
Weather Tool - 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:
-
Select the Chat tab.
-
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.