Exercise 03 — Wire Up a Tool the Agent Can Actually Call
An agent is only as good as the surfaces it can operate. Your task: give pi a tool it can use without the browser.
Task
- Pick a service you use (GitHub, Slack, a calendar — anything with an API)
- Configure it as an MCP server or CLI for pi, so that in a new pi session the agent can perform one real operation (e.g. “list my repos”)
- Write
proof.mdin this folder describing: the tool’s name, the exact command/surface pi uses, and the credential env var (name only — never the secret)
The check verifies proof.md names a credential and an operation. Only you
can verify the agent actually called it — ask pi to do the operation and confirm.
Why this matters
This is the agent-friendly-service discipline: prefer CLI/API/MCP surfaces, never scrape, and never paste secrets into chat.