# Integra Agentic Terms > Before an agent's wallet signs, the buyer gate confirms that the record a seller serves hashes to the value the payment will carry. TypeScript, Python and MCP. Packages: @integraledger/terms (https://www.npmjs.com/package/@integraledger/terms), @integraledger/terms-mcp (https://www.npmjs.com/package/@integraledger/terms-mcp), integraledger-terms (https://pypi.org/project/integraledger-terms/). Source: https://github.com/IntegraLedger/integra-agentic-terms. Each link below is the page as Markdown. The same page as HTML is the link without `.md`, and a request there whose Accept header prefers `text/markdown` gets the Markdown too. - Every page as one Markdown file: https://agenticterms.integraledger.com/llms-full.txt ## Documentation - [Introduction](https://agenticterms.integraledger.com/index.md): The buyer gate confirms that the record a seller serves hashes to the value a payment will carry, before an agent's wallet signs anything. - [Getting started](https://agenticterms.integraledger.com/getting-started.md): Install the buyer gate, pay a seller's x402 request only when the served ATR matches its hash, and watch the gate refuse a tampered record. - [Concepts](https://agenticterms.integraledger.com/concepts.md): The record, its hash, how the hash rides in a payment, and the one check the buyer gate makes before anything is signed. - [Security model](https://agenticterms.integraledger.com/security-model.md): What the buyer gate guarantees, how each guarantee is enforced in the code, and what it leaves to you. ## Guides - [Pay with the gate](https://agenticterms.integraledger.com/guides/pay-with-the-gate.md): Compare, then build and sign, then finish. One call with transact, or two with confirm and finish when your signer lives elsewhere. - [Signers](https://agenticterms.integraledger.com/guides/signers.md): The signer contract, every kind of signing request the gate hands out, and the answer each one takes. - [Agreement payments](https://agenticterms.integraledger.com/guides/agreement-payments.md): For a payment that is not itself a public proof of H, the buyer's agent approves a small agreement payment that carries H, and transact signs the payment for the resource only after its receipt. - [Channels and sessions](https://agenticterms.integraledger.com/guides/channels-and-sessions.md): One ATR for a whole channel or session. Compare once at the opening, keep a hold, and sign every later voucher from it. - [Keeping the record](https://agenticterms.integraledger.com/guides/keeping-the-record.md): What to keep after a payment, how to confirm later that a payment carries the hash of the record you kept, and what to do with a moved payment. - [Rails](https://agenticterms.integraledger.com/guides/rails.md): What each rail needs from the buyer — the account form, the signing request, and the inputs the build reads. - [MCP server](https://agenticterms.integraledger.com/guides/mcp.md): Give any MCP client the buyer gate as tools, install the skill that tells the agent how to use them, and serve the tools with your own signer. - [Python](https://agenticterms.integraledger.com/guides/python.md): The Python buyer gate, integraledger-terms — the same rules and the same vectors as the TypeScript gate, with Python names and dataclass results. ## Reference - [TypeScript API](https://agenticterms.integraledger.com/reference/typescript.md): Every export of @integraledger/terms, with its signature and what it returns. - [Python API](https://agenticterms.integraledger.com/reference/python.md): Every export of integraledger_terms, with its signature and what it returns. - [MCP tools and skill](https://agenticterms.integraledger.com/reference/mcp.md): Every tool of @integraledger/terms-mcp, with its arguments, results and annotations, and the skill that ships with it. - [Pairings](https://agenticterms.integraledger.com/reference/pairings.md): Every pairing the gate pays, with its binding, its imports in each language, and what its payment proves. - [Declines](https://agenticterms.integraledger.com/reference/declines.md): Every decline code the gate returns, what it means, what was and was not done, and the detail codes it carries. - [Vectors](https://agenticterms.integraledger.com/reference/vectors.md): The shared test cases that fix the gate's rules byte for byte, and how both gates run them. ## @integraledger/terms - [@integraledger/terms](https://agenticterms.integraledger.com/api/terms.md): Generated from the TypeScript source by TypeDoc. ## @integraledger/terms-mcp - [@integraledger/terms-mcp](https://agenticterms.integraledger.com/api/terms-mcp.md): Generated from the TypeScript source by TypeDoc.