document_pipeline
Claude-vision state machine. Any document in, a validated row out. Three LLM calls, one repair attempt, one human gate, 69 tests.
AI/ML and data engineer in Lahore, working remotely with US and EU teams. Lead developer of AI Reports at Maiden Century — Claude agents over 100GB+ of financial data, three tiers in production. Four years of pipelines that run without me watching them.
How a document becomes a row in a database. Five steps, the same five every time. Scroll: the diagram holds still and lights the part being described.
Before any prompt gets written, the whole job is a graph on paper: nodes, edges, what state each node reads and writes. If it can't be drawn, it isn't understood yet. LangGraph because the graph is the artifact — not a crew of agents improvising a plan at runtime.
Three LLM calls per document, capped, and the cap is a test. Vision for classification, structured output for extraction, one repair if validation fails, and that's the budget. Every call that isn't in the budget is a cost you'll discover in production instead of in review.
Structured output, schema-enforced, validated by code that has never heard of a language model. Cross-field logic is cheap and deterministic; use it. When validation fails, repair gets exactly one attempt — then it becomes a human's problem, on purpose.
Autonomy is not the goal — a correct write is. One approval gate, at the irreversible step, and the machine genuinely stops there. The amber indicator on this console is the same signal: hardware waits with the pipeline.
Dockerfile, pytest suite, README that assumes nothing. 69 tests green on document_pipeline. The deliverable is a service your team can deploy and modify without me — not a notebook I have to be present to explain.
Six public repositories, each with a runnable trace. Press run and watch the real path a job takes. Two of them stop at a human — when they do, this console stops with them.
Claude agents through the Anthropic SDK and LangGraph, reading a row-level-secured MCP server so an analyst can only ever see their own entitlements. Three tiers shipped and in production: Ticker Summary, Company Report, Metric Findings.
Claude-vision state machine. Any document in, a validated row out. Three LLM calls, one repair attempt, one human gate, 69 tests.
Three sources, fourteen tables, three tiers — raw Parquet, a DuckDB warehouse, and derived scores in their own partition. Loads are idempotent: append dedupes on a declared primary key, so a re-run costs nothing. The agent is the last mile, not the point.
Six-node email agent. Classifies, extracts, routes on a rules table, drafts a proposal — then hands it to the right team. Nothing goes back to the lead without a person.
SigLIP global embeddings and InsightFace face embeddings, voted into a consensus across six thresholds. No model retraining, no labels.
Four agents, no human in the revenue loop — and a profit-blind ethics auditor that can veto the other three. Frozen-config hashes, a sandboxed code generator, capped budgets per child. 140 tests.
Point it at a codebase, ask it how onboarding works. Every answer carries file:line citations, so a wrong answer is falsifiable in one click.
Things built to answer a question rather than to ship. Two of them are how I learned the tools I now bill for; one is a game; one is an Android home launcher in plain Java. Same discipline, no client attached.
Qwen2.5 on banking77, MLflow-tracked, base-vs-tuned in a table: accuracy 0.28 → 0.36, macro-F1 0.15 → 0.21. That's a capped CPU smoke run, not a claim — the caveat is the point, and it's the artifact behind the 5★ Upwork fine-tuning review. make setup && make data && make train && make eval reproduces it.
A Playwright + LangGraph browser agent that watches inventory on a mock storefront and reorders before it runs out. Plan, browse, checkout, record — the approval gate would go right before checkout, which is exactly where you'd want it before real money moves.
A stateless FastAPI server over a local 3B model (Ollama, Qwen 2.5). A two-stage planner/filler call structure, a hidden trait-state the player never sees directly, and a journal-summary memory that keeps token cost flat as the story grows instead of replaying the whole thing every turn.
A native Android home launcher in plain Java — no Kotlin, no Compose, no Material — with a per-pixel animated sky, built on a CI-only pipeline because there's no local Android toolchain in reach. This repo is the open-source edition. The domain is a variable; the discipline is the constant.
Five domains, one discipline. Hover a domain and the tools it was built with light up below it. The constellation is draggable — nothing here is a static logo wall.
State machines that happen to call a model. The graph is drawn before a prompt is, the call budget is a test, and the irreversible step waits for a person.
Ingestion that can be re-run without fear — declared schemas, primary-key dedupe, raw and derived data in separate tiers. A written data dictionary, because someone will inherit this.
Two embedding models voting, because one of them is confidently wrong more often than it looks. No retraining, no labels, no fixed K.
A transformer over price history with sentiment as a feature, deployed behind an API — which is the part most forecasting projects skip.
Star schemas people actually query, and the IAM boundaries that decide which rows they see. Governance is a schema decision before it is a policy document.
Four years, in order. NOC monitoring taught me what a 3am page costs; everything since has been an attempt to build things that don't send one.
Claude agents over 100GB+ of financial data through a row-level-secured MCP server. Three report tiers shipped. ETL on EKS with Airflow; transformations in Snowflake and Databricks.
An on-prem data lake for public-sector data: MinIO and Trino, ClickHouse for serving, Superset on top, Llama 3 running locally through Ollama. No data left the building.
Azure Data Factory into Synapse star schemas, then an Airflow migration onto Snowflake. Power BI semantic models and DAX. A transformer stock forecaster with NLP sentiment, and OpenCV facial-recognition attendance.
Watching other people's systems fail on a wall of monitors. BSc Computer Science, FAST-NUCES, 2023.
Lahore, UTC+5, overlapping US mornings and EU afternoons. Built the eval harness instead of reading about it — base-vs-tuned numbers, capped run, caveat attached. Open to build work at $40/hr — lighter scopes negotiable.
{{ twinHead }}
{{ twinSub }}
{{ greeting }}
{{ t.s }}
That is the whole of it, read back off the live functions. Open DevTools → Network and confirm there is exactly one outbound host: openrouter.ai.
{{ keyHint }}
{{ costLine }}{{ modelCountSep }}{{ modelCount }}
reading the live model list from openrouter.ai…
{{ twinMemNote }}
{{ twinFoot }}
Twenty minutes, no deck. Tell me what breaks and I'll tell you whether I'm the right person — including when I'm not. $40/hr for build work; lighter scopes negotiable.
{{ bkSummary }} — this goes into your booking notes. Twenty minutes, UTC+5, mornings US / afternoons EU. Grab whichever slot suits you.
faq · plain text
The short answers people ask for most often, in one place.
An independent AI/ML and data engineer in Lahore, Pakistan, working remotely with US and EU teams. Lead developer of AI Reports at Maiden Century: Claude agents over 100GB+ of financial data, three report tiers in production.
Production AI agents with LangGraph, MCP and Claude; data pipelines on Airflow, Snowflake and Databricks; and automations that stop at a human approval step before anything irreversible happens. Six of them are public on GitHub, each with a case study at saad-dev.com/cv/work.
Yes: a fixed-scope project, part-time or retainer work, or a full-time role. Build work is $40/hr. Book 20 minutes: UTC+5, which means mornings in the US and afternoons in the EU.
The graph is drawn before any prompt is written. Data access goes through a row-level-secured MCP server, every agent has a budget of model calls, checks that don't need a model are plain code, and anything a person should sign off on waits at an approval gate.
Yes: websites, business systems, AI assistants and automations, at fixed prices from $200 after a free 20-minute audit. See saad-dev.com/services.
Email saad@saad-dev.com, book a 20-minute call at cal.id/saad-saad-dev/onboarding-call, or find him on LinkedIn (linkedin.com/in/s-waseem) and GitHub (github.com/s-wasim).