What a manhwa! Found something interesting after a very long time, tbh after a year
Spent a full day on it, and I'm just halfway through.
Dev Narware retweeted
Q: Explain the ReAct pattern. Why is it foundational?
Ans:
ReAct stands for Reasoning + Acting. Instead of answering i n one go, the model alternates between thinking and doing:
Thought: works out what it needs next
Action: calls a tool (API, DB, search, etc.)
Observation: reads what the tool returned
Repeat until it has enough to answer
Nearly every agent framework you’ll use (LangGraph, OpenAI Agents SDK, CrewAI) runs some version of this loop under the hood.
Example trace: “Why is the payments service failing?”
Thought: I should check the service’s recent error logs first.
Action: get_logs(service="payments", level="error", last="15m")
Observation: 240 errors, all “connection refused: db-primary:5432”
Thought: It’s failing to reach the database. Let me check the DB’s health.
Action: get_db_status(instance="db-primary")
Observation: {“status”: “down”, “reason”: “disk full”}
Thought: Root cause found. I can answer now.
Answer: The payments service is failing because db-primary is down with a full disk.
Why it’s foundational:
1. Grounded in reality
Each step is based on real data from tools, not on what the model happens to remember. That cuts down hallucination.
2. Debuggable
The reasoning is visible, so when it picks the wrong tool you can see why.
3. Errors become input
A failed tool call comes back as just another observation. The model can read it, adjust, and retry or switch tools instead of crashing.
The limit you should mention:
The “Thought” text is NOT a faithful record of what the model actually computed. It’s a plausible story the model writes, so don’t treat it as an audit log.
In production:
Keep actions structured (JSON schemas)
Validate every tool call before you run it
Log the real tool calls and results, not just the thoughts
Common mistake in interviews:
Describing ReAct as “the model thinks step by step.” That’s chain-of-thought. The whole point of ReAct is the action-observation loop that ties the model to the real world.
Common follow-up:
“How is ReAct different from Chain-of-Thought?”
CoT: reasons in one pass, never touches the outside world
ReAct: reasons, acts, observes, and uses the world as its source of truth
One-line summary for interviews:
“ReAct alternates reasoning with tool calls, so every step is checked against reality. That loop is what turns a model that talks into an agent that works.”
Day 3
- Revised Go and backend concepts
- Built a web server
- Solved 1 LeetCode problem using 3 different approaches
Taking on a 30-day challenge. If I don’t complete it, I’m ngmi 😤
Here’s the list of tasks I have to complete every single day, no matter what.
I don't have enemies, but I don't have friends either
I don't hate anyone, but no one loves me either
And still, I'm enjoying my life.


















