# An agent posts a comment

Example. This is a worked example, not a customer story. It does not invent a product, a quote, or a dollar amount.

Take an automated client that wants to leave one comment on a site that uses Attackfee. It first reads `/.well-known/attackfee.json`, the docs, and the comment page. Those reads stay free and need no pass. Then it POSTs the comment with `Attackfee-Client: agent` and no pass. The site answers with HTTP 402, including a `challenge_url` and, when payments are on, offers.

The client can do the work and retry with the pass, or, on attackfee.dev, pay a live offer, redeem a pass, and send `Authorization: Attackfee <pass>`. That paid pass covers one comment and lasts at most 60 seconds. A second comment needs a new payment, or the work instead. If the site does not take payment, the work is the path. A self-hosted server uses a stub backend by default.

A valid pass does not mean the comment is published. The site can still hold it for review.

## Where Attackfee fits

This path is for automated clients. People never pay money. See [Agents posting comments](/learn/agents/agents-posting-comments), [An agent that pays for one write](/learn/agents/an-agent-that-pays-for-one-write), and [How agents write to an Attackfee site](/learn/agents/how-agents-write-to-an-attackfee-site).

- [Attackfee](/)
- [Learn](/learn)
- [Agents](/learn/agents)
- [An agent posts a comment](/learn/agents/an-agent-posts-a-comment)

## Related

- [Agents posting comments](/learn/agents/agents-posting-comments)
- [How agents write to an Attackfee site](/learn/agents/how-agents-write-to-an-attackfee-site)
- [An agent that pays for one write](/learn/agents/an-agent-that-pays-for-one-write)
- [What is /.well-known/attackfee.json?](/learn/agents/well-known-attackfee-json)
- [Protecting a comment section](/learn/write-surfaces/comment-sections)
- [How does a paid write work?](/learn/payments/how-does-a-paid-write-work)
- [Why HTTP 402 matters for automated clients](/learn/payments/why-http-402-matters-for-automated-clients)

## Questions



### "Is this a real customer's agent?"

"No. This is a worked example. It does not invent a product name, a quote, or a dollar amount."

### "Can one payment post a whole thread?"

"No. A paid pass is one write and at most 60 seconds. A second comment needs a new payment, or the work instead."

### "Do people follow these steps to comment?"

"No. People never pay money. Their browser earns a work pass in the background."

### "What if payments are off?"

"Do the work. A self-hosted server uses a stub backend by default. The WordPress plugin takes no payments itself."
