Skip to main content

AgentOS CLI tool for managing the AgentOS Client Docker container

Project description

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 流程:

  1. 检查 Docker 是否安装,未安装则自动安装(仅 Linux)
  2. 拉取 agentos-client 镜像
  3. 生成 docker-compose.yml 到 ~/.agentos/
  4. 保存 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gogeo_agentos-0.1.1.tar.gz (8.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gogeo_agentos-0.1.1-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file gogeo_agentos-0.1.1.tar.gz.

File metadata

  • Download URL: gogeo_agentos-0.1.1.tar.gz
  • Upload date:
  • Size: 8.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for gogeo_agentos-0.1.1.tar.gz
Algorithm Hash digest
SHA256 e19b4733a018f9974738f87eb1fdf16cc31583d1424298f6f74d5039a5dfa608
MD5 2aad77641d7abe472e4ace9de3d53f31
BLAKE2b-256 34c996b2c9ac91787f868f1f6b808e98e8330377348b93e4a0d9ca6a698f13de

See more details on using hashes here.

File details

Details for the file gogeo_agentos-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: gogeo_agentos-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 8.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for gogeo_agentos-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cb09fe6e551a148ea0b662ff8ab8a3e0a01cd1c2fc3d6ff59c8b7c7c9bd3091e
MD5 4e0dc06b59f21c60300fac5d5c31df6c
BLAKE2b-256 f7747cb2926ac13ea23d941553a402b453bc3ac678398e6f70513118c2105bb2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page