AgentOS Client
AgentOS Client Docker 容器管理 CLI 工具。
安装
pip install agentos
使用
首次安装/设置
# 方式一:直接设置(从环境变量或交互式输入读取 key)
agentos setup
# 方式二:命令行指定 key
agentos setup --key "your-nuwax-saved-key"
# 方式三:先设置环境变量
export NUWAX_SAVED_KEY="your-key"
agentos setup
setup 流程:
- 检查 Docker 是否安装,未安装则自动安装(仅 Linux)
- 拉取 agentos-client 镜像
- 生成 docker-compose.yml 到
~/.agentos/ - 保存 key 到
~/.agentos/.env
日常管理
agentos start # 启动容器
agentos stop # 停止容器
agentos restart # 重启容器
agentos status # 查看容器状态
agentos logs # 查看最近 50 行日志
更新 key
agentos update-key "new-key-here"
agentos restart # 重启生效
重新部署
agentos redeploy # 删除旧配置,重新生成并重启
发布到 PyPI
# 安装构建工具
pip install build twine
# 构建
cd gogeo-client
python -m build
# 发布到 TestPyPI(测试)
python -m twine upload --repository testpypi dist/*
# 发布到 PyPI(正式)
python -m twine upload dist/*
目录结构
gogeo-client/
├── pyproject.toml # Python 包配置
├── agentos/
│ ├── __init__.py
│ └── cli.py # CLI 入口
├── app/ # 应用覆盖文件
├── desktop/ # 桌面快捷方式
├── icons/ # 桌面图标
├── wallpaper/ # 桌面壁纸
└── docker-compose.yml # 本地开发用 compose
Metadata
Release files for gogeo-agentos 0.1.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gogeo_agentos-0.1.6-py3-none-any.whl | Python 3 | none | any | Details |
Release files / gogeo_agentos-0.1.6-py3-none-any.whl
| Download URL | gogeo_agentos-0.1.6-py3-none-any.whl |
|---|---|
| Size | 28.8 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
53197d69a2e391c0d60852950c5cdf29a51621c844bbd0383bcbaf5b6b74217a
|
|
BLAKE2b-256 checksum How to use checksums |
d725153d33a32ae8345c6c054c93d914909a448f3d65492fcdc9c668a1686c37
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.2
|
Security for gogeo-agentos 0.1.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.