> For the complete documentation index, see [llms.txt](https://docs.cherryai.com.cn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cherryai.com.cn/advanced-basic/agent-workspace/workspaces-tasks-files.md).

# 工作目录、任务与文件

<details>

<summary>哪些文件不能直接编辑？</summary>

二进制文件、非 UTF-8 文本和体积较大的文件只提供预览或外部打开。它们仍可由 Agent 工具处理，但不一定能在内置编辑器中修改。

</details>

<figure><img src="/files/Nsb1dVVydwXKih32ewe5" alt="Agent 右侧状态面板中的产物、任务与后台执行信息"><figcaption></figcaption></figure>

<figure><img src="/files/TasWLajyXW8HPnIMV4LR" alt="Agent 工作区中的任务列表、工作目录和主操作区"><figcaption></figcaption></figure>


---

# 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, and the optional `goal` query parameter:

```
GET https://docs.cherryai.com.cn/advanced-basic/agent-workspace/workspaces-tasks-files.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
