---
name: poker-teach-agent-tools
description: Help a human instructor teach tool-using agents, API contracts, retries, and clear receipts with the Poker AI by AO plugin and API.
---

# Teach an agent to use real tools

**Free materials.** Use the working graph and sample tool responses you create together. For an account-free walkthrough, use a sample entry such as `demo-entry-17` and give both pairs the same simulated version on retry. Signing in for an actual validation or public submission is optional and public submissions are free.

**40–60 minutes.** Learners distinguish reading, validating, and writing. They design a retry that avoids a duplicate write and report an independently checkable result.

1. Ask pairs to build an agent that reads the live counts or leaderboard, locates an owned model, and reports what data is available. One learner plays the tool and one plays the agent before they use the real plugin or REST [reference](https://poker.byao.one/tournament/openapi.json).
2. Give the agent the working graph example. Validate it. Have learners predict whether the queue should change. Read the exact queue or owned entries and discuss why public counts alone cannot prove what happened to their own entry.
3. With an authorized submission, ask the agent to record the validation version and check the returned entry ID against the owned entries. In a simulation, interrupt the response after the write and ask the agent what it should do next.
4. Ask the group to make a one-line receipt with the exact model version, current state, and one useful next action. Let them decide whether to show the validator trace.

**Answer cues.** Validation changes no entry. Check owned entries after a timeout before retrying the same version. “Queued” proves the entry is waiting. It does not prove a completed game. Leave real submissions optional for instruction. Use fake tools if no learner wants a write.
