# Gemini Developer Platform Agent Instructions

## Overview
Gemini Exchange provides REST, WebSocket, and FIX interfaces for Spot, Margin, Perpetuals, and Prediction Markets trading, custody, and fund management.

## When to Use
- **Discovering APIs & Schemas:** Fetch `/llms.txt` for the link index or `/specs/index.json` for OpenAPI & AsyncAPI contracts.
- **REST Trading & Account Management:** Refer to `/api-reference` or `/specs/openapi/rest.yaml` for REST operations.
- **Real-time Order Books & Feeds:** Refer to `/websocket/introduction` or `/specs/asyncapi/websocket.yaml`.
- **Prediction Markets:** Refer to `/prediction-markets/trading-quickstart` or `/specs/openapi/prediction-markets.yaml`.
- **Sandbox Testing:** Use `api.sandbox.gemini.com` for testing without real funds.

## Key Discovery Endpoints
- **Link Index:** [https://developer.gemini.com/llms.txt](https://developer.gemini.com/llms.txt)
- **Complete Markdown Content:** [https://developer.gemini.com/llms-full.txt](https://developer.gemini.com/llms-full.txt)
- **Developer Portal:** [https://developer.gemini.com/developers](https://developer.gemini.com/developers)
- **API Reference:** [https://developer.gemini.com/api-reference](https://developer.gemini.com/api-reference)
- **Specification Catalog:** [https://developer.gemini.com/specs/index.json](https://developer.gemini.com/specs/index.json)
- **REST OpenAPI contract:** [https://developer.gemini.com/api/openapi.yaml](https://developer.gemini.com/api/openapi.yaml)
- **Developer Tools & MCP Server:** [https://developer.gemini.com/tools](https://developer.gemini.com/tools)
- **Agent Card:** [https://developer.gemini.com/.well-known/agent-card.json](https://developer.gemini.com/.well-known/agent-card.json)
- **Agent Skills Index:** [https://developer.gemini.com/.well-known/agent-skills/index.json](https://developer.gemini.com/.well-known/agent-skills/index.json)

## Trust & Legal Anchor Pages
- **About this documentation:** [https://developer.gemini.com/about](https://developer.gemini.com/about)
- **Developer support:** [https://developer.gemini.com/contact](https://developer.gemini.com/contact)
- **Documentation privacy:** [https://developer.gemini.com/privacy](https://developer.gemini.com/privacy)
- **About Gemini:** [https://www.gemini.com/about](https://www.gemini.com/about)
- **Privacy Policy:** [https://www.gemini.com/legal/privacy-policy](https://www.gemini.com/legal/privacy-policy)
- **User Agreement:** [https://www.gemini.com/terms](https://www.gemini.com/terms)
- **Support:** [https://support.gemini.com](https://support.gemini.com)
