Twenty years of software development

Practice
Architecture

Senior AI engineer and architect

AI architecture, agentic systems, evaluation, and production delivery. Based in Tallinn, Estonia.

Open to senior AI engineering and architecture roles.

See the work

Awards

  • Winner — Mirka M.INC Innovation Challenge (Finland)

  • Winner — Base44 Hack4Good hackathon

Sagar Yadav
Senior AI engineer and architect. AI architecture, agentic systems, evaluation, voice agents, and predictive models. AWS and Google Cloud.
Twenty years in software
Based in Tallinn, Estonia
Production engineering
AWS and Google Cloud
PythonGoRustSQLiteAWSGCPDockerCloudflare
Fluent, native, learning
English, Hindi, Estonian
Est Law is live: an advisor for Estonian and EU law.
Legal search, one example
Tallinn
Get in touch

Practice and expertise

Twenty years of software development. Architecture, agents, evaluation, voice, predictive models, and production delivery.

  • AI architecture and agentic systems

    Architecture for agentic systems: how a model plans, retrieves, and checks its answer. Est Law uses agentic tree-RAG, from act cards down to the full text. A later system for Finnish law is embedding-free agentic RAG over 5,236 in-force laws.

  • Evaluation and reliability

    Benchmarking loops, LLM-as-judge setups, and cross-verification of model output. The public Go Sudoku suite compares four engines; the bitmask solver averages 1.31 µs per solve in that suite. Est Law’s summarisation ran as 1,653 validated, hash-checked work units, with cost caps.

  • Voice agents and conversational AI

    Voice agents and conversational systems. Public work includes speaker-diarised batch transcription in 103 languages.

  • Predictive modelling and data science

    Classic data science and predictive modelling software. Data science and machine learning at Turing College, 2022–2023. Applied computer vision for PCB defects and for strawberry-picking robots.

  • Cloud and production engineering

    AWS expert and Google Cloud expert. Production systems in Python, Go, and Rust, with Docker and Cloudflare. ÅlexGPT ran on AWS. A daily grocery-offer pipeline moved from beta to production.

  • Forward-deployed delivery

    Delivery inside the organisation’s own workflow, from the data it depends on to a system people use. At the Government of Åland that was statute-archive digitisation, a naming standard, and a data-readiness review after documents had dropped out of the dataset.

Selected work

Problem, approach, checks, and what shipped. Legal search is one of these systems.

01

AI Electronics

AI that detects PCB defects and gives repair guidance. Co-founded with Jacob Pesämaa, 2024–present.

Live site

Problem

Detect defects on printed circuit boards and give repair guidance.

Outcome

Winner — Mirka M.INC Innovation Challenge (Finland). Live at aielectronics.vercel.app. The funding pitch was for up to €20k in the first phase.

Approach

  • Took it through problem validation, proof of value, and customer interviews.
  • Pitched for up to €20k in first-phase funding.

Governance / QA

  • Problem validation, proof of value, and customer interviews before the funding pitch.

02

Est Law

AI legal advisor for Estonian and EU law.

Live site
  • Python
  • SQLite
  • OpenRouter
  • Cloudflare

Problem

Answers have to stay inside Estonian law and EU law, and those sources can conflict.

Outcome

Live at estlaw.stepinbooking.com. Answers are planned in Estonian, English, and Russian.

Approach

  • Structured Estonian law from Riigi Teataja, plus 33,114 EU acts from EUR-Lex.
  • A source hierarchy resolves conflicts: EU law → Constitution → treaties → acts → regulations.
  • Agentic tree-RAG: act cards → section maps → provision summaries → full text.
  • Daily update pipeline: sha256 diff, only changed acts re-queued, stable IDs.
  • Answers planned in Estonian, English, and Russian.

Governance / QA

  • Bulk summarisation split into 1,653 validated, hash-checked work units.
  • Coding agents ran those units across several machines, with progress tracking, validators, and cost caps.

03

ÅlexGPT / Law Navigator

AI legal search for the Government of Åland, with Jacob Pesämaa. July 2024–present.

  • Go
  • Rust
  • OpenAI
  • Claude
  • OpenRouter
  • KeyDB
  • Docker
  • AWS

Problem

The statute archive had to be digitised before it could be searched, and bad file naming had silently dropped documents from the government dataset.

Outcome

Private repositories. No public link.

Approach

  • Digitised the statute archive: Go downloader, Rust PDF-to-image, OCR enhancement, and human-in-the-loop review.
  • Proposed a naming standard and a data-readiness review after the dropped documents came to light.
  • RAG chatbot using OpenAI text-embedding-3-large and Claude via OpenRouter, with a KeyDB cache, Docker, and AWS.
  • Swedish-to-English law-XML translation, with highlighted source passages.
  • Successor: embedding-free agentic RAG over 5,236 in-force Finnish laws.

Governance / QA

  • Human-in-the-loop review of the digitised archive.
  • A naming standard and a data-readiness review for the government dataset.

04

Law Text Editor

Bilingual English and Swedish editor for drafting legislation.

  • XML

Problem

Drafting legislation in two languages needs structure, amendment tracking, and a controlled path from draft to approved text.

Outcome

No public link.

Approach

  • Structured editing for metadata, chapters, and paragraphs, with amendment tracking and validation.
  • Live XML preview and export.
  • An approved-versus-draft workflow with four-eyes (two-person) approval.

Governance / QA

  • Validation on the draft.
  • Four-eyes approval: two people sign off before a draft is treated as approved.

How a system gets to production

Discovery, a bounded pilot, then rollout.

  1. 01

    Discovery

    • Start from the workflow and the data it depends on.
    • Set a data-quality standard before building. On the Åland statute archive, bad file naming had silently dropped documents from the government dataset. The response was a naming standard and a data-readiness review.
  2. 02

    Pilot

    • Break the work into validated units with clear ownership.
    • Put validators and QA gates on those units. Est Law’s bulk summarisation ran as 1,653 validated, hash-checked work units, with progress tracking.
    • Set cost caps, and require approval before paid usage.
    • Keep a human in the loop. The Åland statute archive was reviewed by a person after OCR.
  3. 03

    Rollout

    • Stage the path from beta to production. Tallinn grocery deals moved from beta to production.
    • Track progress and benefit.
    • Keep sources current. Est Law’s daily pipeline uses a sha256 diff, re-queues only changed acts, and keeps stable IDs.

Public builds

Experience

  1. Jul 2024–present

    AI Lead – Systems Development

    Government of Åland

    Systems development for the Government of Åland, with Jacob Pesämaa. ÅlexGPT / Law Navigator: statute-archive digitisation, a naming standard, and a data-readiness review.

  2. 2024–present

    Co-founder / CTO

    AI Electronics

    AI that detects PCB defects and gives repair guidance, co-founded with Jacob Pesämaa. Winner — Mirka M.INC Innovation Challenge (Finland).

  3. 2022–2024

    Freelance full-stack engineer

  4. 2021–2022

    Co-founder

    BerryBot

    Computer vision for strawberry-picking robots. Second place in a hackathon.

  5. Since 2007

    Founder

    Earlier ventures

    Entrepreneurial track record: Biotex Blockchain, Brandeligion News, Diplomat Auctions, and idHUG.com.

Education and certifications

  • 2007–2010

    MBA, Amity Business School

    Lean, Six Sigma Green Belt, Kaizen, and ISO 9001 training.

  • 2022–2023

    Turing College

    Data Science / ML.

  • 2022–2024

    grit:lab

    Software engineering: AI, cyber security, and DevOps. Top of the cohort.

  • Kood Tech (01-edu network)

    Highest GPA in the cohort.

  • WIPO Intellectual Property Rights certification

Languages

  • English · Fluent
  • Hindi · Native
  • Estonian · Learning

Contact

Tallinn, Estonia

Drag the piece into the slot

Mouse, touch, or keyboard: focus the piece and press Enter.