aicortexpy
Python CLI + local agent runtime for AICortex。在无法使用 Go aicortex 二进制时,可作为完整替代:
pip install -U aicortexpy
aicortex login --token mul_...
aicortex daemon start
aicortex issue list --output json
等价入口:python -m aicortex(推荐)/ python -m aicortexpy / aicortexpy。
| PyPI 包名 | aicortexpy |
| 模块 | aicortex(-m)、aicortexpy |
| PATH 命令 | Windows:aicortex.cmd → python -m aicortex(不生成 aicortex.exe,避免与 Go 安装器 / .exe 探测冲突);另有 aicortexpy.exe |
| 配置 | 与 Go 共用 ~/.aicortex/config.json |
安装
pip install -U aicortexpy
# 若以前装过会留下 Scripts\aicortex.exe,可手动删掉,让 aicortex.cmd 生效:
# Remove-Item "$env:LOCALAPPDATA\Programs\Python\Python3*\Scripts\aicortex.exe" -ErrorAction SilentlyContinue
# 源码:
cd python-aicortex
pip install -e .
常用命令(对齐 Go CLI)
aicortex login --token mul_xxx
aicortex auth status
aicortex config show
aicortex workspace list --output json
aicortex issue get MUL-123 --output json
aicortex issue comment add MUL-123 --content "done"
aicortex daemon start
aicortex daemon status
aicortex version
Agent 任务内:daemon 会把 aicortex shim 前置到 PATH,子进程执行 aicortex issue ... 即本包,无需 Go 二进制。
Daemon
$env:AICORTEX_DAEMON_BACKEND = "python" # 若仍用 Go 包装器拉起
aicortex daemon start
# 或
python -m aicortexpy daemon start --foreground
Health 默认端口 19514。不要与 Go daemon 同时跑。
发布
cd python-aicortex
python -m build
python -m twine upload dist/*
版本:pyproject.toml 与 aicortexpy/__init__.py 的 __version__ 保持一致。
相对 Go CLI
已覆盖 Agent/日常平台命令(issue/workspace/agent/squad/project/label/attachment/autopilot/meeting/skill/memory/graph/runtime/repo/auth/config/daemon)。
相对 Go:setup / update(pip) / OAuth login / 平台命令已对齐;二进制自更新请用 pip install -U aicortexpy。
Metadata
Release files for aicortexpy 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| aicortexpy-0.2.2.tar.gz | 139.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aicortexpy-0.2.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 314.3 kB
Release files / aicortexpy-0.2.2.tar.gz
| Download URL | aicortexpy-0.2.2.tar.gz |
|---|---|
| Size | 139.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e5ecffaf1f17ed039cb37ea9937f5f7e3e7543d90f948685a623068fe9d9f49d
|
|
BLAKE2b-256 checksum How to use checksums |
b20deaa4009491beb0c5c807f0767802fd73cfd6fd5d4bd07a52a09ecacdf556
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|
Release files / aicortexpy-0.2.2-py3-none-any.whl
| Download URL | aicortexpy-0.2.2-py3-none-any.whl |
|---|---|
| Size | 174.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bffd34649880b2a6d0d7a607aad4721c8a59156fa205b989b52550fa301ee192
|
|
BLAKE2b-256 checksum How to use checksums |
147ecd8ca374daf5f3d08f27a64cc449f71f2f2e32012a327d720035ce182fb6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|