I co-founded Cosmic Stack and run its engineering as CTO. I wrote Mercury Relay, the layer that lets Mercury Cloud reach agents running on your own machine, and built Mercury Agent’s Telegram channel and its first Second Brain. Before that: a master’s in IT and a habit of shipping machine-learning experiments in public.
100%of Mercury Relay written by melocal agents ↔ cloud
6years building on GitHubsince 2020
Cosmic Stack
A software and AI company that ships its own products.
Cosmic Stack is an umbrella company working where AI, product strategy and engineering meet. We build and run our own SaaS, an open-source agent runtime and the cloud around it, and we take on a small number of teams who want the same engineering for their own products. My job is to make sure everything we ship is something we can operate: one stack, shared infrastructure, and code that survives contact with real users.
SaaS productsLive
Mercury Cloud and the products we build and run in-house.
AI agentsLive
Mercury Agent, its skills registry and the relay that connects it.
Strategy & consultationOpen
Product strategy, go-to-market and technical advisory for AI-era teams.
B2B & B2C servicesOpen
End-to-end delivery for enterprise clients and consumer products.
Co-founded 2025 · Independent · Remote-first
Products
One runtime, and the cloud that keeps it reachable.
The cloud cockpit for a local Mercury agent. Pair once from the terminal, then chat, approve actions and watch live state from anywhere, while the runtime stays on your machine.
100%
of Relay written by me
$0
free tier
$19
Pro / mo
Mercury Relay. The real-time API between local agents and the cloud: registration, channel lookup and recovery, access control and user search over WebSockets.
One-command pairing.mercury cloud connect opens a browser flow; no keys to copy, no port forwarding.
Approvals as cards. Risky actions still ask first; terminal prompts become durable web cards.
Per-thread model routing, shared memory, and usage synced into daily, monthly and per-model views.
The open-source, soul-driven AI agent. It runs on your machine, remembers what matters, asks before it acts, and answers from the terminal, Telegram, Discord, Slack or Signal.
3.4K
stars
354
forks
12.7K
installs / yr
v1.4.0
latest
Telegram, end to end. I built pairing, access management, onboarding and the paired messaging tool.
The first Second Brain. The original SQLite + FTS5 memory system that Mercury’s memory layer grew from.
Providers. Model selection during setup, a dedicated DeepSeek SDK and the AI SDK v4 → v6 upgrade.
~50 permission-gated tools, 10+ model providers with fallback, zero telemetry.
$ curl -fsSL https://mercuryagent.sh/install.sh | sh
Installs Mercury Agent as a standalone binary on macOS and Linux, no Node required. Then run mercury cloud connect to pair it with Mercury Cloud.
Fetched from the GitHub and npm APIs on 24 Oct 2026; October is month to date. Stars and installs belong to the whole Mercury team. Standalone-binary installs from mercuryagent.sh are not counted.
Before Cosmic Stack
Machine learning first, products second.
Computer vision, classic ML and speech experiments, most of them written up as tutorials. Small, honest projects that taught me to ship.
I studied information technology at the Central University of Kashmir, where my master’s thesis taught a model to tell Kashmiri accents apart. After that came a run of computer-vision and data tutorials: OpenCV, NumPy, a Gradio front end for a digit classifier. None of them were big, but each one shipped.
I joined Cosmic Stack in 2024 on the business side, then moved to where I’m most useful: building. I became a co-founder of Cosmic Stack in 2025 and its CTO in 2026. Today most of my time goes into the plumbing that keeps Mercury agents reachable from anywhere: the relay, pairing, and the cloud around them.
M.Tech, Information Technology, Central University of Kashmir. Based in Mumbai, working remotely.
2019 – 21M.Tech in IT; thesis on Kashmiri accent classification.
2020First projects on GitHub.
2022OpenCV, NumPy and Gradio tutorials and experiments.
May 2024Joins Cosmic Stack in business development.
Oct 2025Becomes a co-founder of Cosmic Stack.
Feb 2026CTO of Cosmic Stack.
Apr 2026Mercury Agent launch: Telegram pairing and the first Second Brain. Starts Mercury Relay.
Jul 2026Starts working on Mercury Cloud, the hosted control plane.
Let’s talk.
Founders, partners and teams who want to build with Cosmic Stack or run Mercury in production: my inbox is open.