Software Engineer · Applied AI Engineer

Sunny Vishwakarma

Designing bounded AI systems where models reason and tested code governs state.

I build backend and applied AI platforms with Python, TypeScript, React, Laravel, and AWS—from context-engineered assistants and invoice pipelines to voice AI fleets and consent-enforced healthcare systems.

Based in Mumbai (IST). Open to remote roles with UK, EU, Canada and UAE teams. Comfortable with GMT/CET overlap.

View selected work Download resume (PDF)
69% → 91% Live 87-case eval
21 / 21 Adversarial clean
1,644 Hermetic voice tests
191 Postgres RLS policies
ENGINEERING PRINCIPLE TRUST BOUNDARY

Keep AI useful.
Keep critical decisions in code.

01Trusted inputsIdentity · scope · evidence
02Bounded modelReasoning · suggestions
03Verified actionRules · permissions · state
DESIGNED FOR REAL SYSTEMS PYTHON  /  TYPESCRIPT  /  AWS

Selected projects

Three systems I have engineered directly. Each card shows its runtime pipeline and verified evidence, and links to a full architectural case study and engineering deep dive.

01 · TELECOM AI & BILLING

TiDonna — AI Assistant & Invoice Engine

Live platform; ongoing improvements

116 customers · 4,354 contracts · 16 Lambdas

  • Laravel
  • React
  • Node.js
  • AWS Lambda / S3 / SES
  • DynamoDB
  • OpenAI
  • Anthropic

Role-scoped AI assistance and serverless PDF invoice workflows for a live B2B telecom platform (116 customers, 4,354 contracts).

Sanctum Token Allow-List + ForbiddenScanner Server DatasetCache LLM (Ref + 5-row preview) ReplyGuard
  • Kept raw customer tables server-side behind owner-bound dataset handles and fail-closed EU inference checks, while running deterministic counts, sums, and CSV exports in PHP.
  • Built email-to-invoice extraction with coordinate-anchored PDF provenance, content-hashed approvals, and an idempotent duplicate-send gate at the email service boundary.
Hand-graded live evaluation (87 real questions, 20 Aug 2026) 60/87 (69%) → 79/87 (91%) · 21/21 adversarial clean

Covers the assistant on one question set; 210 PHPUnit assistant tests and 96 Jest invoice files back the underlying guards.

02 · VOICE AI CONTROL PLANE

Power Dialer — AI Voice Platform

In development; rollout validation ongoing

3 voice lanes · 36 ADRs · 1,644 tests

  • Laravel
  • React
  • TypeScript
  • Twilio
  • Node.js
  • OpenAI Realtime
  • MySQL
  • Redis

A multi-tenant voice AI platform turning a single-agent sales dialer into a supervised fleet of concurrent AI callers.

Deterministic Split Atomic Lease + Reconcile 3 Voice Lanes TransferResolver QC Verified Ledger
  • Implemented deterministic campaign allocation, atomic contact leases, and three interchangeable realtime voice lanes (Twilio Gather, ConversationRelay, OpenAI Realtime Node sidecar).
  • Separated AI execution from server authorization so the model emits only a transfer reason while the server resolves destinations, enforces compliance floors, and counts only QC-reviewed sales.
Verification baseline (pre-production rollout) 1,644 hermetic PHPUnit tests · 6,249 assertions

Includes load-tested atomic claims, static reward-hacking CI scanner, and 36 architectural decision records. Call capacity and live caller-heard latency remain unmeasured until staged rollout.

03 · CLINICAL DB ISOLATION

VitaSetu / CareWell — Healthcare Platform

In development

191 RLS policies · 1,144 checks

  • NestJS
  • Next.js
  • TypeScript
  • PostgreSQL
  • Prisma
  • Expo
  • Zod

A patient-owned clinical platform built around database-enforced tenant boundaries, consent scopes, and deterministic workflows.

Session + Org Guard Non-Owner app_user 191 PostgreSQL RLS Policies Advisory Lock + SKIP LOCKED Outbox
  • Enforced tenant and patient-consent isolation in PostgreSQL using 191 row-level security policies and a boot-time refusal if the API ever connects with bypass privileges.
  • Built race-safe appointment locking via pg_advisory_xact_lock and a brokerless transactional outbox with exponential backoff and dead-letter handling.
Isolation & concurrency checks 1,144 Vitest & Playwright checks · 191 RLS policies

Isolation tests run as non-owner app_user across before-consent, active-consent, revoked, and expired states. Production IdP and payment adapters remain mocked.

Applied AI Engineering Context

How I architect LLM systems that survive real data

Most AI prototypes fail at the seam between probabilistic text generation and deterministic business state. Across B2B portals, voice agents, and billing pipelines, I split every system into explicit trust zones so a model failure cannot become a data leak, a double charge, or an unauthorized side effect.

Reference Architecture: Four-Zone Trust Boundary for Production AI Deterministic Core + Bounded Model
Four-zone trust boundary architecture for production AI systems Shows untrusted inputs entering a server authorization and scope gate, passing only minimal references to the LLM execution zone, then passing through provenance and output guards before reaching immutable ledgers or client exports. 1. UNTRUSTED INPUT User / Caller Chat questions Live call audio Inbound PDFs Threat surface Prompt injection Missing PDF fields 2. SERVER GATE Auth & Scope Code Token & Tenant Sanctum / RLS / Lease Context Shaping Allow-lists + DatasetRef EU geo fail-closed 3. MODEL PLANE LLM / Voice AI Sees summaries, schemas, and <= 5 preview rows Emits Intent Only Tool args / transfer reason Never holds: Raw rows · math · secrets 4. VERIFY & ACT Provenance Check ReplyGuard / PDF anchor Server Resolver Policy + idempotency Verified Output CSV · Ledger · Evals
Across all three production systems, the model sits strictly in Zone 3: it routes tools and drafts language, while Zones 2 and 4 enforce access, arithmetic, provenance, and idempotency.

Context Engineering

Keep raw rowsets out of LLM windows. Pass owner-bound dataset handles and byte-stable prompt prefixes so costs stay predictable and arithmetic runs in PHP/Node.

Read note →

Fail-Closed Guardrails

Combine allow-listed schemas, forbidden-key scanners, provenance reply checks, and real controller canary tests instead of trusting prompt instructions alone.

Read note →

Voice Control Planes

Separate AI speech from execution authority: atomic lead leases, swappable realtime audio lanes, server-resolved call transfers, and local PyAV/Ollama voice loops.

Read note →

Provable Data & DB Boundaries

Anchor extracted PDF values back to printed coordinates, compute money in integer minor units, and enforce multi-tenant consent directly inside PostgreSQL RLS.

Read note →

Engineering blog & field notes

Browse all articles →

Architecture teardowns, real bugs caught during evaluations, and practical engineering patterns from building multi-tenant AI, voice, and document systems.

Context & Guardrails 8 min read

The Model Is a Router, Never a Data Store

How an Assistant Data Layer keeps customer rows out of LLM context, why worked examples in prompts trigger hallucinations, and how we lifted a live 87-question eval from 69% to 91%.

  • Reference Handles
  • ReplyGuard
  • Evals
Voice AI Systems 9 min read

The Model Recommends, The Server Authorizes

Designing a three-plane outbound voice fleet with atomic contact leases, swappable realtime lanes, reward-hacking scanners, plus a 100% local Moonshine + DeepSeek-R1 + Kokoro tutor.

  • Three Planes
  • Atomic Leases
  • Local Voice
Document AI & Data 9 min read

Provable Extraction & Database Boundaries

Coordinate-anchored PDF extraction, integer minor-unit billing, duplicate-charge boundary gates, 191 PostgreSQL RLS policies, and cutting AI agent token spend 7.3x with AST graphs.

  • Anchored PDF
  • Postgres RLS
  • AST Graphs

6 Production AI Tips & Tricks (From Real Incidents)

TIP 01 · PROMPT HYGIENE

Ban real-looking numbers from few-shot examples

In TiDonna's live eval, the LLM copied numbers out of a worked system-prompt example instead of calling a tool.

Rule: Use placeholders in prompt examples and assert in CI that zero real domain figures appear in cached prefixes.

TIP 02 · EXFILTRATION

Never return signed download URLs to the model

Returning a signed CSV link inside a tool response leaks that URL into third-party LLM provider logs (caught as LEAK-02).

Rule: Return an opaque export_id to the model; mint the owner-scoped signed URL only when the UI clicks.

TIP 03 · TRANSFER SAFETY

Have voice agents emit reasons, not phone numbers

If an AI voice model outputs a destination number or agent ID, prompt injection from the callee can hijack call transfers.

Rule: Constrain the tool output to a typed reason enum; resolve the target server-side via an allow-listed registry.

TIP 04 · REWARD HACKING

Separate model sentiment from verified outcomes

Counting sales claimed by an LLM optimizing for conversion creates an inflated scoreboard and unstable feedback loops.

Rule: Keep append-only ledgers, count only QC-reviewed sales, and run a static scanner blocking model scores on paid surfaces.

TIP 05 · IDEMPOTENCY

Treat ambiguous email/API timeouts as unknown

Marking an ambiguous SES timeout as "failed" invites automated retries that bill or invoice the same customer twice.

Rule: Record ambiguous outcomes as unknown, gate dispatch in the email boundary, and bind approvals to content hashes.

TIP 06 · REAL TESTS

Never test RLS or gateway guards as an admin/mock

Fake controllers hid tenant leaks in TiDonna, and owner DB roles silently bypass every PostgreSQL row-level security policy.

Rule: Run gateway isolation tests through real controllers with canaries, and connect tests as the non-bypass app_user role.

Industry Benchmarks & Voices

Principles from AI engineering leaders, applied in code

I study how top engineering teams build reliable AI software. Below are six published principles from respected practitioners alongside where each one shapes my production architecture.

"In every industrial-strength LLM app, context engineering is the delicate art and science of filling the context window with just the right information for the next step."
Andrej Karpathy — Context Engineering (June 2025)
How I apply this TiDonna's Assistant Data Layer sends only {summary, dataset_ref, preview <= 5} and a byte-stable prompt prefix, keeping 4,354 contracts out of model context. See architecture →
"Consistently, the most successful implementations weren't using complex frameworks or specialized libraries. Instead, they were building with simple, composable patterns."
Anthropic Engineering — Building effective agents
How I apply this Both TiDonna and Power Dialer avoid black-box agent frameworks, using bounded PHP/TS tool loops, explicit state machines, and ordinary deterministic code for math and transfers. See Power Dialer →
"The lethal trifecta for AI agents: private data, untrusted content, and external communication. ... the only way to reliably prevent that class of attacks is to cut off one of the three legs!"
Simon Willison — The lethal trifecta for AI agents
How I apply this Cut the exfiltration leg: stripped signed export URLs from tool responses, enforced whitelist-only payloads, and made TransferResolver resolve targets server-side. See guard stack →
"I've seen many successful and unsuccessful approaches to building LLM products. I've found that unsuccessful products almost always share a common root cause: a failure to create robust evaluation systems."
Hamel Husain — Your AI Product Needs Evals
How I apply this Hand-graded 87 real TiDonna queries against the database, root-caused 16 failures to 9 system defects, and turned every fix into a PHPUnit regression test (69% → 91%). See eval teardown →
"Put in guardrails to protect your system and your users. ... Evaluation is necessary at every step of the development process."
Chip Huyen — Building A Generative AI Platform
How I apply this Paired input/output guardrails (ForbiddenScanner + ReplyGuard) with coordinate-anchored PDF verification where printed document text overrides model proposals. See PDF pipeline →
"How important evals are to the team is a major differentiator between folks rushing out hot garbage and those seriously building products in the space."
Eugene Yan — Patterns for Building LLM-based Systems & Applied LLMs
How I apply this Paired with read-only adversarial reviews between work packages in Power Dialer and strict "never claim unmeasured targets" tracking across VitaSetu and TiDonna. See verification workflow →
Career Timeline

Experience

Generative AI Developer

Mar 2026 – Present

ElevateCode IT Services · Remote

  • Built role-scoped AI assistants and serverless invoice workflows across React, Laravel, Node.js, and AWS (16 Lambdas, DynamoDB, S3, SES, EventBridge), backed by 210 PHPUnit assistant tests and 96 Jest invoice test files.
  • Improved the assistant pass rate from 60/87 (69%) to 79/87 (91%) in a hand-graded live evaluation; all 21/21 confidentiality and adversarial cases passed after lookup, prompt, and validation fixes.

AI Developer & Systems Owner

Oct 2025 – Feb 2026

Solution Planets · Remote

  • Built CoachAI, a local privacy-first voice AI tutor (Python, FastAPI, Next.js, TypeScript, Docker Compose) chaining Moonshine STT, Ollama (DeepSeek-R1 14B), and emotion-tagged Kokoro streaming TTS with FFmpeg-free in-memory PyAV decoding (see pipeline diagram).
  • Integrated contextual reply generation, authentication, Stripe and Razorpay payments, and verified webhooks for customer-engagement and marketing SaaS applications.

Service Engineer

Jan 2025 – Sep 2025

Sellergize Web Technology · Kalyan, Maharashtra

  • Automated web data collection and SQL/JSON validation scripts with Python and Selenium, and built internal REST APIs while resolving API and data-rendering issues across teams.
Capabilities & Craft

About & technical skills

How I work

I work across backend services, interfaces, and AI integrations. I focus on clear data boundaries, dependable workflows, and tests that check actual behavior rather than mocks. My recent work spans telecom, voice applications, document billing, and healthcare software, with implementation notes, AST code maps, and client feedback guiding follow-up fixes.

Technical skills

Languages
  • Python
  • TypeScript
  • JavaScript
  • PHP
  • SQL
AI & LLM engineering
  • OpenAI API
  • Anthropic Claude
  • Gemini
  • Ollama
  • Tool Calling
  • Structured Outputs
  • Prompt Caching
  • Eval Harnesses
  • Guardrails
  • RAG / LangChain
  • FAISS
  • Voice AI
Backend & frontend
  • Node.js
  • NestJS
  • FastAPI
  • Laravel
  • React
  • Next.js
  • REST APIs
  • WebSockets
  • Zod
System design & data
  • Multi-Tenant Isolation
  • PostgreSQL RLS
  • Idempotency
  • Transactional Outbox
  • MySQL
  • Redis
  • DynamoDB
  • Prisma
  • Supabase
Cloud & quality
  • AWS Lambda / SAM
  • S3 / SES / EventBridge
  • Docker
  • GitHub Actions
  • PHPUnit
  • Jest
  • Vitest
  • Playwright
Motion & creative web
  • HTML Canvas
  • Boids Flocking
  • SVG Architecture
  • CSS Motion
  • Scroll-Driven UI
  • Web Audio Synthesis
INTERACTIVE SIGNATURE · SWARM ENGINE

Creative web and motion

Beyond product engineering, I treat the web as a visual medium. This site is a live working sample: the scroll-chasing mouse arrow flock, blueprint corner traces, SVG system schematics, and multi-cursor dark-canvas reconstruction are engineered from scratch in vanilla Canvas, CSS, SVG, and Web Audio—zero animation libraries.

  • Creative web development. Visually distinctive, custom-designed interfaces built by hand, with layout, type, and contrast tuned for scannability instead of taken from a template.
  • Graphical technical communication. Multi-zone SVG architecture schematics, evaluation visualizations, and interactive diagrams that respect reduced-motion and zoom.
  • Scroll-driven cursor choreography. Real-time boids flocking and scroll velocity recruitment where multiplayer cursors trace incoming cards and follow your pointer as you scroll.
  • Swarm reconstruction mode. Press Alt + Shift + S or click Watch this site come to life to watch autonomous cursors draw boxes, duplicate siblings, snap ruler guides, and rebuild the live DOM on a dark blueprint canvas.
Academic & Certifications

Education & certifications

2020 – 2024

Bachelor of Engineering, Computer Science (AI & ML)

Smt. Indira Gandhi College of Engineering, University of Mumbai · GPA 7.5/10

2025

IBM Certified Data Science Professional

Nettech India

Aug 2024

Accenture — Data Analytics Virtual Job Simulation

Forage · Virtual job simulation, not employment

Get In Touch

Contact

Interested in discussing a software or applied AI engineering role, or walking through any of the architectures and evaluations here? Reach me directly by email or LinkedIn.