Generic Agent Demo (with Movie Tool and Flight Tool)
This document provides detailed steps for running the Generic Agent proof-of-concept (PoC) demo.
In this demo, we will use the Rossoctl UI to import and deploy the Generic Agent, the Movie Tool, and the Flight Tool. During deployment, we'll configure the A2A protocol for managing agent calls and MCP for enabling communication between the agent and tools.
Once deployed, we will query the agent using a natural language prompt. The agent will then invoke the tool and return movie or flight 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
generic_agentagent. - In Import New Tool, you'll build and deploy
movie_tooltool andflight_tooltool. - In Validate the Deployment, you'll verify that all components are running and operational.
- In Chat with the Generic Agent, you'll interact with the agent and confirm it responds correctly using movie and flight data.
Prerequisites: Ensure you've completed the Rossoctl platform setup as described in the Installation Guide.
You should also open the Agent Platform Demo Dashboard as instructed in the Accessing the UI section.
Import New Agent
To deploy the Generic Agent:
- Navigate to Import New Agent in the Rossoctl UI.
- In the Select Namespace to Deploy Agent drop-down, choose the
<namespace>where you'd like to deploy the agent. (These namespaces are defined in your.envfile.) - Under Environment Variables, configure LLM settings using one of these methods:
- Click Import .env File and import
.env.openaior.env.ollamafrom the agent examples repo, or - Manually add env vars:
LLM_API_BASE,LLM_API_KEY, andLLM_MODEL(see Using Local Models for values)
- Click Import .env File and import
- Under Environment Variables, also add the following:
- Click
Add Environment Variable - Under
NameputMCP_URLSand underValueputhttp://movie-tool:8000/mcp, http://flight-tool:8000/mcp
- Click
- In the Agent Source Repository URL field, use the default:
https://github.com/rossoctl/examples
Or use a custom repository accessible using the GitHub ID specified in your
.envfile. - For Git Branch or Tag, use the default
mainbranch (or select another as needed). - Set Protocol to
a2a. - Under Specify Source Subfolder:
- Click
Select from examples - Choose:
a2a/generic_agent
- Click
- Click Build & Deploy New Agent to deploy.
Note: The ollama environmental variable set specifies llama3.2:3b-instruct-fp16 as the default model. To download the model, run ollama pull llama3.2:3b-instruct-fp16. Please ensure an Ollama server is running in a separate terminal via ollama serve.
Import New Tool
To deploy the Movie Tool using Shipwright:
- Go to OMDB's website and apply for a free API key
- Navigate to Import New Tool in Rossoctl's UI.
- Select the same
<namespace>as used for the agent. - Select "Build from source" as the deployment method.
- Under Environment Variable, add the following environment variable:
- Click
Add Environment Variable - Under
NameputOMDB_API_KEYand underValueput your OMDB API key
- Click
- Use the same source repository: https://github.com/rossoctl/examples
- Choose the
mainbranch or your preferred branch. - Set Select Protocol to
streamable_http. - Under Specify Source Subfolder:
- Select:
mcp/movie_tool
- Select:
- Click Build & Deploy New Tool to deploy.
You will be redirected to a Build Progress page where you can monitor the Shipwright build.
To deploy the Flight Tool using Shipwright:
- Navigate to Import New Tool in the UI.
- Select the same
<namespace>as used for the agent. - Select "Build from source" as the deployment method.
- Use the same source repository: https://github.com/rossoctl/examples
- Choose the
mainbranch or your preferred branch. - Set Select Protocol to
streamable_http. - Under Specify Source Subfolder:
- Select:
mcp/flight_tool
- Select:
- Click Build & Deploy New Tool to deploy.
You will be redirected to a Build Progress page where you can monitor the Shipwright build. Once builds succeed, the Deployments and Services for the tools will be created automatically.
Validate The Deployment
Depending on your hosting environment, it may take some time for the agent and tool deployments to complete.
To verify that both the agent and tool are running:
-
Open a terminal and connect to your Kubernetes cluster.
-
Use the namespace you selected during deployment to check the status of the pods:
installer$ kubectl get po -n <your-ns>NAME READY STATUS RESTARTS AGEflight-tool-cb7566fdf-z7j8n 3/3 Running 0 29dgeneric-agent-7cc769d86c-fkwmv 3/3 Running 0 25smovie-tool-74dd484b6c-958rv 3/3 Running 0 3m38s -
Tail the logs to ensure both services have started successfully. For the agent:
installer$ kubectl logs -f deployment/generic-agent -n <your-ns>Defaulted container "generic-agent" out of: generic-agent, spiffe-helper, rossoctl-client-registration, fix-permissions (init)INFO: Started server process [14]INFO: Waiting for application startup.INFO: Application startup complete.INFO: Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)For the movie tool:
installer$ kubectl logs -f deployment/movie-tool -n <your-ns>Defaulted container "movie-tool" out of: movie-tool, spiffe-helper, rossoctl-client-registration, fix-permissions (init)INFO: Started server process [14]INFO: Waiting for application startup.INFO: StreamableHTTP session manager startedINFO: Application startup complete.INFO: Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)For the flight tool:
installer$ kubectl logs -f deployment/flight-tool -n <your-ns>Defaulted container "flight-tool" out of: flight-tool, spiffe-helper, rossoctl-client-registration, fix-permissions (init)INFO: Started server process [14]INFO: Waiting for application startup.INFO: StreamableHTTP session manager startedINFO: Application startup complete.INFO: Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit) -
Once you see the logs indicating that both services are up and running, you're ready to proceed to Chat with the Generic Agent.
Chat with the Generic Agent
Once the deployment is complete, you can run the demo:
-
Navigate to the Agent Catalog in the Rossoctl UI.
-
Select the same
<namespace>used during the agent deployment. -
Under Available Agents in
, select generic_agentand click View Details. -
Scroll to the bottom of the page. In the input field labeled Say something to the agent..., enter:
Show me flights for one adult from Taipei to San Francisco on Janurary 22nd, 2026.Please note that you will need to use a date that is in the future.
To use the movie tool, use a prompt like this:
Tell me the plot of Wicked: For Good -
You will see the Agent Thinking... message. Depending on the speed of your hosting environment, the agent will return a flight response. For example:
Here is a list of flights from Taipei to San Fancisco on November 22nd, 2025:1. United - Departure: 1:35 PM, Arrival: 7:50 PM1. STARLUX Airlines - Departure: 11:10 PM, Arrival: 5:15 AM (next day)1. EVA Air - Departure: 12:00 PM, Arrival: 6:00 PMWicked: For Good is the second part of the Wicked movie adaptation, where Elphaba is in exile as the "Wicked Witch of the West" and Glinda is the public figure of "Glinda the Good". The plot follows their estranged friendship as Elphaba fights the Wizard's regime and Glinda becomes the Wizard's spokesperson, creating a final, powerful conflict that forces them to confront their past and make crucial decisions. The story culminates in Elphaba's apparent death by water, a final reconciliation with Glinda, and the resolution of the conflict with the Wizard -
You can tail the log files (as shown in the Validate the Deployment section) to observe the interaction between the agent and the tool in real time.
If you encounter any errors, check the Troubleshooting Guide.
Cleanup
To cleanup the agents and tools in the UI, go to the Agent Catalog and Tool Catalog
respectively and click the Delete button next to each.
You can also manually remove them from the cluster:
installer$ kubectl delete deployment generic-agent flight-tool movie-tool -n <your-ns>
installer$ kubectl delete service generic-agent flight-tool movie-tool -n <your-ns>