Skip to main content
Version: v0.7 (latest)

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:

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


Import New Agent

To deploy the Weather 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
  • 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
  • Click Fetch and Parse
  • Click Import
  1. 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:

  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.