demo-weather-agent
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 weather tool.
Once deployed, we will query the agent using a natural language prompt. The agent will then invoke the tool and return the weather 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 Weather 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 - Set the URL for your LLM provider:
- Local model (Ollama):
https://raw.githubusercontent.com/rossoctl/examples/refs/heads/main/a2a/weather_service/.env.ollama - OpenAI:
https://raw.githubusercontent.com/rossoctl/examples/refs/heads/main/a2a/weather_service/.env.openai
- Local model (Ollama):
- Click
Fetch and Parse - Click
Import
- Click Build & Deploy Agent to deploy.
Note: The .env.ollama variable set specifies llama3.2:3b-instruct-fp16 as the default model. To download the model, run ollama pull llama3.2:3b-instruct-fp16, and ensure an Ollama server is running in a separate terminal via ollama serve. The .env.openai set uses your OpenAI API key from the openaiApiKey value you configured in deployments/envs/.secret_values.yaml during installation; no local model is needed.
Import New Tool
To deploy the Weather 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.