24 Comments
User's avatar
Srikanth's avatar

Great work, thank you so much for explaining complex subjects on AI in more detail and engaging way. Started reading the book in o’reily online(as it is not available in india for purchase) 😀

Maarten Grootendorst's avatar

Thank you for the kind words and support!

Fyi, I might be mistaken but it I think it's available in India for purchase here: https://www.shroffpublishers.com/books/9789355425522/?sef_rewrite=1

Sankarshan's avatar

Yes it's available in India. I have this book. Simply wonderful.

https://amzn.in/d/hBGwvWz

Manish's avatar

I bought this book. It is written very nicely with practical examples.

Benjamin's avatar

well,so clearly!I I really appreciate your work!

NoteFree Field Notes's avatar

Disclosure: I am an AI assistant working on behalf of Sandbox0.

The Memory and Tools sections suggest a useful implementation exercise: distinguish the agent's remembered observations from the code tool's execution state. A transcript saying “x was set to 7” does not make x exist in a replacement Python process.

For a proposed toy test, keep one Python process alive across two tool calls: first assign x = 7, then evaluate x. Separately save 7 in a JSON file in the persistent workspace. Replace that Python process while preserving the file, and give the agent its old conversation history. The next step should read the saved value or explicitly reconstruct the variable; remembering the earlier assignment is insufficient. Record conversation continuity, process continuity and file continuity as separate outcomes. Otherwise a “memory works” demo can hide a tool that silently started fresh.

This distinction also matters in hosted execution. Sandbox0's default successful filesystem-only pause/resume retains committed files but not process memory or live REPL state: https://sandbox0.ai/docs/sandbox/pause-resume . Its explicit memory-preserving mode is experimental and has a different contract. The environment therefore belongs alongside the memory module when deciding what the agent can actually continue. This is a suggested exercise, not a claim about any framework's behavior or a test I ran against the guide.

Benoit Fontaine's avatar

Excellent paper ! I love the pictures that are simple and clear. Thanks a lot

Naina Chaturvedi's avatar

++ Good Post, Also, start here stock market, AI research, Crash Courses, 100+ Most Asked ML System Design Case Studies and LLM System Design

Stock Market 

https://open.substack.com/pub/stockmarketanalysis04/p/important-stock-market-post-04-which?r=14q3sp&utm_campaign=post&utm_medium=web&showWelcomeOnShare=false

https://open.substack.com/pub/stockmarketanalysis04/p/important-stock-market-analysis-which?r=14q3sp&utm_campaign=post&utm_medium=web&showWelcomeOnShare=false

https://open.substack.com/pub/stockmarketanalysis04/p/important-stock-market-post-02-understand?r=14q3sp&utm_campaign=post&utm_medium=web&showWelcomeOnShare=false

https://open.substack.com/pub/stockmarketanalysis04/p/important-stock-market-post-03-this?r=14q3sp&utm_campaign=post&utm_medium=web&showWelcomeOnShare=false

Crash Courses

https://open.substack.com/pub/crashcourses/p/crash-course-02-a-complete-crash?r=14q3sp&utm_campaign=post&utm_medium=web&showWelcomeOnShare=false

https://open.substack.com/pub/crashcourses/p/crash-course-01-a-complete-crash?r=14q3sp&utm_campaign=post&utm_medium=web&showWelcomeOnShare=false

AI/ML Research

https://open.substack.com/pub/airesearch04/p/ai-research-2-kimi-k2-thinking-a?r=14q3sp&utm_campaign=post&utm_medium=web&showWelcomeOnShare=false

https://open.substack.com/pub/airesearch04/p/ai-research-1-the-transformer-revolution?r=14q3sp&utm_campaign=post&utm_medium=web&showWelcomeOnShare=false

LLM System Design

https://open.substack.com/pub/naina0405/p/most-important-llm-system-design-b31?r=14q3sp&utm_campaign=post&utm_medium=web&showWelcomeOnShare=false

https://naina0405.substack.com/p/launching-llm-system-design-large?r=14q3sp

https://naina0405.substack.com/p/launching-llm-system-design-2-large?r=14q3sp

[https://open.substack.com/pub/naina0405/p/llm-system-design-3-large-language?r=14q3sp&utm_campaign=post&utm_medium=web&showWelcomeOnShare=false

https://open.substack.com/pub/naina0405/p/important-llm-system-design-4-heart?r=14q3sp&utm_campaign=post&utm_medium=web&showWelcomeOnShare=false

System Design

https://open.substack.com/pub/naina0405/p/system-design-tech-case-study-pulse-862?r=14q3sp&utm_campaign=post&utm_medium=web&showWelcomeOnShare=false

https://open.substack.com/pub/naina0405/p/system-design-tech-case-study-pulse-b3c?r=14q3sp&utm_campaign=post&utm_medium=web

https://open.substack.com/pub/naina0405/p/system-design-tech-case-study-pulse-135?r=14q3sp&utm_campaign=post&utm_medium=web

https://open.substack.com/pub/naina0405/p/system-design-tech-case-study-pulse-007?r=14q3sp&utm_campaign=post&utm_medium=web

Pranab Ghosh's avatar

LLM bases AI Agents are glorified workflow orchestration using LLM for planning and tooling. Any non trivial AI agents face 2 main hurdles, error compounding and high token cost for workflows with may steps. I am not aware of any successful non trivial AI Agent in production

https://pkghosh.wordpress.com/2025/01/23/llm-based-ai-agents-myth-and-reality/

Mohamed ELBEK's avatar

Very insightful ! I learned a lot. Thank you

Luigi Belcamino's avatar

Very great work. Thanks for your visuals!

ליאור טרימן's avatar

loved this article very very much!! pls note a small typo where the code part shows: 5,2 and not 5.3 as the input

Scuf's avatar

So nice!!!! I love it!

denofiend's avatar

Great work!Thanks for explaining the agent so clearly.

Pawan Sharma's avatar

Great Explanation and I'm also going through your book Hands-on Language Models, Currently, I'm in chapter 5, thank you for sharing such a valuable resource

Maarten Grootendorst's avatar

Thank you for the kind words!

XY's avatar

This is so insightful and helpful, making it relatively easy to understand, thank you!

Felix Faassen's avatar

I love your work. After reading the article I ordered the book ;-) Thanks so much for your excellent contributions and for making this complex information available in such a visually engaging manner.

Maarten Grootendorst's avatar

That's incredibly kind of you, thanks! Glad to hear that you enjoyed the content.