Re:What makes Claude Code so damn good
by nuwandavek on Saturday August 23, 2025 @06:54PM
(#44999771)
(author of the blogpost here)
Yeah, you can extract a LOT of performance from the basics and don't have to do any complicated setup for ~99% of use cases. Keep the loop simple, have clear tools (it is ok if tools overlap in function). Clarity and simplicity >>> everything else.
[ Parent
| on HN ]
Re:What makes Claude Code so damn good
by samuelstros on Saturday August 23, 2025 @08:16PM
(#45000170)
does a framework like vercel's ai sdk help, or is handling the loop + tool calling so straightforward that a framework is overcomplicating things?
for context, i want to build a claude code like agent in a WYSIWYG markdown app. that's how i stumbled on your blog post :)
Re:What makes Claude Code so damn good
by ahmedhawas123 on Saturday August 23, 2025 @10:20PM
(#45000743)
Function / tool calling is actually super simple. I'd honestly recommend either doing it through a single LLM provider (e.g., OpenAI or Gemini) without a hard framework first, and then moving to one of the simpler frameworks if you feel the need to (e.g., LangChain). Frameworks like LangGraph and others can get really complicated really quickly.
Re:What makes Claude Code so damn good
by nuwandavek on Sunday August 24, 2025 @01:57AM
(#45001760)
There may be other reasons to use ai sdk, but I'd highly recommend starting with a simple loop + port most relevant tools from Claude Code before using any framework.
Nice, do share a link, would love to check out your agent!
Check the OpenAI REST API reference. Most engines implement that and you can see how tool calls work. Itβs just a matter of understanding the responses they give you, how to put them in the messages history and how to invoke a tool when the LLM asks for it.