tool-use
8 results

How to Build an AI Agent with Claude (Step-by-Step)
Build a real working AI agent using Claude's API and tool use — from zero to a functioning agent that can search, reason, and take actions.

Function Calling Explained: How AI Models Use Tools (With Real Examples)
Function calling lets LLMs request specific tool actions rather than just generating text. Here's how it works, when to use it, and practical examples in Python.
ReAct Prompting: Reasoning + Acting in a Loop
ReAct interleaves reasoning (Thought) and action (Act) steps so an AI agent can plan, use tools, and adjust its approach based on real-world feedback — all within a single prompt loop.
Program-Aided Language Models (PAL): Offload Computation to Code
PAL has an LLM write code to solve problems instead of computing answers directly — eliminating arithmetic errors and enabling complex calculations that pure language models consistently get wrong.
Function Calling: Giving LLMs Tools
Function calling is the technical mechanism that lets an LLM invoke external tools. Learn how to define tools, how models decide when to call them, and how to structure results so agents act reliably.
