认知引擎
认知引擎是一个面向 AI 协作研发场景的治理型运行控制面项目。
当前公开版本:v0.5.4
v0.5.4 是认知引擎面向 Trusted Publishing 上线的发布工程增强版本。本版本重点上线公仓最小 PyPI publish workflow、完成 PyPI Trusted Publisher 配置链路,并保留 Keychain project token fallback 作为兜底路径。
当前版本定位
v0.5.4 聚焦于 Trusted Publishing 上线与发布工程可信闭环,重点包括:
- 将根包与 10 个子包版本同步到
0.5.4; - 将根包依赖同步到
cognition-engine-*==0.5.4; - 上线公仓最小 PyPI publish workflow;
- 完成 11 个 PyPI Trusted Publisher 配置链路;
- 保留 Keychain project token fallback 作为发布兜底路径;
- 固化公仓公开面边界检查;
- 提供发布安全网总入口,用于统一聚合发布前与发布后检查结果。
当前包结构
当前公开主线包含以下主要能力区域:
contract_coreruntime_containeradk_adapterobservability_hub
同时包含以下支撑性结构:
- schemas
- behavior contracts
- configuration contexts
- configuration assembly
- runtime primitives
- composition
安装方式
从 PyPI 安装:
uv pip install --prerelease=allow cognition-engine==0.5.4
说明:v0.5.4 当前依赖 google-adk>=2.0.0b1,安装时需要允许预发布依赖解析。
或从源码安装:
git clone https://github.com/peacock-lab/cognition-engine.git
cd cognition-engine
pip install .
最小验证路径
完成安装后,可执行 v0.5.4 主线包导入 smoke 验证:
python -c "import contract_core, runtime_container, adk_adapter, observability_hub; print('cognition-engine 0.5.4 import ok')"
如需在源码开发环境中运行测试,可执行:
pytest
当前能力边界
v0.5.4 主要增强 Trusted Publishing 上线与发布工程可信闭环能力,不承诺完整产品化运行时平台。
当前版本不承诺:
- 完整智能体治理闭环;
- 完整控制台或可视化后台;
- 完整生产级多模型调度;
- 完整企业级配置中心;
- 完整 ADK 能力封装替代;
- 自动 PyPI 上传、自动 tag 或自动 GitHub Release。
文档入口
- 快速开始:
QUICKSTART.md - 版本历史:
CHANGELOG.md - 版本发布记录:GitHub Releases
- 包发布记录:PyPI
Metadata
Release files for cognition-engine 0.5.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| cognition_engine-0.5.4.tar.gz | 4.1 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cognition_engine-0.5.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.5 kB
Release files / cognition_engine-0.5.4.tar.gz
| Download URL | cognition_engine-0.5.4.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8b43e367828edf5e9f7b0ce689fb141988e755e4ff784247124858aec212b244
|
|
BLAKE2b-256 checksum How to use checksums |
bd9e8fea0fc0fcf04b551ea8645c94f316105781479848b81324303cd5cd56a1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 5, 2026.
Transparency logRelease files / cognition_engine-0.5.4-py3-none-any.whl
| Download URL | cognition_engine-0.5.4-py3-none-any.whl |
|---|---|
| Size | 3.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ff2f31d25076ee4224a134230db316e53779f1c8a8c1766ed0dd89c8c63c293a
|
|
BLAKE2b-256 checksum How to use checksums |
6e807bf769c09c9f67d6ad3a0ca79e8d44867d2967533b25c50c132e199f620e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 5, 2026.
Transparency logSecurity for cognition-engine 0.5.4
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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for cognition_engine-0.5.4.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 5, 2026.
Transparency logA 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.