Ferrite applications serve human browsers and AI assistants from the same compiled Rust binary, the same transactional handlers, and the same ferrite.json capability boundary. Most external discovery and execution formats are projected from a single Surface declaration via ferrite add agent-ready, while specialized packages add per-app OAuth 2.1, Personal Agent Protocol (Poppy 1.0), ChatGPT and Codex plugins, embedded product agents, and governed outbound connectors.
Use this technical directory to pick the protocol layer your application needs and jump straight to its implementation guide.
1. Readable web and discovery foundations
Give language models, search crawlers, and customer assistants clean, low-noise representations of your pages and policies without HTML scraping.
| Capability | Protocol / Endpoints | Package or Surface | Guide |
|---|---|---|---|
llms.txt and llms-full.txt | GET /llms.txt, GET /llms-full.txt (text/markdown) | agent-ready | llms.txt and Markdown twins |
| Markdown page twins and negotiation | GET /<path>.md, ?format=md, Accept: text/markdown + Vary: Accept | agent-ready (forward_headers: ["accept"]) | llms.txt and Markdown twins |
| Crawler and discovery metadata | GET /robots.txt (Content-Signal), GET /sitemap.xml, /.well-known/change-password | agent-ready, http-change-password, rsx | Agent-ready apps |
2. Structured APIs and browser-native tools
Publish typed HTTP contracts for external callers and register browser-context tools that run under a user’s active same-origin session.
| Capability | Protocol / Endpoints | Package or Surface | Guide |
|---|---|---|---|
| OpenAPI 3.1 API catalogue | GET /.well-known/api-catalog, GET /openapi.json, GET /poppy/openapi.json | agent-ready | OpenAPI and structured errors |
| RFC 9457 structured errors | application/problem+json with stable type, title, status, detail | agent-ready (agent_ready::problem) | OpenAPI and structured errors |
| WebMCP browser tools | document.modelContext.registerTool (navigator.modelContext fallback), AbortSignal, same-origin cookies | Client JS + existing HTTP routes | WebMCP |
| Signed-in WebMCP reference | inspect_application_graph scoped to active account | Ferrite Dashboard & Docs (search_ferrite_docs, read_ferrite_doc) | Dashboard WebMCP |
3. Model Context Protocol (MCP) and 2026-07-28 extensions
Serve stateless Streamable HTTP MCP endpoints speaking both MCP 2026-07-28 (server/discover, Mcp-Method, Mcp-Name, resultType) and backwards-compatible 2025-11-25 handshakes, plus optional extensions enabled per hook on PageSource.
| Capability | Protocol / Endpoints | Package or Surface | Guide |
|---|---|---|---|
| Stateless MCP servers and clients | POST /mcp, GET /server.json, /.well-known/mcp/server-card.json | agent-ready (2026-07-28 + 2025-11-25), mcp (2026-07-28 server & client) | MCP Servers |
| MCP Apps (embedded UI in agent hosts) | io.modelcontextprotocol/ui, ui:// text/html;profile=mcp-app, postMessage JSON-RPC bridge | agent-ready, gpt-plugins, agent-sdk | MCP Apps |
| MCP Tasks (long-running resumable work) | tasks/get, tasks/result, tasks/update, tasks/cancel, ferrite tasks | agent-ready, mcp, gpt-plugins, mcp.ferrite.cloud/mcp | MCP Tasks |
| MCP Elicitation and confirmations | Form and URL elicitations, signed single-use requestState multi-round-trip gates | agent-ready, mcp, gpt-plugins | Ask before acting and Interactive MCP tools |
| MCP Skills and Agent Skills Discovery | io.modelcontextprotocol/skills (skills/list, skills/get), /.well-known/agent-skills/index.json (0.2.0) | agent-ready, mcp, gpt-plugins, agent-sdk | MCP Skills |
| MCP File Transfers | io.modelcontextprotocol/files, x-mcp-file, inline and out-of-band /mcp/files/* uploads & downloads | agent-ready, mcp, gpt-plugins | MCP file transfers |
| MCP Events | Event polling, POST SSE streams, signed Standard Webhooks | agent-ready, mcp, gpt-plugins | MCP Events and Events from an outside source |
4. Personal and cross-agent protocols
Support personal AI assistants with explicit per-operation exposure and approval rules, agent-to-agent delegation, and editor-owned workstation sessions.
| Capability | Protocol / Endpoints | Package or Surface | Guide |
|---|---|---|---|
| Personal Agent Protocol (Poppy 1.0) | /.well-known/poppy.json, /poppy/openapi.json, /poppy/tasks, POST /poppy/feedback, operations v3 exact-terms approval, 3-step Browser Join, Conversations, Poppy-Session JWT verification (ES256/PS384) | agent-ready (PoppyConfig) | Personal Agent Protocol |
| Agent Cards and A2A | GET /.well-known/agent-card.json, POST /a2a (A2A 0.3.0, message/send, tasks/get, tasks/cancel, stateless or compare-and-set TaskStore) | agent-ready (a2a_face), agent-sdk | Agent Cards and A2A |
| Agent Client Protocol (ACP v1) | Bidirectional JSON-RPC over HTTP/SSE or WebSocket (Acp-Connection-Id), client-owned filesystem and terminal (fs/read_text_file, session/request_permission) | acp, agent-sdk | Agent Client Protocol (ACP) |
5. OAuth 2.1, enterprise identity, Claude and ChatGPT
Authenticate human users and customer or employee assistants without sharing a single platform issuer across customer applications or exposing ambient tokens.
| Capability | Protocol / Endpoints | Package or Surface | Guide |
|---|---|---|---|
Per-app OAuth 2.1 issuer (poppy-oauth) | RFC 8414, RFC 9728 PRM, RFC 9126 PAR, PKCE S256, CIMD, private_key_jwt, RFC 8707 audience isolation, rotating refresh tokens, optional DPoP, RFC 7009 revocation, opt-in Device Flow, Connected Agents page | poppy-oauth | Per-app OAuth (Poppy) |
| Hosted Ferrite MCP OAuth 2.1 | RFC 9728, RFC 8414, RFC 7591 DCR, CIMD, PKCE S256, RFC 8628 Device Flow (ferrite mcp login) | mcp.ferrite.cloud/mcp and mcp.ferrite.cloud/apps | Set up coding agents and Connect any agent |
| Claude connectors and customer apps | Dual connectors (mcp.ferrite.cloud/mcp for builders, mcp.ferrite.cloud/apps for app use), MCP Apps, poppy-oauth | Hosted platform + agent-ready + poppy-oauth | Use Ferrite in Claude and Build Claude-enabled apps |
| Claude Enterprise & Team Auto-connect | Enterprise-Managed Authorization (urn:ietf:params:oauth:grant-profile:id-jag), Claude trusted issuer, Okta Cross-App Access (XAA), DNS TXT domain-verified JIT provisioning, instant Hub token revocation | Hosted mcp.ferrite.cloud/apps, poppy-oauth, mcp (id_jag), agent-sdk | Internal apps in Claude and Enterprise-managed authorization |
| Managed app sign-in, groups and access lists | Google, GitHub, and email-code sign-in with Ed25519 pairwise subject signing, owner/groups/members/public/customers/players, Hub assertions | auth, alloy-auth, ferrite access | Authentication and Accounts |
| ChatGPT and Codex apps | Dual-era /mcp, FerriteGpt / window.openai MCP Apps widgets, OAuth linking challenges, checkout/conversion specs, company knowledge search/fetch, upload linter and ZIP packager | gpt-plugins | ChatGPT and Codex apps |
6. App Hub, Code Mode, connectors and embedded agents
Orchestrate multiple private apps without context bloat, connect apps to third-party APIs safely, and compile durable agents directly into your application binary.
| Capability | Protocol / Endpoints | Package or Surface | Guide |
|---|---|---|---|
| App Hub and sandboxed Code Mode | https://mcp.ferrite.cloud/apps, fixed 6-tool surface (apps_list, search, describe, call, execute, resume), isolated QuickJS worker, ferrite apps CLI, write approvals and idempotency | Hosted App Hub + auth (Auth::caller_for) | App Hub and Code Mode |
| Governed outbound connectors | Scoped expiring CapabilityGrant, EpochRegistry revocation, digest-bound write approval queues, resident OAuth token vault (connectors-egress), ferrite connectors CLI | gatekeeper, connector-github, connector-google, connector-linear, connector-slack | Governed outbound connectors |
| Embedded in-app agents and channels | Durable APE session trees, compaction, tools, hooks, subagents, outbound MCP (use_mcp_connection), GitHub/Slack/webhook/schedule channels, multi-face Thread/MCP/ACP/A2A API, qjs-engine / wasm-runtime sandboxes, context-library | agent-sdk, qjs-engine, wasm-runtime, context-library | Agents, Agent SDK, Agent Runtime, Agent API, and Channels |
| AI Gateway | Unified Responses API (/v1/responses, SSE, WebSocket, files, conversations), OpenAI / Anthropic / Google Gemini / Amazon Bedrock routing, USD budgets, BYOK vault, provider prompt caching | Resident AI Gateway + ferrite-ai, ai-budgets, byok-vault | AI Gateway |
7. Agentic payments, verification and developer tooling
Monetize paid endpoints programmatically, audit live protocol compliance, and operate Ferrite entirely from coding agents.
| Capability | Protocol / Endpoints | Package or Surface | Guide |
|---|---|---|---|
| x402 HTTP 402 agent payments | x402 v1 (402 challenge, X-PAYMENT decode/verify, X-PAYMENT-RESPONSE, Base USDC exact, atomic store ReplayLedger, /pricing.md, x-price-usd-micros) | agent-ready (x402) + payments (x402_gate) | x402 agent payments |
| Agent-readiness self-audit and scanners | GET /.well-known/agent-readiness, agent-score, agent-scan, agent-conformance, served-surface profiles | agent-ready + ferrite-agent-ready | Verify agent readiness |
| MCP client compatibility probe and matrix | Live Streamable HTTP + OAuth 2.1 probe (probe-mcp.mjs), multi-agent deploy runner (run-agent-matrix.mjs) | ferrite-agent-matrix | Verify agent readiness and Agents Ferrite works with |
| Web Bot Auth inspection | Signature-Agent, Signature-Input, Signature RFC 9421 structured-field parsing (CallerClass::{Verified, Declared, Anonymous}) | agent-ready (bot_auth) | Verify agent readiness |
| Coding-agent MCP and Rsx tooling | Local ferrite mcp-serve stdio server (including rsx_routes, rsx_sync, rsx_check, rsx_explain, rsx_render and synthesized /mcp routes), hosted mcp.ferrite.cloud/mcp, universal ferrite-plugin | ferrite CLI, ferrite-plugin, rsx | MCP-only Operations, Set up coding agents, and Rsx |
One security boundary across every protocol
Every protocol listed above runs inside your application’s single compiled binary and declared ferrite.json capability manifest. Adding agent-ready, poppy-oauth, gpt-plugins, acp, agent-sdk, or a governed connector introduces zero extra Cargo dependencies beyond ferrite-app, zero shell or host filesystem access, and zero undeclared outbound hosts. For how Ferrite bounds storage, secrets, and egress across human and agent traffic alike, see What bounds your app and Secrets & Egress.
Next steps
- Follow the step-by-step tutorial in Build for agents to expose your first
Surface. - Connect your coding agent or chat client in Set up coding agents or Use Ferrite in Claude.
- Browse the full set of installable source modules in Packages.