Expertise · Hassan Ali / Cognetheus
Vertex AI and Google Cloud engineering in production
Hassan Ali builds on Google Cloud for teams running there, with Vertex AI, Dialogflow CX, BigQuery, Firestore and serverless services. On two platforms BigQuery served as vector store, SQL engine and warehouse, and a Firestore and Pub/Sub stack ingested tens of thousands of orders every 5 minutes.
My main Google Cloud example is the GCP architecture of a multi-tenant AI agents and RAG platform I architected at Coderzhunt (Oct 2025 – Apr 2026). I built it around BigQuery native vector search, Firestore semantic storage with embedded metadata, Cloud Storage and Datastore, with Dialogflow CX and Vertex AI Playbooks in the same design. BigQuery did several jobs there: it held the vectors, its SQL execution was combined with Firestore semantic search for analytical and document-grounded responses, and LLM-assisted schema generation provisioned BigQuery tables from CSV and Excel uploads at load time. Cloud Run and Pub/Sub carried the ETL that brought in data from multiple client portals, and FastAPI orchestrated the services behind a Next.js and TypeScript front end.
Vertex AI also powered natural-language reporting on an analytics platform for an e-commerce group spanning 8,000+ Shopify storefronts: I integrated Vertex AI with full schema awareness, with BigQuery as the warehouse behind Looker SDK. The analytics side of that project is on the AI analytics page.
The database migration side of my GCP work comes from Portless, an enterprise logistics platform (May 2024 – Feb 2025). Its greenfield stack ran on Firestore, Cloud Functions v2, Pub/Sub and task queues; the ingestion side is on the data pipelines page. I managed the migration from MongoDB to Firestore, using nested collections to support a phased cutover with backward compatibility while the greenfield platform and the legacy Express and MongoDB application ran in production side by side.
The fit is a company already on Google Cloud that wants one engineer across the model, data and serverless layers: adding Vertex AI features to a product, building agents on Dialogflow CX and Vertex AI Playbooks, moving data from MongoDB to Firestore, or building event-driven services on Pub/Sub and Cloud Functions v2. I work with Gemini Pro and Flash through Vertex AI and have delivered RAG and CAG pipelines on Gemini, OpenAI and AWS Bedrock. I am based in Lahore, Pakistan, and available for remote work. Retrieval design, natural-language BI and pipeline design each have their own pages; this one covers the Google Cloud services and how I combined them.
What I do
Vertex AI in shipped products
Vertex AI with full schema awareness for natural-language ad-hoc reports and KPIs, and Vertex AI in the GCP architecture of a multi-tenant agents and RAG platform. Gemini Pro and Flash on Vertex AI.
Dialogflow CX with Vertex AI Playbooks
Agents on Dialogflow CX and Vertex AI Playbooks, designed into the same GCP architecture as BigQuery native vector search and Firestore semantic storage on a tenant-aware platform.
BigQuery for vectors, SQL and analytics
Native vector search, SQL execution combined with Firestore semantic search, tables provisioned at load time by LLM-assisted schema generation, and a warehouse queried through Looker SDK over 15 years of commerce history.
Firestore for semantic and operational data
Firestore semantic storage with embedded metadata for retrieval, and Firestore in a greenfield logistics stack.
Phased MongoDB-to-Firestore migration
A migration from MongoDB to Firestore using nested collections, supporting a phased cutover with backward compatibility while the legacy Express and MongoDB app and the greenfield platform ran in production side by side.
The GCP architecture as a whole
Cloud Storage, Datastore, BigQuery, Firestore, Dialogflow CX and Vertex AI Playbooks as one tenant-aware architecture, with FastAPI orchestration.
Proof
- —Built the GCP architecture of a multi-tenant AI agents and RAG platform around BigQuery native vector search, Firestore semantic storage with embedded metadata, Cloud Storage, Datastore, Dialogflow CX and Vertex AI Playbooks, over ~20 GB of unstructured content. Multi-Tenant AI Agents & RAG Platform
- —Combined Firestore semantic search with BigQuery SQL execution for analytical and document-grounded responses, and ran ETL on Cloud Run and Pub/Sub to ingest and normalize data from multiple client portals. Multi-Tenant AI Agents & RAG Platform
- —Added LLM-assisted schema generation that parsed CSV and Excel uploads, created metadata and provisioned BigQuery tables dynamically at load time. Multi-Tenant AI Agents & RAG Platform
- —Integrated Vertex AI with full schema awareness so users could request ad-hoc reports and KPIs in natural language, and connected Looker SDK and BigQuery for dynamic, schema-driven query execution over large historical datasets. Looker BI Tool (AI-Driven Analytics)
- —Built a greenfield GCP logistics stack of Node.js microservices on Firestore, Cloud Functions v2, Pub/Sub and task queues that scaled to ingest tens of thousands of orders every 5 minutes. Portless (Enterprise Logistics Platform)
- —Managed a MongoDB-to-Firestore migration using nested collections to support a phased cutover and backward compatibility. Portless (Enterprise Logistics Platform)
Related work
Multi-Tenant AI Agents & RAG Platform
Coderzhunt · Oct 2025 – Apr 2026
Tenant-aware RAG platform unifying ~20 GB of unstructured content and multiple CRM sources into one hybrid retrieval pipeline.
Looker BI Tool (AI-Driven Analytics)
Coderzhunt · Apr 2025 – Jul 2025
Natural-language analytics platform over 15 years of commerce data across 8,000+ Shopify storefronts.
Portless (Enterprise Logistics Platform)
Coderzhunt · May 2024 – Feb 2025
Dual greenfield/legacy logistics systems processing tens of thousands of orders every 5 minutes across 8 integrated platforms.
Questions
- What roles has BigQuery played in Hassan Ali's Google Cloud work?
- On a multi-tenant AI agents and RAG platform, BigQuery provided native vector search, ran SQL alongside Firestore semantic search for analytical answers, and held tables that LLM-assisted schema generation provisioned at load time from CSV and Excel uploads. On an e-commerce analytics platform it was the warehouse, queried through Looker SDK over 15 years of sales, order and inventory history.
- Has Hassan Ali built with Dialogflow CX and Vertex AI Playbooks?
- Yes. Dialogflow CX and Vertex AI Playbooks were part of the GCP architecture Hassan Ali built for a multi-tenant AI agents and RAG platform between Oct 2025 and Apr 2026. They sat in one design with BigQuery native vector search, Firestore semantic storage with embedded metadata, Cloud Storage and Datastore, with data arriving through ETL on Cloud Run and Pub/Sub.
- Does Hassan Ali work with Gemini models on Vertex AI?
- Yes. Hassan Ali works with Gemini Pro and Flash through Google Vertex AI and has delivered RAG and CAG pipelines using Gemini as well as OpenAI and AWS Bedrock. Separately, on an e-commerce analytics platform, Hassan Ali integrated Vertex AI with full schema awareness so business users could request reports and KPIs in natural language.
- How did Hassan Ali move a production app from MongoDB to Firestore without a hard cutover?
- On Portless (May 2024 – Feb 2025), Hassan Ali managed a MongoDB-to-Firestore migration using nested collections, which supported a phased cutover and backward compatibility. The legacy Express, MongoDB and Handlebars application on Heroku and the greenfield GCP platform ran in production in parallel.
Need this built?
I take on contract and full-time engagements. Tell me what you're building.
Other expertise
- RAG development
- AI agents and LLM features
- Healthcare AI
- Healthcare software
- AWS engineering
- AI analytics and dashboards
- Data pipelines and ETL
- API & Webhook Integrations
- Multi-tenant SaaS architecture
- Next.js and React front ends
- Python and FastAPI backends
- Node.js and NestJS backends
- Flutter app development
- Technical leadership
- HR tech and HRMS