Kycha Blog.

I write about React, Node.js, and AI.

Cover Image for Setting Up Grafana Loki and Alloy for Docker: A Practical Guide From My Recent Battle

I recently had to implement logs collection for one of my applications, and I expected it to be one of those plug-and-play DevOps chores. It was not. Grafana has a pretty extensive documentation on the matter, but it's definitely not beginner friendly so I spent more time debugging my setup than I anticipated.

Andrii Kycha
Andrii Kycha

More Stories

Cover Image for A Practical Guide to Multi-Agent RAG Design

A Practical Guide to Multi-Agent RAG Design

Many examples of RAG systems on the internet focus on a single agent: one model that reads your prompt, looks up some documents, and produces an answer. That setup works well for simple tasks, but as soon as your product grows, you start hitting real limitations.

Andrii Kycha
Andrii Kycha
Cover Image for How to Build a Chatbot With Your Own Data: A Practical Guide to Chatbot System Design

How to Build a Chatbot With Your Own Data: A Practical Guide to Chatbot System Design

So, your team just asked you to build a chatbot that actually knows about your company's internal data — and you're staring at a blank screen wondering where to begin? Been there. And in this post, I’ll walk you through how I would approach building a chatbot with your own data, step-by-step — using a simple but powerful chatbot system design.

Andrii Kycha
Andrii Kycha
Cover Image for Ever Heard of This Mysterious Thing Called RAG?

Ever Heard of This Mysterious Thing Called RAG?

Have you ever sat in a meeting where someone casually drops the term RAG, and everyone just nods like it’s common knowledge? Meanwhile, you're sitting there thinking, “Wait… what is RAG?” Yeah, that was me too. So I did some digging — and now I'm here to share what I found.

Andrii Kycha
Andrii Kycha
Cover Image for How I Fixed a Weird Flexbox Bug (and Saved My Sanity)

How I Fixed a Weird Flexbox Bug (and Saved My Sanity)

Have you ever spent hours trying to figure out why your Flexbox layout is completely falling apart? Same here. Just yesterday, I hit a wall trying to make a simple layout work—and what I found might save you from the same headache....

Andrii Kycha
Andrii Kycha
Cover Image for How to write good React code?

How to write good React code?

I was debugging `useEffect` hooks in the app I developed a long time ago. I saw an evil mixture of one-mile long dependency array, coupled logic, and repetitive code created by some crazy alchemist (me from the past). It shouldn't be like that, we can do better!

Andrii Kycha
Andrii Kycha
Cover Image for How to scope Tailwind CSS rules?

How to scope Tailwind CSS rules?

The other day, I was working on my React Chatbot Widget and realized there was something I didn't account for. Of course, I needed to scope all the Tailwind CSS classes right from the beginning!

Andrii Kycha
Andrii Kycha