Skip to main content

Cognitive Contract Protocol — make AI consensus verifiable and transferable across sessions

Project description

Cognitive Contract Protocol (认知契约协议)

换AI不掉共识 · 跨对话不失智 · 可验证不幻觉
Switching AIs? Your consensus stays. New chat? Knowledge persists. Hallucination? Verifiable.

⚡ 一眼看懂 / At a Glance

能力 / Capability 说明 / Description
🔗 跨AI知识继承 / Cross-AI Knowledge Inheritance 和DeepSeek定的共识,WorkBuddy秒懂。换模型不掉结论。
可验证共识 / Verifiable Consensus 每条结论附公理+反例+推导链,不是"我信",是"我能查"。
🛡️ 降低幻觉 / Hallucination Reduction 强制反例自检,AI不能蒙混过关。
📋 推理可审计 / Auditable Reasoning 谁、什么时候、基于什么、得出了什么——每一步可追溯。
🔓 去中心化 / Decentralized 令牌存你本地,不绑任何平台。
⏱️ 三分钟跑通 / 3-Minute Setup pip install cognicontractcognicontract serve → 跑通。

⚡ 安装 & 使用

# 安装
pip install cognicontract

# 启动令牌服务器
cognicontract serve
# → http://localhost:8741

# 锚定共识
cognicontract anchor "Python是AI工程落地的最佳语言" \
  -a "生态丰富度优先于单一性能" \
  --counter "Go在网关场景更优" \
  -d "对比主流语言生态" -d "评估部署成本" \
  -c 0.85

# 查看上下文(粘贴给任何AI)
cognicontract context

# 自检
cognicontract test

📄 更多

💖 支持

Apache 2.0 永久开源——爱发电 | GitHub Sponsors

📜 许可证

代码:Apache 2.0 | 论文:CC BY 4.0

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

cognicontract-0.1.0.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

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

cognicontract-0.1.0-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

Details for the file cognicontract-0.1.0.tar.gz.

File metadata

  • Download URL: cognicontract-0.1.0.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for cognicontract-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d47908f571b0aa79c5e31d31fbbd789d526e1af397dcfe6092a30da6bb64203f
MD5 7af53725a665b7b9e00b76ddc62097f4
BLAKE2b-256 b34f6fec1ee84402065c2c6cc018189ed09f9d8abd828324380dfc79c06e1add

See more details on using hashes here.

File details

Details for the file cognicontract-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: cognicontract-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for cognicontract-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 034c03261dfa27214fa1bac8a66a997e0765dcb9c1052739b73f5c094f24e84e
MD5 ea624d17f5b894255368d790b88247fa
BLAKE2b-256 fad6a4d33724a9cd29afd8e497dfce0df3872da4f7c2ef8e7c4a8916788a9311

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