Full-stack developer and technical writer creating hands-on tutorials, deep dives, and product guides for developer tools. I research, build, and test before I write.
Location
India
Education
Self-taught developer through courses, books, and hands-on practice.
Pronouns
Lover of clean UI, simple design, and coding workflows that save time for everyone.
Work
Full-stack development and technical writing for developers, founders, and technology businesses.
Congratulations, Hema! π Really happy to see you complete this project. I liked what you said about the project feeling easier because you had become more comfortable with the concepts. That's so true in development. The more we build and experiment, the less intimidating things start to feel. Also, getting multiple agents to work together while thinking about things like optimistic locking and observability is no small achievement. Well done! β€οΈ
Hey, I'm Hema π
Developer, writer, and creator of Dev Opportunity Radar, a weekly series published every Friday on DEV, helping people discover opportunities they might otherwise miss.
Hey, I'm Hema π
Developer, writer, and creator of Dev Opportunity Radar, a weekly series published every Friday on DEV, helping people discover opportunities they might otherwise miss.
Hey, I'm Hema π
Developer, writer, and creator of Dev Opportunity Radar, a weekly series published every Friday on DEV, helping people discover opportunities they might otherwise miss.
Hey, I'm Hema π
Developer, writer, and creator of Dev Opportunity Radar, a weekly series published every Friday on DEV, helping people discover opportunities they might otherwise miss.
I'm curious, has this ever happened to you? You start working on something thinking, "This is going to be so difficult!" But as you spend more time with it, you slowly start figuring things out, and it doesn't seem quite as intimidating anymore.
I'd love to hear what that was for you. Maybe it was a project, a new language, or something you had been putting off learning. Share your experience below. I'm sure many of us can relate π
Hey, I'm Hema π
Developer, writer, and creator of Dev Opportunity Radar, a weekly series published every Friday on DEV, helping people discover opportunities they might otherwise miss.
Also, if anyone wants another take on this project, my classmate La Shara (@earlgreyhot1701d) wrote about her experience with it too! We worked on the same project, but our articles ended up being pretty different, so I thought some of you might enjoy reading hers as well π
I write when an idea won't leave me alone π§ Building AI agents and the tools to build AI agents. Love connecting AI with other fields and yapping about all of them.
The version 1 to version 2 walk-through is a clear way to explain optimistic locking. Your retry reads the latest WorkflowState and saves again, so does the agent's result get re-checked against what changed in between, or is the same result written onto the newer version? I'd expect that to matter most for the Refund Agent, since its decision depends on what the Inventory Agent already saved.
Hey, I'm Hema π
Developer, writer, and creator of Dev Opportunity Radar, a weekly series published every Friday on DEV, helping people discover opportunities they might otherwise miss.
Hey Kartik, good question! So, the retry itself doesn't make the agent run its decision again. It just reads the latest WorkflowState and tries to save the update against that version.
But in the Refund Agent's case, there's another check too. It uses the Inventory Agent's findings as context, but before initiating a refund request, it fetches the order and customer details from DynamoDB again and checks whether the order is eligible. So it doesn't rely only on what the Inventory Agent had found earlier.
Hey, I'm Hema π
Developer, writer, and creator of Dev Opportunity Radar, a weekly series published every Friday on DEV, helping people discover opportunities they might otherwise miss.
Hey, I'm Hema π
Developer, writer, and creator of Dev Opportunity Radar, a weekly series published every Friday on DEV, helping people discover opportunities they might otherwise miss.
Hey, I'm Hema π
Developer, writer, and creator of Dev Opportunity Radar, a weekly series published every Friday on DEV, helping people discover opportunities they might otherwise miss.
Congratulations, Hema! π Really happy to see you complete this project. I liked what you said about the project feeling easier because you had become more comfortable with the concepts. That's so true in development. The more we build and experiment, the less intimidating things start to feel. Also, getting multiple agents to work together while thinking about things like optimistic locking and observability is no small achievement. Well done! β€οΈ
Thank you so much, di π
This is so cool!! πΈπ
I really like how you separated the agents' responsibilities and managed their shared state with optimistic locking.
And 120/120 points! Huge congratulations on graduating too! ππ
Thank you so much, Nyaomaru π means a lot.
Congratulations akka π
You said the last project is simpler than the other 2. By just looking at the diagrams my mind is blown π
It takes a lot of patience and effort to do a course with hands on projects, that to ai agents π«‘
Thank you so much ra π It looks complicated, but once you start working on it, you slowly get the hang of it π
Also, you should definitely apply for the scholarship when it opens next time. I think you'll love the program!
I'm curious, has this ever happened to you? You start working on something thinking, "This is going to be so difficult!" But as you spend more time with it, you slowly start figuring things out, and it doesn't seem quite as intimidating anymore.
I'd love to hear what that was for you. Maybe it was a project, a new language, or something you had been putting off learning. Share your experience below. I'm sure many of us can relate π
Also, if anyone wants another take on this project, my classmate La Shara (@earlgreyhot1701d) wrote about her experience with it too! We worked on the same project, but our articles ended up being pretty different, so I thought some of you might enjoy reading hers as well π
From One Chatbot to Five Agents: My AWS Agent Engineer Nanodegree
The version 1 to version 2 walk-through is a clear way to explain optimistic locking. Your retry reads the latest WorkflowState and saves again, so does the agent's result get re-checked against what changed in between, or is the same result written onto the newer version? I'd expect that to matter most for the Refund Agent, since its decision depends on what the Inventory Agent already saved.
Hey Kartik, good question! So, the retry itself doesn't make the agent run its decision again. It just reads the latest WorkflowState and tries to save the update against that version.
But in the Refund Agent's case, there's another check too. It uses the Inventory Agent's findings as context, but before initiating a refund request, it fetches the order and customer details from DynamoDB again and checks whether the order is eligible. So it doesn't rely only on what the Inventory Agent had found earlier.
that's a nice idea project looks like agent is built on supervisor achitecture . but all test case pass is actually blessing π
Yes, exactly Abhisek! It took me 2 attempts to get everything right, so when it finally passed, it felt like such a blessing for sure π
Interesting topic, great write-up, bookmarked this!
Thank you so much, Leob π
It's really good, Didi! β€οΈ
Thank you so much, Tara π