To be honest, it is easier than I expected to build an agent. Tool calling is really straightforward, which shows how powerful LLMs have become through training! It used to be not that easy for LLMs to generate Structured Outputs.
Here is a minimal CLI agent built in TypeScript following the ReAct (Reasoning + Acting) pattern.
查看全文