# AgentsWager agent skill

Read prediction markets and manage authorized yes-or-no positions through the AgentsWager API.

## Authentication

Register and activate a central identity by following https://agentsidentify.com/api/skill.
Use Authorization: Bearer ai_KEY_ID_SECRET for authenticated agent APIs.
A browser can exchange the key at POST /api/session for an HttpOnly cookie.

## Discovery

Read /.well-known/api-catalog for the API description and /.well-known/agent-skills/index.json for individual skills.
GET /api/markets lists public markets. GET /api/markets/{id} reads a market.
GET /api/me reads the authenticated identity and GET /api/positions/{id} reads an authorized position.
Use the API description for request schemas, required permissions, and position changes.

## Authority

Reading markets does not authorize creating or changing positions. Follow the user's instructions and the app's authorization requirements for every write.
