﻿# 运行与部署

分别管理服务、执行目标和持久研究记录。先通过[快速开始](https://flowllm-ai.github.io/AxonX/zh/getting-started/quickstart)验证本机连接，再选择需要的操作。

## 选择操作

| 目标                                  | 指南                                 |
| ------------------------------------- | ------------------------------------ |
| 提交、等待、跟踪日志、取消或删除 Task | [任务管理](https://flowllm-ai.github.io/AxonX/zh/guides/task-management)       |
| 浏览和检查工作区产物                  | [工作区文件](https://flowllm-ai.github.io/AxonX/zh/guides/workspace-files)     |
| 复制已结束 Task 的快照                | [任务同步](https://flowllm-ai.github.io/AxonX/zh/guides/task-sync)             |
| 配置服务访问与令牌                    | [鉴权](https://flowllm-ai.github.io/AxonX/zh/guides/authentication)            |
| 托管服务，按需启用 Studio             | [部署](https://flowllm-ai.github.io/AxonX/zh/guides/deployment)                |
| CLI 直连或通过 Studio 转发            | [远程机器](https://flowllm-ai.github.io/AxonX/zh/guides/remote-machines)       |
| 转发配置的 HTTP 请求                  | [HTTP 代理](https://flowllm-ai.github.io/AxonX/zh/guides/http-proxy)           |
| 定时执行 Job                          | [调度](https://flowllm-ai.github.io/AxonX/zh/guides/scheduling)                |
| 通过钉钉发送任务通知                  | [通知](https://flowllm-ai.github.io/AxonX/zh/research/notifications) |
| 定位故障、备份与恢复记录              | [排障与恢复](https://flowllm-ai.github.io/AxonX/zh/guides/operations)          |

## 明确执行环境

远程服务拥有自己的插件、数据、工作进程与工作区。CLI 直连使用目标服务令牌；Studio 使用本机令牌，通过同源后端转发到配置的目标。提交、等待、日志与产物查询应使用同一执行目标。

任务同步复制已结束的 Task 目录。原始行情、插件依赖、模型凭据与 Agent 会话环境需要单独准备。存储边界见[工作区概念](https://flowllm-ai.github.io/AxonX/zh/concepts/workspace)，连接优先级见[客户端配置](https://flowllm-ai.github.io/AxonX/zh/reference/client-configuration)。

## 维护服务时保留证据

实验使用不同 Task 身份。同名重跑会替换已结束目录，删除会移除记录与产物。取消和服务关闭会影响工作进程，但不提供执行续跑能力。清理或恢复前先阅读[任务生命周期](https://flowllm-ai.github.io/AxonX/zh/concepts/task-lifecycle)。
