# mirrord Docs ## Documentation - [Welcome to the mirrord Docs](https://metalbear.com/mirrord/docs/welcome.md): Connect local code, run by developers or AI coding agents, to your live Kubernetes cluster - [What is mirrord?](https://metalbear.com/mirrord/docs/getting-started/what-is-mirrord.md): How mirrord runs your local code in the context of your cluster, and what the paid plans add. - [Quick Start](https://metalbear.com/mirrord/docs/getting-started/quick-start.md): Get mirrord running against your cluster in a few minutes, from the install to your first session. - [Onboarding Wizard](https://metalbear.com/mirrord/docs/getting-started/quick-start/onboarding-wizard.md): Use the mirrord onboarding wizard to learn the basics and create your first config file. - [Installing mirrord](https://metalbear.com/mirrord/docs/getting-started/installing-mirrord.md): How to install mirrord, and what your machine and your cluster need before you start. - [CLI](https://metalbear.com/mirrord/docs/getting-started/installing-mirrord/cli.md): How to install the mirrord CLI on your machine and run your first session from the terminal. - [Global Configuration](https://metalbear.com/mirrord/docs/getting-started/installing-mirrord/cli/global-configuration.md): Set and remove user-wide mirrord CLI defaults - [VS Code](https://metalbear.com/mirrord/docs/getting-started/installing-mirrord/vscode.md): How to install the mirrord extension in Visual Studio Code and run your app with it. - [JetBrains IDEs](https://metalbear.com/mirrord/docs/getting-started/installing-mirrord/intellij.md): How to install and use the mirrord plugin in IntelliJ IDEA and other JetBrains IDEs. - [mirrord Operator](https://metalbear.com/mirrord/docs/getting-started/installing-mirrord/operator.md): How to install and manage the mirrord Operator, which runs in your cluster for Team and Enterprise. - [WSL (deprecated)](https://metalbear.com/mirrord/docs/getting-started/installing-mirrord/wsl.md): How to install and use mirrord inside WSL on Windows. mirrord now also runs natively on Windows. - [Remocal Development](https://metalbear.com/mirrord/docs/use-cases/local-development.md): Run your code on your machine while it talks to the services in your Kubernetes cluster. - [CI/CD Integration](https://metalbear.com/mirrord/docs/use-cases/mirrord-for-ci.md): How to use the mirrord ci commands to run CI jobs against a shared staging cluster. - [Preview Environments](https://metalbear.com/mirrord/docs/use-cases/preview-environments.md): Run new or changed services in short-lived preview environments inside your existing cluster. - [Preview Environments in CI](https://metalbear.com/mirrord/docs/use-cases/preview-environments/preview-environments-in-ci.md): How to automate preview environments in your CI pipeline with PR-based keys and header propagation - [Chaos Testing](https://metalbear.com/mirrord/docs/use-cases/chaos-testing.md): Introduce unexpected failures or disruptions to chaos test your app with mirrord. - [Using mirrord with AI](https://metalbear.com/mirrord/docs/use-cases/using-mirrord-with-ai.md): Configure AI coding agents to test code changes against your cluster using mirrord - [mirrord MCP Server](https://metalbear.com/mirrord/docs/use-cases/using-mirrord-with-ai/mcp-server.md): Register the MCP server built into the mirrord CLI, so that your AI agent checks mirrord configs and reads the mirrord docs of the version you have installed. - [Agent Skills for mirrord](https://metalbear.com/mirrord/docs/use-cases/using-mirrord-with-ai/ai-skills-plugin.md): Install the mirrord skills plugin to give AI coding assistants like Cursor and Claude Code domain-specific knowledge of how to work with mirrord. - [Test Claude Code Changes Against Staging](https://metalbear.com/mirrord/docs/use-cases/using-mirrord-with-ai/claude-code.md): Set up Claude Code to run the code it writes against the real services in your staging Kubernetes cluster with mirrord, with no deploy and no mocks to maintain. - [Configure AI Agents to Use mirrord](https://metalbear.com/mirrord/docs/use-cases/using-mirrord-with-ai/the-meta-prompt.md): Configure AI coding agents to test code changes against your cluster using mirrord - [Agent-Started Trials](https://metalbear.com/mirrord/docs/use-cases/using-mirrord-with-ai/agent-started-trials.md): How an AI coding agent starts a mirrord for Teams trial, and how to claim the organization it creates - [Using mirrord with Cloud Agents](https://metalbear.com/mirrord/docs/use-cases/using-mirrord-with-ai/cloud-agents.md): Let cloud agents such as Cursor cloud agents, Codex cloud, Claude Code on the web, and Devin run and test code against your staging cluster with mirrord, without a seat for each session. - [Incoming Traffic](https://metalbear.com/mirrord/docs/using-mirrord/incoming-traffic.md): How mirrord sends incoming traffic from a pod in the cluster to your local process. - [Filtering Incoming Traffic](https://metalbear.com/mirrord/docs/using-mirrord/incoming-traffic/filter-incoming-traffic.md): Steal a subset of incoming traffic using HTTP header, W3C baggage or tracestate, path or method filters - [Filtering by JSON Body](https://metalbear.com/mirrord/docs/using-mirrord/incoming-traffic/filter-incoming-traffic/filtering-by-json-body.md): Steal only the HTTP requests whose JSON body matches the values you choose. - [Debugging from Browser](https://metalbear.com/mirrord/docs/using-mirrord/incoming-traffic/filter-incoming-traffic/debug-from-browser.md): Use the Chrome extension to route browser traffic to your local process - [Stealing HTTPS Requests](https://metalbear.com/mirrord/docs/using-mirrord/incoming-traffic/steal-https.md): How to steal HTTPS traffic with mirrord when your app terminates TLS itself. - [Inspecting Live Traffic](https://metalbear.com/mirrord/docs/using-mirrord/incoming-traffic/inspect-live-traffic.md): Use mirrord dump to watch the incoming traffic to a workload in your cluster, live in your terminal. - [Working with API Gateways](https://metalbear.com/mirrord/docs/using-mirrord/incoming-traffic/api-gateways.md): Use mirrord with services behind an API gateway such as Kong, Envoy Gateway, Emissary, NGINX, or Traefik - [Outgoing Traffic](https://metalbear.com/mirrord/docs/using-mirrord/outgoing-traffic.md): How mirrord sends outgoing requests from your local process through the cluster. - [Filtering Outgoing Traffic](https://metalbear.com/mirrord/docs/using-mirrord/outgoing-traffic/filter-outgoing-traffic.md): Control which outgoing connections go through the cluster and which stay local - [Importing Environment Variables](https://metalbear.com/mirrord/docs/using-mirrord/environment-variables.md): Choose which environment variables mirrord loads from the remote pod into your local process. - [Reading and Writing Remote Files](https://metalbear.com/mirrord/docs/using-mirrord/file-operations.md): Choose which files your local process reads and writes on the remote pod, and which stay local. - [Port Forwarding](https://metalbear.com/mirrord/docs/using-mirrord/port-forwarding.md): Use mirrord port-forward to reach services in your cluster from a local port. - [Connecting Tools to the Cluster](https://metalbear.com/mirrord/docs/using-mirrord/connecting-tools.md): Use mirrord to connect local tools like browsers, Postman, and database clients to cluster services - [Web Browsing](https://metalbear.com/mirrord/docs/using-mirrord/connecting-tools/web-browsing.md): Browse internal web tools in your cluster from your own browser through mirrord. - [Postman](https://metalbear.com/mirrord/docs/using-mirrord/connecting-tools/postman.md): Send requests from Postman to services inside your cluster through mirrord. - [Running Without a Target](https://metalbear.com/mirrord/docs/using-mirrord/targetless.md): Run mirrord without a target to use the cluster's network from code that is not deployed yet. - [Copying a Target](https://metalbear.com/mirrord/docs/using-mirrord/copy-target.md): Make mirrord run against a copy of the target pod instead of the original. - [Local Containers](https://metalbear.com/mirrord/docs/using-mirrord/local-container.md): Run your app in a local container with mirrord, so it gets the cluster's traffic, files, and environment variables. - [Seamless Multi-Cluster Development](https://metalbear.com/mirrord/docs/using-mirrord/multi-cluster.md): Multi-cluster mirrord lets developers intercept traffic from pods across several Kubernetes clusters at once, without switching kube contexts. - [Multi-Cluster Setup](https://metalbear.com/mirrord/docs/using-mirrord/multi-cluster/multi-cluster-setup.md): Step-by-step guide to setting up multi-cluster mirrord: install the operator on every cluster, choose an authentication method, and connect them. - [Serverless Workloads](https://metalbear.com/mirrord/docs/using-mirrord/serverless.md): Run a service locally while it takes over the network and environment of a workload running outside Kubernetes, such as an Amazon ECS task. - [Operator-Hosted Sessions-Manager](https://metalbear.com/mirrord/docs/using-mirrord/serverless/operator-hosted.md): Run sessions-manager inside the mirrord Operator, so developers can target serverless workloads such as Amazon ECS tasks through your cluster's API server. - [MetalBear Cloud Sessions-Manager](https://metalbear.com/mirrord/docs/using-mirrord/serverless/metalbear-cloud.md): Target serverless workloads such as Amazon ECS tasks without the mirrord Operator, through a sessions-manager hosted by MetalBear, with workloads authenticated by a MetalBear API key and developers by - [Amazon ECS](https://metalbear.com/mirrord/docs/using-mirrord/serverless/ecs.md): Add the mirrord remote bootstrap to an Amazon ECS task definition, so developers can target the service's tasks with mirrord. - [Connecting ECS to the Operator](https://metalbear.com/mirrord/docs/using-mirrord/serverless/ecs/ecs-operator-hosted.md): Connect an Amazon ECS task to the Operator-hosted sessions-manager: map the task role into the EKS cluster, make the API server reachable from ECS, and add the connection variables to the task. - [Connecting ECS to MetalBear Cloud](https://metalbear.com/mirrord/docs/using-mirrord/serverless/ecs/ecs-metalbear-cloud.md): Connect an Amazon ECS task to the MetalBear Cloud sessions-manager: store the API key in AWS Secrets Manager, allow outbound HTTPS, and add the connection variables to the task. - [Multiple concurrent sessions (mirrord up)](https://metalbear.com/mirrord/docs/using-mirrord/multiple-concurrent-sessions.md): Use mirrord up to run several mirrord sessions together from one config file. - [Targeting Pods by Label](https://metalbear.com/mirrord/docs/using-mirrord/targeting-pods-by-label.md): Target every pod that shares a Kubernetes label from a single mirrord session - [Local UI](https://metalbear.com/mirrord/docs/using-mirrord/local-ui.md): Launch a local web dashboard that watches every active mirrord session - [Subscribing to Events](https://metalbear.com/mirrord/docs/using-mirrord/subscribe.md): Use mirrord subscribe to stream the events of a mirrord session as JSON, for example in CI. - [Sharing the Cluster Overview](https://metalbear.com/mirrord/docs/sharing-the-cluster/overview.md): How mirrord makes it possible for developers to use the same cluster concurrently. - [Managing Sessions](https://metalbear.com/mirrord/docs/sharing-the-cluster/sessions.md): See which mirrord sessions are active in your cluster, and stop them when you need to. - [Policies](https://metalbear.com/mirrord/docs/sharing-the-cluster/policies.md): Limiting available features for selected targets with mirrord for Teams - [Outgoing Traffic Policies](https://metalbear.com/mirrord/docs/sharing-the-cluster/policies/outgoing-traffic-policies.md): Restricting which resources and endpoints can be accessed when using mirrord - [Profiles](https://metalbear.com/mirrord/docs/sharing-the-cluster/profiles.md): Define reusable mirrord config templates for your organization, and choose one for each session. - [Queue Splitting](https://metalbear.com/mirrord/docs/sharing-the-cluster/queue-splitting.md) - [Amazon SQS](https://metalbear.com/mirrord/docs/sharing-the-cluster/queue-splitting/sqs.md) - [Kafka](https://metalbear.com/mirrord/docs/sharing-the-cluster/queue-splitting/kafka.md) - [RabbitMQ](https://metalbear.com/mirrord/docs/sharing-the-cluster/queue-splitting/rabbitmq.md) - [Google Cloud Pub/Sub](https://metalbear.com/mirrord/docs/sharing-the-cluster/queue-splitting/gcp-pubsub.md) - [Azure Service Bus](https://metalbear.com/mirrord/docs/sharing-the-cluster/queue-splitting/azure-service-bus.md) - [NATS](https://metalbear.com/mirrord/docs/sharing-the-cluster/queue-splitting/nats.md) - [Redis Pub/Sub](https://metalbear.com/mirrord/docs/sharing-the-cluster/queue-splitting/redis-pubsub.md) - [Temporal](https://metalbear.com/mirrord/docs/sharing-the-cluster/queue-splitting/temporal.md) - [BullMQ](https://metalbear.com/mirrord/docs/sharing-the-cluster/queue-splitting/bullmq.md) - [More](https://metalbear.com/mirrord/docs/sharing-the-cluster/queue-splitting/more.md) - [Migrating to MirrordSplitConfig](https://metalbear.com/mirrord/docs/sharing-the-cluster/queue-splitting/more/migrating-to-mirrordsplitconfig.md) - [Queue Splitting Status](https://metalbear.com/mirrord/docs/sharing-the-cluster/queue-splitting/status.md) - [Header Propagation](https://metalbear.com/mirrord/docs/sharing-the-cluster/header-propagation.md): Keep your mirrord filter header on requests and messages as they pass between services, so filtered traffic reaches services deeper in the call chain - [DB Branching](https://metalbear.com/mirrord/docs/sharing-the-cluster/db-branching.md): How to use mirrord to spin up an isolated DB branch for safe development and testing DB migrations - [MySQL](https://metalbear.com/mirrord/docs/sharing-the-cluster/db-branching/mysql.md): Spin up an isolated MySQL branch of your remote database with mirrord. - [MariaDB](https://metalbear.com/mirrord/docs/sharing-the-cluster/db-branching/mariadb.md): Spin up an isolated MariaDB branch of your remote database with mirrord - [PostgreSQL](https://metalbear.com/mirrord/docs/sharing-the-cluster/db-branching/postgresql.md): Spin up an isolated PostgreSQL branch of your remote database with mirrord - [MSSQL](https://metalbear.com/mirrord/docs/sharing-the-cluster/db-branching/mssql.md): Spin up an isolated Microsoft SQL Server branch of your remote database with mirrord - [MongoDB](https://metalbear.com/mirrord/docs/sharing-the-cluster/db-branching/mongodb.md): Spin up an isolated MongoDB branch of your remote database with mirrord - [Redis](https://metalbear.com/mirrord/docs/sharing-the-cluster/db-branching/redis.md): Spin up an isolated Redis branch with mirrord - in the cluster or on your own machine - [DynamoDB](https://metalbear.com/mirrord/docs/sharing-the-cluster/db-branching/dynamodb.md): Spin up an isolated DynamoDB branch of your remote tables with mirrord - [ClickHouse](https://metalbear.com/mirrord/docs/sharing-the-cluster/db-branching/clickhouse.md): Spin up an isolated ClickHouse branch of your remote database with mirrord - [CockroachDB](https://metalbear.com/mirrord/docs/sharing-the-cluster/db-branching/cockroachdb.md): Spin up an isolated CockroachDB branch of your remote database with mirrord - [Google Spanner](https://metalbear.com/mirrord/docs/sharing-the-cluster/db-branching/spanner.md): Spin up an isolated Google Cloud Spanner branch of your remote database with mirrord - [S3](https://metalbear.com/mirrord/docs/sharing-the-cluster/db-branching/s3.md): Spin up an isolated clone of your remote S3 bucket with mirrord, so your changes stay out of the shared bucket. - [turbopuffer](https://metalbear.com/mirrord/docs/sharing-the-cluster/db-branching/turbopuffer.md): Spin up an isolated turbopuffer namespace branch of your remote namespace with mirrord - [Generic](https://metalbear.com/mirrord/docs/sharing-the-cluster/db-branching/generic.md): Branch any stateful service with mirrord by supplying your own container image - [More](https://metalbear.com/mirrord/docs/sharing-the-cluster/db-branching/more.md) - [Connection Modes](https://metalbear.com/mirrord/docs/sharing-the-cluster/db-branching/more/connection.md): How mirrord locates your source database connection details for DB branching - [IAM Authentication](https://metalbear.com/mirrord/docs/sharing-the-cluster/db-branching/more/iam-authentication.md): Use AWS RDS or GCP Cloud SQL IAM authentication with mirrord DB branching - [Schema Migrations](https://metalbear.com/mirrord/docs/sharing-the-cluster/db-branching/more/migrations.md): Run schema migrations against a mirrord DB branch automatically, before your local code connects. - [Branch Management](https://metalbear.com/mirrord/docs/sharing-the-cluster/db-branching/more/management.md): See the status of the mirrord DB branches in your cluster, and remove the ones you no longer need. - [Dashboard](https://metalbear.com/mirrord/docs/managing-mirrord/admin-dashboard.md): Use the mirrord Dashboard to see who uses mirrord, on which targets, and how much time it saves your organization. - [License Server Setup](https://metalbear.com/mirrord/docs/managing-mirrord/admin-dashboard/license-server.md): How to set up the mirrord Dashboard on your own self-hosted license server. - [Cloud Setup](https://metalbear.com/mirrord/docs/managing-mirrord/admin-dashboard/cloud.md): How to set up the mirrord Dashboard that MetalBear hosts in the cloud. - [Topology](https://metalbear.com/mirrord/docs/managing-mirrord/admin-dashboard/topology.md): See which services your mirrord sessions call, drawn as a map of the cluster - [Usage API](https://metalbear.com/mirrord/docs/managing-mirrord/admin-dashboard/usage-api.md): Pull your organization's usage data out of the cloud dashboard with a read-only key - [Monitoring](https://metalbear.com/mirrord/docs/managing-mirrord/monitoring.md): How to monitor the mirrord Operator with your existing logging, metrics, and tracing tools. - [Security](https://metalbear.com/mirrord/docs/managing-mirrord/security.md): How mirrord for Teams handles your data, access control, and compliance, for security teams that evaluate it. - [High Availability](https://metalbear.com/mirrord/docs/managing-mirrord/high-availability.md): How to run the mirrord Operator with high availability on the Enterprise plan. - [Scalability](https://metalbear.com/mirrord/docs/managing-mirrord/scalability.md): Default sizing, concurrent session guidance, and capacity validation for the mirrord Operator - [Node Upgrades and Scale-Down](https://metalbear.com/mirrord/docs/managing-mirrord/node-upgrades.md): What happens to active mirrord sessions when Karpenter, Cluster Autoscaler, a node pool upgrade or kubectl drain removes a node - [Licensing](https://metalbear.com/mirrord/docs/managing-mirrord/licensing.md): How mirrord for Teams licensing works — seats, tracking modes, and key validation - [License Server](https://metalbear.com/mirrord/docs/managing-mirrord/license-server.md): Run your own mirrord license server to manage seats with no data sent to MetalBear, including in air-gapped clusters. - [Versioning](https://metalbear.com/mirrord/docs/managing-mirrord/versioning.md): Which versions of the mirrord components work together, and how to upgrade them safely. - [Jira Integration](https://metalbear.com/mirrord/docs/managing-mirrord/jira-integration.md): Show the mirrord session time and session count for each Jira issue, inside the issue itself. - [General Questions About mirrord](https://metalbear.com/mirrord/docs/faq/general.md): Answers to common questions about mirrord, including what it installs in your cluster and how it protects your shared environment. - [Limitations](https://metalbear.com/mirrord/docs/faq/limitations.md): Which languages, Kubernetes versions, and cluster setups mirrord supports, and where it does not work yet. - [Comparisons](https://metalbear.com/mirrord/docs/faq/comparisons.md): How does mirrord compare to Telepresence, Signadot, Okteto, Tilt, DevSpace, and Bridge to Kubernetes? - [Troubleshooting](https://metalbear.com/mirrord/docs/faq/troubleshooting.md): How to find and fix common mirrord problems, and what to send us when you report a bug. - [Troubleshooting Utilities](https://metalbear.com/mirrord/docs/faq/troubleshooting/utilities.md): Lightweight options that provide additional insight when debugging mirrord - [Common Issues](https://metalbear.com/mirrord/docs/faq/troubleshooting/common-issues.md): Solutions to issues you might run into when you set up or run mirrord, and where to get help if yours isn't listed. - [Collecting Logs](https://metalbear.com/mirrord/docs/faq/troubleshooting/collecting-logs.md): Where each mirrord component writes its logs, how to raise the log level, and what to include in a bug report - [Architecture](https://metalbear.com/mirrord/docs/reference/architecture.md): How mirrord works under the hood, from your local process to the cluster and back. - [Targets](https://metalbear.com/mirrord/docs/reference/targets.md): The Kubernetes resources that mirrord can target, and how to choose one for a session. - [Network Traffic](https://metalbear.com/mirrord/docs/reference/traffic.md): How mirrord handles incoming and outgoing network traffic for your local process. - [Environment Variables Reference](https://metalbear.com/mirrord/docs/reference/env.md): How mirrord loads environment variables from the remote pod into your local process. - [File Operations Reference](https://metalbear.com/mirrord/docs/reference/fileops.md): How mirrord handles file access from your local process, and which files it reads remotely. - [Feature Release Status](https://metalbear.com/mirrord/docs/release-stages.md): Understand mirrord's release stages — how complete each feature is and what stability to expect before relying on it in your workflow. - [Feature Support Matrix](https://metalbear.com/mirrord/docs/release-stages/feature-matrix.md): See which platforms and infrastructure support mirrord's advanced features — DB Branching, Queue Splitting, Preview Environments, and Multi-cluster. - [Third-Party Guides and Videos](https://metalbear.com/mirrord/docs/third-party.md): Guides, blog posts, and videos about mirrord written by the community. - [Contributing](https://metalbear.com/mirrord/docs/contributing.md): How to contribute to mirrord, the open source project, from your first issue to your first pull request. ## Configuration - [Getting Started](https://metalbear.com/mirrord/docs/config/readme.md): Configure mirrord with a mirrord.json file, from a minimal setup to templated values and complete example configurations. - [Options](https://metalbear.com/mirrord/docs/config/options.md): Detailed documentation of all configuration options available for mirrord, including usage, defaults, and examples. ## Changelog - [Operator](https://metalbear.com/mirrord/docs/changelog/operator.md): The release changelog for the mirrord operator. - [mirrord](https://metalbear.com/mirrord/docs/changelog/mirrord.md): The release changelog for the mirrord CLI. - [VS Code](https://metalbear.com/mirrord/docs/changelog/mirrord-vscode.md): The release changelog for the mirrord VS Code extension. - [IntelliJ](https://metalbear.com/mirrord/docs/changelog/mirrord-intellij.md): The release changelog for the mirrord IntelliJ plugin. ## Guides - [Guides](https://metalbear.com/mirrord/docs/guides/readme.md): Step-by-step guides for debugging microservices, testing AI-generated code, and running AI agents in Kubernetes with mirrord - [How to Debug a Java Microservice](https://metalbear.com/mirrord/docs/guides/language-guides/how-to-debug-a-java-microservice.md) - [How to Debug a Go Microservice](https://metalbear.com/mirrord/docs/guides/language-guides/how-to-debug-a-go-microservice.md) - [How to Debug a Node.js Microservice](https://metalbear.com/mirrord/docs/guides/language-guides/how-to-debug-a-nodejs-microservice.md) - [How to Debug a Kotlin Microservice](https://metalbear.com/mirrord/docs/guides/language-guides/how-to-debug-a-kotlin-microservice.md) - [How to Debug a Ruby Microservice](https://metalbear.com/mirrord/docs/guides/language-guides/how-to-debug-a-ruby-microservice.md) - [How to Debug a PHP Microservice](https://metalbear.com/mirrord/docs/guides/language-guides/how-to-debug-a-php-microservice.md) - [How to Debug a Python Microservice](https://metalbear.com/mirrord/docs/guides/language-guides/how-to-debug-a-python-microservice.md) - [How to Debug a .NET Microservice](https://metalbear.com/mirrord/docs/guides/language-guides/how-to-debug-a-dotnet-microservice.md) - [How to Debug Kafka Consumers](https://metalbear.com/mirrord/docs/guides/queue-guides/how-to-debug-kafka-consumers.md) - [How to Debug SQS Consumers](https://metalbear.com/mirrord/docs/guides/queue-guides/how-to-debug-sqs-consumers.md) - [Test AI-Generated Code](https://metalbear.com/mirrord/docs/guides/ai-guides/testing-ai-generated-code.md) - [Autonomous AI Workflows](https://metalbear.com/mirrord/docs/guides/ai-guides/running-ai-agents-with-mirrord.md) - [Configure Agents to Use mirrord](https://metalbear.com/mirrord/docs/guides/ai-guides/setting-up-mirrord-for-ai-tools.md) --- # 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://metalbear.com/mirrord/docs/index.md?ask=&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.