-
Your first tool-using agent: function calling done right
A tool-using agent is not a language model that somehow reaches into your Python process and executes functions by itself.
-
Structured output and JSON mode without the model going off the rails
Modern LLM applications often fail at a surprisingly mundane boundary: the model says something intelligent, but your program cannot safely consume it.