Udalov Labs

Artificial intelligence

AI engineered into the product core.

We build practical AI systems with strict schemas, on-device pre-processing, and cost guardrails, designed and maintained by Alex Udalov.

Production patterns

Tool-using AI agents

Scheduled and on-demand agents that combine language reasoning with database queries, schema validation, and external APIs to finish multi-step work reliably.

In production

  • ClearSky Monitor: Scheduled briefing pipeline generating structured country risk scores and event narratives.
  • ListingLab: Product photo analysis extracting item attributes and pricing drafts for marketplaces.
  • NaosStudio: Natural-language stage agent mapping production prompts onto typed DMX fixture catalogs.

Retrieval-augmented generation (RAG)

Grounding model responses in live operational stores rather than static weights so outputs cite actual recent records.

In production

  • ClearSky Monitor: Analysts query live global threat feeds in natural language; Vectorize retrieves matching records before generating a summary.

Semantic vector search

Dense embedding search deployed on Cloudflare Vectorize so users search large catalogs by intent instead of brittle keyword matches.

In production

  • ClearSky Monitor indexes tens of thousands of geopolitical and airspace events with OpenAI embeddings.

On-device Vision & speech automation

Combining Apple Vision OCR on the device with targeted cloud classification and Whisper transcription to cut latency and server bandwidth.

In production

  • Bug Report Recorder: Whisper transcribes voice commentary alongside ReplayKit screen captures.
  • What I Eat: Apple Vision extracts ingredient text locally before running allergen classification.
  • ListingLab: On-device background removal paired with automated copy generation.

Guarded LLM routing

All third-party model traffic passes through Cloudflare Workers for server-side key isolation, rate limiting, caching, and per-feature cost tracking.

In production

  • TextPolish routes five tone modes through edge workers with strict payload bounds.
  • ReadBetween processes pasted threads and screenshots via isolated server-side prompts.
  • NaosStudio calls Gemini 2.5 with deterministic schema validation.

Structured prompt engineering

Versioned system prompts with strict JSON schema enforcement, fallback paths, and regression checks before shipping prompt updates.

In production

  • TextPolish constrains vocabulary and length per writing mode while preserving core facts.
  • ClearSky Monitor enforces typed JSON briefing schemas for reliable UI rendering.

Multi-step generative pipelines

End-to-end flows where on-device capture, OCR, LLM reasoning, and structured exports compose into a single user action.

In production

  • What I Eat: Vision OCR -> ingredient normalization -> profile allergen match.
  • ListingLab: Camera capture -> background removal -> metadata generation -> marketplace draft export.
  • Bug Report Recorder: Screen capture -> voice narration -> Whisper transcript -> Jira/Linear/GitHub issue.

Models & on-device frameworks

OpenAI

GPT-4oWhispertext-embedding-3-small

Text rewriting, conversation coaching, listing metadata, ingredient classification, threat briefings, voice transcription, and embeddings.

Google

Gemini 2.5

Natural-language 3D stage layout and fixture rigging in NaosStudio.

Apple

Vision FrameworkCore ML

On-device OCR for label scanning (What I Eat) and product cutout segmentation (ListingLab).

Explore more