# Mozilla.ai Docs

## any-llm

- [Introduction](https://docs.mozilla.ai/index.md)
- [Quickstart](https://docs.mozilla.ai/quickstart.md): Install any-llm and make your first API call in 5 minutes
- [Providers](https://docs.mozilla.ai/providers.md): Complete list of LLM providers supported by any-llm including OpenAI, Anthropic, Mistral, and more
- [Files](https://docs.mozilla.ai/files.md): Manage provider-hosted files through an AnyLLM instance
- [Decide](https://docs.mozilla.ai/decide.md): Answer named questions about a state with any provider that serves System One
- [Video Generation](https://docs.mozilla.ai/video.md): Generate videos from a prompt and images as a job you poll
- [TypeSafe](https://docs.mozilla.ai/typesafe.md): Answer named questions about a state with TypeSafe System One
- [Prompt Caching](https://docs.mozilla.ai/caching.md): Cache a Gemini or Vertex AI prompt prefix by marking it with Anthropic-style cache\_control
- [Getting Started with Any-LLM](https://docs.mozilla.ai/cookbooks/any-llm-getting-started.md)
- [Browser-Use with Any-LLM](https://docs.mozilla.ai/cookbooks/browser-use-with-any-llm.md)
- [AnyLLM](https://docs.mozilla.ai/api-reference/any-llm.md): The AnyLLM class - provider interface with metadata access and reusability
- [Responses](https://docs.mozilla.ai/api-reference/responses.md): OpenResponses API for agentic AI systems
- [Completion](https://docs.mozilla.ai/api-reference/completion.md): Create chat completions with any provider
- [Embedding](https://docs.mozilla.ai/api-reference/embedding.md): Create text embeddings with any provider
- [Decide](https://docs.mozilla.ai/api-reference/decide.md): Answer named yes/no, choice and score questions about a state
- [Video](https://docs.mozilla.ai/api-reference/video.md): Start, poll and download video generation jobs
- [Messages](https://docs.mozilla.ai/api-reference/messages.md): Anthropic Messages API for all providers
- [Exceptions](https://docs.mozilla.ai/api-reference/exceptions.md): Unified exception hierarchy for all providers
- [List Models](https://docs.mozilla.ai/api-reference/list-models.md): List available models for a provider
- [Batch](https://docs.mozilla.ai/api-reference/batch.md): Process multiple requests asynchronously at lower cost
- [Types](https://docs.mozilla.ai/api-reference/completion-1.md): Data models and types for completion operations
- [Responses](https://docs.mozilla.ai/api-reference/completion-1/responses.md): Data models for the OpenResponses API
- [Messages](https://docs.mozilla.ai/api-reference/completion-1/messages.md): Data models for the Anthropic Messages API
- [Model](https://docs.mozilla.ai/api-reference/completion-1/model.md): Data models for model operations
- [Provider](https://docs.mozilla.ai/api-reference/completion-1/provider.md): Data models for provider operations
- [Batch](https://docs.mozilla.ai/api-reference/completion-1/batch.md): Data models for batch operations
- [Decide](https://docs.mozilla.ai/api-reference/completion-1/decide.md): Question and answer models for the decide API
- [Video](https://docs.mozilla.ai/api-reference/completion-1/video.md): Job, output and parameter models for the video API

## encoderfile

- [Introduction](https://docs.mozilla.ai/encoderfile/index.md)
- [Getting Started](https://docs.mozilla.ai/encoderfile/getting-started.md)
- [Building with Docker](https://docs.mozilla.ai/encoderfile/building-encoderfiles/docker.md)
- [Building with Python](https://docs.mozilla.ai/encoderfile/python-library/building-with-python.md)
- [API Reference](https://docs.mozilla.ai/encoderfile/python-library/api-reference.md)
- [Token Classification (NER)](https://docs.mozilla.ai/encoderfile/cookbooks/token-classification-ner.md)
- [MCP Integration](https://docs.mozilla.ai/encoderfile/cookbooks/mcp-integration.md)
- [Matryoshka Embeddings](https://docs.mozilla.ai/encoderfile/cookbooks/matryoshka-embeddings.md)
- [Local RAG](https://docs.mozilla.ai/encoderfile/cookbooks/local-rag.md)
- [CVE Semantic Search](https://docs.mozilla.ai/encoderfile/cookbooks/qdrant-cve-search.md)
- [Transforms](https://docs.mozilla.ai/encoderfile/transforms/index.md)
- [Reference](https://docs.mozilla.ai/encoderfile/transforms/reference.md)
- [Encoderfile File Format](https://docs.mozilla.ai/encoderfile/reference/file_format.md)
- [CLI Reference](https://docs.mozilla.ai/encoderfile/reference/cli.md)
- [API Reference](https://docs.mozilla.ai/encoderfile/reference/api-reference.md)
- [Building Guide](https://docs.mozilla.ai/encoderfile/reference/building.md)
- [Contributing](https://docs.mozilla.ai/encoderfile/community/contributing.md)
- [Code of Conduct](https://docs.mozilla.ai/encoderfile/community/code_of_conduct.md)

## llamafile

- [Home](https://docs.mozilla.ai/llamafile/index.md)
- [Quickstart](https://docs.mozilla.ai/llamafile/getting-started/quickstart.md)
- [Pre-built llamafiles](https://docs.mozilla.ai/llamafile/getting-started/pre-built-llamafiles.md)
- [Running a llamafile](https://docs.mozilla.ai/llamafile/using-llamafile/running_llamafile.md)
- [API server](https://docs.mozilla.ai/llamafile/using-llamafile/api.md)
- [Built-in local tools](https://docs.mozilla.ai/llamafile/using-llamafile/built-in-tools.md)
- [Agentfile](https://docs.mozilla.ai/llamafile/using-llamafile/agentfile.md)
- [Creating llamafiles](https://docs.mozilla.ai/llamafile/using-llamafile/creating_llamafiles.md)
- [Source installation](https://docs.mozilla.ai/llamafile/using-llamafile/source_installation.md)
- [Building DLLs](https://docs.mozilla.ai/llamafile/using-llamafile/building_dlls.md)
- [CLI Arguments and Flags](https://docs.mozilla.ai/llamafile/reference/cli_arguments.md)
- [Technical details](https://docs.mozilla.ai/llamafile/reference/technical_details.md)
- [Security](https://docs.mozilla.ai/llamafile/reference/security.md)
- [Supported Systems](https://docs.mozilla.ai/llamafile/reference/support.md)
- [Troubleshooting](https://docs.mozilla.ai/llamafile/reference/troubleshooting.md)
- [Overview](https://docs.mozilla.ai/llamafile/whisperfile/index.md)
- [Getting Started](https://docs.mozilla.ai/llamafile/whisperfile/getting-started.md)
- [Packaging](https://docs.mozilla.ai/llamafile/whisperfile/packaging.md)
- [Using GPUs](https://docs.mozilla.ai/llamafile/whisperfile/gpu.md)
- [Translation](https://docs.mozilla.ai/llamafile/whisperfile/translate.md)
- [Server](https://docs.mozilla.ai/llamafile/whisperfile/server.md)

## any-guardrail

- [Introduction](https://docs.mozilla.ai/any-guardrail/index.md)
- [Quick Start](https://docs.mozilla.ai/any-guardrail/quickstart.md)
- [Alinia Guardrail Usage](https://docs.mozilla.ai/any-guardrail/cookbook/alinia_guardrail_usage.md)
- [Any LLM as a Guardrail](https://docs.mozilla.ai/any-guardrail/cookbook/any_llm_as_a_guardrail.md)
- [Customer Service Policy Guardrail](https://docs.mozilla.ai/any-guardrail/cookbook/customer_service_policy_guardrail.md)
- [Custom Blocklists with Azure Content Safety](https://docs.mozilla.ai/any-guardrail/cookbook/azure_blocklist_slang_filter.md)
- [Running Guardrails with EncoderFile](https://docs.mozilla.ai/any-guardrail/cookbook/encoderfile_guardrail.md)
- [SusFactor: Local Model vs Hosted 0DIN API](https://docs.mozilla.ai/any-guardrail/cookbook/susfactor_hosted_api.md)
- [Granite Guardian with Llamafile vs HuggingFace](https://docs.mozilla.ai/any-guardrail/cookbook/llamafile_granite_guardian.md)
- [Azure Prompt Shields Guardrail Usage](https://docs.mozilla.ai/any-guardrail/cookbook/azure_prompt_shields_guardrail.md)
- [Lakera Guard Guardrail Usage](https://docs.mozilla.ai/any-guardrail/cookbook/lakera_guard_guardrail.md)
- [OpenAI Moderation Guardrail Usage](https://docs.mozilla.ai/any-guardrail/cookbook/openai_moderation_guardrail.md)
- [Fetching Prompts, Policies, Rubrics & Criteria](https://docs.mozilla.ai/any-guardrail/cookbook/fetching_prompts_and_content.md)
- [AnyGuardrail](https://docs.mozilla.ai/any-guardrail/api-reference/any_guardrail.md)
- [Types](https://docs.mozilla.ai/any-guardrail/api-reference/types.md)
- [Taxonomy](https://docs.mozilla.ai/any-guardrail/api-reference/taxonomy.md)
- [Prompts](https://docs.mozilla.ai/any-guardrail/api-reference/prompts.md)
- [Prompt & Content Catalog](https://docs.mozilla.ai/any-guardrail/api-reference/prompt_catalog.md)
- [Benchmarks & Model Cards](https://docs.mozilla.ai/any-guardrail/api-reference/benchmarks.md)
- [Guardrails](https://docs.mozilla.ai/any-guardrail/api-reference/index.md)
- [Prompt Injection](https://docs.mozilla.ai/any-guardrail/api-reference/index/prompt-injection.md)
- [Azure Prompt Shields](https://docs.mozilla.ai/any-guardrail/api-reference/index/prompt-injection/azure-prompt-shields.md)
- [Deepset](https://docs.mozilla.ai/any-guardrail/api-reference/index/prompt-injection/deepset.md)
- [HarmAug-Guard](https://docs.mozilla.ai/any-guardrail/api-reference/index/prompt-injection/harm-guard.md)
- [Jasper](https://docs.mozilla.ai/any-guardrail/api-reference/index/prompt-injection/jasper.md)
- [Lakera Guard](https://docs.mozilla.ai/any-guardrail/api-reference/index/prompt-injection/lakera-guard.md)
- [Pangolin Guard](https://docs.mozilla.ai/any-guardrail/api-reference/index/prompt-injection/pangolin.md)
- [PIGuard](https://docs.mozilla.ai/any-guardrail/api-reference/index/prompt-injection/injec-guard.md)
- [Prompt Guard 2](https://docs.mozilla.ai/any-guardrail/api-reference/index/prompt-injection/prompt-guard.md)
- [ProtectAI](https://docs.mozilla.ai/any-guardrail/api-reference/index/prompt-injection/protectai.md)
- [Sentinel](https://docs.mozilla.ai/any-guardrail/api-reference/index/prompt-injection/sentinel.md)
- [SusFactor](https://docs.mozilla.ai/any-guardrail/api-reference/index/prompt-injection/susfactor.md)
- [Content Safety](https://docs.mozilla.ai/any-guardrail/api-reference/index/content-safety.md)
- [Alinia](https://docs.mozilla.ai/any-guardrail/api-reference/index/content-safety/alinia.md)
- [Azure Content Safety](https://docs.mozilla.ai/any-guardrail/api-reference/index/content-safety/azure-content-safety.md)
- [Bedrock Guardrails](https://docs.mozilla.ai/any-guardrail/api-reference/index/content-safety/bedrock-guardrails.md)
- [Bielik Guard](https://docs.mozilla.ai/any-guardrail/api-reference/index/content-safety/bielik-guard.md)
- [DuoGuard](https://docs.mozilla.ai/any-guardrail/api-reference/index/content-safety/duo-guard.md)
- [GLiGuard](https://docs.mozilla.ai/any-guardrail/api-reference/index/content-safety/gli-guard.md)
- [gpt-oss-safeguard](https://docs.mozilla.ai/any-guardrail/api-reference/index/content-safety/gpt-oss-safeguard.md)
- [Kanana Safeguard](https://docs.mozilla.ai/any-guardrail/api-reference/index/content-safety/kanana-safeguard.md)
- [Llama Guard](https://docs.mozilla.ai/any-guardrail/api-reference/index/content-safety/llama-guard.md)
- [Nemotron Content Safety](https://docs.mozilla.ai/any-guardrail/api-reference/index/content-safety/nemotron-content-safety.md)
- [OpenAI Moderation](https://docs.mozilla.ai/any-guardrail/api-reference/index/content-safety/openai-moderation.md)
- [PolyGuard](https://docs.mozilla.ai/any-guardrail/api-reference/index/content-safety/poly-guard.md)
- [Qwen3Guard](https://docs.mozilla.ai/any-guardrail/api-reference/index/content-safety/qwen3-guard.md)
- [Qwen3Guard-Stream](https://docs.mozilla.ai/any-guardrail/api-reference/index/content-safety/qwen3-guard-stream.md)
- [ShieldGemma](https://docs.mozilla.ai/any-guardrail/api-reference/index/content-safety/shield-gemma.md)
- [watsonx Guardian](https://docs.mozilla.ai/any-guardrail/api-reference/index/content-safety/watsonx-guardian.md)
- [WildGuard](https://docs.mozilla.ai/any-guardrail/api-reference/index/content-safety/wild-guard.md)
- [PII](https://docs.mozilla.ai/any-guardrail/api-reference/index/pii.md)
- [GLiNER2 PII](https://docs.mozilla.ai/any-guardrail/api-reference/index/pii/gli-ner-pii.md)
- [Hallucination](https://docs.mozilla.ai/any-guardrail/api-reference/index/hallucination.md)
- [LettuceDetect](https://docs.mozilla.ai/any-guardrail/api-reference/index/hallucination/lettuce-detect.md)
- [Off-Topic](https://docs.mozilla.ai/any-guardrail/api-reference/index/off-topic.md)
- [Off-Topic](https://docs.mozilla.ai/any-guardrail/api-reference/index/off-topic/off-topic.md)
- [General Judge](https://docs.mozilla.ai/any-guardrail/api-reference/index/general-judge.md)
- [AnyLlm](https://docs.mozilla.ai/any-guardrail/api-reference/index/general-judge/any-llm.md)
- [CompassJudger](https://docs.mozilla.ai/any-guardrail/api-reference/index/general-judge/compass-judger.md)
- [DynaGuard](https://docs.mozilla.ai/any-guardrail/api-reference/index/general-judge/dyna-guard.md)
- [Flow Judge](https://docs.mozilla.ai/any-guardrail/api-reference/index/general-judge/flowjudge.md)
- [GLIDER](https://docs.mozilla.ai/any-guardrail/api-reference/index/general-judge/glider.md)
- [Granite Guardian](https://docs.mozilla.ai/any-guardrail/api-reference/index/general-judge/granite-guardian.md)
- [Patronus](https://docs.mozilla.ai/any-guardrail/api-reference/index/general-judge/patronus.md)
- [Prometheus](https://docs.mozilla.ai/any-guardrail/api-reference/index/general-judge/prometheus.md)
- [Selene 1 Mini](https://docs.mozilla.ai/any-guardrail/api-reference/index/general-judge/selene.md)
- [Providers](https://docs.mozilla.ai/any-guardrail/api-reference/providers.md)
- [EncoderFile](https://docs.mozilla.ai/any-guardrail/api-reference/providers/encoderfile.md)
- [Llamafile](https://docs.mozilla.ai/any-guardrail/api-reference/providers/llamafile.md)
- [0DIN Defense API](https://docs.mozilla.ai/any-guardrail/api-reference/providers/zero-din.md)

## cq

- [Introduction](https://docs.mozilla.ai/cq/index.md)
- [Installation](https://docs.mozilla.ai/cq/guides/install.md)
- [Quickstart](https://docs.mozilla.ai/cq/guides/quickstart.md)
- [Architecture](https://docs.mozilla.ai/cq/guides/architecture.md)
- [Development](https://docs.mozilla.ai/cq/guides/development.md)
- [CLI](https://docs.mozilla.ai/cq/components/cli.md)
- [CLI Development](https://docs.mozilla.ai/cq/components/cli/development.md)
- [Plugin](https://docs.mozilla.ai/cq/components/plugin.md)
- [Go SDK](https://docs.mozilla.ai/cq/components/go.md)
- [Go SDK Development](https://docs.mozilla.ai/cq/components/go/development.md)
- [Python SDK](https://docs.mozilla.ai/cq/components/python.md)
- [Python SDK Development](https://docs.mozilla.ai/cq/components/python/development.md)
- [Server](https://docs.mozilla.ai/cq/components/server.md)
- [Schema](https://docs.mozilla.ai/cq/reference/schema.md)
- [Proposal](https://docs.mozilla.ai/cq/reference/cq-proposal.md)
- [Contributing](https://docs.mozilla.ai/cq/community/contributing.md)

## mcpd

- [Home](https://docs.mozilla.ai/mcpd/index.md)
- [Requirements](https://docs.mozilla.ai/mcpd/requirements.md)
- [Installation](https://docs.mozilla.ai/mcpd/installation.md)
- [Tutorial](https://docs.mozilla.ai/mcpd/tutorial.md)
- [Troubleshooting](https://docs.mozilla.ai/mcpd/troubleshooting.md)
- [Overview](https://docs.mozilla.ai/mcpd/configuration/configuration.md)
- [Daemon Configuration](https://docs.mozilla.ai/mcpd/configuration/daemon-configuration.md)
- [Plugin Configuration](https://docs.mozilla.ai/mcpd/configuration/plugin-configuration.md)
- [Writing a Plugin](https://docs.mozilla.ai/mcpd/configuration/writing-a-plugin.md)
- [Execution Context](https://docs.mozilla.ai/mcpd/configuration/execution-context.md)
- [Registry Caching](https://docs.mozilla.ai/mcpd/configuration/caching.md)
- [SDKs](https://docs.mozilla.ai/mcpd/integrations/sdks.md)
- [IDE Integration](https://docs.mozilla.ai/mcpd/integrations/ide-integration.md)
- [Makefile](https://docs.mozilla.ai/mcpd/reference/makefile.md)
- [API Reference](https://docs.mozilla.ai/mcpd/reference/api-reference.md)
- [Overview](https://docs.mozilla.ai/mcpd/cli-reference/mcpd.md)
- [add](https://docs.mozilla.ai/mcpd/cli-reference/mcpd_add.md)
- [config](https://docs.mozilla.ai/mcpd/cli-reference/mcpd_config.md)
- [config args](https://docs.mozilla.ai/mcpd/cli-reference/mcpd_config_args.md)
- [config args clear](https://docs.mozilla.ai/mcpd/cli-reference/mcpd_config_args_clear.md)
- [config args list](https://docs.mozilla.ai/mcpd/cli-reference/mcpd_config_args_list.md)
- [config args remove](https://docs.mozilla.ai/mcpd/cli-reference/mcpd_config_args_remove.md)
- [config args set](https://docs.mozilla.ai/mcpd/cli-reference/mcpd_config_args_set.md)
- [config daemon](https://docs.mozilla.ai/mcpd/cli-reference/mcpd_config_daemon.md)
- [config daemon get](https://docs.mozilla.ai/mcpd/cli-reference/mcpd_config_daemon_get.md)
- [config daemon list](https://docs.mozilla.ai/mcpd/cli-reference/mcpd_config_daemon_list.md)
- [config daemon remove](https://docs.mozilla.ai/mcpd/cli-reference/mcpd_config_daemon_remove.md)
- [config daemon set](https://docs.mozilla.ai/mcpd/cli-reference/mcpd_config_daemon_set.md)
- [config daemon validate](https://docs.mozilla.ai/mcpd/cli-reference/mcpd_config_daemon_validate.md)
- [config env](https://docs.mozilla.ai/mcpd/cli-reference/mcpd_config_env.md)
- [config env clear](https://docs.mozilla.ai/mcpd/cli-reference/mcpd_config_env_clear.md)
- [config env list](https://docs.mozilla.ai/mcpd/cli-reference/mcpd_config_env_list.md)
- [config env remove](https://docs.mozilla.ai/mcpd/cli-reference/mcpd_config_env_remove.md)
- [config env set](https://docs.mozilla.ai/mcpd/cli-reference/mcpd_config_env_set.md)
- [config export](https://docs.mozilla.ai/mcpd/cli-reference/mcpd_config_export.md)
- [config plugins](https://docs.mozilla.ai/mcpd/cli-reference/mcpd_config_plugins.md)
- [config plugins add](https://docs.mozilla.ai/mcpd/cli-reference/mcpd_config_plugins_add.md)
- [config plugins get](https://docs.mozilla.ai/mcpd/cli-reference/mcpd_config_plugins_get.md)
- [config plugins list](https://docs.mozilla.ai/mcpd/cli-reference/mcpd_config_plugins_list.md)
- [config plugins move](https://docs.mozilla.ai/mcpd/cli-reference/mcpd_config_plugins_move.md)
- [config plugins remove](https://docs.mozilla.ai/mcpd/cli-reference/mcpd_config_plugins_remove.md)
- [config plugins set](https://docs.mozilla.ai/mcpd/cli-reference/mcpd_config_plugins_set.md)
- [config plugins validate](https://docs.mozilla.ai/mcpd/cli-reference/mcpd_config_plugins_validate.md)
- [config tools](https://docs.mozilla.ai/mcpd/cli-reference/mcpd_config_tools.md)
- [config tools list](https://docs.mozilla.ai/mcpd/cli-reference/mcpd_config_tools_list.md)
- [config tools remove](https://docs.mozilla.ai/mcpd/cli-reference/mcpd_config_tools_remove.md)
- [config tools set](https://docs.mozilla.ai/mcpd/cli-reference/mcpd_config_tools_set.md)
- [config volumes](https://docs.mozilla.ai/mcpd/cli-reference/mcpd_config_volumes.md)
- [config volumes clear](https://docs.mozilla.ai/mcpd/cli-reference/mcpd_config_volumes_clear.md)
- [config volumes list](https://docs.mozilla.ai/mcpd/cli-reference/mcpd_config_volumes_list.md)
- [config volumes remove](https://docs.mozilla.ai/mcpd/cli-reference/mcpd_config_volumes_remove.md)
- [config volumes set](https://docs.mozilla.ai/mcpd/cli-reference/mcpd_config_volumes_set.md)
- [daemon](https://docs.mozilla.ai/mcpd/cli-reference/mcpd_daemon.md)
- [init](https://docs.mozilla.ai/mcpd/cli-reference/mcpd_init.md)
- [inspector](https://docs.mozilla.ai/mcpd/cli-reference/mcpd_inspector.md)
- [remove](https://docs.mozilla.ai/mcpd/cli-reference/mcpd_remove.md)
- [search](https://docs.mozilla.ai/mcpd/cli-reference/mcpd_search.md)

## any-agent

- [Introduction](https://docs.mozilla.ai/any-agent/index.md)
- [Define and Run Agents](https://docs.mozilla.ai/any-agent/agents/index.md)
- [Models](https://docs.mozilla.ai/any-agent/agents/models.md)
- [Callbacks](https://docs.mozilla.ai/any-agent/agents/callbacks.md)
- [Frameworks](https://docs.mozilla.ai/any-agent/agents/index-1.md)
- [Agno](https://docs.mozilla.ai/any-agent/agents/index-1/agno.md)
- [Google ADK](https://docs.mozilla.ai/any-agent/agents/index-1/google-adk.md)
- [LangChain](https://docs.mozilla.ai/any-agent/agents/index-1/langchain.md)
- [LlamaIndex](https://docs.mozilla.ai/any-agent/agents/index-1/llama-index.md)
- [OpenAI Agents SDK](https://docs.mozilla.ai/any-agent/agents/index-1/openai.md)
- [smolagents](https://docs.mozilla.ai/any-agent/agents/index-1/smolagents.md)
- [TinyAgent](https://docs.mozilla.ai/any-agent/agents/index-1/tinyagent.md)
- [Tools](https://docs.mozilla.ai/any-agent/agents/tools.md)
- [Frameworks](https://docs.mozilla.ai/any-agent/core-concepts/frameworks.md)
- [Tracing](https://docs.mozilla.ai/any-agent/core-concepts/tracing.md)
- [Evaluation](https://docs.mozilla.ai/any-agent/core-concepts/evaluation.md)
- [Serving](https://docs.mozilla.ai/any-agent/core-concepts/serving.md)
- [Your First Agent](https://docs.mozilla.ai/any-agent/cookbook/your-first-agent.md)
- [Your First Agent Evaluation](https://docs.mozilla.ai/any-agent/cookbook/your-first-agent-evaluation.md)
- [Using Callbacks](https://docs.mozilla.ai/any-agent/cookbook/callbacks.md)
- [MCP Agent](https://docs.mozilla.ai/any-agent/cookbook/mcp-agent.md)
- [Serve with A2A](https://docs.mozilla.ai/any-agent/cookbook/serve-a2a.md)
- [Use an Agent as a Tool (A2A)](https://docs.mozilla.ai/any-agent/cookbook/a2a-as-tool.md)
- [Local Agent](https://docs.mozilla.ai/any-agent/cookbook/agent-with-local-llm.md)
- [Agent](https://docs.mozilla.ai/any-agent/api-reference/agent.md): AnyAgent, AgentCancel, and AgentRunError reference
- [Callbacks](https://docs.mozilla.ai/any-agent/api-reference/callbacks.md): Callback, Context, ConsolePrintSpan, and get\_default\_callbacks reference
- [Config](https://docs.mozilla.ai/any-agent/api-reference/config.md): AgentConfig, MCP configurations, AgentFramework, and serving configs
- [Evaluation](https://docs.mozilla.ai/any-agent/api-reference/evaluation.md): LlmJudge and AgentJudge reference
- [Logging](https://docs.mozilla.ai/any-agent/api-reference/logging.md): Logging setup and customization
- [Serving](https://docs.mozilla.ai/any-agent/api-reference/serving.md): ServerHandle reference
- [Tools](https://docs.mozilla.ai/any-agent/api-reference/tools.md): Built-in tools provided by any-agent
- [Tracing](https://docs.mozilla.ai/any-agent/api-reference/tracing.md): AgentTrace, AgentSpan, CostInfo, TokenInfo, and GenAI reference

## tinyagent

- [Introduction](https://docs.mozilla.ai/tinyagent/index.md)
- [Models](https://docs.mozilla.ai/tinyagent/guides/models.md)
- [Tools](https://docs.mozilla.ai/tinyagent/guides/tools.md)
- [Callbacks](https://docs.mozilla.ai/tinyagent/guides/callbacks.md)
- [Tracing](https://docs.mozilla.ai/tinyagent/guides/tracing.md)
- [Serving](https://docs.mozilla.ai/tinyagent/guides/serving.md)
- [Evaluation](https://docs.mozilla.ai/tinyagent/guides/evaluation.md)
- [Your first agent](https://docs.mozilla.ai/tinyagent/cookbook/your-first-agent.md)
- [Evaluating an agent](https://docs.mozilla.ai/tinyagent/cookbook/your-first-agent-evaluation.md)
- [MCP agent](https://docs.mozilla.ai/tinyagent/cookbook/mcp-agent.md)
- [Callbacks](https://docs.mozilla.ai/tinyagent/cookbook/callbacks.md)
- [Serve over A2A](https://docs.mozilla.ai/tinyagent/cookbook/serve-a2a.md)
- [Local LLM](https://docs.mozilla.ai/tinyagent/cookbook/agent-with-local-llm.md)
- [Agent](https://docs.mozilla.ai/tinyagent/api-reference/agent.md): TinyAgent, AgentCancel, and AgentRunError reference
- [Config](https://docs.mozilla.ai/tinyagent/api-reference/config.md): AgentConfig, MCP configurations, and serving configs
- [Callbacks](https://docs.mozilla.ai/tinyagent/api-reference/callbacks.md): Callback, Context, ConsolePrintSpan, and get\_default\_callbacks reference
- [Tracing](https://docs.mozilla.ai/tinyagent/api-reference/tracing.md): AgentTrace, AgentSpan, CostInfo, TokenInfo, and GenAI reference
- [Evaluation](https://docs.mozilla.ai/tinyagent/api-reference/evaluation.md): LlmJudge and AgentJudge reference
- [Tools](https://docs.mozilla.ai/tinyagent/api-reference/tools.md): Built-in tools provided by tinyagent
- [Serving](https://docs.mozilla.ai/tinyagent/api-reference/serving.md): ServerHandle reference


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
This site has an agentic ask interface you may use to query the documentation dynamically by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.mozilla.ai/index.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.
