• Sumit Sute
  • about
  • Work
  • Bloq
  • Byte
  • Blip
Bengaluru, In
All Bloqs
xxx
Nov 23, 2025
4 min read
Booting the Bloq Engine
A reflective, slightly chaotic, and very humane account of building my MDX-based blog system with an AI agent — from foggy task management to file-based CMS choices, SOLID refactors, and the emotional texture of working in agentic mode.
#nextjs
#mdx
#typescript
#ai
#development

Architecture and Allergies

“An interrupted agent is a mirror; it shows me how much of my sense of progress I outsource to a system.”

While working with code in the agentic mode, the agent got stuck in the middle, and it made me feel a little anxious about the track and progress so far. Luckily, starting a new conversation could still refer to the plan in the older one. But even there, I wasn't fully or actively referring to a system like a taskmaster. In the iterations, I would really love to depend on an elaborate and step-by-step task list, if not a full PRD, and check off the tasks one by one.


The Problem: Scaling My Mess, One Article at a Time

But having said that, creating a system that can scale from three articles to hopefully and potentially a hundred articles (not just for the machine, but for me to maintain them humanistically) was truly a collaborative and learning experience. It was quite smooth. I didn’t have to dig around and fail at least twice trying to find libraries or tools to render markdown to HTML — I had written it with the agent, and even created my own list of MDX standard converters.


Identity Crisis

Still, I am trying to figure out my role here, beyond just the director or the vibey architect. Knowing better tools will definitely help. In some places, maybe I could have preferred ShadCN components over writing them natively. Maybe the ShadCN MCP integration would solve this better. But ShadCN use cases feel better suited for a complex CRUD tool. When I'm mostly trying to be creative with my own components, I wouldn’t want my MCP to be limited by ShadCN, maybe. I want to go beyond and easily access UI libraries I would otherwise go and search for.


Architecture Overview

“Maybe I’m allergic to pre-designed comfort.”

After realizing my need for flexibility and creative control, I settled on a file-based CMS for my bloq system.

  • Source – .mdx files stored in src/content/bloqs/[year]-[month]-[day]-[slug].mdx
  • Parser – gray-matter reads metadata (title, tags, summary)
  • Renderer – next-mdx-remote converts MDX into hydrated React components
  • UI Layer – Custom Bloq components (BloqCard, BloqFeed, FilterPanel) with hand-crafted ShadCN-style styling

Data Flow:

This approach allowed me to scale naturally from 3 articles to 100+ without introducing a full database too early. The system is human-readable, flexible, and easy to extend, which aligns with my desire for creative freedom.


Search & Exploration: Playing with Options

Once the architecture was in place, I started thinking about how to make content discoverable. I wanted flexible search and related-post suggestions, but I didn’t want to be locked into any single library. Exploration still matters—because every library, UI kit, or pattern is a reference point for my imagination and my own creative code.

Even though the agent didn’t prescribe this library outright, trying it out made me realize how exposure to options strengthens the system without necessarily bloating it. (I keep thinking about those Aceternity UI code blocks I haven't integrated yet.)


AI: Learning Through Friction

Currently, the AI is guiding me — or maybe I am using it to guide me. I want to eventually be smooth enough, and widely enough, to pick the tech stacks and approaches I wish. But before that, I want to wrestle enough with the agents and grow from that wrestling.

“Reveal what I didn’t need, but help me reach that insight with conviction, not ignorance.”

For example, I’ve already given instructions to the agent to help me use MDX over React components for my bloqs. It did a smooth job. But did it push me to create a database instead? No. Never. It took a visit to the vegetable shop, and a cauliflower in my hand, to realize that I had completely forgotten to even ruminate over the choice of DB vs file system for the bloqs. I’m yet to have that comparative learning and informed conviction. Maybe I’ll add it as an appended footnote one day, when I finally have a learned opinion about it — through my own experience and through a dialogic exchange with an agent.


Refactoring as Therapy

The best part of creating the bloq-series system (after the tagnames system with searchability and filters) is actually the refactoring of my code through SOLID principles. It really helps me zero in on the LLM glitch I’ve been struggling to articulate and communicate to the agent. Even if I do explain it, I could still be limited by the inertial weight of the already-written code — and the opinions that came inherited with it from the agent.

Like, I was struggling with the useScrollCollapse hook, and I wasn’t fully able to get it to do what I wanted it to do. Arriving surgically at the exact piece of code that could actually solve this issue the way I want becomes a lot more probable after such automated agentic refactoring. It also makes the code, of course, more readable and inviting.

I hope to learn how to quick-read code and codebases with the reinforcement of the agent — and not outsource that reading entirely to it though.


Final Thoughts

  • Rather than chasing structure, observe what keeps repeating—because repetition is a quiet teacher, not a bug.
  • Refactoring is revelation — SOLID principles expose what the LLM can’t quite articulate.
  • Exploration matters — libraries, UI kits, patterns, rough code — because they form your aesthetic + technical vocabulary.
  • Allow the medium (filesystem, database, or something else) to choose itself through your constraints, not your excitement.
  • Creativity prefers friction, not comfort. Remember that scalability is not an achievement but a response—something your work demands from you, not something you impose on it.
Mar 14, 2026
5 min read
xxx
Plans, Agents, and the Illusion of Completion
A reflection on agentic implementation gaps, the illusion of completeness, and how to build plans that survive contact with reality
Mar 22, 2026
14 min read
xxx
One Content System, Three Doorways
The Telegram bot and the CLI turned out not to be separate tools at all, but two operator surfaces over one private publishing system for bytes, blips, bloqs, and their public notifications.