Skip to main content

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 aicortexpy(与 aicortex / aicortexpy 入口等价)。

PyPI / 模块 aicortexpy
Console scripts aicortex、aicortexpy(aicortex 刻意同名,供 Agent 提示词零改动)
配置 与 Go 共用 ~/.aicortex/config.json

安装

pip install -U aicortexpy
# 源码:
cd python-daemon
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-daemon
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)。

尚未:浏览器 OAuth login、update 二进制自更新(请用 pip install -U aicortexpy)。

Metadata

Release files for aicortexpy 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aicortexpy 0.2.1
File Size Uploaded
aicortexpy-0.2.1.tar.gz 135.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for aicortexpy 0.2.1
File Interpreter ABI Platform
aicortexpy-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 304.1 kB

Release files / aicortexpy-0.2.1.tar.gz

Download URL aicortexpy-0.2.1.tar.gz
Size 135.4 kB
Tags Source
SHA-256 checksum
How to use checksums
87e7a11846be91cae5a666ee12258d4272dd7ea4f33a445c3bf3cc924e20a3d4
BLAKE2b-256 checksum
How to use checksums
5a7597e3039b70b576d534e84bccc4c7be0c608859d9e02f6d7cf7d7acf4e324
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.1-py3-none-any.whl

Download URL aicortexpy-0.2.1-py3-none-any.whl
Size 168.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7876885b03a46821ef8d33a6885569ac37e81e2992e92da38d2c087a46275d19
BLAKE2b-256 checksum
How to use checksums
fdc865c2ab501225a42963b4bb88d493aa3a94c56d0ec35e838d58ae5c6291f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

Release history Release notifications | RSS feed

0.2.2

2 release files

This release

0.2.1 This release

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page