Live Demo:
This repository contains the demo application used for the Google Cloud Rapid Agent Hackathon submission.
This demo showcases a complete StateFlowX workflow that combines:
- HTTP service execution
- Google Gemini
- Google ADK (Agent Development Kit)
- Google Agent Registry
- MCP (Model Context Protocol)
- MongoDB Atlas
The application executes a workflow and displays execution events in real time.
- The workflow executes an HTTP weather service.
- Weather data is returned from the service.
- StateFlowX appends the service response to the workflow prompt.
- A Google ADK agent is executed.
- The ADK agent discovers MCP tools through Google Agent Registry.
- Gemini invokes MCP tools exposed by the MongoDB MCP server.
- The workflow returns structured JSON containing weather information and MongoDB data.
- Execution events are streamed back to the dashboard in real time.
defineConfig({
transport: websocket(),
protocol: jsonRpc(),
services: [
{
name: 'weather',
type: 'http'
}
],
workflows: [
{
route: 'weather.execute',
service: 'weather',
provider: 'google-adk'
}
]
});Install dependencies:
npm installStart the application:
npm startOpen:
http://localhost:4200
To execute the workflow, provide a Gemini API key. The key is used only for the current session and is not stored by the application.
- Demo Application
- StateFlowX Runtime
- StateFlowX Runtime Host Example
The runtime used for the hackathon demo contains demo-specific Google ADK, Agent Registry, MCP, and MongoDB integrations.
For a reusable runtime host implementation, see the StateFlowX Runtime Host Example repository.