# Documentation - [Lit Protocol](https://docs.dev.litprotocol.com/index.md): One programmable runtime for everything between an event and a signed action. Read from any source, compute inside a chain-secured TEE, write to any chain or API — with no backend to trust. - [Quick Start](https://docs.dev.litprotocol.com/quickstart.md): Go from zero to a running Lit Action in a few minutes using the Lit Dashboard or the REST API. - [Glossary](https://docs.dev.litprotocol.com/glossary.md): One definition for each term in the Lit docs, with the other names you may see for it in the API, the contracts, and older pages. - [Guides](https://docs.dev.litprotocol.com/guides/index.md): Step-by-step answers to common questions about building with Lit, with links to the full guides. - [API Keys](https://docs.dev.litprotocol.com/management/api_keys.md): Understanding account keys and usage keys in Lit Chipotle. - [Dashboard](https://docs.dev.litprotocol.com/management/dashboard.md): Create an account, add funds, manage keys, wallets, groups and actions, and run Lit Actions from your browser. - [API](https://docs.dev.litprotocol.com/management/api_direct.md): Using the API directly to configure Chipotle and execute actions. - [API Mode vs ChainSecured Mode](https://docs.dev.litprotocol.com/management/account_modes.md): How the two account ownership models differ, when to choose each, and how to move from API mode to ChainSecured. - [Pricing](https://docs.dev.litprotocol.com/management/pricing.md): Credit-based pricing for Lit Chipotle — management operations, Lit Action execution, and how to top up your account. - [Crypto Payments](https://docs.dev.litprotocol.com/management/crypto.md): How to add funds to your Lit Chipotle account using cryptocurrency via Stripe. - [LITKEY](https://docs.dev.litprotocol.com/management/litkey.md): The LITKEY token — pay for Lit Protocol services on-chain and get a 25% discount over credit card. - [Errors](https://docs.dev.litprotocol.com/management/errors.md): Every error status the API returns, what causes it, and how to fix it. - [Overview](https://docs.dev.litprotocol.com/lit-actions/index.md): Lit Actions are immutable JavaScript programs identified by their IPFS CID and executed inside the Lit network's TEE. They can sign with PKP wallets or with their own code-bound key, encrypt and decrypt secrets, and make HTTP requests — all verifiably. - [Module Imports](https://docs.dev.litprotocol.com/lit-actions/imports.md): Lit Actions can now import third-party ESM packages directly from jsDelivr. Every import is pinned to an exact version and verified with SHA-384 integrity hashes before any code reaches the runtime. - [WebAssembly (WASM)](https://docs.dev.litprotocol.com/lit-actions/wasm.md): Lit Actions can load and run WebAssembly in the runtime — so real cryptography (threshold ECDSA, ZK), parsers, and anything compiled from Rust, C, C++, or Go runs inside the action. - [Examples](https://docs.dev.litprotocol.com/lit-actions/examples.md): Common Lit Action patterns covering signing, encryption, decryption, HTTP fetching, contract calls, sending ETH, gating ERC-20 transfers on sanctions data, multi-source price oracles, AI-consensus prediction-market resolution, permissionless cross-chain token bridging, non-custodial threshold-ECDSA… - [Patterns](https://docs.dev.litprotocol.com/lit-actions/patterns.md): Common design patterns for Lit Actions: writing gating logic in plain JavaScript, using action-identity signing to produce immutable proofs, and structuring encrypt/decrypt flows around PKP wallets. - [Derived Actions](https://docs.dev.litprotocol.com/lit-actions/derived-actions.md): Stamp a small config object into an audited action template to mint a new immutable action — and a new TEE-held key — per user, per secret, or per tenant. No PKP to mint, no IPFS upload, one audit for every instance. - [Signed Data in Untrusted Storage](https://docs.dev.litprotocol.com/lit-actions/signed-storage.md): Let a Lit Action sign the records your app stores, then have other actions fetch and verify them at runtime. Your database becomes a dumb, replaceable cache: it can go down or be rolled back, but it can never forge a permission. - [Secrets](https://docs.dev.litprotocol.com/lit-actions/secrets.md): How to use secrets — API keys, tokens, credentials — inside a Lit Action. The PKP-as-vault model, the encrypt-once / decrypt-at-runtime lifecycle, where to store ciphertexts, and how to rotate. - [Limits](https://docs.dev.litprotocol.com/lit-actions/limits.md): Default resource limits for Lit Actions on the Chipotle network. - [Changes](https://docs.dev.litprotocol.com/lit-actions/migration/changes.md) - [Encryption & Decryption](https://docs.dev.litprotocol.com/lit-actions/migration/encryption.md): How encryption and decryption work in Chipotle compared to the official Lit SDK's access-control-conditions approach. - [Overview](https://docs.dev.litprotocol.com/lit-triggers/index.md): Lit Triggers runs a Lit Action when something happens — an inbound webhook, a cron tick, or a matching EVM chain event — turning an action into an autonomous, event-driven agent that can fetch data, sign, and transact with a key no human holds. - [Creating Triggers](https://docs.dev.litprotocol.com/lit-triggers/triggers.md): Authorize access, create webhook / schedule / chain-event triggers, fire them, and inspect run history against the Lit Triggers API. - [Examples](https://docs.dev.litprotocol.com/lit-triggers/examples.md): Copy-paste Lit Action examples for triggers — echo a webhook payload, notarize it with a keyless signature — plus links to full runnable demos with contracts, setup, and end-to-end clients. - [Overview](https://docs.dev.litprotocol.com/architecture/index.md): How Lit Chipotle's three composable layers — TEE enclave, on-chain permissions, and IPFS — work together to provide programmable key management. - [Chain Secured](https://docs.dev.litprotocol.com/architecture/chain-secured.md): A key's authority lives in smart contracts on Base, and an attested TEE enforces those rules by reading the chain — on-chain authority, signing at API speed. - [Authentication Model](https://docs.dev.litprotocol.com/architecture/authModel.md): How accounts, API keys, PKPs, groups, and the TEE root key compose into a programmable KMS — and how API mode vs ChainSecured mode emerges from configuration. - [Groups](https://docs.dev.litprotocol.com/architecture/groups.md): How groups organize wallets, actions, and usage keys in Lit Chipotle. - [Entity Relationships](https://docs.dev.litprotocol.com/architecture/diagram.md): Entity relationships, on-chain vs TEE boundaries, and how API mode vs ChainSecured mode emerges from configuration. - [Security & Verification](https://docs.dev.litprotocol.com/architecture/verification/index.md): How to verify that your connection to Lit Chipotle terminates inside a genuine TEE running unmodified code. - [What Is Attestation?](https://docs.dev.litprotocol.com/architecture/verification/attestation.md): A plain-English explanation of remote attestation: what a TEE proves, what an attestation quote is, and how a stranger turns 'I received a quote' into 'I can trust this server' — without trusting Lit or the cloud provider. - [Verify in 30 Seconds](https://docs.dev.litprotocol.com/architecture/verification/quick-verify.md): View the Phala Trust Center report, inspect API metadata and on-chain policy, and learn what full attestation and TLS verification requires. - [On-Chain KMS](https://docs.dev.litprotocol.com/architecture/verification/onchain-kms.md): How Lit Chipotle's root keys are gated by smart contracts on Base — not by Phala or Lit — and how to verify the KMS is active and configured correctly. - [Upgrade Governance](https://docs.dev.litprotocol.com/architecture/verification/upgrade-governance.md): How a new Lit Chipotle release is approved before it can run: the two independent actions every upgrade requires, the Safe multisig that gates it, what signers verify before approving, and how a self-hoster governs releases on their own terms. - [Chain of Trust Reference](https://docs.dev.litprotocol.com/architecture/verification/chain-of-trust.md): What each verification layer checks and why it matters — application, platform, network, and governance. - [Full Verification Guide](https://docs.dev.litprotocol.com/architecture/verification/full-verification.md): Chipotle-specific verification layers and diagnostic examples, with links to Phala’s authoritative production verification instructions. - [Bug Bounty Program](https://docs.dev.litprotocol.com/architecture/verification/bug-bounty.md): How to report security vulnerabilities in Lit Chipotle, what is in and out of scope, the rules of engagement, and how rewards work. - [Self-Hosting](https://docs.dev.litprotocol.com/architecture/self-hosting.md): How to think about self-hosting Lit Chipotle, what is open source, and the operational tradeoffs compared with the hosted service. - [Lit Actions SDK](https://docs.dev.litprotocol.com/lit-actions/chipotle.md) - [Overview](https://docs.dev.litprotocol.com/keychain/index.md): Lit Agent Keychain gives AI agents scoped, revocable access to API keys and credentials. You encrypt each secret in your browser, approve specific agent public keys, and Lit's hardware enclaves check your signed approval on every request. Nobody else can grant access, not even the operator. - [Quickstart](https://docs.dev.litprotocol.com/keychain/quickstart.md): Store a secret in Lit Agent Keychain, approve an agent's public key, and read it from Node, the CLI or an MCP client such as Claude Code. - [SDK, CLI and MCP](https://docs.dev.litprotocol.com/keychain/agents.md): Reference for the agent side of Lit Agent Keychain: the @lit-protocol/keychain SDK, the keychain CLI, the local MCP server, the three credential artifacts, and what every refusal message means. - [Connected services](https://docs.dev.litprotocol.com/keychain/connected-services.md): Connected services let an agent use a credential inside the Lit enclave without ever receiving it: one reviewed action per provider, pinned hosts, bounded results. Stripe, OpenAI, GitHub, Slack and Supabase today; contributions welcome. - [Sign-in and recovery](https://docs.dev.litprotocol.com/keychain/sign-in-and-recovery.md): How Google, wallet and passkey sign-in work in Lit Agent Keychain, the custody tradeoff each one makes, and how to add a second owner credential and back up a vault before you need to. - [Security model](https://docs.dev.litprotocol.com/keychain/security.md): What Lit Agent Keychain's cryptography enforces, what the operator can see and do, how the derived action key model works, how the Lit endpoint is attested, and the honest limits of revocation. This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.