{"person":{"name":"Vivek Bhange","roles":["Full-Stack AI Engineer","MERN Stack Developer","Full Stack Developer","App Developer","AI/ML Explorer","DevOps Enthusiast"],"intro":"I build AI-powered, full-stack products and ship them to the cloud. CSE student at VIIT Pune, currently a Full-Stack AI Engineer at Monsoonfish.","location":"Pune, India","availability":"Open for freelance and collaboration","email":"vivekbhange2003@gmail.com","about":"I am Vivek Bhange, a Computer Science & Engineering student at VIIT Pune (B.Tech, Class of 2027) currently working as a Full-Stack AI Engineer at Monsoonfish Inc. (UX & UI Design agency). Combining a solid foundation in programming with technical proficiency in Java, C++, Python, and Git, I have hands-on experience in Full-Stack Web Development, AWS Cloud, and DevOps. I also previously worked as a Web Development Intern at Octanet Services.\n\nBeyond core engineering, I am deeply passionate about leadership and social outreach. I serve as the Chairperson of the Unnat Bharat Abhiyan (UBA) Club, lead community camps for the National Service Scheme (NSS), and contribute to student initiatives as a Core Member of the College Student Council.\n\nWhether deploying applications on AWS (EC2/S3/Docker) or engineering decentralized blockchain microfinance platforms, I strive to create high-impact, creative solutions that solve real-world problems.","quick_facts":[{"label":"Current Position","value":"Full-Stack AI Engineer at Monsoonfish Inc."},{"label":"Specialization","value":"Full-Stack Web Dev, AWS Cloud & DevOps"},{"label":"Based in","value":"Pune, India"}],"socials":[{"name":"GitHub","url":"https://github.com/iamvivek1999"},{"name":"Open source","url":"https://github.com/vivekbhange-hub"},{"name":"LinkedIn","url":"https://www.linkedin.com/in/viveksainathbhange/"},{"name":"Instagram","url":"https://www.instagram.com/iamvivekbhange/"},{"name":"YouTube","url":"https://www.youtube.com/@WeWakeShorts"},{"name":"Spotify","url":"https://open.spotify.com/user/31ns6lzmrw5ojatkoc43hxmyazti?si=4460608f77124b2d"}],"resume":"https://vivekbhange.tech/assets/cv/resume.pdf","now":[{"label":"Building","text":"AI tools at Monsoonfish"}]},"experience":[{"role":"Full-Stack AI Engineer","company":"Monsoonfish Inc.","location":"Pune, India","from":"Jun 2026","to":"Present","summary":"Building AI tooling and full-stack products at a UX & UI design studio: internal agent workflows that automate sales and client research, plus engineering on client products.","highlights":["Built Agent OS, the studio's internal AI agent workspace, as a lightweight single-file JavaScript app that puts our prompts and workflows in one place.","Automated pre-call sales briefs: company enrichment, stakeholder research, growth signals, competitors and UX opportunities compiled into an executive brief, delivered as a ready-to-send email draft.","Shipped a weekly client news digest pipeline that gathers news for every client, compiles an HTML digest and makes sure nothing is sent twice.","Designed the single-tenant to multi-tenant SaaS migration for a construction ERP (~110 tables, 56 RPCs) on Supabase/Postgres, with restrictive RLS, composite foreign keys and JWT-claim tenant stamping for hard isolation."],"tech":["React","Next.js","Node.js","Python","Supabase","PostgreSQL","LLM APIs","JavaScript"]},{"role":"Co-founder","company":"Logic & Loop","location":"India","from":"Oct 2026","to":"Present","summary":"Co-founding a technology services company for software engineering, AI agents and automation. It is at an early stage: the website is live and the first offers are being shaped.","highlights":["Built the company website in Next.js and React Three Fiber: 40 server-rendered pages with structured data, unit tests and CI.","Designing Minute One, a WhatsApp lead-response agent that replies to a new enquiry within a minute, qualifies it and books the next step.","Set up the service catalogue: 22 services across product builds, AI and data, automation, and advisory."],"tech":["Next.js","React","TypeScript","React Three Fiber","Vitest","Vercel"]}],"education":[{"degree":"B.Tech, Computer Science & Engineering","school":"Vishwakarma Institute of Information Technology (VIIT), Pune","from":"2023","to":"2027","grade":"CGPA 8.54","details":"Expected graduation May 2027. Relevant coursework: Data Structures & Algorithms, Machine Learning, DBMS, Statistics, Cloud Computing, Software Engineering. Chairperson of the Unnat Bharat Abhiyan (UBA) Club and an NSS volunteer."},{"degree":"Senior Secondary (XII), Maharashtra State Board","school":"Rajarshi Shahu Mahavidyalaya, Latur","from":"2021","to":"2023"}],"projects":[{"title":"Claude Code skill packs (open source)","year":"2026","summary":"Thirteen open-source skill packs for Claude Code, MIT licensed, with 80 skills and 36 agents. They check a repo before you ship it, read git history for hotspots, lint database migrations and Terraform plans, find flaky tests and drifted docs, turn a HAR capture into an OpenAPI spec, roast a codebase with evidence, and more. Every helper script uses only the Python standard library, and each pack runs its tests on Linux, Windows and macOS.","tags":["Open Source","Claude Code","Python","AI Agents"],"code":"https://github.com/vivekbhange-hub"},{"title":"TagLens","year":"2026","summary":"A free, open-source tool that shows why a photo gets an \"AI info\" label. It reads Content Credentials (C2PA), IPTC AI fields and EXIF in your browser, explains what Instagram, TikTok and others will see, and removes private data like GPS location without uploading the file.","tags":["Open Source","Astro","WebAssembly","Privacy"],"live":"https://taglens.vivekbhange.tech","code":"https://github.com/vivekbhange-hub/taglens"},{"title":"Vivek's Square: a live multiplayer portfolio","year":"2026","summary":"This site is also a small 3D town square. Everyone visiting at the same moment walks around together, waves, and can challenge a stranger to a duel. It runs on Cloudflare Workers and Durable Objects, next to an arcade of 21 games and five different views of the same portfolio.","tags":["Three.js","Cloudflare Workers","Durable Objects","Astro"],"live":"https://vivekbhange.tech/square/"},{"title":"Logic & Loop: company website","year":"2026","summary":"Logic & Loop is a technology services company I am co-founding, at an early stage. I built its website: 40 server-rendered pages in Next.js with a React Three Fiber scene, structured data for search, unit tests and CI.","tags":["Next.js","TypeScript","React Three Fiber","SEO"],"live":"https://logicandloop.vivekbhange.tech"},{"title":"PM Internship Matching Platform","year":"2025","summary":"A matching platform built for the Smart India Hackathon 2025 PM Internship Scheme problem statement. It scores every student against every open internship on skills, location, sector interest and an affirmative-action component, and returns each match with its component scores and the reasons behind it.","tags":["Python","Flask","scikit-learn","Node.js","PostgreSQL","React","TypeScript"],"code":"https://github.com/iamvivek1999/pm-internship-matching"},{"title":"repo-roast-skill","year":"2026","summary":"Six judges score a repository out of 10, and every criticism has to cite a real file and line or it is thrown out. It writes a report, a ranked list of fixes and a scorecard you can share.","tags":["Open Source","Claude Code","Python","Code Review"],"code":"https://github.com/vivekbhange-hub/repo-roast-skill"},{"title":"ship-check-skill","year":"2026","summary":"A pre-flight check before you ship. It scans for leaked secrets, env var drift, Dockerfile problems and risky GitHub Actions settings, then gives a go or no-go report.","tags":["Open Source","Claude Code","Python","DevOps"],"code":"https://github.com/vivekbhange-hub/ship-check-skill"},{"title":"git-forensics-skill","year":"2026","summary":"Reads a project's git history to rank the files most likely to hide bugs, find files that always change together, and show who knows which part of the code.","tags":["Open Source","Claude Code","Python","Git"],"code":"https://github.com/vivekbhange-hub/git-forensics-skill"},{"title":"api-reverse-skill","year":"2026","summary":"Turns a HAR capture of an undocumented API into an OpenAPI spec, a typed SDK, a mock server and contract tests. For APIs you are allowed to use.","tags":["Open Source","Claude Code","Python","APIs"],"code":"https://github.com/vivekbhange-hub/api-reverse-skill"},{"title":"test-doctor-skill","year":"2026","summary":"Reads JUnit XML from your CI runs and a coverage file to rank flaky tests, list what is untested in the order you should test it, and find tests that cannot fail because they assert nothing. Each finding ends with the smallest fix for its cause, never a blanket retry.","tags":["Open Source","Claude Code","Python","Testing"],"code":"https://github.com/vivekbhange-hub/test-doctor-skill"},{"title":"migration-guard-skill","year":"2026","summary":"Lints SQL migrations for locks, table rewrites and data loss on PostgreSQL and MySQL, writes the zero-downtime version of risky changes, builds a schema snapshot and ER diagram, and writes rollback plans that say which steps cannot be undone.","tags":["Open Source","Claude Code","Python","Databases"],"code":"https://github.com/vivekbhange-hub/migration-guard-skill"},{"title":"plan-guard-skill","year":"2026","summary":"Reviews a Terraform plan before it is applied: destroyed databases, open ports, public buckets, IAM wildcards. Audits Kubernetes manifests too, and writes a go/no-go change record that never says go while a high finding is open.","tags":["Open Source","Claude Code","Python","Infrastructure"],"code":"https://github.com/vivekbhange-hub/plan-guard-skill"},{"title":"log-detective-skill","year":"2026","summary":"Interrogates a huge log without pasting it into a chat. It clusters failures into ranked signatures, groups stack traces by root cause, and builds one timeline across services with the first bad line marked.","tags":["Open Source","Claude Code","Python","Debugging"],"code":"https://github.com/vivekbhange-hub/log-detective-skill"},{"title":"docs-truth-skill","year":"2026","summary":"Checks your README against your code: renamed flags, broken links and anchors, outdated install lines and environment variables nothing reads. It reports where the docs and the code disagree and writes small fixes.","tags":["Open Source","Claude Code","Python","Documentation"],"code":"https://github.com/vivekbhange-hub/docs-truth-skill"},{"title":"legacy-rescue-skill","year":"2026","summary":"For a codebase nobody understands: maps the repo, ranks risky files from git history, pins current behaviour with characterization tests, plans upgrades in small reversible steps and writes a 30/60/90-day plan.","tags":["Open Source","Claude Code","Python","Refactoring"],"code":"https://github.com/vivekbhange-hub/legacy-rescue-skill"},{"title":"maintainer-skill","year":"2026","summary":"A co-maintainer for an open-source repo. It triages issues and spots duplicates, writes release notes from real history, reviews first-time PRs kindly, checks dependency licenses and scores repo health. Nothing changes on GitHub until you say yes.","tags":["Open Source","Claude Code","Python","GitHub"],"code":"https://github.com/vivekbhange-hub/maintainer-skill"},{"title":"learn-anything-skill","year":"2026","summary":"Turns any topic, doc or codebase into a personal course: a placement check, lessons with retrieval practice, quizzes built from real misconceptions, SM-2 spaced-repetition flashcards, and a tutor that gives hints before answers.","tags":["Open Source","Claude Code","Python","Learning"],"code":"https://github.com/vivekbhange-hub/learn-anything-skill"},{"title":"job-hunt-skill","year":"2026","summary":"A whole job search team: decodes postings, tailors the resume and cover letter, rehearses interviews with four interviewer agents and compares offers. A truth-checker makes sure nothing on the resume is invented.","tags":["Open Source","Claude Code","Python","Careers"],"code":"https://github.com/vivekbhange-hub/job-hunt-skill"},{"title":"Product Recommender System","year":"2025","summary":"A small recommender that suggests the three products most similar to the one you pick. It turns each product description into a TF-IDF vector and ranks the rest by cosine similarity, served through a Flask app with a simple form.","tags":["Python","Flask","scikit-learn","Pandas"],"code":"https://github.com/iamvivek1999/product_recommender"},{"title":"TerraVision – A Virtual Herbal Garden","year":"","summary":"An interactive web app showcasing medicinal plants in a virtual garden. Users can click on herbs to learn about their properties, uses, and scientific details. Designed for educational and awareness purposes, it blends smooth UI/UX with rich content to simulate a guided virtual experience of traditional herbal knowledge.","tags":["HTML","CSS","JavaScript","Interactive UI"]}],"leadership_and_achievements":[{"title":"Chairperson","organization":"Unnat Bharat Abhiyan (UBA) Club, VIIT","period":"","kind":"Leadership","description":"Lead a team of 30+ students running demographic surveys in nearby villages, from data collection through analysis and reporting."},{"title":"Camp Lead","organization":"National Service Scheme (NSS)","period":"","kind":"Leadership","description":"Led an NSS winter camp for 60+ students, owning the planning, logistics and on-ground execution."},{"title":"Core Member","organization":"College Student Council, VIIT","period":"","kind":"Leadership"}],"skills":[{"name":"TypeScript","category":"Languages","level_out_of_5":4},{"name":"JavaScript","category":"Languages","level_out_of_5":4},{"name":"Python","category":"Languages","level_out_of_5":4},{"name":"SQL","category":"Languages","level_out_of_5":3},{"name":"HTML & CSS","category":"Languages","level_out_of_5":4},{"name":"React","category":"Frontend","level_out_of_5":4},{"name":"Next.js","category":"Frontend","level_out_of_5":4},{"name":"Astro","category":"Frontend","level_out_of_5":4},{"name":"Vite","category":"Frontend","level_out_of_5":4},{"name":"Tailwind CSS & Radix UI","category":"Frontend","level_out_of_5":4},{"name":"Motion & GSAP","category":"Frontend","level_out_of_5":3},{"name":"Three.js & React Three Fiber","category":"Frontend","level_out_of_5":3},{"name":"Node.js & Express","category":"Backend","level_out_of_5":4},{"name":"FastAPI","category":"Backend","level_out_of_5":3},{"name":"Flask","category":"Backend","level_out_of_5":3},{"name":"Auth & security","category":"Backend","level_out_of_5":3},{"name":"Queues & background jobs","category":"Backend","level_out_of_5":3},{"name":"Payments & email","category":"Backend","level_out_of_5":3},{"name":"Document generation","category":"Backend","level_out_of_5":3},{"name":"PostgreSQL","category":"Data","level_out_of_5":4},{"name":"Supabase","category":"Data","level_out_of_5":3},{"name":"Prisma & Drizzle ORM","category":"Data","level_out_of_5":3},{"name":"Redis","category":"Data","level_out_of_5":3},{"name":"LLM APIs & AI agents","category":"AI & Agents","level_out_of_5":4},{"name":"Claude Code skills","category":"AI & Agents","level_out_of_5":4},{"name":"AI product features","category":"AI & Agents","level_out_of_5":4},{"name":"Machine learning (scikit-learn)","category":"AI & Agents","level_out_of_5":3},{"name":"Web scraping & browser automation","category":"Automation & Testing","level_out_of_5":4},{"name":"Accessibility testing","category":"Automation & Testing","level_out_of_5":3},{"name":"Automated testing","category":"Automation & Testing","level_out_of_5":4},{"name":"Git & GitHub","category":"Cloud & DevOps","level_out_of_5":4},{"name":"CI with GitHub Actions","category":"Cloud & DevOps","level_out_of_5":4},{"name":"Docker","category":"Cloud & DevOps","level_out_of_5":3},{"name":"AWS","category":"Cloud & DevOps","level_out_of_5":3},{"name":"Cloudflare Workers & Durable Objects","category":"Cloud & DevOps","level_out_of_5":3},{"name":"Vercel, Railway & Netlify","category":"Cloud & DevOps","level_out_of_5":4},{"name":"Networking fundamentals","category":"Also familiar with","level_out_of_5":2},{"name":"Cybersecurity basics","category":"Also familiar with","level_out_of_5":2}],"certifications":[{"name":"Junior Cybersecurity Analyst Career Path","issuer":"Cisco Networking Academy","date":"April 2026"},{"name":"AWS Academy Graduate: Cloud Foundations","issuer":"AWS Academy","date":"April 2026"},{"name":"IBM DevOps and Software Engineering Professional Certificate","issuer":"IBM via Coursera","date":"October 2025"},{"name":"CCNA: Introduction to Networks","issuer":"Cisco Networking Academy","date":"November 2025"},{"name":"Model Context Protocol (MCP) for Beginners","issuer":"Microsoft via LinkedIn Learning","date":"March 2026"},{"name":"Hands-On AI: Introduction to Retrieval-Augmented Generation (RAG)","issuer":"LinkedIn Learning","date":"March 2026"},{"name":"Hands-On AI: Building Your First LLM-Powered App","issuer":"LinkedIn Learning","date":"March 2026"},{"name":"LLM Evaluations and Grounding Techniques","issuer":"LinkedIn Learning","date":"March 2026"},{"name":"Fine-Tuning LLMs for Cybersecurity: Mistral, Llama, AutoTrain, AutoGen and LLM Agents","issuer":"LinkedIn Learning","date":"March 2026"},{"name":"Build with AI: LLM-Powered Data Analysis App with Python and Streamlit","issuer":"LinkedIn Learning","date":"March 2026"},{"name":"A Hands-On Introduction to Hugging Face for Developers","issuer":"LinkedIn Learning","date":"March 2026"},{"name":"Deep Learning with Python: Sequence Models and Transformers","issuer":"LinkedIn Learning","date":"March 2026"},{"name":"PyTorch Essential Training: Deep Learning","issuer":"LinkedIn Learning","date":"March 2026"},{"name":"Hands-On Introduction to PyTorch for Machine Learning","issuer":"LinkedIn Learning","date":"March 2026"},{"name":"Building Deep Learning Applications with Keras","issuer":"LinkedIn Learning","date":"March 2026"},{"name":"TensorFlow: Neural Networks and Working with Tables","issuer":"LinkedIn Learning","date":"March 2026"},{"name":"AI Projects with Python, TensorFlow, and NLTK","issuer":"LinkedIn Learning","date":"March 2026"},{"name":"DevOps Capstone Project","issuer":"IBM via Coursera","date":"October 2025"},{"name":"Monitoring and Observability for Development and DevOps","issuer":"IBM via Coursera","date":"October 2025"},{"name":"Application Security for Developers and DevOps Professionals","issuer":"IBM via Coursera","date":"October 2025"},{"name":"Continuous Integration and Continuous Delivery (CI/CD)","issuer":"IBM via Coursera","date":"October 2025"},{"name":"Introduction to Test and Behavior Driven Development","issuer":"IBM via Coursera","date":"October 2025"},{"name":"Application Development using Microservices and Serverless","issuer":"IBM via Coursera","date":"October 2025"},{"name":"Python for Data Science, AI & Development","issuer":"IBM via Coursera","date":"October 2025"},{"name":"Developing AI Applications with Python and Flask","issuer":"IBM via Coursera","date":"October 2025"},{"name":"Getting Started with Git and GitHub","issuer":"IBM via Coursera","date":"October 2025"},{"name":"Hands-on Introduction to Linux Commands and Shell Scripting","issuer":"IBM via Coursera","date":"October 2025"},{"name":"Introduction to Containers with Docker, Kubernetes & OpenShift","issuer":"IBM via Coursera","date":"October 2025"},{"name":"Introduction to Agile Development and Scrum","issuer":"IBM via Coursera","date":"September 2025"},{"name":"Introduction to Software Engineering","issuer":"IBM via Coursera","date":"September 2025"},{"name":"Introduction to Cloud Computing","issuer":"IBM via Coursera","date":"September 2025"},{"name":"Introduction to DevOps","issuer":"IBM via Coursera","date":"August 2025"},{"name":"Machine Learning: Linear Regression","issuer":"Analyttica","date":"April 2025"},{"name":"Leadership +","issuer":"Udemy","date":"April 2025"},{"name":"The Complete Python Bootcamp From Zero to Hero","issuer":"Udemy","date":"April 2024"},{"name":"Data Structures and Algorithms in Java","issuer":"Infosys Springboard","date":"April 2024"},{"name":"Introduction to Python","issuer":"Infosys Springboard","date":"March 2024"},{"name":"Data Analytics","issuer":"Unstop","date":""},{"name":"Basic Coding in C","issuer":"Unstop","date":""},{"name":"Basic Coding in C++","issuer":"Unstop","date":""},{"name":"Basic Coding in Java","issuer":"Unstop","date":""},{"name":"Basic Coding in Python","issuer":"Unstop","date":""},{"name":"GitHub","issuer":"Unstop","date":""},{"name":"Interview Experience: Service Based Companies","issuer":"Unstop","date":""},{"name":"Resume Building","issuer":"Unstop","date":""},{"name":"Visual Reasoning","issuer":"Unstop","date":""},{"name":"JAVA Masterclass 2025","issuer":"Udemy","date":"August 2025"},{"name":"Build Real World AI Applications with Gemini and Imagen","issuer":"Google Cloud Skills Boost","date":"July 2025"},{"name":"Prompt Design in Vertex AI","issuer":"Google Cloud Skills Boost","date":"April 2025"},{"name":"React.JS Unstop","issuer":"Unstop","date":"April 2024"},{"name":"Node JS course Certificate","issuer":"Unstop","date":"August 2024"},{"name":"HTML course","issuer":"Unstop","date":"December 2023"},{"name":"CSS course","issuer":"Unstop","date":"February 2024"},{"name":"JavaScript Es6 course","issuer":"Unstop","date":"January 2024"}],"blog_posts":[{"title":"What shipping thirteen Claude Code skill packs taught me about CI","date":"2026-11-14","summary":"Thirteen open-source skill packs, one test matrix across three operating systems, and four small failures that had nothing to do with my code.","tags":["Open Source","Claude Code","CI","Python"],"url":"https://vivekbhange.tech/blog/what-shipping-thirteen-claude-code-skill-packs-taught-me-about-ci/","text":"I have published thirteen open-source skill packs for Claude Code on [GitHub](https://github.com/vivekbhange-hub). Each one is a set of skills and agents with small Python helper scripts, and every script uses only the standard library. Each pack runs its tests on Linux, Windows and macOS, on Python 3.9, 3.12 and 3.13.\n\nThat matrix found problems I would never have seen on my own laptop. Here are four.\n\n## 1. The job that failed only on Python 3.9\n\nThe code was fine. The `ubuntu-latest` label had started pointing at a newer Ubuntu image, and the Python setup step could not find Python 3.9 for it, so one job out of nine went red. The fix was a six-line change to the matrix: exclude the 3.9 job on `ubuntu-latest` and add it back on `ubuntu-24.04`. The lesson is that \"latest\" is a moving target, and a matrix is only as stable as its labels.\n\n## 2. Fake secrets that looked too real\n\nOne pack scans for leaked credentials, so its tests need strings that look like API keys. A complete fake token sitting in a test file looks like a leak to any scanner, including the ones that guard a push. I now build every fake credential at runtime from fragments, so no complete token exists in any file.\n\n## 3. The tool that caught its own release\n\nrepo-roast asks six judges to score a repository, and every criticism must cite a real file and line. I pointed it at its own repo. It scored 8.3 out of 10, and its top finding was real: a test had the version number hard-coded, so my latest release had broken its own CI. That was fixed in version 1.1.0.\n\n## 4. Dates and paths are not the same everywhere\n\nA git date format behaved differently across systems until I forced UTC. And one well-known joke repository could not even be checked out on Windows, because a single file path is 173 characters long.\n\n## What I do differently now\n\n- Pin runner images when a Python version matters.\n- Never keep a complete fake secret in a file.\n- Run my own tools on my own repos before I ask anyone else to.\n- Treat a green laptop as one data point, not a result.\n\nThe packs are MIT licensed. If one of them fails for you, open an issue and I will look at it."},{"title":"I turned my portfolio into a town square you walk around with the other visitors","date":"2026-11-08","summary":"Vivek's Square is a live 3D square on my site: everyone visiting walks around together, waves, and can challenge a stranger to a duel. Here's how it works on Cloudflare Durable Objects, and the bugs that taught me the most.","tags":["Cloudflare","Durable Objects","WebSockets","three.js","Multiplayer"],"url":"https://vivekbhange.tech/blog/i-turned-my-portfolio-into-a-town-square/","text":"Most portfolios are a page you read alone. I wanted mine to feel like a place, so I built [Vivek's Square](/square/): a small 3D town square where everyone on the site at the same moment shows up as a little character. You walk around, wave, say a few set phrases, and if you tap someone you can challenge them to a duel. Accept, and you're both dropped into the same online match.\n\nIt runs on phones held upright, needs no sign-up, and costs close to nothing on a quiet day. This is how it's put together.\n\n## The shape of it\n\n- **The page** is three.js, written by hand: a paved square, a banyan tree on a stone platform, bunting, lamp posts, and a ring of buildings. Every building is a door to something already on the site: the arcade, the blog, my projects, the guestbook.\n- **The server** is a Cloudflare Durable Object called `Plaza`, one per square. A square holds up to 50 people. When it fills, the lobby sends newcomers to square 2, and so on, so every square feels lively and none is a crowd.\n- **The lobby** lives in another Durable Object that already ran my site's \"here now\" counter, reactions and guestbook. Each square reports how full it is; the lobby hands out the first square with room.\n\nEverything else (static pages, the games) is plain files on Cloudflare's edge. Only `/api/*` runs code.\n\n## Keeping the traffic small\n\nThe obvious version sends every player's position to every other player, many times a second. With 50 people that's 2,500 messages per tick. Instead:\n\n1. A phone sends its position at most 10 times a second, and **only while it's moving**. Standing still costs nothing.\n2. The square collects everyone's moves and sends **one bundled message every 100 ms** to each person.\n3. Each phone draws other people about 160 ms in the past, blending between the last two positions it has, so walking looks smooth even when messages arrive unevenly.\n\nTalking is six emotes and twelve set phrases. No free text, so there's nothing to moderate. Names go through the same filter my arcade leaderboards use.\n\n## Making it run on a cheap phone\n\nA town square has a lot of small things in it: bricks, flags, lamp posts, trees. Drawn one by one, that's hundreds of draw calls, and a mid-range phone starts dropping frames. So everything that never moves is **baked into a single mesh** at load time, with each part's colour written into the vertices. The whole square, bunting included, is one draw call. The signs are the only textured pieces.\n\nThe characters get the same treatment: each look (shirt colour, hat, skin tone) is baked once into one mesh and shared, so a person is one draw call plus their name tag. Everyone's soft round shadow is drawn together, in one instanced mesh.\n\n## Dueling a stranger\n\nMy arcade already had three online duels (Rooftop Duel, Kabaddi Dash and Slime Volley) where one player hosts a room and the other types a five-letter code. The square just removes the typing:\n\n1. When you challenge someone, your phone makes up a room code and"},{"title":"AI agents are only useful when they touch real systems","date":"2026-11-06","summary":"What I've learned building internal AI tooling at a design studio: the value isn't the chat window or the prompt library, it's workflows wired into real data.","tags":["AI Agents","LLMs","Automation","Internal Tools"],"url":"https://vivekbhange.tech/blog/ai-agents-are-only-useful-when-they-touch-real-systems/","text":"At Monsoonfish I build internal AI tooling. The first thing anyone builds in this space is the obvious one: a chat shell and a library of prompts. I built that too. It's useful, but it's also the easiest part to copy, and it's hard to point at anything specific it changes.\n\nThe tools that earn their keep do one job end to end, against real systems.\n\n## Two examples\n\n**Pre-call sales briefs.** Before a discovery call, someone has to read the prospect's website, the stakeholder's LinkedIn and recent news, then turn it into something useful. That's now a workflow: enrich the company, pull the stakeholder's profile, look for growth signals, map competitors and industry trends, translate it into UX and UI opportunities and discovery questions, and drop a formatted brief into Gmail as a draft. A person reviews and edits it; they don't assemble it.\n\n**Weekly client news digest.** A roster of clients, a log of news about each one, and a weekly run that compiles an HTML digest, emails it, and clears what it sent so nothing repeats. Boring plumbing, and that's the point: it happens every week without anyone remembering to do it.\n\n## What made them work\n\n- **A defined input and a defined output.** \"Company and LinkedIn URL in, brief in your drafts out\" is something you can test and trust. \"Ask the AI about a client\" isn't.\n- **Real integrations.** The model is one step. Most of the work is getting data in and out: scrapers, email, files, schedules.\n- **A human checkpoint where it matters.** The brief lands as a draft, not a sent email.\n- **Safe to rerun.** The digest tracks what it has already sent. Anything that runs on a schedule has to be idempotent.\n\n## Where I'd put the effort next time\n\nLess on the prompt catalogue and the chat UI, more on encoded workflows. A workflow that knows your tools, your data and your output format is the part that's actually yours."},{"title":"Building a network anomaly detector with Scapy and scikit-learn","date":"2026-11-06","summary":"How I turned raw packets into flow features and trained a classifier to flag unusual traffic, plus what it took to keep false positives down.","tags":["Python","Machine Learning","Networking","Scapy"],"url":"https://vivekbhange.tech/blog/building-a-network-anomaly-detector-with-scapy-and-scikit-learn/","text":"One of my projects was a small anomaly detection system for network traffic: capture live packets, turn them into features a model can use, flag what looks unusual, and show it on a dashboard. Here's how the pipeline fits together.\n\n## 1. Packets into flows\n\nSingle packets don't say much. Grouping them into flows (source, destination, ports, protocol) gives you something with shape. Scapy keeps the capture side short:\n\n```python\nfrom collections import defaultdict\nimport time\nfrom scapy.all import sniff, IP, TCP\n\nflows = defaultdict(lambda: {\"pkts\": 0, \"bytes\": 0, \"syn\": 0,\n                             \"fin\": 0, \"rst\": 0, \"first\": None, \"last\": None})\n\ndef on_packet(p):\n    if IP not in p:\n        return\n    key = (p[IP].src, p[IP].dst,\n           getattr(p, \"sport\", 0), getattr(p, \"dport\", 0), p[IP].proto)\n    f = flows[key]\n    now = time.time()\n    f[\"first\"] = f[\"first\"] or now\n    f[\"last\"] = now\n    f[\"pkts\"] += 1\n    f[\"bytes\"] += len(p)\n    if TCP in p:\n        flags = int(p[TCP].flags)\n        f[\"syn\"] += bool(flags & 0x02)\n        f[\"fin\"] += bool(flags & 0x01)\n        f[\"rst\"] += bool(flags & 0x04)\n\nsniff(prn=on_packet, store=False, timeout=60)\n```\n\n## 2. Features that mean something\n\nFrom each flow I derived duration, packet and byte counts, mean packet size, packets per second, and the share of SYN, FIN and RST flags. Those cover a lot of common oddities: a scan shows up as many short flows heavy on SYNs, a flood as a huge packet rate, a broken connection as a burst of resets.\n\nBefore training, the data needed cleaning: dropping zero-duration flows (they break the rate features), capping extreme outliers, and making sure the same flow wasn't counted twice across capture windows.\n\n## 3. The model\n\nA tree-based classifier from scikit-learn worked well here: it copes with features on very different scales, and it's easy to see which features drive a decision.\n\n```python\nfrom sklearn.ensemble import RandomForestClassifier\nfrom sklearn.model_selection import train_test_split\nfrom sklearn.metrics import classification_report\n\nX_train, X_test, y_train, y_test = train_test_split(\n    X, y, test_size=0.2, stratify=y, random_state=42)\n\nclf = RandomForestClassifier(n_estimators=200, class_weight=\"balanced\",\n                             random_state=42)\nclf.fit(X_train, y_train)\nprint(classification_report(y_test, clf.predict(X_test)))\n```\n\n## 4. Keeping false positives down\n\nAnomalies are rare, so a model can look accurate while being useless, and a detector that cries wolf gets ignored. Two things helped:\n\n- **Look at precision and recall, not accuracy.** Class weights make the model care about the rare class.\n- **Tune the threshold.** Instead of the default 0.5, pick the probability cut-off from the precision-recall curve that gives an alert rate people will actually read.\n\n## 5. Making it visible\n\nThe last step was a live dashboard with logging, so flagged flows show up alongside the features that triggered them. A detector nobody looks at d"},{"title":"Rebuilding my portfolio for 2026","date":"2026-11-06","summary":"Why I moved my portfolio to Astro, React Three Fiber and a Git-based CMS, and what each piece is actually for.","tags":["Astro","Three.js","Portfolio","Sveltia CMS"],"url":"https://vivekbhange.tech/blog/hello-world/","text":"My old portfolio had one problem: every update meant opening the code. A new project, a changed date, a typo in a description: each one was a commit I had to make by hand, so the site quietly went stale. This rebuild was about fixing that while keeping the page fast.\n\n## Astro for the pages\n\nMost of a portfolio is static content: projects, experience, a few posts. Astro renders all of that to plain HTML at build time and ships no JavaScript by default. Interactive parts are opt-in \"islands\", so the 3D hero doesn't drag the rest of the page down with it.\n\n## React Three Fiber for the hero\n\nThe 3D scene is the one place I wanted motion. React Three Fiber lets me write the Three.js scene as React components, and it only hydrates inside its own island. Everything below the fold stays plain HTML.\n\n## Sveltia CMS for content\n\nThis was the real fix. Sveltia is a Git-based CMS: every collection (projects, experience, skills, blog) is a folder of files in the repo, and the admin UI at /admin edits those files and commits them. No database, no separate backend, and the content history is just Git history.\n\nEach section of the site maps to a collection with a schema, so a project always has a title, a stack and links, and the editor won't let me save a half-filled entry.\n\n## If you're doing the same\n\n- Keep content in files, not in components. Then a CMS (or a script) can update it later.\n- Use islands for the expensive parts and leave the rest static.\n- Model each section as a schema before you build the UI for it."},{"title":"Why hostname routing can't isolate tenants in a Supabase app","date":"2026-11-06","summary":"Lessons from moving a single-tenant ERP to multi-tenant SaaS on Supabase: where the real security boundary is, and the Postgres patterns that enforce it.","tags":["Supabase","PostgreSQL","Multi-tenancy","Security"],"url":"https://vivekbhange.tech/blog/why-hostname-routing-can-t-isolate-tenants-in-a-supabase-app/","text":"I recently worked on taking a construction ERP from single-tenant to multi-tenant SaaS. The app is a React SPA that talks straight to Supabase: around 110 tables and views and 56 RPC functions, with no application server in between. That last detail ended up shaping every decision.\n\n## The tempting design\n\nEach customer gets its own domain, so the obvious move is to read the hostname in Next.js middleware, work out the tenant, and scope everything to it.\n\nThe problem is that data requests never pass through that middleware. The SPA calls PostgREST directly with the user's JWT, and anyone can open devtools and replay the same request with a different filter. Hostname routing is fine for choosing which logo to show. It is not a security boundary.\n\n## Where the boundary actually is\n\nThe only thing Postgres can trust is a signed JWT. So the tenant lives in the user's `app_metadata` (which users can't edit themselves), and Row Level Security reads it from there.\n\n### 1. A tenant_id on every base table\n\nShared schema, with a `tenant_id` column on every base table. At this size that's simpler to migrate and run than a schema per tenant.\n\n### 2. RESTRICTIVE policies\n\nPostgres combines permissive policies with OR, so a permissive policy added later for some feature can quietly widen access. A restrictive tenant policy is ANDed with everything else, so it holds whatever other policies exist:\n\n```sql\ncreate policy tenant_isolation on projects\n  as restrictive\n  for all\n  to authenticated\n  using (tenant_id = (auth.jwt() -> 'app_metadata' ->> 'tenant_id')::uuid)\n  with check (tenant_id = (auth.jwt() -> 'app_metadata' ->> 'tenant_id')::uuid);\n```\n\n### 3. Stamp tenant_id on write\n\nDon't trust the client to send the right tenant. A `BEFORE INSERT OR UPDATE` trigger sets it from the JWT:\n\n```sql\ncreate function stamp_tenant() returns trigger\nlanguage plpgsql as $$\nbegin\n  new.tenant_id := (auth.jwt() -> 'app_metadata' ->> 'tenant_id')::uuid;\n  return new;\nend $$;\n\ncreate trigger stamp_tenant\n  before insert or update on projects\n  for each row execute function stamp_tenant();\n```\n\n### 4. Composite foreign keys\n\nRLS stops you reading another tenant's rows, but a row in tenant A could still point at an id that belongs to tenant B. Making foreign keys composite, `(tenant_id, project_id)` referencing `(tenant_id, id)`, makes that reference structurally impossible:\n\n```sql\nalter table projects add unique (tenant_id, id);\n\nalter table invoices\n  add constraint invoices_project_fk\n  foreign key (tenant_id, project_id)\n  references projects (tenant_id, id);\n```\n\n## The parts that are easy to forget\n\n- **RPC functions.** `security definer` functions bypass RLS, so each one needs its own tenant guard. With 56 of them, that's a real checklist.\n- **Permissions.** Boolean permission columns don't scale across tenants. A normalized permission catalog with per-user grants does.\n- **Tests.** The only proof of isolation is a test that signs in as tenant A and tries to read, writ"}],"site":{"url":"https://vivekbhange.tech","views":"The site has several looks to choose from on the home page: Editorial, 3D World, Cinematic Flight, Shader Art and Classic (the original 2023 site).","extras":"There is an Arcade at /arcade/ with 21 games Vivek built for the site: Drop Zone (3d battle royale, 1 player) at /arcade/drop-zone/; Critical Mass (chain-reaction strategy, 1 to 8 players, can be played online with friends using a join code) at /arcade/critical-mass/; Code Clash (coding quiz, 1 player) at /arcade/code-clash/; Rooftop Duel (2-player physics, 1 or 2 players, can be played online with friends using a join code) at /arcade/duel/rooftop-duel/; Kabaddi Dash (2-player sport, 1 or 2 players, can be played online with friends using a join code) at /arcade/duel/kabaddi-dash/; Slime Volley (2-player sport, 1 or 2 players, can be played online with friends using a join code) at /arcade/duel/slime-volley/; Barish (daily rain puzzle, 1 player) at /barish/; Sudoku (number puzzle, 1 player) at /arcade/sudoku/; Chai Sort (colour-sort puzzle, 1 player) at /arcade/chai-sort/; Ship It (merge grid, 1 player) at /arcade/ship-it/; Word Deploy (word game, 1 player) at /arcade/word-deploy/; Deadlock (arrow puzzle, 1 player) at /arcade/deadlock/; Bug Grid (picture logic, 1 player) at /arcade/bug-grid/; Sahyadri Trek (one-button runner, 1 player) at /arcade/#sahyadri-trek; Bug Squash (tap game, 1 player) at /arcade/#bug-squash; Container Stack (timing game, 1 player) at /arcade/#container-stack; Swing Dev (one-button swing, 1 player) at /arcade/#swing-dev; Monsoon Drift (one-button drift, 1 player) at /arcade/#monsoon-drift; Rule Flip (reflex, 1 player) at /arcade/#rule-flip; Snake.exe (classic snake, 1 player) at /arcade/#snake-exe; Merge Stack (drop and merge, 1 player) at /arcade/#merge-stack. There is also a guestbook, reactions on posts and projects, a command bar (press /) and hidden easter eggs. Do not reveal how to find specific easter eggs; say they are meant to be discovered."}}