# alloy-docs

> A demonstration copy of the Ferrite developer documentation, running as an application on Ferrite Alloy: the developer docs, the engineering blog, the changelog, the knowledge base and the academy courses, generated from the documentation site, which remains the reference. People and AI assistants can search it and read any page as Markdown, without an account.

Agent-native Ferrite app (labs v1.1.0). Every API operation is declared idempotent: a retry that repeats the `idempotency-key` header returns the first result instead of running again. Errors are RFC 9457 `application/problem+json`. Content routes serve markdown via `Accept: text/markdown` or a `.md` path twin. Responses carry IETF `RateLimit-Limit`, `RateLimit-Remaining`, `RateLimit-Reset`, and `Retry-After` headers; API changes signal `Deprecation` (RFC 9745) and `Sunset` (RFC 8594) headers with at least 90 days notice.

## Pages

- [Ferrite developer docs](https://docs-demo.ferrite.run/): A demonstration copy of the Ferrite developer documentation: docs, blog, changelog, knowledge base and academy.
- [Developer docs](https://docs-demo.ferrite.run/docs): Every developer docs page, in reading order.
- [Build for agents](https://docs-demo.ferrite.run/docs/build-for-agents): Expose your application to your users' assistants with the agent-ready package, under the same authorization rules as your web interface, and verify each served endpoint.
- [Agentic protocols and capabilities](https://docs-demo.ferrite.run/docs/agentic-protocols): Complete technical index of the agentic protocols, discovery formats, MCP extensions, OAuth and Claude Enterprise integrations, App Hub Code Mode, connectors, and verification tools supported on Ferrite.
- [MCP Servers](https://docs-demo.ferrite.run/docs/mcp-servers): Build stateless HTTP MCP servers on Ferrite and offer your application's operations to assistants as bounded tools, through the same handlers as your HTTP routes.
- [Agent-ready apps](https://docs-demo.ferrite.run/docs/agent-native-apps): Expose discovery files, Markdown pages, OpenAPI, MCP tools, an A2A card, and machine-readable pricing from one Surface declaration through your existing handlers.
- [MCP Events](https://docs-demo.ferrite.run/docs/mcp-events): Discover application events, follow changes with polling or push, and resume safely after a disconnect.
- [llms.txt and Markdown twins](https://docs-demo.ferrite.run/docs/llms-txt-markdown): Serve llms.txt, llms-full.txt, .md page twins, Accept: text/markdown content negotiation, robots.txt Content-Signal, and sitemap.xml from one Surface declaration.
- [WebMCP](https://docs-demo.ferrite.run/docs/webmcp): Expose browser-native tools via document.modelContext so assistants running inside a user's browser call your application's HTTP routes under the active session.
- [OpenAPI and structured errors](https://docs-demo.ferrite.run/docs/openapi): Generate an OpenAPI 3.1 API catalogue and RFC 9457 application/problem+json errors directly from your Surface declaration so HTTP clients and agents call your endpoints reliably.
- [Agent Cards and A2A](https://docs-demo.ferrite.run/docs/a2a-agent-cards): Publish an A2A v0.3.0 Agent Card at /.well-known/agent-card.json and serve JSON-RPC agent-to-agent tasks at POST /a2a from your Surface or Agent SDK application.
- [Agent Client Protocol (ACP)](https://docs-demo.ferrite.run/docs/acp): Speak Agent Client Protocol v1 from a constrained Ferrite application so editors and local clients can run agent sessions while keeping filesystem and terminal ownership on the client.
- [Build Claude-enabled apps](https://docs-demo.ferrite.run/docs/claude-apps): Build web and SaaS applications on Ferrite that work natively inside Claude across web, desktop, mobile, Cowork, and Claude Code, for both consumers and enterprise teams.
- [Internal company apps in Claude](https://docs-demo.ferrite.run/docs/claude-internal-apps): Deploy private internal tools on Ferrite and connect your entire Claude Team or Enterprise organization once through Ferrite Apps with Auto-connect.
- [App Hub and Code Mode](https://docs-demo.ferrite.run/docs/app-hub-code-mode): Connect one six-tool MCP endpoint (mcp.ferrite.cloud/apps) to discover, inspect, call, and compose tools across all of your private and shared Ferrite applications inside a sandboxed QuickJS worker.
- [x402 agent payments](https://docs-demo.ferrite.run/docs/x402-payments): Price HTTP API operations for AI assistants using x402 v1 HTTP 402 challenges, X-PAYMENT verification, atomic replay ledgers, and machine-readable /pricing.md discovery.
- [Verify agent readiness](https://docs-demo.ferrite.run/docs/agent-readiness-verification): Audit your live application's agent surface with /.well-known/agent-readiness, the open agent-score, agent-scan, and agent-conformance CLI tools, the MCP compatibility probe, and Web Bot Auth inspection.
- [MCP Tasks](https://docs-demo.ferrite.run/docs/mcp-tasks): Start long-running tools, keep a task handle, reconnect, provide input, and retrieve the final result.
- [Personal Agent Protocol](https://docs-demo.ferrite.run/docs/personal-agent-protocol): Publish Personal Agent Protocol (Poppy 1.0) discovery, per-operation exposure controls, exact-terms approvals, Browser Join, and structured conversations from your agent-ready Surface.
- [WebMCP & OpenAPI](https://docs-demo.ferrite.run/docs/webmcp-openapi): Generate an OpenAPI catalogue from your Surface and expose the same operations as WebMCP tools to the assistant in a user's browser without duplicating domain logic.
- [MCP Skills](https://docs-demo.ferrite.run/docs/mcp-skills): Load Ferrite's own skills over MCP, publish workflow skills from your application, and read skills from another server with verified files.
- [Ask before acting](https://docs-demo.ferrite.run/docs/mcp-elicitation): Let a tool pause to ask the person through a form or a link: what Ferrite's own tools ask, and how to add confirmations to your application's tools.
- [MCP file transfers](https://docs-demo.ferrite.run/docs/mcp-files): Pass files to and from MCP tools without putting their bytes in the conversation: file arguments, upload targets, downloads, and the hosted tools that use them.
- [MCP Apps](https://docs-demo.ferrite.run/docs/mcp-apps): Show an interactive view beside the conversation: serve a ui:// resource from your Ferrite application, link it to a tool, and talk to the host from the page.
- [ChatGPT and Codex apps](https://docs-demo.ferrite.run/docs/chatgpt-codex-apps): Build MCP servers and interactive MCP Apps widgets for ChatGPT and Codex on Ferrite with the gpt-plugins source package, including OAuth challenges, checkout specs, and submission linting.
- [Interactive MCP tools](https://docs-demo.ferrite.run/docs/mcp-interactive-tools): Build MCP tools that confirm, receive files, return files, require sign-in, and finish later, with agent-ready 1.17's call state and file staging.
- [Dashboard WebMCP](https://docs-demo.ferrite.run/docs/dashboard-webmcp): Let the assistant in your browser inspect visitor routes, deployed application versions, and attached resources from the Ferrite dashboard you are already using.
- [Consume MCP Events from an outside source](https://docs-demo.ferrite.run/docs/mcp-event-pair): Deploy a Ferrite emitter and receiver, stream through an independent publisher, and verify replay and signed callbacks.
- [Per-app OAuth (Poppy)](https://docs-demo.ferrite.run/docs/poppy-oauth): Configure isolated per-Company OAuth 2.1 sign-in for Personal Agent Protocol (Poppy 1.0) using an external issuer or the standalone poppy-oauth source package.
- [Dashboard](https://docs-demo.ferrite.run/docs/dashboard): Inspect applications, deployment history, prepaid credit, usage, spending limits, and recovery from the Ferrite Dashboard.
- [Deployments](https://docs-demo.ferrite.run/docs/deployments): Submit source, follow admission and the attested build until the new generation runs, and retrieve the application host.
- [Environments](https://docs-demo.ferrite.run/docs/environments): Develop locally, validate in expiring previews, fork live state safely, and promote immutable releases across named environments.
- [Domains](https://docs-demo.ferrite.run/docs/domains): Bind a domain you own to a Ferrite application. Publish the ownership TXT record, verify the claim, and check HTTPS.
- [Scaling & Releases](https://docs-demo.ferrite.run/docs/scaling-releases): Scale app instances, set autoscale and compute limits, see how scaling changes the bill, inspect immutable application releases, promote deliberately, and recover through rollback.
- [MCP-only Operations](https://docs-demo.ferrite.run/docs/mcp-only-operations): Deploy and operate a Ferrite application over the hosted MCP endpoint alone: read every verdict from the payload, submit source once, reconcile lost replies from rcs_log, and manage builds, trials, and recovery.
- [Accounts](https://docs-demo.ferrite.run/docs/accounts): Make an app private, give a shop customer accounts, or let people play as guests, with one command and no OAuth client.
- [Authentication](https://docs-demo.ferrite.run/docs/authentication): How the auth package verifies sign-in and keeps sessions, and how to use your own GitHub and Google OAuth clients.
- [Sign-in for Alloy applications](https://docs-demo.ferrite.run/docs/authentication-alloy): Gate Ferrite Alloy pages and writer actions with the auth package: propagate auth redirects through AlloyError::reply and submit CSRF-protected HTML forms without client scripts.
- [Authorization](https://docs-demo.ferrite.run/docs/authorization): Separate what your application can reach (enforced by Ferrite from ferrite.json) from what each signed-in user or assistant may do inside it (enforced in your code).
- [Enterprise-managed authorization](https://docs-demo.ferrite.run/docs/enterprise-managed-authorization): Let a company's Claude organization or identity provider grant its members access to Ferrite Apps or your own application's MCP endpoint, without a browser sign-in for each person.
- [Secrets & Egress](https://docs-demo.ferrite.run/docs/secrets-egress): Store write-only secrets, read them from AppContext at runtime, and constrain outbound HTTP traffic to declared HTTPS URL prefixes.
- [Rate limits](https://docs-demo.ferrite.run/docs/rate-limits): Enforce shared route budgets with the http-route-budget package, track per-caller quotas in your store, and check gateway rate-limit status on Ferrite Cloud.
- [Headers & Cookies](https://docs-demo.ferrite.run/docs/headers-cookies): Set response security headers and host-only cookies through IngressReply, forward required request headers, and enforce CSRF and referrer rules within gateway bounds.
- [Choose a data primitive](https://docs-demo.ferrite.run/docs/data): Decide where your application's state lives: Key-value Store, Transactions, Queues, Streams, or Object Storage, with each primitive's primary limit and durability model.
- [Key-value Store](https://docs-demo.ferrite.run/docs/store): Keep application records as keys and byte values with linearizable reads and writes, compare-and-swap, atomic counters, expiry, and ordered prefix scans.
- [Transactions](https://docs-demo.ferrite.run/docs/transactions): Commit one atomic decision across up to 64 keys with the APE service.
- [Queues](https://docs-demo.ferrite.run/docs/queues): Hand work to competing consumers with leases, delayed delivery, attempt budgets, dead-letter queues, and ordered keys.
- [Streams](https://docs-demo.ferrite.run/docs/streams): Append ordered events to a stored log, read them back by offset, and let consumers resume from saved checkpoints.
- [Object Storage](https://docs-demo.ferrite.run/docs/object-storage): Store files under keys you choose, verify integrity on every read, chunk objects larger than 16 MiB, and serve public assets through content routes.
- [Large uploads](https://docs-demo.ferrite.run/docs/large-uploads): Take files of up to 64 MiB straight into your application's Object Storage with an upload route that your own code authorizes before a byte is read.
- [Search](https://docs-demo.ferrite.run/docs/search): How to handle exact-term lookup and relevance-ranked search on Ferrite today.
- [Agent brief](https://docs-demo.ferrite.run/docs/agent-brief): The ten operational rules an agent needs before building on Ferrite: cost disclosure, the build loop, dependencies, tests, secrets, sign-in, deploys, docs, limits, and trials.
- [Ferrite](https://docs-demo.ferrite.run/docs/overview): An application platform for backend software written by coding agents, where each app reaches only the stores, queues, routes, secrets, and outbound destinations declared in ferrite.json.
- [Quickstart](https://docs-demo.ferrite.run/docs/quickstart): Create a Ferrite web app, run it locally with live reload, verify it against platform rules, and deploy it.
- [Build an app with a coding agent](https://docs-demo.ferrite.run/docs/colleague-preview): Install Ferrite, describe the app you want, deploy it, and claim its account.
- [What bounds an app your agent writes](https://docs-demo.ferrite.run/docs/why-it-is-safe): How Ferrite isolates applications written by coding agents, layer by layer: declared capabilities, OS containment, prepaid spend bounds, and what stays in your code.
- [Ferrite apps with the Ferrite CLI](https://docs-demo.ferrite.run/docs/cli): Create, check, run, test, and deploy Ferrite apps from one local workflow, and see where control-plane work moves to MCP.
- [Set up coding agents](https://docs-demo.ferrite.run/docs/plugin): Install the Ferrite CLI and connect supported coding agents to Ferrite MCP with one shared login.
- [Use Ferrite in Claude](https://docs-demo.ferrite.run/docs/claude): Connect claude.ai, the Claude desktop and mobile apps, Cowork, or Claude Code to Ferrite for building apps or using your personal and company apps.
- [Connect any agent to your Ferrite account](https://docs-demo.ferrite.run/docs/connect-any-agent): Paste one prompt into any agent, from a coding agent with a terminal to a chat app on your phone, start a trial without signing up, and bring every later agent into the same Ferrite account.
- [Agents Ferrite works with](https://docs-demo.ferrite.run/docs/works-with): Which coding agents and chat apps have been run against Ferrite Cloud, what was run in each, and the date of the run.
- [Agents](https://docs-demo.ferrite.run/docs/agents): How agents fit on Ferrite: coding agents that build and operate applications, product agents running inside your app with the agent SDK, and applications your users' assistants can call.
- [Agent SDK](https://docs-demo.ferrite.run/docs/agent-sdk): Write an agent as a Rust function inside your Ferrite application: compose hooks for models, tools, skills, subagents, MCP connections, a workspace, and structured results.
- [Agent Runtime](https://docs-demo.ferrite.run/docs/agent-runtime): How the agent SDK executes an agent on Ferrite: the session log on APE, the workspace on Blob and Store, idempotent submissions, compaction, crash recovery, and egress model transport to the AI gateway.
- [Agent API & Protocols](https://docs-demo.ferrite.run/docs/agent-api): Call your deployed agent over the thread API, Agents API, SSE streams, MCP, ACP, or A2A, backed by one durable session store and one fail-closed client token.
- [ferrite-agents app](https://docs-demo.ferrite.run/docs/agents-app): The reference application on the agent SDK: two agents, the ferrite.json manifest, required secrets, billing paths, and deployment verification.
- [Agent Channels](https://docs-demo.ferrite.run/docs/agent-channels): Connect GitHub comments, Slack mentions, scheduled jobs, or any signed webhook to your agent by verifying the request, naming the conversation, dispatching a signal, and replying through a bound tool.
- [AI Gateway](https://docs-demo.ferrite.run/docs/ai-gateway): One Responses API for configured model providers: catalog model IDs, Ferrite tokens or inference keys, spend caps, calendar budgets, rate limits, BYOK, explicit fallback, streaming, stored responses, and usage evidence.
- [Agent Samples](https://docs-demo.ferrite.run/docs/agent-samples): Copyable Rust patterns and Flue-to-Agent-SDK equivalents covering hooks, conditional tools, model escalation, phase machines, workspaces, channels, schedules, and evals.
- [Governed outbound connectors](https://docs-demo.ferrite.run/docs/governed-connectors): Connect your Ferrite applications and embedded agents to GitHub, Google, Linear, and Slack using scoped capability grants, digest-bound write approvals, and a resident credential vault.
- [Ferrite Alloy](https://docs-demo.ferrite.run/docs/alloy): A Rust web framework for Ferrite: URL routing, tag-invalidated cached loaders, replay-safe actions, HTML documents, and an optional typed React front end.
- [Alloy Quickstart](https://docs-demo.ferrite.run/docs/alloy-quickstart): Scaffold a server-rendered Ferrite Alloy app with ferrite new alloy, run it locally, deploy it, and optionally add a generated TypeScript contract and a React front end.
- [Alloy Routing](https://docs-demo.ferrite.run/docs/alloy-routing): Route patterns, specificity, render modes, declarative redirects, per-route response headers, method handling, and typed hrefs in Ferrite Alloy.
- [Alloy Data & Caching](https://docs-demo.ferrite.run/docs/alloy-data): Cached loaders with three freshness windows, named cache profiles, tag-epoch invalidation, draft mode, bounded reads, and version-skew protection.
- [Alloy Actions & Effects](https://docs-demo.ferrite.run/docs/alloy-actions): Replay-safe mutations in Ferrite Alloy: idempotency markers, action stamps, mount-point authority, CSRF origin checks, the outbox, and sagas.
- [Alloy Documents & Assets](https://docs-demo.ferrite.run/docs/alloy-documents): How Ferrite Alloy assembles HTML documents in Rust: the shell model, head metadata, CSP nonces, escaping guarantees, the asset pipeline, and public caching.
- [Alloy Next.js Adapter](https://docs-demo.ferrite.run/docs/alloy-next): What the Alloy Next.js adapter does, why it is not distributed, and what an Alloy front end can use instead.
- [Alloy Testing & Gates](https://docs-demo.ferrite.run/docs/alloy-testing): How to verify a Ferrite Alloy app: its own tests against the local harness, the checks the contract generator performs, and the seams worth checking by hand.
- [Functions](https://docs-demo.ferrite.run/docs/functions): Run your application code as a supervised process with only the storage, queues, routes, outbound destinations, and secrets declared for it.
- [Routing](https://docs-demo.ferrite.run/docs/routing): Map public paths to declared bindings for static content, HTTP APIs, file uploads, WebSockets, server-sent event streams, and gRPC services.
- [Cron Jobs](https://docs-demo.ferrite.run/docs/cron-jobs): Schedule one-time and recurring work with delayed queue messages that stay durable in the queue until their due time.
- [Workflows](https://docs-demo.ferrite.run/docs/workflows): Compose long-running, retry-safe multi-step workflows from Ferrite queues, stored state, transactions, and streams.
- [Webhooks](https://docs-demo.ferrite.run/docs/webhooks): Receive provider events on an api route by forwarding the signature header, verifying the raw body, recording event IDs atomically, and bounding traffic in your handler.
- [Build TanStack Start apps on Ferrite](https://docs-demo.ferrite.run/docs/tanstack-start): Compile an unmodified TanStack Start build into a single constrained Ferrite application with prerendered pages, an SPA shell, nitro route rules, and bounded QuickJS server functions.
- [Ferrite Rsx](https://docs-demo.ferrite.run/docs/rsx): Build server-first Ferrite applications with file-convention routes, escape-safe .rsx templates compiled to plain Rust, client islands, live regions, and replay-safe actions.
- [TanStack Start on Ferrite for agents](https://docs-demo.ferrite.run/docs/tanstack-start-agents): Complete instruction set for a coding agent building a TanStack Start app on Ferrite: exact commands, file ownership, verification bar, refusal messages, and runtime boundaries.
- [Apps](https://docs-demo.ferrite.run/docs/apps): Reference applications on Ferrite across commerce, booking, support, compliance, frameworks, and agents, with the features and packages behind each pattern.
- [Samples](https://docs-demo.ferrite.run/docs/samples): Ten Ferrite sample packs for commerce, support, content, IoT, billing, compliance, collaboration, scheduling, workflows, and releases, and the primitive behind each effect.
- [Packages](https://docs-demo.ferrite.run/docs/packages): Install shared Ferrite source into an application with ferrite add: resolution, signature and digest checks, MCP usage without a shell, and the published package catalog.
- [Logs and observability](https://docs-demo.ferrite.run/docs/logs): Inspect captured stdout and stderr tails, account notifications, structured tracing events, and gateway usage totals, and understand what each record retains.
- [Analytics and usage](https://docs-demo.ferrite.run/docs/analytics): Read cumulative application usage, 35-day daily traffic, prepaid account statements, and AI gateway attribution without treating missing telemetry as zero.
- [Reliability](https://docs-demo.ferrite.run/docs/reliability): Understand what Ferrite handles during instance and host failures, and build handlers, queues, and recovery paths that survive at-least-once delivery.
- [App Manifest](https://docs-demo.ferrite.run/docs/app-manifest): Declare an application's services, bindings, routes, compute limits, and outbound destinations in ferrite.json.
- [CLI Commands](https://docs-demo.ferrite.run/docs/cli-commands): Reference for every ferrite CLI command, subcommand, flag, exit code, and environment variable.
- [Rust SDK](https://docs-demo.ferrite.run/docs/rust-sdk): Use AppContext, service handles, ingress envelopes, clocks, secrets, notifications, and outbound HTTP in Ferrite Rust applications.
- [Limits](https://docs-demo.ferrite.run/docs/limits): Manifest, source, request, payload, trial, and account balance limits enforced by Ferrite.
- [Glossary](https://docs-demo.ferrite.run/docs/glossary): Definitions of the terms used across Ferrite applications, manifests, deployments, and data services.
- [Knowledge base](https://docs-demo.ferrite.run/kb): Every knowledge base page, in reading order.
- [Custom domains and TLS](https://docs-demo.ferrite.run/kb/guide/custom-domains-and-tls): Connect a domain you own to your app with CNAME and TXT records. Ferrite obtains and renews the TLS certificate.
- [Find your app's URL](https://docs-demo.ferrite.run/kb/guide/find-your-app-url): Run ferrite host before deploying, read the host line from ferrite deploy output, or call list_apps through MCP to find any deployed app's HTTPS URL.
- [Fix sign-in problems](https://docs-demo.ferrite.run/kb/guide/fix-sign-in-problems): Identify which Ferrite sign-in layer failed (dashboard, CLI and MCP, or your own app) and fix that layer without creating a second account.
- [Markdown twins and llms.txt on Ferrite](https://docs-demo.ferrite.run/kb/guide/md-twins-and-llms-txt): Serve Markdown page twins, llms.txt, sitemaps, and MCP discovery endpoints from a single Surface declaration using the agent-ready source package.
- [Pricing, usage and credits](https://docs-demo.ferrite.run/kb/guide/usage-and-credits): Check app pricing with estimate_cost, read charges on your statement, and find billing support when credit purchases are disabled.
- [Check which account you are using](https://docs-demo.ferrite.run/kb/guide/check-which-account-you-are-using): Run ferrite account, query your agent's account tool, and inspect the dashboard URL to compare account IDs before deploying again.
- [Claim an account your agent created](https://docs-demo.ferrite.run/kb/guide/claim-an-agent-created-account): Keep a trial your agent started as your own account, or move its apps into the Ferrite account you already have, with one private link and one sign-in.
- [Sign-in stopped working after a platform release](https://docs-demo.ferrite.run/kb/guide/sign-in-stopped-working-after-a-platform-release): Each Ferrite platform release is a clean installation, so credentials from the prior release stop working. Create a new account and deploy again.
- [Alloy versus Rsx: choose a web framework](https://docs-demo.ferrite.run/kb/guide/alloy-vs-rsx): Choose Alloy when you want Rust routing and loaders or a typed React front end, and Rsx when you want server-rendered .rsx templates with minimal client JavaScript.
- [Schedule work with delayed publish](https://docs-demo.ferrite.run/kb/guide/delayed-publish-as-cron): Ferrite has no cron syntax in ferrite.json. Schedule one-time and recurring jobs with queue publish_at messages, guarded state transitions, and idempotent workers.
- [Deploy an app from source](https://docs-demo.ferrite.run/kb/guide/deploy-constrained-app-from-source): Scaffold a constrained Rust app, run local and remote checks in seconds, estimate cost, and deploy from source with ferrite deploy.
- [Apply queue effects once with APE](https://docs-demo.ferrite.run/kb/guide/exactly-once-effects-with-ape): Queue delivery is at least once. Pair each effect with a marker in one atomic APE commit using EffectivelyOnceConsumer or commit_n_if, and key external calls separately.
- [Ferrite queues and logs versus running your own broker](https://docs-demo.ferrite.run/kb/guide/ferrite-vs-running-your-own-broker): Bind Ferrite's Queue and Log services for background jobs and ordered event history instead of running a broker cluster. Keep an external broker when non-Ferrite systems or broker-specific tooling depend on it.
- [Fix a failed deployment](https://docs-demo.ferrite.run/kb/guide/fix-a-failed-deployment): When ferrite deploy does not finish with deployed: ready, match the last lines of output to the exact recovery step before submitting again.
- [Get help from the Ferrite team](https://docs-demo.ferrite.run/kb/guide/get-help-from-the-ferrite-team): Contact the Ferrite team for troubleshooting, security reports, or architecture questions, and see what to include in your first message.
- [How connectors keep credentials and approvals in your app](https://docs-demo.ferrite.run/kb/guide/governed-connectors-quickstart): Keep third-party credentials, scoped grants, and human approvals inside a gatekeeper compiled into your app so agents call a typed API without touching secrets.
- [Ingress limits and status codes](https://docs-demo.ferrite.run/kb/guide/ingress-limits-429-402): Gateway size, timeout, queue-depth, and balance checks enforced before requests reach your app, with the HTTP status code and client retry rule for each.
- [The one-dependency rule, explained](https://docs-demo.ferrite.run/kb/guide/one-dependency-rule-explained): Deployable Ferrite apps declare a single Cargo dependency, ferrite-app, so every other line in the build passes through the source gate. Shared code installs as source packages.
- [Prepare for a platform release](https://docs-demo.ferrite.run/kb/guide/prepare-for-a-platform-release): Every Ferrite platform release is a clean installation that starts empty. Keep your source code, secret values, and domain records locally so you can redeploy on the new installation.
- [Read app logs safely](https://docs-demo.ferrite.run/kb/guide/read-app-logs-safely): Read recent stdout and stderr lines from deployed workers with ferrite logs, understand the retention caps and tracing gate rules, and keep secrets out of captured output.
- [Report a bug](https://docs-demo.ferrite.run/kb/guide/report-a-bug): Include the exact error text, UTC timestamp, and failing-surface identifiers in your first message so the Ferrite team can reproduce the problem without a credential.
- [Respond to an exposed credential](https://docs-demo.ferrite.run/kb/guide/respond-to-an-exposed-credential): Revoke or replace an exposed Ferrite token, app secret, third-party key, claim link, or dashboard session at the system that issued it.
- [Roll back a bad deployment](https://docs-demo.ferrite.run/kb/guide/roll-back-a-release): Restore the previous build of a Ferrite app with rollback or rollback_release, verify live traffic, and isolate the regression afterward.
- [Serve static assets from Blob](https://docs-demo.ferrite.run/kb/guide/serving-static-assets-from-blob): Declare a content route bound to Blob storage, load built files at startup, and let the gateway serve static assets directly without invoking your app.
- [Why ferrite check rejects your spec](https://docs-demo.ferrite.run/kb/guide/why-ferrite-check-rejects-your-spec): Lookup of the source gate and manifest refusal codes reported by ferrite check and Ferrite Cloud, with the rule behind each code and the smallest fix that passes.
- [Withdraw an app](https://docs-demo.ferrite.run/kb/guide/withdraw-an-app): Withdraw a Ferrite app permanently, preserve or fork its data first, remove secrets and repositories, and handle custom hostnames safely.
- [Ferrite developer docs on Alloy for developers](https://docs-demo.ferrite.run/developers): Quickstart, authentication, endpoint reference, sandbox, rate limits, errors and versioning
- [Ferrite developer docs on Alloy sandbox](https://docs-demo.ferrite.run/sandbox): Where to try calls safely
- [About Ferrite developer docs on Alloy](https://docs-demo.ferrite.run/about): What it is, who runs it and how it is built
- [Contact Ferrite developer docs on Alloy](https://docs-demo.ferrite.run/contact): How to reach the people who run it
- [Ferrite developer docs on Alloy privacy](https://docs-demo.ferrite.run/privacy): What is stored, for how long, and who can read it

## When to use

Use alloy-docs (https://docs-demo.ferrite.run) when you need its declared pages, structured HTTP API, or MCP tools: A demonstration copy of the Ferrite developer documentation, running as an application on Ferrite Alloy: the developer docs, the engineering blog, the changelog, the knowledge base and the academy courses, generated from the documentation site, which remains the reference. People and AI assistants can search it and read any page as Markdown, without an account.

- [Agentic Resource Discovery (ARD)](https://docs-demo.ferrite.run/.well-known/ard.json): unified catalog of MCP, OpenAPI, A2A, and skills
- [Agent Skills index](https://docs-demo.ferrite.run/.well-known/agent-skills/index.json): installable skills and usage instructions

## API

- [OpenAPI catalog](https://docs-demo.ferrite.run/.well-known/api-catalog): every operation with schemas, pagination, rate limits, and deprecation headers
- [MCP endpoint](https://docs-demo.ferrite.run/mcp): the same operations as callable tools (Streamable HTTP, stateless)
- [WebMCP browser tools](https://docs-demo.ferrite.run/.well-known/webmcp.js): same-origin `document.modelContext` registrations for browser agents
- [Agent card](https://docs-demo.ferrite.run/.well-known/agent-card.json): identity, skills, and interfaces (A2A)
- search_docs `GET /api/search`: Search the text of every page in the docs, blog, changelog, knowledge base and academy. Use it to find the page that answers a question, then read that page with get_doc. Returns up to 20 results, best match first, each with the page path, the nearest heading and a snippet.
- get_doc `GET /api/doc`: Read one page of the documentation as Markdown. Use it with a path from search_docs, llms.txt or the sitemap when you need the whole page rather than a snippet. Returns the path and the page's full text, the same as its .md address serves.

## Optional

- [Blog](https://docs-demo.ferrite.run/blog): Every blog page, in reading order.
- [Introducing Ferrite](https://docs-demo.ferrite.run/blog/introducing-ferrite): Ferrite is where what your coding agent builds goes to live: declared capabilities in ferrite.json, one dependency, dual surfaces for people and their assistants, and a prepaid budget you know before deploying.
- [Changelog](https://docs-demo.ferrite.run/changelog): Every changelog page, in reading order.
- [App accounts, large uploads, and Ferrite CLI 0.1.51](https://docs-demo.ferrite.run/changelog/ferrite-cli-0-1-51): Ferrite Cloud now supports one-command application accounts (auth 1.0), upload routes up to 64 MiB, and hosted MCP file uploads up to 15 MiB on Ferrite's own Object Storage.
- [Ferrite CLI 0.1.50](https://docs-demo.ferrite.run/changelog/ferrite-cli-0-1-50): Ferrite CLI 0.1.50 brings the 0.1.39–0.1.50 releases together: Ferrite managed sign-in and live access management, new commands for apps, connectors, and hosted MCP login, account-suffixed ferrite.run domains, local sign-in under ferrite dev, and MCP 2026-07-28 client support.
- [Skills, tasks, confirmations and files over MCP](https://docs-demo.ferrite.run/changelog/mcp-skills-tasks-elicitation-files): Ferrite's MCP server uses the capabilities Claude and other clients now show in their own interfaces.
- [Ferrite CLI 0.1.38](https://docs-demo.ferrite.run/changelog/ferrite-cli-0-1-38): Ferrite CLI 0.1.38 adds a Linux ARM64 build, says plainly when the platform no longer knows your login, and gives ferrite mcp-serve the app discovery and lifecycle tools it lacked.
- [Ferrite CLI 0.1.15](https://docs-demo.ferrite.run/changelog/ferrite-cli-0-1-15): Ferrite CLI 0.1.15 fixes message identity in Forge's local WebSocket gateway and adds a read-only queue inspection method to the packaged SDK.
- [Ferrite CLI 0.1.14](https://docs-demo.ferrite.run/changelog/ferrite-cli-0-1-14): Ferrite CLI 0.1.14 carries the current RSX generator, so ferrite rsx sync reads an optional [server] table in rsx.toml.
- [Ferrite CLI 0.1.13](https://docs-demo.ferrite.run/changelog/ferrite-cli-0-1-13): Ferrite CLI 0.1.13 brings the local SDK twin in line with three fields the native Ferrite SDK defines, and it scaffolds and syncs RSX applications with RSX 0.2.2, which compiles against that twin.
- [Ferrite CLI 0.1.12](https://docs-demo.ferrite.run/changelog/ferrite-cli-0-1-12): Ferrite CLI 0.1.12 is the version bundled with the Ferrite plugin in the Labs repository.
- [Ferrite developer preview](https://docs-demo.ferrite.run/changelog/ferrite-launch-release-2026-09-21): Ferrite's developer preview brings source deployment, managed application resources, account controls, and model access into one workflow.
- [Academy](https://docs-demo.ferrite.run/academy): Every academy page, in reading order.
- [Let a customer's assistant book a class](https://docs-demo.ferrite.run/academy/agent-ready): Make the yoga studio usable by a customer's assistant: publish what it offers, expose listing and booking as MCP tools, and verify that a full class still refuses the booking.
- [Declare what an assistant can do](https://docs-demo.ferrite.run/academy/agent-ready/declare-what-an-agent-can-do): Add the agent-ready package, declare list_classes and book_class, and route discovery and MCP requests through one handler that calls the studio's booking function.
- [Book a class through MCP](https://docs-demo.ferrite.run/academy/agent-ready/book-a-class-through-mcp): Read the studio's discovery documents, list its MCP tools, book a space with a request_id, repeat the call, and read the refusal when the class is full.
- [Deploy and connect an assistant](https://docs-demo.ferrite.run/academy/agent-ready/deploy-and-connect-an-agent): Deploy the studio's agent-ready surface, check its discovery document and tools on the deployed host, and connect an MCP client to /mcp.
- [How a Ferrite app works](https://docs-demo.ferrite.run/academy/ferrite-foundations): How Ferrite compiles admitted source, routes HTTP traffic through queues, guards atomic writes against retries, enforces platform limits, and isolates running apps.
- [What runs when you deploy](https://docs-demo.ferrite.run/academy/ferrite-foundations/what-runs-when-you-deploy): Why Ferrite compiles applications from admitted source with a single SDK dependency, and how declared services and secrets enter AppContext at startup.
- [How a request reaches your code](https://docs-demo.ferrite.run/academy/ferrite-foundations/how-a-request-reaches-your-code): How Ferrite's gateway turns public HTTP traffic into queue messages, filters headers, enforces ingress bounds, and dispatches five route kinds.
- [Writes that survive retries](https://docs-demo.ferrite.run/academy/ferrite-foundations/writes-that-survive-retries): Why requests arrive more than once on a queue-backed platform, and how the studio commits a seat count, booking record, and request marker in one guarded atomic write.
- [Limits that change your design](https://docs-demo.ferrite.run/academy/ferrite-foundations/limits-that-change-your-design): The storage, queue, ingress, timeout, expiry, concurrency, and account bounds that shape how you architect a Ferrite application from the first version.
- [What happens during a deploy](https://docs-demo.ferrite.run/academy/ferrite-foundations/what-happens-during-a-deploy): How ferrite deploy validates source, records a local deploy journal, compiles on the platform, handles interruptions, and preserves application state.
- [What the gate refuses](https://docs-demo.ferrite.run/academy/ferrite-foundations/what-the-gate-refuses): The source rules every Ferrite application obeys, the error codes the admission gate reports, and where local checks differ from platform checks.
- [What an app can reach](https://docs-demo.ferrite.run/academy/ferrite-foundations/what-an-app-can-reach): How ferrite.json bounds every service, route, header, and outbound destination an application can touch, and how the host enforces containment at runtime.
- [Optional: services reference](https://docs-demo.ferrite.run/academy/ferrite-foundations/optional-services-reference): Every service binding available on AppContext, its async client contract, binding-free context methods, and re-exported SDK crates.
- [Build a booking app with Alloy](https://docs-demo.ferrite.run/academy/ship-an-alloy-app): Set up your coding agent, run the live-counter starter, and build and deploy a yoga studio booking app that refuses bookings when a class is full.
- [Set up Ferrite and run the live counter](https://docs-demo.ferrite.run/academy/ship-an-alloy-app/set-up-and-run-the-counter): Give your coding agent the quickstart prompt, confirm the deployment it proposes, and check that a saved count survives a reload.
- [Create the studio app](https://docs-demo.ferrite.run/academy/ship-an-alloy-app/create-the-studio-app): Generate an Alloy project, run its checks and tests, and locate the code the next two lessons replace.
- [Show the timetable](https://docs-demo.ferrite.run/academy/ship-an-alloy-app/show-the-timetable): Declare the bookings APE service, replace the template notes model with a timetable, and render live seat counts for each class.
- [Book a class and refuse a full one](https://docs-demo.ferrite.run/academy/ship-an-alloy-app/book-a-class): Enforce class capacity inside a guarded APE transaction, expose it through the HTML form and a JSON API, and verify concurrency and retry behavior.
- [Deploy the studio and check it](https://docs-demo.ferrite.run/academy/ship-an-alloy-app/deploy-and-check): Confirm the target account, estimate deployment cost, pass the remote admission gate, deploy the studio, and verify persistence and 409 refusals on the live host.
- [Troubleshooting and next steps](https://docs-demo.ferrite.run/academy/ship-an-alloy-app/troubleshooting-and-next-steps): Fixes for build, routing, storage, and deployment failures in the yoga studio, how to pause or withdraw the app, and three extensions to build next.
- [The finished studio](https://docs-demo.ferrite.run/academy/ship-an-alloy-app/finished-studio): Complete manifest, source, and tests for the yoga studio at the end of the course, plus the additions from the course on a customer's assistant.
- [Articles](https://docs-demo.ferrite.run/i): Every articles page, in reading order.

