Swanand Potnis
AI & Data Freelance / Contract Pune, India — UTC+5:30 Available for contract work · open to full-time

I build LLM systems that hold up in production.

Three years building Python, FastAPI and Node.js services — retrieval pipelines, agent workflows, data pipelines, and the deployment work that keeps them running. Two of those systems are my own products: one is a live SaaS with paying users, the other is on PyPI.

Experience 3 yrs Building production AI and data systems since 2023
Products shipped 2 DocGrit (paying users), llm-behave (PyPI)
Systems delivered 10+ Contract, team and independent builds — a selection is written up below
01

Products I own and run

Built, shipped, maintained
Live SaaS · Paying users

DocGrit

Point it at an OpenAPI spec and it returns publishable API documentation. Built for teams whose docs drift behind the endpoints they describe.

Role
Sole engineer — product, API, billing, deploy
Stack
Node.js, Supabase, Gemini, Docker, Railway
Status
In production, revenue-generating
docgrit.com
DocGrit homepage: an OpenAPI spec beside the generated endpoint docs with an AI explanation
Open source · PyPI

llm-behave

A pytest plugin for behavioural testing of LLM applications. Semantic assertions, tone checks and drift detection run offline on an 80MB sentence-transformer — no judge model, no API bill, roughly 32ms per assertion.

Why
LLM-as-judge is slow, priced per call, and circular
Stack
Python, pytest, sentence-transformers, FastMCP
Also
Ships an MCP server so any MCP client can run the suite
test_support.pypytest
from llm_behave import assert_behavior, DriftTest

# semantic assertions, no judge model
def test_support_bot():
    output = my_support_bot("I want a refund for order 1234")

    assert_behavior(output) \
        .mentions("refund policy") \
        .tone("empathetic") \
        .not_mentions("competitor")

# fail CI when behaviour drifts
def test_no_regression():
    output = my_support_bot("I want a refund for order 1234")
    result = DriftTest.compare("support_refund_flow", output)
    assert result.passed
$ pytest test_support.py2 passed
02

Systems I've built

Client work — project names are codenames, clients not named
01 ContractIQ Independent contract Legal document review RAG / LLM application
Python · FastAPI · LangChain · Pinecone · PostgreSQL

Problem. Legal reviewers were spending significant time searching through long contract archives to locate specific clauses, definitions, and obligations. Keyword search also made it difficult to answer questions when the relevant information was expressed differently across agreements.

Build. Built a document-questioning system around section-aware ingestion and retrieval. Contracts were parsed into structured sections, metadata was attached by document and clause type, and embeddings were stored in a vector index. Retrieval was constrained using metadata and query context before passing the relevant sections to the LLM. Responses included source references so reviewers could verify the underlying text rather than relying on an unsupported model answer.

Outcome. Reduced the amount of manual searching required for first-pass contract review and gave reviewers a faster way to locate relevant clauses with a traceable source behind each answer.

02 FlowPilot Independent contract Operations workflow automation AI agent / automation
Python · FastAPI · LangGraph · OpenAI · PostgreSQL · REST APIs

Problem. A recurring operations process required people to collect information from multiple systems, interpret incoming requests, decide what action was needed, and then perform several follow-up steps manually.

Build. Built an agent-based workflow that first classified the incoming request, selected the appropriate tools, retrieved required information from internal APIs and databases, and then executed the relevant actions through a controlled workflow. State was persisted between steps so the system could handle multi-stage tasks rather than treating every request as a single LLM call. Added validation and fallback paths for cases where the model could not confidently determine the next action.

Outcome. Automated a repeatable portion of the workflow and reduced the amount of manual coordination required for routine requests, while keeping tool execution bounded to predefined actions rather than allowing unrestricted model behavior.

03 DataFlow Team project Data and ML platform Data engineering / ML pipeline
Python · SQL · Pandas · Airflow · PostgreSQL · scikit-learn · Docker

Problem. Data used for reporting and machine-learning workflows was coming from multiple sources with inconsistent formats, missing values, and different update schedules. Analysts and ML developers were repeatedly performing similar preparation work before they could use the data.

Build. Worked as part of a development team on a reusable data pipeline covering ingestion, validation, transformation, and feature preparation. Implemented Python-based processing and SQL transformations, added data-quality checks for common issues, and scheduled recurring pipeline runs through Airflow. Prepared curated datasets for downstream analytics and ML workflows and containerized components so the pipeline could be run consistently across environments.

Outcome. Replaced repeated manual data preparation with a structured, repeatable pipeline and gave downstream users a more consistent dataset for analysis and model development.

04 AIServe Team project AI feature integrated into a larger application Production AI integration
Python · FastAPI · PostgreSQL · Redis · Docker · REST APIs · LLM APIs

Problem. An AI capability needed to be integrated into an existing application rather than used as a standalone prototype. The system had to communicate with existing backend services, handle application-level data, and return results reliably within the larger product workflow.

Build. Worked with the development team to integrate the AI service behind a FastAPI layer and connect it with the application's existing APIs and database. Implemented request validation, response handling, logging, and failure paths around the model calls. Used Redis where short-lived state or repeated lookups could benefit from caching, and containerized the service for consistent deployment. Coordinated API contracts and integration points with other developers rather than treating the AI component as an isolated notebook or prototype.

Outcome. Turned the AI capability into a service that could participate in the application's normal backend workflow, with defined API boundaries, persistence, error handling, and deployment support.

03

What I get hired for

Retrieval that returns the right chunk

Ingestion, chunking, embedding choice, metadata filtering and evaluation. Recall on your actual documents matters more than which vector store is fashionable.

Agents with defined edges

Explicit state graphs over open-ended loops: bounded tool calls, persisted state between steps, fallback paths, and tests that fail when behaviour changes.

Data pipelines and extraction

Ingestion from inconsistent sources, validation and quality checks, SQL transformations, scheduled runs, and curated datasets analysts can rely on.

Backends that stay up

Typed FastAPI services, background jobs, Postgres schemas, caching, containerised deploys, logging and cost monitoring from day one.

  • Python
  • SQL
  • JavaScript / Node.js
  • Bash
  • LangChain · LangGraph
  • OpenAI · Gemini APIs
  • Pinecone · ChromaDB · FAISS
  • MCP · sentence-transformers
  • FastAPI · REST APIs
  • PostgreSQL · Supabase · Redis
  • Pandas · Airflow · scikit-learn
  • Pydantic · pytest
  • Docker
  • AWS · Railway · Netlify
  • Git · GitHub Actions
  • Logging & cost monitoring
04

About — how I work

I've been building production AI and data systems since 2023 — as a contractor, inside product teams, and on my own products. Everything I've shipped went to real users, and on my own products I'm the one on call when something breaks.

Scope first I'd rather spend the first call narrowing the problem than agreeing to a vague brief. If a project doesn't need an LLM, I'll say so.
Bounded behaviour Model output gets validated, constrained to defined actions, and tested. Demos that work once aren't the deliverable.
Handover You get the repo, the deploy, the docs and the reasoning. Nothing depends on me staying reachable.
Working setup Pune, India (UTC+5:30). Remote, with working hours that overlap EU mornings and US East Coast mornings.
Certification Databricks — Generative AI Fundamentals (2024)
I write about this work on Medium →
Portrait of Swanand Potnis
Swanand Potnis — Pune, India
Contact

Have an AI system that needs to actually work?

Send the problem, not a job spec. I reply within a day and will tell you plainly if it isn't work I should take.