Loading
Work with meWork with me

Hi, I'm Mohammed Imran Mohsin MiMs

I build agentic apps.

Apps with AI helpers inside that plan, make and check their work.

agentic apps = I find what each AI model does best, then design the flow that joins them into one team that plans, works and checks itself. That flow is called a harness.

This portfolio shows my way of working: how I design and explain an idea before I build it.

Where my agentic apps live

  • Discord bots

    Helpers that live in your Discord server.

    e.g. ALMA
  • Desktop apps

    Apps that run right on your Windows computer.

    e.g. QuorX
  • Browser apps

    Open a link and it just works.

    e.g. Math Studio
  • Games

    Fun games to play and share.

    e.g. Battleship · Idle Blade Master

My toolbox

  • Node.js
  • TypeScript
  • JavaScript
  • React
  • Next.js
  • Tailwind CSS
  • Discord
  • SQLite
  • Express
  • Electron
  • three.js
  • Vite
  • Tauri
  • Rust

AI models my apps use

  • Google Gemini
  • OpenAI
  • Anthropic
  • Grok (xAI)
  • ByteDance
  • Alibaba
  • DeepSeek
  • ElevenLabs
Here's how my AI app ALMA turns a wish into things ↓

1 · You ask

Press / and watch AI make it.

My AI app, ALMA, lives in Discord.

Ask, and it makes. Here is one wish, played step by step.

  1. You type a wish.
  2. AI cuts your words into little pieces called tokens.
  3. Each token becomes a ball. Balls are words . Gold diamonds are coins .
  4. This brain is free. Out comes an answer, one token at a time.If its answer looks old, it checks the internet.
For grown-ups

Text becomes tokens. One Discord bot offers hundreds of models in 10 kinds. /chat decides when to search the web, re-asks with search if an answer looks out of date, and falls back to another free model if one fails.

0 free brain /chat
tokens: 6
ALMA example

A little fox rides a moonbeam up, naps in a crater, then waves at Earth.

/Message #make-anything

2 · What ALMA makes

Same wish, different makers.

ALMA has a maker for each kind of thing. Each maker has a few models, each with its own price.

  • Google Gemini
  • OpenAI
  • Anthropic
  • Grok (xAI)
  • ByteDance
  • Alibaba
  • DeepSeek
  • MiniMax
  • Runway
  • Black Forest Labs
  • ElevenLabs
  • OpenRouter

Tokens are how the AI thinks. Credits are what you pay. ALMA turns each kind of job into a fair price, and shows it before it runs.

  1. Pick a maker. Every maker has models with their own price.
  2. Chat on a free model. Your words become new tokens. It costs 0 credits.
  3. A picture: a new wish, so new tokens. The default model costs 5 credits. Free credits go first.
  4. A little movie: new tokens again, a different maker. The cheapest clip starts at 20 credits.
For grown-ups

Tokens are the pieces a model reads and writes; every request makes its own and nothing is stored between requests. Credits are ALMA's price: shown before you press Generate, free credits a day are spent before paid ones, and a run that fails is refunded. Prices here are from ALMA's public guides (/guide/chat, /guide/image, /guide/video, /guide/music, /guide/speech, /guide/story-book, /docs/build).

ALMA · free chat model

Moon foxes are made up, but real red foxes can hear a mouse under the snow.

/chatexample
/image◆ 5example
/video◆ from 20example
tokens read example0
credits charged◆ –

2 · What ALMA makes · story book

Little helpers check the work.

One plans. One draws. One checks.

If a page looks wrong, it gets drawn again.

  1. Let's make a story book. 36 coins, set aside, not spent yet.
  2. The first try breaks. Every coin comes back, automatically. Then it tries again.
  3. Two writers try. A judge keeps the better story. *
  4. You read it and fix it first.
  5. Now the artist draws every page.
  6. Oops! The fox turned blue. The judge says draw it again. *
  7. Your book is ready. 36 coins spent.

A finished result you just don't like isn't refunded, but you can redraw a page for 5.

For grown-ups

A planner writes the script, and you edit it page by page before anything is drawn. Behind the scenes*: two drafts are judged by a decision model; every page must have something to draw and the same hero; pages are drawn three at a time; each page is checked against the character sheet and redrawn once with a note; credits are held in one atomic step and a refund can never happen twice.

* Comes from the code, not ALMA's public pages. Needs your OK before it ships.

/story-book a fox who visits the moon · 3 pages
36 held public price
Oops, this run broke. All 36 coins come back, automatically. public
Draft Akept
Draft B

The Moon Fox Edit

  1. Page 1: a fox looks up at the moon.
  2. Page 2: The fox flies up in a paper rocket.
  3. Page 3: The fox lands and naps in a crater.
example script
✓ ✓ ✕ fox is the wrong colour ✓ same hero
A little orange fox looked up at the moon and made a wish.example · page 1 of 3

2 · What ALMA makes · app

Then it builds a real app.

It plans, builds, then plays its own game to test it.

You get a link to share.

  1. Apps are big jobs. You choose the most it may use.
  2. Planning. Building.
  3. It plays its own game. A bug! Fixed.
  4. On big apps, a second brain takes a look.
  5. Done. Coins it didn't need come back.
  • Discord
  • Node.js
  • Express
  • SQLite
  • three.js
For grown-ups

/build plans pages, builds real files, tests in a real browser (games must be played start to finish), has a second model look over a large new build, checks before publishing, and keeps change requests checked before they go live. The budget is a cap, not a price.

/build a paper lantern flying game example ask
Budget: Large1,000set by the replay · the most it may use
PlanningBuildingCheckingPublishing
a second brain takes a look

Made with ALMA

Real apps, made with ALMA. Tap one to play.

Games, tools and tiny worlds, each started with a /build message in Discord.

Haulwright Freight Co.Protocol 5v5Sprite Slayer 3DStanceShift: Neon RoninNight DriveSolitude CoasterCurvature SmithAbyssal TowlinePaper Lantern CourierPastel Pocket CityRoyal MarchLumen LabNeural MazeTroll Level DareEclipse BladeMourningmoor HallSafiya: Tape-Out Mission ControlBlueprint AlphaInkfallPit Wall
Screenshot of Haulwright Freight Co.

Haulwright Freight Co.

Land on a planet, mine ore, haul cargo.

/buildgameMADE WITH ALMA
Screenshot of Protocol 5v5

Protocol 5v5

A team arena shooter with deathmatch and gun-game modes.

/buildgameMADE WITH ALMA
Screenshot of Sprite Slayer 3D

Sprite Slayer 3D

Dash through a neon dungeon and zap the waves.

/buildgameMADE WITH ALMA
Screenshot of StanceShift: Neon Ronin

StanceShift: Neon Ronin

Switch stances to the beat to dodge lasers.

/buildgameMADE WITH ALMA
Screenshot of Night Drive

Night Drive

A calm night drive with its own car radio.

/build3D worldMADE WITH ALMA
Screenshot of Solitude Coaster

Solitude Coaster

Ride a calm coaster through five worlds. Snap photos.

/build3D worldMADE WITH ALMA
Screenshot of Curvature Smith

Curvature Smith

Walk around a glowing pillar and the floor turns.

/buildgameMADE WITH ALMA
Screenshot of Abyssal Towline

Abyssal Towline

Steer a little sub and tow lost probes home.

/buildgameMADE WITH ALMA
Screenshot of Paper Lantern Courier

Paper Lantern Courier

Fly a paper lantern. Deliver wishes before dawn.

/buildgameMADE WITH ALMA
Screenshot of Pastel Pocket City

Pastel Pocket City

Wander a pastel cartoon town and hop through a portal.

/build3D worldMADE WITH ALMA
Screenshot of Royal March

Royal March

Match three to march the king's parade home.

/buildgameMADE WITH ALMA
Screenshot of Lumen Lab

Lumen Lab

Bend a beam of light with mirrors and prisms.

/buildgameMADE WITH ALMA
Screenshot of Neural Maze

Neural Maze

Teach a little AI to find its way out.

/buildtoolMADE WITH ALMA
Screenshot of Troll Level Dare

Troll Level Dare

Easy-looking levels that trick you. Dare a friend!

/buildgameMADE WITH ALMA
Screenshot of Eclipse Blade

Eclipse Blade

Train a young knight, then win sword duels.

/buildgameMADE WITH ALMA
Screenshot of Mourningmoor Hall

Mourningmoor Hall

Solve a spooky manor mystery, room by room.

/buildgameMADE WITH ALMA
Screenshot of Safiya: Tape-Out Mission Control

Safiya: Tape-Out Mission Control

A chip engineer’s portfolio, styled as a tape-out control room in 3D.

/buildsiteMADE WITH ALMA
Screenshot of Blueprint Alpha

Blueprint Alpha

A building firm’s site, styled as a retro CAD terminal with a price calculator.

/buildsiteMADE WITH ALMA
Screenshot of Pit Wall

Pit Wall

Own a racing team. Call the tyres, pit stops and pace, then upgrade between races.

/buildgameMADE WITH ALMA
Screenshot of Inkfall

Inkfall

You can’t steer the falling doodle. Draw ink lines for it to slide on.

/buildgameMADE WITH ALMA

Every one started as a few little balls.

Try ALMA ↗ Next: QuorX ↓
Free coins get used first
Example purse · public rulespublic
Free today
Your coins
Held for this run0

Example build budgetestimate
used so far 0up to 1,000
◆ 336 came back

example · the 1,000 cap is an example, 664 is ALMA's public demo build

04 · plan hand real work to an agent that gets checked, not trusted

call quorx.run({ask: "make a snake game", mode: "yolo"})

Flagshipdesktop appagent harness

QuorX

An AI coding agent that builds apps on your own computer. A quorum stands behind every call.

  • Any model, priced first
  • A quorum of deciders
  • Guarded commands
  • Tests its own work
  • Undo covers commands

QuorX, created by mims1234 PUBLIC Windows · open source · Apache 2.0

how one reply runs REPLAY

Plan, act, guard, review. Then the gate.

Nothing reaches you until the finish gate opens. Watch a real sample run go round.

    A condensed replay of the sample run on the QuorX page. No model runs here.

    yolo mode · the quorum PUBLIC example votes

    Should this command run?

    When the guard can't read a command, three small deciders vote. Did you ask for it? Could it do harm?

    Same idea as ALMA's decision judges
    example the agent wants to run you asked

    liquid = asked forred arc = could do harmtap a decider to drop its vote
    verdict WAITS FOR YOU

    2
    0.70
    0.20

    QuorX's rule. A vote counts only when it is sure: |2P−1| ≥ 0.5.

    questions, too REPLAY

    The snake hits a wall. Wrap around, or game over?

    Unsure, the agent writes its own guess first, then asks the deciders.

    agent's guess
    Wrap around
    55% sure
    deciders
    Walls are deadly
    82% · votes split 0.88 / 0.06 / 0.06
    3 of 3 agreeCHANGED ANSWER

    judges never read the actor MEASURED

    The agent's notes stay out of the vote.

    Its confident notes talked the deciders into a wrong answer. Labelled unverified, they didn't.

    rejectsagrees

    the guard example commands

    YOLO, with a hand on the brake.

    Most commands just run. Pushes, writes outside the project and whole-computer installs pause for you.

      Stop ends everything example

      Each command runs in its own Windows job, so Stop reaches grandchildren too.

      9 processes running

      finish gate · reviewer REPLAY

      A second model plays it.

      A separate reviewer opens the build with fresh eyes and scores it. Every score must reach the bar.

      Browser check: 5 passed. A bug that breaks it goes back to the builder.

      finish gate · the bill REPLAY

      Priced before, capped during.

      One coin per model call. The whole reply barely wets the cap.

      cap
      per reply
      $1.00 cap

      About a cent for the whole snake game.

      $0.01095 · 16 model calls · paid media cap $0.50

      builds for many kinds of projects PUBLIC

      16 platform packs. One for each kind of app.

      A pack teaches QuorX how to build, run and check one kind of project before it says done.

      Point at a pack to see what it builds and checks.

      • OpenRouter
      • OpenAI
      • Anthropic
      • Google Gemini
      • DeepSeek
      • Node.js
      • Electron
      • JavaScript

      05Battleship · the AI admiral

      It never sees your fleet. It believes.

      An admiral that only trusts its own shots, and shows you what it believes as it hunts.

      belief map · live

      Click any tile to fire there yourself.

      Race the three brains

      Same hidden fleet, one shot each per tick. Which one thinks best?

      Measured over 600 random fleets: Hard about 46 shots, Normal about 52, Easy about 62.

      • three.js
      • JavaScript
      • HTML5
      • CSS

      06A game I made · Idle Blade Master

      Idle Blade Master

      Summon swords. They fight on their own and grow stronger, even while you are away.Collect blades, climb the dungeon floor by floor, beat the boss. Real sprites from the game below.

      Battle

      example · plays by itself

      Your team swings on its own. Gold comes in, you level up, and new floors open. Summon a blade and it joins the team.

      Summon

      10
      Legendary guaranteed within 60 summons. Chance right now: 3.0%.
      Common 60%Rare 28%Epic 9%Legendary 2.7%Mythic 0.3%
      Gems here are pretend. Nothing is saved.
      • JavaScript
      • HTML5
      • CSS
      • PWA

      07 · Mazoku

      I built the backend and the Discord bot for Mazoku.

      Mazoku is a trading card game that lives in Discord. Players collect cards, trade them and climb the boards. I am one of its developers, with an admin role too.

      • Discord bot
      • Game backend
      • Card drops & claims
      • Market & trades
      • Go
      • Discord
      • Node.js
      • TypeScript
      mazoku.cc home: Summon Your Destiny, with glowing trading cards mazoku.cc card catalog filtered to SR, SSR and UR cards mazoku.cc store: profile banners to show on your profile My mazoku.cc profile (mims3590) with the Developer and Admin roles and the admin menu open
      The game's siteVisit mazoku.cc
      The Mazoku bot's /help reply in Discord: a red chained banner, New Players, Quick Commands such as /summon, /inventory cards, /daily, /profile and /view, arrow buttons and links
      The /summon reply: four cards appear, each with a Claim button
      The /inventory cards reply: how to filter cards by name, series, rarity, event, version and more, with filter buttons
      A single card view in Discord: Rimuru Tempest v2, its series and version, locked, with Back, Unlock, Burn and Tag buttons
      The bot in Discord: /helpJoin the server

      Public facts only: the game, its site and its bot.

      08 · research · from paper to simulation

      From paper to simulation.

      I turn hard maths papers into code you can run and check. Below are sample research simulation programs of famous public papers, rebuilt for this page.

      These are samples. My real research simulation programs are private, under NDA.
      • Python
      • MATLAB
      • Google Colab
      • AWS
      • Go
      • Java
      • C#
      • Cloudflare
      • JavaScript
      • SVG
      • Web Crypto

      Famous papers, rebuilt so you can play with them

      PUBLIC PAPER · rebuilt demo

      A Method for the Construction of Minimum-Redundancy Codes

      David A. Huffman · with the entropy bound from Claude E. Shannon, “A Mathematical Theory of Communication”

      Common letters get short nicknames, rare letters get long ones.

      Common letters get short codes, rare letters get long ones, so the message gets smaller.

      merge the two lightest, repeatH = −Σ pi log2 pi  ≤  L̄ < H + 1
      1. Read the math: optimal prefix codes, entropy as the floor.
      2. Write it as code: a priority merge, then walk the tree for codes.
      3. Simulate and check: every code is prefix-free and decodes back; bits never dip under the entropy line.
        Read about the paper ↗
        PUBLIC PAPER · rebuilt demo

        A Universal Algorithm for Sequential Data Compression

        Jacob Ziv and Abraham Lempel (LZ77)

        Point back to a repeat instead of writing it again.

        If a piece of text already appeared, point back to it instead of writing it again.

        token =(offset, length, next character)
        1. Read the math: a sliding window over what was already sent.
        2. Write it as code: find the longest match in the window, emit one token.
        3. Simulate and check: decode the tokens and compare with the input, letter for letter.
            Read about the paper ↗

            08b · public side project · live

            Mohsin Math Studio: a seminar that marks the first real error.

            The public side of the same itch: maths you can touch. Ten lab instruments plus a studio that reads your working.

            drag the ball
            • React
            • TypeScript
            • Vite
            • Tailwind CSS
            • KaTeX
            • in the labs
            • gradient descent
            • linear maps
            • SVD
            • chain rule
            • +6 more ↗
            09Vulcan → Guildkit

            plan: follow one chat message through an engine I built, then show the product it became.

            Vulcan · site, bot and admin

            An engine, under real load.

            A Discord bot, a site and a staff admin that turn card-game play into currencies, raffles and leaderboards.

            • Next.js
            • React
            • TypeScript
            • Tailwind CSS
            • SQLite
            • Drizzle
            • Discord
            LIVE · vulcan.genxmims.org
            The Vulcan home page: an ember-lit phoenix and a live server card
            the system under real load Each lit dot stands for people online in a busy server, all hitting the same bot and site. Each lit dot is someone online, all hitting the same bot and site.

            From one chat message to the site

            Press it a few times fast: messages wait in a batch and land together. Example data.

            1. Chata card-bot reply in a picked channel
            2. Botreads it, drops repeats
            3. 0Batchone write every 5 s
            4. Ledgerone writer, every change logged
            5. Local APIloopback only, needs a secret
            6. Sitewallet, tasks, podium
            Wallet
            240embers
            example currency
            12-hour task
            0 of 5 claimsclaimable
            Leaderboard
            #1
            #2
            you

            What I engineered

            Pick a part to see what it does.

            SiteA site on its own domain with Discord sign-in and a live server card.

            Guildkitby MiMs Dev

            Your server's own Shells, earned by being there.

            A Discord bot, a site on your domain and an admin panel, all in your brand. I set it up and run it for you.

            see the config ▾
            {
              "name": "Harbor",
              "currency": "Shells",
              "accent": "#2fd3bb",
              "botName": "Harbor Bot"
            }
            brand.json1 file changed · 0 code changes
            Talk to MiMs Dev:

            Plans: Starter, Community and Pro.

            Guildkit demo: a first-visit card offering a 25-stop guided demo or free browsing
            Harbor home page: 'Every message counts' with a season pass card
            Season pass page with a row of tiers
            Weekend activity race leaderboard with example members
            Guildkit deck slide: Your server's own Bits
            Guildkit deck slide: three real builds, only one file changed

            First visit: take the guided demo or look aroundsandbox demo · example members, reset every night

            • Monthly season pass
            • Raffles
            • Giveaways
            • Shop and orders
            • Leaderboards and races
            • Invite tracking
            • Admin, no config files
            • Backups and rollback
            10Everything else

            plan: list every other tool in the registry, and light the ones that are live.

            An all-rounder, at a glance.

            Apps, Discord bots, games, desktop apps and agents. Pick a kind; tilt a card; open the live ones.

              Nothing of that kind here yet.

              Community bots are unofficial tools, not affiliated with any card-game bot.

              11Dashboards

              How is the app doing?

              I build the screens that show how an app is doing: what people make, what breaks, what it costs. I draw it first, then I build it.

              EXAMPLE DATA · real dashboards are private
              • Role-based admin
              • Live counters
              • Audit logs
              • CSV export
              • Discord alerts
              • Next.js
              • React
              • Express
              • Apache ECharts
              • SQLite
              • Tailwind CSS
              1 / 5
              flowchartFrom event to chartWhat happens between someone using the app and a number on the screen.
              failures spikeUser does something in theappEvent loggedDatabaseHourly + daily rollupsDashboard APIDashboard tileDiscord alert
              failures spikeUser does somethingEvent loggedDatabaseHourly + daily rollupsDashboard APIDashboard tileDiscord alert
              sequenceOpening the dashboardWho talks to whom when an admin opens it.
              APISign-inAdminsign insessionopenadmin? cached?numbers
              entity mapWhat gets trackedThe few things every number is counted from.
              USERstringroleJOBstringstatusMODELintpriceLEDGER_ENTRYintcreditsEVENTstringkindstartsrunschargesownslogs
              state machineA job's lifeEvery job ends in one place, and failed ones give the credits back.
              QueuedRunningDoneFailedRefunded
              QueuedRunningDoneFailedRefunded
              mind mapWhat a good dashboard answersFour questions every screen has to answer.
              A good dashboardIs it healthy?What breaks?What does it cost?Who uses what?

              Tip: tap a gold-edged box in the first diagram to see the tiles it feeds.

              12Engineering

              Things I consider so apps don't fall over.

              Three kinds of engineering I do: software, agentic and blockchain. Here are the ideas I weigh in each, so apps stay fast, safe and reliable.

              Scale

              • Worker threadsGive each busy job its own thread, so one slow job does not hold up the rest.
              • Caching with a timerKeep a copy close by and refresh it after a set time, so pages load fast.
              • Streaming (SSE)Send progress as it happens instead of making people wait.
              • Database indexesA table of contents for the data, so lookups stay fast.

              Reliability

              • RetriesIf something is not ready yet, wait and try again a few times.
              • Idempotency keysSend the same request twice and it still only happens once.
              • Held credits and refundsSet the cost aside first, and give it back if the job fails.
              • Health checks and auto-restartAn app reports that it is fine, and restarts if it is not.
              • BackupsKeep a copy of the data, ready to bring back.

              Data

              • TransactionsSeveral changes land together, or none of them do.
              • WAL modeMany readers and one writer can use the database at the same time.
              • MigrationsThe data changes shape step by step, safely.

              Security

              • Discord sign-in (OAuth2)Sign in with an account people already have, no new password.
              • Admin roles and audit logOnly staff can change things, and changes are written down.
              • Rate limits and cooldownsSlow down anyone pressing too fast, so things stay fair.
              • Content Security PolicyPages may only run the code they are meant to run.
              • Input validationCheck a request before trusting it.
              • Cloudflare tunnelsReach servers through a tunnel, with no open ports.

              Shipping

              • CI on every pushRobots build and test a change before it ships.
              • Automated testsMany small checks that run in seconds.
              • Dependency auditsStop a release if a library has a known security hole.
              • White-label from one fileOne brand file turns the same app into a new one.
              13Work with me

              Work with me.

              Need an agentic app, a Discord bot, a game or an AI helper? Let's talk.

              • Agentic apps
              • Discord bots
              • Games
              • AI tools for your team

              Guildkit: my ready-made Discord community kit

              Say hi

              Sources

              Every stamp type, and the public page behind it.