# AllowedBy > AllowedBy lets AI agents act on web apps with a person's approval: the person taps a passkey on a page of their own node, and the app verifies that approval offline on every request. Agents never hold the person's password, API key or OAuth token. Every page is also Markdown: add `.md` to its address. A model that integrates AllowedBy in one language needs one file: the bundle of that language below. An MCP server with search is at https://docs.allowedby.com/mcp. ## One file per language - [Python](https://docs.allowedby.com/llms/python.txt): everything needed to accept agents in Python - [JavaScript](https://docs.allowedby.com/llms/js.txt): everything needed to accept agents in JavaScript - [Go](https://docs.allowedby.com/llms/go.txt): everything needed to accept agents in Go - [Java](https://docs.allowedby.com/llms/java.txt): everything needed to accept agents in Java - [C#](https://docs.allowedby.com/llms/dotnet.txt): everything needed to accept agents in C# - [PHP](https://docs.allowedby.com/llms/php.txt): everything needed to accept agents in PHP - [Ruby](https://docs.allowedby.com/llms/ruby.txt): everything needed to accept agents in Ruby - [Rust](https://docs.allowedby.com/llms/rust.txt): everything needed to accept agents in Rust ## Get started - [AllowedBy documentation](https://docs.allowedby.com/index.md): Let AI agents use your app, with a person's approval on every action that needs one. Guides, recipes in eight languages, reference, and a live demo. - [Quickstart](https://docs.allowedby.com/quickstart.md): Protect an endpoint so that an AI agent needs a person's approval to call it, in about 20 lines, in eight languages. - [How it works](https://docs.allowedby.com/how-it-works.md): The four parties, the three documents and the one algorithm behind an approved agent request. - [Try it live](https://docs.allowedby.com/try.md): Run a real agent against the live demo, read every request it sends, and approve with your own passkey. - [Build with an AI assistant](https://docs.allowedby.com/ai.md): Give Claude, Cursor or any coding assistant the AllowedBy documentation, so that it integrates it correctly. ## Recipes - [Recipes](https://docs.allowedby.com/recipes.md): Short, complete answers to common tasks, in eight languages, each run against a real node on every version. - [Quickstart](https://docs.allowedby.com/recipes/quickstart.md): A whole app that lets agents in with the person's approval. - [See which agent is calling](https://docs.allowedby.com/recipes/identify.md): Know the agent and its verified operator, before any person is involved. - [Let an agent read](https://docs.allowedby.com/recipes/read.md): The person approves once with a passkey; the approval is reused until it expires or they withdraw it. - [Let an agent write](https://docs.allowedby.com/recipes/write.md): A change the person can undo: one approval, reused like a read. - [Ask before deleting](https://docs.allowedby.com/recipes/delete.md): A change that is hard to undo: your app asks the person for that exact request, and the approval works once. - [Take a payment](https://docs.allowedby.com/recipes/pay.md): The person approves the amount and the payee; any other amount or payee is refused. - [Take a high-value payment](https://docs.allowedby.com/recipes/pay-high.md): Level 3: a verified identity and a hardware passkey. Anything weaker is refused. - [Set a spending limit](https://docs.allowedby.com/recipes/spend-limit.md): The person approves an amount per month once; the SDK keeps the total and refuses what goes over. - [Start and cancel a subscription](https://docs.allowedby.com/recipes/subscribe.md): The person approves the plan and its monthly price once; you charge it until they cancel. - [Accept a sub-agent](https://docs.allowedby.com/recipes/delegate.md): An agent hands a sub-agent part of its approval, never more, and it ends when the person withdraws the first. - [Let the person withdraw](https://docs.allowedby.com/recipes/withdraw.md): The person takes an approval back on their node; your app refuses it from the next refresh. - [Serve only the person's own data](https://docs.allowedby.com/recipes/own-data.md): human_id is the same person every time at your app: look their data up with it. - [Refuse in your own handler](https://docs.allowedby.com/recipes/refuse.md): Your rules still apply: the agent receives your status and your JSON, and can correct itself. - [Sell to a company](https://docs.allowedby.com/recipes/mandate.md): An employee approves for their company, within the mandate it gave them. - [Ask for personal data](https://docs.allowedby.com/recipes/personal-data.md): The person shares what they choose, encrypted to your app. The agent never sees it. - [Serve several customers](https://docs.allowedby.com/recipes/tenants.md): Each customer account has its own approvals, and can tighten your rules. - [Require two people](https://docs.allowedby.com/recipes/two-approvers.md): Two people of a group approve the same action, each with their own passkey. - [Test your app](https://docs.allowedby.com/recipes/test.md): Run your app's tests without a browser, a phone or a node. ## Guides - [Deploy AllowedBy in your SaaS app](https://docs.allowedby.com/guides/accept-agents.md) - [Convert an existing API](https://docs.allowedby.com/guides/convert-an-api.md): Which endpoints agents may call, which class and level each one gets, how to name capabilities and resources, where the middleware goes, and where it must not. - [Apps that use Auth0, Okta, Cognito or another sign-in provider](https://docs.allowedby.com/guides/existing-sign-in.md): What changes when your users sign in through a provider and agents come through AllowedBy: identities, linking, routes, sign-out and blocking, companies, audit. - [Build an agent](https://docs.allowedby.com/guides/build-an-agent.md): Give your agent a passport, let it ask a person for approval, and call any app that accepts AllowedBy. - [Use AllowedBy as a person or a company](https://docs.allowedby.com/guides/use-allowedby.md) - [AllowedBy error codes](https://docs.allowedby.com/errors.md): Every refusal an AllowedBy service can answer: the code, its HTTP status, what it means and what to do. ## SDKs - [AllowedBy Python SDK](https://docs.allowedby.com/sdk/python.md): Let AI agents call your Python API with a person's approval, and make your Python agent call AllowedBy APIs. - [AllowedBy SDK for TypeScript and JavaScript](https://docs.allowedby.com/sdk/js.md): Let AI agents call your Node.js, Bun, Deno or Cloudflare Workers API with a person's approval, verified offline on every request. - [AllowedBy Go SDK](https://docs.allowedby.com/sdk/go.md): Accept AI agents in a Go service with a person's approval, verified offline on every request. - [AllowedBy Java / Kotlin SDK](https://docs.allowedby.com/sdk/java.md): Let AI agents call your Java or Kotlin service with a person's approval, verified offline on every request. - [AllowedBy SDK for C# and .NET](https://docs.allowedby.com/sdk/dotnet.md): Let AI agents call your ASP.NET Core API for a person, with that person's approval, verified offline on every request. - [AllowedBy PHP SDK guide](https://docs.allowedby.com/sdk/php.md): Accept AI agents in a PHP API with a person's approval, verified offline on every request, with PSR-15, Laravel or Symfony. - [AllowedBy Ruby SDK](https://docs.allowedby.com/sdk/ruby.md): Accept AI agents that act for a person in a Ruby web app, with a Rack middleware and a Rails integration that verify every AllowedBy request offline. - [AllowedBy Rust SDK guide](https://docs.allowedby.com/sdk/rust.md): Accept AI agents in a Rust API (axum, tower, actix-web) with a person's approval, every request verified offline. ## Reference - [Service API](https://docs.allowedby.com/reference/service-api.md) - [Node API](https://docs.allowedby.com/reference/node-api.md) - [MCP server](https://docs.allowedby.com/reference/mcp.md) - [Python SDK](https://docs.allowedby.com/reference/python.md) - [TypeScript and JavaScript SDK](https://docs.allowedby.com/reference/js.md) - [Go SDK](https://docs.allowedby.com/reference/go.md) - [Java and Kotlin SDK](https://docs.allowedby.com/reference/java.md) - [C# and .NET SDK](https://docs.allowedby.com/reference/dotnet.md) - [PHP SDK](https://docs.allowedby.com/reference/php.md) - [Ruby SDK](https://docs.allowedby.com/reference/ruby.md) - [Rust SDK](https://docs.allowedby.com/reference/rust.md) ## Trust - [Test results](https://docs.allowedby.com/status.md): What was run in every language, on which commit, and a live run you can start yourself. - [How AllowedBy is tested](https://docs.allowedby.com/assurance.md): Every guarantee AllowedBy makes, the test that proves it, the CI job that runs it, and what is not covered. - [AllowedBy test vectors (v0.2.14-draft)](https://docs.allowedby.com/vectors.md) ## Standard - [AllowedBy — Specification Set](https://docs.allowedby.com/specs.md) - [ARCH-1 — Product and Technical Architecture](https://docs.allowedby.com/specs/ARCH-1-architecture.md) - [OAID-1 — Core: Terminology, Identifiers, Cryptography, Encodings](https://docs.allowedby.com/specs/OAID-1-core.md) - [OAID-2 — Node: Statement, Discovery, Endpoints](https://docs.allowedby.com/specs/OAID-2-node.md) - [OAID-3 — Passport: Format, Issuance, Renewal, Revocation](https://docs.allowedby.com/specs/OAID-3-passport.md) - [OAID-4 — Transparency Log and Witnessing](https://docs.allowedby.com/specs/OAID-4-log.md) - [OAID-5 — Trust Lists, Vouching, Trust Programs](https://docs.allowedby.com/specs/OAID-5-trust.md) - [OAID-6 — Key Custody Tiers and Attestation](https://docs.allowedby.com/specs/OAID-6-custody.md) - [OAID-7 — Identity Assurance Levels, Human Registration, Authority](https://docs.allowedby.com/specs/OAID-7-levels.md) - [ABY-1 — Grant: Format, Human Signature, Delegation, Lifecycle](https://docs.allowedby.com/specs/ABY-1-grant.md) - [ABY-2 — HTTP Envelope, Proof, Challenge](https://docs.allowedby.com/specs/ABY-2-http.md) - [ABY-3 — Capability Model](https://docs.allowedby.com/specs/ABY-3-capabilities.md) - [AMH-1 — Approval Flow and Page](https://docs.allowedby.com/specs/AMH-1-approval.md) - [ORG-1 — Organisations: Profile, Provider Setup, Personal Data, Budgets, Fleets](https://docs.allowedby.com/specs/ORG-1-organisations.md) - [CONF-1 — Conformance Profiles and Test Vectors](https://docs.allowedby.com/specs/CONF-1-conformance.md)