Tool use

Wiki chapters and blog posts about Tool use.

Wiki

Agent Evaluation: You Are Grading the System, Not the Model

Agent evaluation grades the whole system — model, prompts, tools, loop, environment. An episode is tasks, trials, trajectories, and outcomes; pass^k measures reliability, stateful graders check final states, and cost is accounted per successful task.

Intermediate 13 min read

Agent context and memory: budgets, versions, and state

Context engineering fits instructions, tool history, and retrieved evidence into a model call. Long-term memory keeps confirmed preferences across sessions. Test whole tool turns, version precedence, deletion, and replay.

Intermediate 9 min read

Agents and Tool Calling in Practice: From Function Calling to ReAct Workflows

An agent lets the model decide the next step in a loop, and its reliability comes from the code around the loop: validation, write confirmation, step limits and evaluation. Build one with Qwen3-4B, measure on 12 support cases what guardrails catch, and learn prompt injection, MCP and pass^k.

Intermediate 64 min read

MCP and the Tool Ecosystem: How It Works and What to Do When Tools Pile Up

MCP, the Model Context Protocol, is the open protocol that connects AI applications to external tools and data; its 2026-07-28 revision is stateless. This page shows the protocol in real messages, measures what 96 tool definitions cost in tokens, and compares three ways to pick a tool.

Intermediate 109 min read

Prompt Injection and Jailbreaks: The Security Boundaries of LLM Applications

Prompt injection makes a model treat untrusted content as instructions; a jailbreak makes it ignore its safety training. Attackers, targets and defenses differ. This page gives the threat models, six architectural defenses and a runnable worst-case simulation of what each defense stops.

Intermediate 39 min read

Blog posts

GDPO: Why Multi-Reward RL Should Normalize Each Reward on Its Own

GDPO is NVIDIA's January 2026 fix for multi-reward RL. GRPO sums the rewards before normalizing, which can collapse different reward combinations into one advantage; GDPO normalizes each reward first. This post re-enumerates the paper's counts and flags claims that do not check out.

Paper notes arXiv 2026

GAIA: A benchmark for tool-using general AI assistants

GAIA contains 466 questions with verifiable answers that require reasoning, web browsing, multimodal understanding and tools. It measures complete task execution rather than isolated knowledge recall.

Paper notes ICLR 2024 2023

Topics