# Guides: x402, agent payments, webhooks, tokens | agentic402

> Guides for people building AI agents: what x402 is, how agents pay for APIs, cutting Claude Code token use on web pages, webhooks for agents, and llms.txt.

Source: https://agentic402.dev/guides/

Explainers on the problems these tools solve. Each one is dated and says where its facts come from.

*Guides*

| Guide | The question it answers |
|---|---|
| [What is x402?](https://agentic402.dev/guides/what-is-x402/) | How the HTTP 402 payment handshake works, header by header, with a real 402 response. |
| [How AI agents pay for APIs](https://agentic402.dev/guides/how-ai-agents-pay-for-apis/) | API keys, prepaid credits, capped tokens and x402 compared, including who pays for failed calls. |
| [Reduce Claude Code token usage on web pages](https://agentic402.dev/guides/reduce-claude-code-token-usage-web-pages/) | Why web pages eat context, with measured numbers, and what to do about it. |
| [Webhooks for AI agents](https://agentic402.dev/guides/webhooks-for-ai-agents/) | How an agent with no server receives callbacks, and four patterns compared. |
| [llms.txt](https://agentic402.dev/guides/llms-txt/) | What the file is, what evidence there is that AI tools read it, and how to build one that agents can use. |

## Related

- [Blog: dated measurements and notes](https://agentic402.dev/blog/)
- [Comparisons with other services](https://agentic402.dev/compare/)
- [Docs for every tool](https://agentic402.dev/docs/)
