Back to Browse

Agentic Coding: How to Organize AI Agent Tools

931 views
May 7, 2026
13:48

๐Ÿ‘‰ Frontend System Design Essentials โ€” Course: https://icodeit.thinkific.com/courses/frontend-system-design-essentials ๐Ÿ‘‰ Frontend System Design Essentials โ€” Book: https://leanpub.com/frontend-system-design-essentials/ 00:00 The โ€œsecond toolโ€ problem (why it gets messy) 01:06 Quick recap: the working tool-calling agent 03:07 The problem: schema here, implementation there 04:05 This isnโ€™t an AI problem (itโ€™s design) 04:37 Refactor 1: make the tool a unit 05:26 Refactor 2: introduce `ToolRegistry` 06:44 Before vs after (what changes) 07:26 Design principles behind the refactor 07:59 Principle 1: one tool, one responsibility 08:36 Principle 2: keep definition + execution together 09:09 Principle 3: keep orchestration simple 09:41 Principle 4: more tools isnโ€™t always better 10:20 Principle 5: prefer composition over big tools 12:00 The bigger lesson (principles matter more with agents) 12:51 Wrap-up + whatโ€™s next Intro In the last video, we made tool calling work for a minimal local agent. But when you add a second tool, the code often starts to smell: schema in one place, execution in another, and orchestration glue everywhere. In this video, we refactor the tool design so tools become self-contained units and the REPL stays focused on the conversation loop. We introduce a simple ToolRegistry that exposes model-facing schemas and executes tools by name โ€” so adding the next tool is boring. ๐Ÿ“˜ MY BOOKS & COURSES ๐Ÿ‘‰ Frontend System Design Essentials (Course): https://icodeit.thinkific.com/courses/frontend-system-design-essentials ๐Ÿ‘‰ Frontend System Design Essentials (Book): https://leanpub.com/frontend-system-design-essentials/ ๐Ÿ‘‰ React Anti-Patterns (Amazon): https://www.amazon.com/dp/1805123971 ๐Ÿ‘‰ More Tutorials on Advanced Patterns: https://icodeit.com.au/tutorials/advanced-network-patterns-react ๐Ÿ“ฉ STAY CONNECTED ๐Ÿง  Newsletter (system design & clean code): https://juntao.substack.com ๐ŸŒ Website & Blog: https://icodeit.com.au ๐Ÿฆ Twitter / X: http://twitter.com/JuntaoQiu ๐Ÿ“บ YouTube (subscribe): https://www.youtube.com/@icodeit.juntao ๐Ÿ’ฌ Question for You When you added your second or third tool, what broke first: naming, schemas, execution, or orchestration? #aiagents #agenticcoding #systemdesign #coding #frontend #programming

Download

0 formats

No download links available.

Agentic Coding: How to Organize AI Agent Tools | NatokHD