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.0

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.0
File Size Uploaded
aicortexpy-0.2.0.tar.gz 126.4 kB Details

Built distribution (wheel)

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

Total release size: 284.1 kB

Release files / aicortexpy-0.2.0.tar.gz

Download URL aicortexpy-0.2.0.tar.gz
Size 126.4 kB
Tags Source
SHA-256 checksum
How to use checksums
2d24f5ccf9c6310a56765194fedbd24696393750e97587f23576deb4c0371f3e
BLAKE2b-256 checksum
How to use checksums
8e322732c5317e8720acc59fa2e43102daa103726381aefc3b20937f563c7e08
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.0-py3-none-any.whl

Download URL aicortexpy-0.2.0-py3-none-any.whl
Size 157.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ff27f0c6787265b5b3bbb774ebe0d3775725cf33e9d62a408df1300034cee9df
BLAKE2b-256 checksum
How to use checksums
5caa1fe5f96c7c67894b43dae4c17ca1713c537c088a22ece6958f60a2df7037
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

0.2.1

2 release files

This release

0.2.0 This release

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