Ansh Saxena

Ansh Saxena — Backend & ML Infrastructure Engineer at Cyware Labs, Bengaluru

I'm Ansh Saxena, a Backend & ML Infrastructure Engineer at Cyware Labs in Bengaluru, India. I build production distributed systems and LLM/agentic platforms in Python, Go and Java: multi-tenant services, event-driven pipelines, and RAG and multi-agent systems that run in production.

Backend & ML Infra Engineer @ Cyware Labs | Java · Go · Python | Kafka · Kubernetes · LangGraph/RAG | Bengaluru

About

Which Ansh Saxena: the software engineer at Cyware Labs in Bengaluru, India (GitHub AnshSaxena05, LinkedIn ansh-saxena-1c, Medium @anshs5103).

I work where backend engineering meets applied AI. At Cyware Labs (B2B cybersecurity SaaS) I build backend services and LLM infrastructure in Python, Go and Java. In my own time I built an open-source SOC alert-triage agent on LangGraph, FastAPI and Pydantic, and a set of JMH benchmarks for low-latency Java (lock contention, a lock-free SPSC queue, allocation-free hot paths). I hold a B.Tech in Artificial Intelligence & Machine Learning from Vellore Institute of Technology (VIT).

Experience

Software Engineer, ML Infrastructure & Backend — Cyware Labs

Jan 2025 – Present · Bengaluru, India · B2B cybersecurity SaaS

Backend and ML infrastructure work in Python, Go and Java: multi-tenant services, event-driven pipelines, and LLM orchestration and agentic systems running on PostgreSQL, NATS JetStream and Kubernetes. Details of internal products are not public.

Software Engineering Intern — PreProd Corp

Nov 2023 – Feb 2024 · Bengaluru, India · ML & pricing analytics startup

Machine Learning Engineer Intern — Omdena

Jun 2023 – Aug 2023 · Remote · Global collaborative AI platform, 40+ countries

Projects

SOC Triage Agent (open source)

An agentic alert-triage service. It ingests alerts from Splunk, CrowdStrike, AWS GuardDuty and Sentinel (plus a generic format, with source auto-detection) and normalises them to OCSF. It then runs a LangGraph DAG with MITRE ATT&CK-routed enrichment and emits a structured TriageVerdict (Pydantic) via async HTTP 202 + polling. It also has a pluggable LLM backend, API-key auth, a Pytest suite and OpenAPI/Swagger docs.

An optional event-driven runtime publishes alerts to NATS JetStream through a write-ahead log with a reconciler, so an alert survives a broker outage. Service-to-service auth uses JWTs, and analysts get live updates over WebSockets held at the edge by a Cloudflare Workers / Durable Objects gateway, with a Next.js frontend.

Python 3.14 · FastAPI · LangGraph · Pydantic · NATS JetStream · PostgreSQL (asyncpg) · Redis · ClickHouse · OpenTelemetry · Langfuse · Ollama · Cloudflare Workers (TypeScript) · Next.js · Docker

Read the case study · Source on GitHub · Design RFC

JVM Concurrency Benchmarks (open source)

JMH microbenchmarks for low-latency Java 21, with measured results. A shared counter under 1, 4 and 8 threads (LongAdder about 19x faster than AtomicLong at 8 threads), a hand-written lock-free SPSC ring buffer at roughly 3x the best JDK queue and 7x to 9x the blocking ones, and the cost of one allocation per event under G1, Parallel and ZGC (40 bytes and about 5x of the time, gone when the event is reused). It also records two benchmarking traps hit along the way: escape analysis hiding allocation, and timer-dominated percentiles at nanosecond scale.

Java 21 · JMH 1.37 · Maven · JUnit · G1 / Parallel / ZGC

Read the results · Source on GitHub

Skills

Languages
Java, Go, Python, SQL, JavaScript
ML / AI infrastructure
Model deployment & serving, model optimization (quantization), inference latency/cost optimization, multi-vendor LLM orchestration, LiteLLM Proxy, RAG & vector search (Weaviate), LangGraph (multi-agent DAGs), LangChain, DSPy, LLM evaluation & observability (Langfuse), RAGAS, prompt engineering, LLM guardrails, agentic AI, MCP (Model Context Protocol), Gemini / OpenAI / Claude APIs, Ollama
Backend & distributed systems
Microservices, Hexagonal Architecture (Ports & Adapters), event-driven design, concurrency (asyncio, multithreading), multi-tenancy, low-latency optimization, REST, gRPC, FastAPI, Spring Boot, Spring MVC, Spring Framework, Spring AOP, design patterns, OOD
Messaging & data
NATS JetStream, Apache Kafka, PostgreSQL (pgx, PgBouncer), Redis, Weaviate, MongoDB, Elasticsearch, DynamoDB, Apache KVRocks
Cloud & DevOps
AWS (EKS, Lambda, S3, EC2), Docker, Kubernetes, Terraform, OpenTelemetry, Prometheus, GitHub Actions CI/CD, Airflow, Git, Maven, Gradle, JIRA, JUnit

Writing

All writing

Education & Certifications

Vellore Institute of Technology (VIT)

B.Tech, Artificial Intelligence & Machine Learning · Aug 2021 – Jun 2025 · CGPA 8.71/10

Contact

Open to Backend Engineer, Software Engineer (SDE 1) and AI / ML Infrastructure Engineer roles in Bengaluru, London, New York, Amsterdam, Hong Kong, or remote. Notice period is 30 days and negotiable to 15.