> For the complete documentation index, see [llms.txt](https://docs.appfarm.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.appfarm.io/reference/appfarm-ai/q-and-a-section.md). Agents can also search and read this documentation through its [MCP server](https://docs.appfarm.io/~gitbook/mcp).

# Q\&A section

Frequently asked questions related to the use and deployment of Appfarm AI. For the FAQ from a more commercial perspective, please see [this article](https://www.appfarm.io/ai/our-approach).

#### Q: How can I ensure I am in full control of all changes made by Appfarm AI?

There are many ways to stay a bit more in charge of the work being done. First off, you may ask Appfarm AI to make a plan before it builds. The plan card has **Review plan**, **Skip**, and **Approve** buttons, and the agents don't start on the tasks until you click **Approve**. Secondly, be aware that all changes are bundled "per task". You can see these changes both in the Change history panel, or you can undo them from the undo/redo menu (top-right) as explained [here](https://docs.appfarm.io/reference/appfarm-ai/build.md#tasks-and-changes).

As an extra layer of security, Appfarm Create takes snapshots of the whole solution automatically (and you may also take manual [snapshots](https://docs.appfarm.io/reference/operations/deploy.md#snapshots)). You can always roll back to one of these snapshots.

#### Q: The agent keeps making the same mistake. What do I do?

If the agent is running, click the stop icon (bottom right side of the chat input box). Report the error by using the [feedback functionality](https://docs.appfarm.io/reference/appfarm-ai.md#feedback). Try to start a new thread, rephrase your prompt, or go to visual drag & drop.

#### Q: I have a very large existing app. Is it safe to start building with AI inside this app?

The short answer: Yes, it is safe, but it works better (and consumes fewer credits) on small-to-medium-sized apps. Appfarm AI gets a compact map of the whole Solution (the names and types of apps, views, actions, object classes, and more) and uses tools to read the details it needs on demand, including the current view (read more about metadata handling [here](https://docs.appfarm.io/reference/appfarm-ai/context-handling.md#optimization-and-on-demand-fetching)). However, if the views or actions it reads are very large, or the Solution itself is very large, the amount of metadata sent can still be very large, resulting in more credits used and often a slower and degraded output.

What is a small-to-medium-sized app? Everything below the [recommended maximum app size](https://docs.appfarm.io/reference/apps/app-size.md#recommended-maximum-app-size).

#### Q: Can I do R\&D in my free solution, and then copy the app to our (paid and shared) enterprise solution?

Yes. You can right-click an app from the "Apps" main menu and copy it to the clipboard, navigate to the enterprise solution, and paste the app in the same apps menu.

Note 1: The data model will not be merged. New object classes will be created by pasting the app. If duplicates are created, you should rename the duplicate and ask AI to replace it in your app.

Note 2: You can only copy apps between solutions that are on the same Appfarm Create version (i.e., they are on the same release channel). Read more about release channels and versioning [here](https://docs.appfarm.io/solution-administration/release-channels.md).

#### Q: Is Appfarm AI accessing my data? How is privacy handled?

Not by default. Appfarm AI accesses your application metadata, the equivalent of the application code. For example, if you are building a customer portal in Appfarm, the fact that you have a customer portal (the views, diagrams, name of the object classes, etc.) is sent to the underlying AI APIs that are used, not the data itself. When Appfarm AI generates records or references existing records, it also reads record IDs in the Development environment.

Appfarm AI also reads, and sends to the AI model providers it uses, the files you attach to a prompt, the files in **Internal** in [Files](https://docs.appfarm.io/reference/resources/files.md) (only Appfarm Create users in the Solution and Appfarm AI can see these), and the Solution's [Solution memory](https://docs.appfarm.io/reference/appfarm-ai/build.md#solution-memory).

If an Owner turns on [**Development data access**](https://docs.appfarm.io/reference/appfarm-create/settings.md#appfarm-ai), Appfarm AI can also read the values of records in the Development environment and send them to the AI model providers it uses. It never reads data from the Test or Production environments. Read more in [Context handling](https://docs.appfarm.io/reference/appfarm-ai/context-handling.md#development-data).

Only Owners can change this setting. When a request needs record values, Appfarm AI may ask in the thread: **Turn on development data access?** Nothing changes until an Owner turns it on in Settings.

Appfarm AI can't read the User object class, not even record IDs. It never reads secret values. When it needs an API key, it shows an **Add secret** card in the thread. The value you enter is saved directly as a Secret and is never shared with the AI. You can also add Secrets yourself under **Secrets**.

Read more about our approach, including privacy, [here](https://www.appfarm.io/ai/our-approach).

#### Q: How does AI credits work? How can I get more? Do they expire?

Read how AI credits work [here](https://docs.appfarm.io/reference/appfarm-ai/ai-credits.md). Also, see our [terms of use](https://policies.appfarm.io/service-and-usage/ai-credits-terms-of-use) section.

#### Q: Can I opt out of using Appfarm AI?

Yes. Appfarm AI is opt-in. You may always opt out of using Appfarm AI in Appfarm Create. This can be requested by the customer (the subscription owner).

Read more about our approach [here](https://www.appfarm.io/ai/our-approach).


---

# 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 by asking a question.

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

```
GET https://docs.appfarm.io/reference/appfarm-ai/q-and-a-section.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.

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.
