AGENT · CLI · API

让 Agent 直接交付文件。

OkFile 为 Agent、脚本和开发者提供 Python CLI、Skill 与 HTTP API。上传后返回稳定的文件或站点链接,客户端自动处理分片、续传与结构化错误。

选择适合你的入口

同一个服务器地址可以用于人工命令、Agent Skill 和自动化脚本。

Python CLI

适合 Agent 环境、跨平台终端与 CI。命令名为 okfile。

Agent Skill

提供能力发现、上传、下载、队列和静态站点发布约定。

HTTP API

直接集成现有服务,使用稳定错误码、Request ID 和重试提示。

五分钟开始

安装 Python 客户端,并把当前实例作为目标服务器。

python -m pip install --upgrade okfile
okfile config --server https://hk.okfile.com
okfile upload ./report.pdf
okfile publish ./website