
Alexander Stec
Verified Expert in Engineering
Artificial Intelligence Developer
San Francisco, United States
Toptal member since June 29, 2026
Alex is a founder and AI engineer with a PhD in deep learning and 8+ years of experience building production AI/ML systems, the last 3 of which have focused on LLMs. As a sole technical founder of an AI platform in a regulated B2B vertical, he shipped agentic compliance systems, hybrid RAG at scale, and a generative LLM co-pilot—all running in production with continuous evaluation. Alex is currently focused on projects across AI engineering, machine learning, and data science.
Portfolio
Experience
- Python - 12 years
- Machine Learning - 12 years
- Data Science - 12 years
- Natural Language Processing (NLP) - 10 years
- AI Architecture - 10 years
- Large Language Models (LLMs) - 3 years
- Retrieval-augmented Generation (RAG) - 3 years
- AI Agents - 2 years
Preferred Environment
Artificial Intelligence (AI), Machine Learning, Deep Learning, Data Science, Data Engineering, Natural Language Processing (NLP), Retrieval-augmented Generation (RAG), AI Architecture
The most amazing...
...agentic LLM system I've built screens regulatory compliance across jurisdictions in under a minute—work that used to take experts hours.
Work Experience
Co-founder & CTO
Potion
- Designed and shipped an agentic AI compliance system (LLM classification – rule-based verification – human-in-the-loop) that screens against regulatory standards across multiple jurisdictions, returning citation-grounded results in under a minute.
- Deployed a production hybrid retrieval system (dense + BM25 + reciprocal rank fusion) and hardened it against real failure modes with domain-specific synonym expansion and a streaming LLM postfilter.
- Built a multi-modal extraction pipeline (OCR – classification – hierarchical extraction), converting unstructured supplier documents into source-cited structured data across 30+ attributes per entity.
- Built a generative LLM co-pilot that increased domain-expert productivity by 25%, using structured outputs and task-specific model routing to balance cost against quality.
- Developed an evaluation framework with curated golden sets and calibrated LLM-as-judge, plus continuous online evals that catch production regressions from live behavior rather than after users.
- Architected and scaled a multi-tenant platform to 7-figure ARR as the sole technical founder, owning the full stack (Python, FastAPI, Postgres, Redis, Pinecone, AWS, React/TypeScript).
Data Scientist
Allstate
- Built a multi-view vehicle damage assessment system using deep learning, aggregating multiple image perspectives into a single neural classifier for automated claims assessment.
- Developed a customer churn model using a custom RNN cell to capture customer interactions temporally, identifying at-risk customers from sequential behavior.
- Delivered deep learning research within the Analytics Center of Excellence, translating experimental models into applications for operational insurance workflows.
Experience
Agentic AI Compliance Screening System
As the sole technical founder, I architected a multi-step agent workflow (LLM classification – rule-based verification – human-in-the-loop checkpoint) with structured outputs and deterministic validation at each stage, so the authoritative logic lives in code rather than in the model.
Every result is citation-grounded—each conclusion links directly to the source standard—making outputs auditable by domain experts, and screening that previously took experts hours per formula now completes in under a minute. The system replaced a manual, error-prone review process in a context where a confident-but-wrong answer is worse than no answer at all.
Hybrid Retrieval (RAG) System at Production Scale
Off-the-shelf semantic search wasn't enough: domain terminology and exact-match identifiers meant pure dense retrieval silently missed valid results, while keyword search missed conceptual matches. I designed a hybrid pipeline fusing dense retrieval (Pinecone), BM25 sparse, and metadata filters via reciprocal rank fusion, with a streaming LLM postfilter as a final safety net.
Rather than a one-shot build, I iterated against real production failure modes—for example, adding domain-specific synonym expansion after observing valid variants being missed. Continuous online evaluations monitor retrieval quality from live behavior, so regressions surface before users hit them rather than after.
Multi-modal Document Extraction Pipeline
The pipeline normalizes mixed inputs to a common format, OCRs them with AWS Textract, classifies each document by type to route it to the right extraction logic, then hierarchically extracts 30+ structured attributes per entity across physical/chemical, functional, clinical, and regulatory categories.
Critically, every extracted value cites the source text it came from, so any figure can be verified at a glance—making the output trustworthy enough to drive downstream decisions rather than requiring re-verification. The system freed domain experts from hours of manual data entry each week.
Education
PhD in Engineering
Northwestern University - Evanston, IL, USA
Master's Degree in Engineering
Northwestern University - Evanston, IL, USA
Bachelor's Degree in Physics
University of Illinois Urbana-Champaign - Urbana, IL, USA
Skills
Libraries/APIs
Claude API, React, SQLAlchemy
Tools
Claude, Celery
Languages
Python, TypeScript, SQL
Platforms
Docker, AWS IoT
Storage
PostgreSQL, Redis
Other
FastAPI, Pinecone, Retrieval-augmented Generation (RAG), Machine Learning, Artificial Intelligence (AI), Deep Learning, Data Science, Natural Language Processing (NLP), AI Architecture, Computer Vision, Large Language Models (LLMs), AI Agents, Prompt Engineering, OpenAI, Anthropic, RAG Systems, Workflow Automation, Kafka, Vite, Data Engineering, Open-source LLMs, Vector Databases, Process Automation, Regulatory Affairs, Optical Character Recognition (OCR)
How to Work with Toptal
Toptal matches you directly with global industry experts from our network in hours—not weeks or months.
Share your needs
Choose your talent
Start your risk-free talent trial
Top talent is in high demand.
Start hiring