Expertise · Hassan Ali / Cognetheus
Python and FastAPI backends for AI products and LLM services
Hassan Ali builds Python and FastAPI services for teams adding LLMs and data to their products, and has used FastAPI on four systems. One is a clinic platform, launched with ~5,000 active patient records, where FastAPI and AWS Bedrock generated clinical insights beside a NestJS core.
I build the Python side of AI products: the FastAPI services that sit between a model, the data and the rest of the system. When work is slow, I take it out of the request path. On Orbion Connect, a healthcare expert marketplace, I led the architectural decisions and wrote the Python and FastAPI backend services, which integrate MongoDB and Qdrant; the same product included RAG-powered expert discovery and talent matching built on semantic search and vector embeddings. Resume ingestion, expert profiling and other background workloads ran asynchronously through RabbitMQ rather than inside API requests. I also managed the containerized production and staging environments and the deployment automation.
FastAPI is often the Python half of a system whose other half is TypeScript. On a multi-tenant AI agents and RAG platform, I delivered FastAPI orchestration with a Next.js and TypeScript front end. That platform brought ~20 GB of unstructured content into one retrieval pipeline. On the Patients Management clinic platform, the backend was NestJS, TypeORM and MySQL, and I integrated AWS Bedrock under a BAA with FastAPI to generate clinical pointers, document analysis and case insights. It launched with ~5,000 active patient records across 10 live centers.
FastAPI is also part of my current contract. As Lead AI Engineer at CareRequest AI, a remote contract that started in June 2026 and is still in progress, I lead the build of an AI patient-access platform whose stack includes Python (FastAPI), LangGraph, Amazon Bedrock, RDS PostgreSQL and Cognito. The aim is one agent and API serving white-label partners, clinical software vendors and provider-facing apps. I am also developing backend services and data models in Python with MongoDB and Docker for NASR AI, a platform consolidating Dubai's property market data.
This work suits teams building an AI backend: a product whose front end or core service is already TypeScript, a search or matching feature that needs a vector store, ingestion jobs that need a queue, or model calls that have to stay inside compliance limits. Several of my own public GitHub projects, including daddy-reviews, hermecious and resume-architect, are written in Python too.
What I do
FastAPI services in front of LLMs
I wire LLM calls into FastAPI services. In a clinic platform, FastAPI and AWS Bedrock under a BAA produced clinical pointers, document analysis and case insights; at CareRequest AI, the stack pairs FastAPI with LangGraph and Amazon Bedrock.
Queue-backed background work
I move slow jobs out of request handlers. On Orbion Connect, RabbitMQ-based asynchronous processing handled resume ingestion, expert profiling and other background workloads next to the FastAPI services.
FastAPI with MongoDB and Qdrant
I build Python and FastAPI services that integrate MongoDB and Qdrant, as on Orbion Connect.
A Python AI service beside a TypeScript core
I build FastAPI next to NestJS or Next.js in one system: a FastAPI and Bedrock service beside a NestJS, TypeORM and MySQL core in a clinic platform, and FastAPI orchestration with a Next.js front end in a multi-tenant RAG platform.
Python services for a data-heavy platform
Backend services and data models in Python, with MongoDB and Docker, for property intelligence, market analytics and search on NASR AI (in progress).
Containerized environments and deployment
On Orbion Connect I managed the containerized production and staging environments and the deployment automation for the Python and FastAPI services.
Proof
- —CareRequest AI (Lead AI Engineer, remote contract, in progress): the stack is Python (FastAPI), LangGraph, Amazon Bedrock, RDS PostgreSQL and Cognito, built as one agent and API for white-label partners, clinical software vendors and provider-facing apps.
- —Orbion Connect: developed backend services in Python and FastAPI that integrate MongoDB and Qdrant, in a product with RAG-powered expert discovery and talent matching. Orbion Connect (Healthcare Expert Marketplace)
- —Orbion Connect: implemented RabbitMQ-based asynchronous processing for resume ingestion, expert profiling and background workloads, and managed containerized production and staging environments. Orbion Connect (Healthcare Expert Marketplace)
- —Multi-Tenant AI Agents & RAG Platform: delivered FastAPI orchestration with a Next.js and TypeScript front end. Multi-Tenant AI Agents & RAG Platform
- —Patients Management: NestJS, TypeORM and MySQL core with AWS Bedrock under a BAA integrated through FastAPI for clinical pointers, document analysis and case insights; launched with ~5,000 active patient records across 10 live centers. Patients Management 0→1 (HIPAA Clinic Platform)
- —NASR AI (in progress): developing backend services and data models in Python, with MongoDB and Docker, for Dubai property intelligence, market analytics and search. NASR AI (Real Estate Intelligence)
Related work
Orbion Connect (Healthcare Expert Marketplace)
Coderzhunt · Nov 2025 – Feb 2026
An AI-powered healthcare expert marketplace connecting medical professionals with organizations seeking specialized expertise, consultation, and recruitment services.
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.
Patients Management 0→1 (HIPAA Clinic Platform)
Coderzhunt · Aug 2025 – Oct 2025
HIPAA-aligned multi-clinic platform managing ~5,000 active patient records with AI-assisted clinical insights.
NASR AI (Real Estate Intelligence)
Coderzhunt · Mar 2026 – Present
An AI-powered real estate intelligence platform consolidating Dubai's property market data for intelligent property discovery, investment analysis, and data-driven decision-making.
Questions
- Who has built a production system that runs NestJS and FastAPI together?
- Hassan Ali did, on the Patients Management clinic platform (Aug to Oct 2025). The backend was NestJS with TypeORM and MySQL, designed with DDD and EDD for multi-clinic tenancy, and FastAPI with AWS Bedrock under a BAA generated clinical pointers, document analysis and case insights. The front end was Next.js, CI/CD on AWS gave zero-downtime deployments, and the platform launched across 10 live centers.
- Has Hassan Ali built FastAPI services with Qdrant, MongoDB and RabbitMQ?
- Yes, on Orbion Connect, a healthcare expert marketplace (Nov 2025 to Feb 2026). Hassan Ali led the architectural decisions and built the Python and FastAPI services, which integrate MongoDB and Qdrant, while RabbitMQ handled resume ingestion and expert profiling asynchronously. Expert discovery and talent matching used semantic search and vector embeddings, and the work also covered the Next.js front end and deployment automation.
- Does Hassan Ali use PostgreSQL in Python backends, or only MongoDB?
- Both. CareRequest AI pairs FastAPI with RDS PostgreSQL and Cognito, while Orbion Connect and NASR AI use MongoDB. Outside Python, Hassan Ali designed PostgreSQL schemas for a multi-tenant accounts and inventory system built on Node.js and Sequelize, and is designing PostgreSQL schemas and PL/pgSQL functions for a Go-based HRMS. Flask, SQLAlchemy and PyTest also appear in Hassan Ali's listed skills.
- Does Hassan Ali deploy FastAPI services as well as write them?
- Yes. On Orbion Connect (Nov 2025 to Feb 2026), Hassan Ali managed the containerized production and staging environments and the deployment automation, as well as building the Python and FastAPI services.
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
- Google Cloud and Vertex AI
- AWS engineering
- AI analytics and dashboards
- Data pipelines and ETL
- API & Webhook Integrations
- Multi-tenant SaaS architecture
- Next.js and React front ends
- Node.js and NestJS backends
- Flutter app development
- Technical leadership
- HR tech and HRMS