> For the complete documentation index, see [llms.txt](https://docs.zongsoft.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.zongsoft.com/hosting.md).

# 宿主程序

- [宿主概览](https://docs.zongsoft.com/hosting/hosting.md): 选择终端、后台或 Web 宿主，理解应用身份、配置目录和插件生命周期。
- [终端宿主](https://docs.zongsoft.com/hosting/terminal.md): 使用交互式终端验证插件、命令和后台业务，区分运行身份与部署方案。
- [后台服务宿主](https://docs.zongsoft.com/hosting/daemon.md): 承载长期后台任务，正确区分宿主生命周期集成、服务安装和业务就绪。
- [Web 宿主](https://docs.zongsoft.com/hosting/web.md): 启动插件化 HTTP 宿主，组织站点配置，并验证控制器与运行环境。
- [部署宿主](https://docs.zongsoft.com/hosting/deployment.md): 将宿主、插件与环境配置组合成可运行目录，核对变量、版本和更新边界。
- [容器化环境](https://docs.zongsoft.com/hosting/containerization.md): 使用仓库 Podman 清单准备开发依赖，识别端口、挂载和持久化边界。


---

# 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.zongsoft.com/hosting.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.
