> For the complete documentation index, see [llms.txt](https://docs.grandprotocol.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.grandprotocol.org/readme.md).

# Introduction

**The payment rail for autonomous AI agents.**

Grand Protocol is the unified payment layer for AI agents. It routes payments across the x402 and MPP protocols, settles every transaction on Robinhood Chain, and gives every agent a non-custodial wallet. One API call handles the rest.

***

## What is Grand Protocol?

AI agents are spending money. They rent compute, call APIs, browse the web, and pay other agents for services. The infrastructure to support this is fragmented: two major protocols are competing for the standard, settlement happens across multiple chains, and developers are rebuilding payment logic from scratch for every project.

Grand Protocol solves this at the infrastructure level. It provides:

* **A universal payment router** that detects whether a service requires x402 or MPP and handles the full payment handshake automatically
* **Non-custodial agent wallets** on Robinhood Chain, provisioned in one line of code
* **Spend policies** enforced at the gateway before any funds leave the wallet
* **On-chain settlement** for every payment, regardless of protocol, with a public Robinhood Chain transaction hash
* **Multi-agent payment chains** where every sub-agent payment is linked to the parent transaction on-chain

Grand Protocol does not build agents, choose AI models, or lock you into proprietary formats. It is payment infrastructure. Fast, transparent, and out of the way.

***

## Documentation

[Quickstart](/getting-started/quickstart.md)

[Installation](/getting-started/installation.md)

[Your First Payment](/getting-started/your-first-payment.md)

[x402 Protocol](/protocols/x402.md)

[MPP Protocol](/protocols/mpp.md)

[Payment Router](/features/payment-router.md)

[Agent Wallets](/features/agent-wallets.md)

[Spend Policies](/features/spend-policies.md)

[Multi-Agent Payments](/features/multi-agent-payments.md)

[Observability](/features/observability.md)

[Architecture](/platform/architecture.md)

[Security](/platform/security.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.grandprotocol.org/readme.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
