Fenil RamoliyaEmail

Fenil Ramoliyabuilds AI agents and the systems they run on.

I work on every layer of that: the harness and runtime around the model, the tools and protocols agents act through, and the infrastructure that keeps them fast, affordable and correct under real traffic. I do it at Cactus Communications, mostly on Paperpal, for an academic world I first knew as a researcher.

40501012222030
Fig. 1
  1. 10Orchestrator
  2. 12Sub-agents
  3. 20Tool layer
  4. 22Retrieval index
  5. 30Compute
  6. 40Request
  7. 50Model

Systems in production

Agent harnesses and runtimes

The harness decides what the model sees, which tools it may use, where its state lives, and what happens when a run stops for an approval and resumes an hour later on another machine. I have worked on that layer for assistants that carry multi-step work through to the end, from proof of concept to a phased production rollout.

  • Planning and delegation: a supervisor breaks work into steps and hands them to sub-agents, each with scoped context and tools.
  • Durable execution. Every step is checkpointed, so a run survives interrupts, crashes and deploys.
  • Human approval modelled as a state of the run, not an instruction in a prompt.
  • Context engineering: what to load, what to compact and what to drop as a run grows.
  • Streaming APIs kept apart from the workers that do the long tasks.
  • Sandboxed code execution for analysis and generated files.

LangGraph · Deep Agents · FastAPI · Postgres

Multi-agent architecture

Some problems need several kinds of expert judgement on the same input. The architecture I have worked on gives each kind its own specialist agent, runs them concurrently under one orchestrator, and reconciles their typed results into a single structured output. The real design work is at the boundaries: what each agent may see, how its output is validated, which model each role warrants, and how cost and latency are budgeted across a run.

  • Fan-out and fan-in under one orchestrator, so a run takes as long as its slowest specialist, not the sum of all of them.
  • Typed, validated contracts between agents. Nothing downstream parses prose.
  • Model routing per role, sized to the job instead of the largest model everywhere.
  • Cache-aware prompt layout, with cost accounting that counts cache discounts.
  • Tracing across every agent and tool call in a run.

async Python · Pydantic · structured outputs · Langfuse

MCP servers

Model Context Protocol servers that put real services within reach of AI assistants, published on the Anthropic and OpenAI app marketplaces. The interesting problems are the ones demos skip: identity, large files, and tools that take minutes rather than seconds.

  • A small, deliberate tool surface, designed around how models actually call tools.
  • Large files go straight to object storage through presigned URLs, never through the model.
  • Results rendered as interactive UI resources that follow the host’s theme.
  • OAuth 2.0, with every token verified against an identity provider.
  • Asynchronous jobs for long-running tools, with a status the model can poll.

TypeScript · MCP SDK · OAuth 2.0 · React

Batch LLM pipelines

Not every model call has a person waiting on it. Some work is thousands of items scored, labelled or extracted in one run. The pipelines I have worked on are built to be cheap to run, safe to interrupt and easy to audit.

  • Jobs submitted through an API, with inputs and results kept in object storage.
  • A queue feeding containerised workers that scale with its depth, and to zero between runs.
  • A larger model where judgement matters, a smaller one for retries and easy cases.
  • Per-item checkpoints, so an interrupted run resumes instead of starting over.
  • A written rationale with every output, so any result can be checked.

Python · AWS · queues · containers

Model platform

One interface to every model the products use: frontier models across Anthropic, OpenAI, Google and Bedrock, and in-house small and fine-tuned models served alongside them. Text and image, sync, async, streaming and batch. Configuration, fallbacks and staged rollouts live in one place, so a model change ships like any other release, measured. It serves about 1.2 million requests on an average day, which is also why it is where cost is won or lost.

  • Caching audited per request, because a cache that looks enabled is not the same as one that hits.
  • Prompts ordered so the stable, cacheable part always comes first.
  • Batch APIs for work that can wait, real time only where someone is waiting.
  • Throughput work: workload identity, rate limits, and concurrency that queues bursts instead of failing them.

Python · Anthropic · OpenAI · Gemini · Bedrock

60616264666869
Fig. 2
  1. 60Context
  2. 61Plan
  3. 62Supervisor
  4. 64Sub-agents
  5. 66Streamed output
  6. 68Sandbox
  7. 69Checkpoints
70727476
Fig. 3
  1. 70Input
  2. 72Orchestrator
  3. 74Specialist agents
  4. 76Structured output
808182868884
Fig. 4
  1. 80Assistant
  2. 81Authenticated connection
  3. 82Server
  4. 84Tools
  5. 86UI resource
  6. 88Job status
9092949698
Fig. 5
  1. 90Input batch
  2. 92Queue
  3. 94Workers
  4. 96Outputs with rationale
  5. 98Checkpoints
100102104106108
Fig. 6
  1. 100Gateway
  2. 102Prompt cache
  3. 104Frontier and in-house models
  4. 106Fallback
  5. 108Rollout split

Building for research

  • The author stays the author.Models suggest, explain and check. Every change is visible and reversible.
  • Unpublished work is confidential.A draft gets the least access, the shortest retention and no reuse.
  • References must be real.Every citation is checked against scholarly records before anyone sees it.

Private, explainable, secure.

28
peer-reviewed papers
6
journal articles
191
citations
7
h-index
Federated learning and privacy3Explainable AI4Security for connected systems13Applied and efficient deep learning8
Fig. 7 Journal article Conference paper

Most cited

  1. F-Transformer: a federated transformer for efficient and privacy-preserving sequence generation

    Scientific Reports, 2026 · 22 citations

  2. Blockchain-assisted healthcare insurance fraud detection framework using ensemble learning

    Computers and Electrical Engineering, 2025 · 36 citations

  3. ML-based energy consumption and distribution framework analysis for EVs and charging stations in smart grid environment

    IEEE Access, 2024 · first author · 34 citations

  4. Explainable AI for gastrointestinal disease diagnosis in telesurgery Healthcare 4.0

    Computers and Electrical Engineering, 2024 · 25 citations

All papers on Google Scholar

Small tools, built after hours

  1. 2026WhorlOffline file conversion from the Mac menu bar. Drag a file, pick a format, done. Its own DOCX reader and writer, PDFKit and Vision OCR, 133 tests.
  2. 2026RefillTurns Codex and Claude Code usage-limit resets into Apple Reminders, so your Mac, iPhone and Watch tell you when you can work again.
  3. 2026mcp-doctorLocal-first diagnostics for MCP servers and coding-agent plugin setups. On PyPI as agent-plugin-diagnostics.
  4. 2026shipshape-skillsPortable skills for coding assistants, written once and usable across tools.
  5. 2025MemoraAIGraph-native long-term memory for agents: entity extraction, temporal context and graph retrieval on Neo4j.
  6. 2025Database-MCPAn MCP server that connects any SQL database to an agent, with schema inspection and read-only queries.
  7. 2025IntelliMarketMulti-agent equity research, with financial, technical and market analysts working the same question.
  8. 2024AiReSChat with scientific documents across PDF, DOCX, PPTX and LaTeX. Overall first prize at MINeD’24.

All repositories on GitHub

Articles

  1. Bugs Aren’t the Boogeyman Anymore
  2. How I Got Codex to Orchestrate 50+ Subagent Runs
  3. Context Shouldn’t Be Append-Only
  4. Stop Calling Everything an Agent Framework
  5. Tokens, Embeddings and Context Windows
  6. The Nine Dials
  7. Vocabulary as a Design Primitive
  8. Workflow, Agent, or Multi Agent? Pick One
  9. Field Notes: AI Engineering
  10. The Builder Who Teaches. The Teacher Who Builds.

Experience

  1. Software Engineer, AICactus Communications · PaperpalJul 2026 – Present

  2. Software EngineerCactus Labs and PaperpalJul 2025 – Jun 2026

  3. Machine Learning InternCactus Labs, Applied AIJan – Jun 2025

  4. Backend ML InternCactus Labs and PaperpalMay – Jul 2024

  5. Research28 peer-reviewed papers2023 – 2026

  6. B.Tech, Computer Science and EngineeringNirma University · CGPI 9.09 of 102021 – 2025

Recognition

  • Rising Star of the YearCactus Communications, FY 2025–26
  • Overall first prize, MINeD’24and second in the Cactus Communications track, for AiReS
  • IEEE ComSoc student travel grantsIEEE ICC 2024, Denver · IEEE GLOBECOM 2024, Cape Town
  • Co-host, OpenAI Codex community eventsDeveloper meetup and hackathon, Mumbai, 2026
  • Mentor and judgeHackaMINeD 2025 and 2026
  • ReviewerIEEE Access, IEEE GLOBECOM 2023 and 2024

Elsewhere

A travel geek away from work: always planning the next trip, and wandering off the plan once I get there.

5
countries abroad
3
continents
16
states and union territories of India
12345
Fig. 9
  1. 1Ethiopia
  2. 2South Africa
  3. 3Turkey
  4. 4Kazakhstan
  5. 5Ireland

Night there now Day

Fig. 10
  • Arunachal Pradesh
  • Assam
  • Delhi
  • Gujarat
  • Himachal Pradesh
  • Jammu and Kashmir
  • Kerala
  • Maharashtra
  • Meghalaya
  • Odisha
  • Punjab
  • Rajasthan
  • Sikkim
  • Uttar Pradesh
  • Uttarakhand
  • West Bengal

Visited

fenilramoliya2103@gmail.com

Write if you are building with agents, running LLMs in production, or want to talk about research. I live in Mumbai, on IST.