> For the complete documentation index, see [llms.txt](https://docs.sorry-cypress.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sorry-cypress.dev/integrating-cypress/configuring-cypress-agent.md).

# Agent Configuration - Deprecated

{% hint style="danger" %}
**Please note**

Cypress 11 and 12+ deprecated agent configuration files. Please make sure to use the latest version of cy2 package. See more at <https://currents.dev/readme/guides/cypress-compatibility>
{% endhint %}

Find cypress installation path

```bash
DEBUG=cypress:* cypress version

# here it is
cypress:cli Reading binary package.json from: /Users/john/Library/Caches/Cypress/3.4.1/Cypress.app/Contents/Resources/app/package.json +0ms
```

In my case it is: `/Users/john/Library/Caches/Cypress/6.3.0/Cypress.app/Contents/Resources/app/`

Change the default dashboard URL - use the `director` service URL

```bash
$ cat /Users/john/Library/Caches/Cypress/3.4.1/Cypress.app/Contents/Resources/app/packages/server/config/app.yml

...
# Replace this with a URL of the alternative dashboard
production:
  # api_url: "https://api.cypress.io/"
  api_url: "http://localhost:1234/"
...
```


---

# 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
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sorry-cypress.dev/integrating-cypress/configuring-cypress-agent.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
