
Ten
io.github.johnbeans由 GitHub 账号 johnbeans 发布v0.1.0更新于 Oct 24, 2026
Ten formal algebra for machine intelligence — encode, decode, compose, and verify
概览
让助手能够对 Ten 这种面向机器间通信的形式代数消息进行编码、解码、组合与验证。
- 可以做什么
- Ten 被描述为面向机器间消息的形式代数,而非人类可读的格式(R1、R2、R4)。其消息可以通过数学运算进行组合、投影、过滤、排序和验证,而不依赖自然语言解析(R3)。核心构想包括固定不变的组合代数与持续演化的词汇表(R21、R22)、按需付费的可变精度编码(R24)、为常见复合概念提供短编码的俚语机制(R26、R27),以及名为 Ten Canonica 的自演化机制,用于收集使用遥测并发布优化后的规范形式(R29)。它被设计为嵌入 MCP、A2A、ACP 等现有协议之中,作为载荷编码使用(R31)。
- 适用场景
- 当构建机器间或代理间消息系统,且消息需要由计算而非文本解析来排序、过滤、组合或验证时值得考虑(R3、R8)。它面向已在使用 MCP、A2A 或 ACP 并希望在其中采用紧凑载荷编码的系统(R31)。README 表明项目仍在验证其主张,因此更适合实验与评估,而非生产环境依赖(R12、R42)。
- 运行要求
- 以 stdio 本地进程方式运行,从 PyPI 包 ten-mcp-server 安装,因此需要 Python 运行环境。未声明任何认证、环境变量或请求头。README 描述其包含 C 核心(libten)与 Python 封装(R40、R41),可能需要可用的本机构建环境。未声明网络访问需求,但 README 所述的演化机制意味着会收集遥测(R29)。
安装
README
Ten
A formal algebra for machine intelligence communication
Ten is a language designed for machines, not people.
It is a formal algebra whose messages can be composed, projected, filtered, sorted, and verified through mathematical operations — not parsed through natural language understanding. Ten is not human-readable by design.
The problem: AI agents today communicate using natural language or JSON stuffed into protocols like MCP and A2A. This works, but it's profoundly wasteful. Every receiving AI must parse ambiguous text, infer intent, and guess at priority. Sorting a thousand messages by urgency requires parsing all of them.
Ten's answer: A mathematically rigorous message algebra where urgency is a sortable scalar in a fixed-position header, where two messages can be composed into a valid third message, where trust is a computable property of the message itself, and where the language continuously optimizes its own encoding based on real usage patterns.
The Most Important Thing
Ten makes a strong claim: that a formal algebra beats the status quo (natural language + LLM inference, or JSON + custom code) for machine-to-machine communication at scale. Proving this claim transparently — with measured token counts, dollar costs, latency, variance data, and honest accounting of where Ten loses — is the project's primary goal.
The status quo is not weak. LLMs are cheap and getting cheaper. JSON is universal and well-tooled. Ten must earn its place with data, not assertions. The validation plan designs industry-specific stress tests (derivatives portfolios, international supply chains, clinical trials), measures everything, and includes an adversarial comparison against JSON + domain code to isolate what Ten specifically contributes beyond "a schema that domain code reads from."
If Ten's advantages turn out to be narrow, the project will say so. Intellectual honesty is more valuable than marketing.
Key Ideas
Fixed algebra, unbounded vocabulary. The composition rules never change. The vocabulary evolves continuously as AIs discover what they need to say. New concepts are compositions of existing primitives — never breaking changes.
Variable-resolution encoding. Say "medium urgency" in one bit, or "urgency 9537/10000" in fourteen bits. Pay only for the precision you need.
Slang. The most common compound concepts automatically earn short encodings. "Encrypted, private, minimal detail, verified source" becomes a single token. Slang composes algebraically — unlike human idioms.
Self-evolving. A built-in evolution mechanism (Ten Canonica) collects usage telemetry, detects equivalent constructs, and publishes optimized canonical forms. Ten provably converges toward the Shannon limit on AI-to-AI communication efficiency.
Not a protocol — a language. Ten rides inside existing protocols (MCP, A2A, ACP) as the payload encoding. It completes them rather than competing with them.
Documentation
- TEN-SPEC.md — The founding specification. Start here.
- VALIDATION.md — Industry stress tests, token economics, and the honest case for (and against) Ten.
- ROADMAP.md — Implementation plan. Validation is the critical gate.
- WHY-TEN.md — Elevator pitches for every audience, from platform engineers to type theorists.
- ARCHITECTURE.md — Technical architecture: C core, Python wrappers, memory model, performance targets.
Status
libten (C core) is implemented and passing all 49 tests — 6 kernel types, 6 composition operations, facet vectors, recursive validation, arena allocation. Next: binary serialization, Python bindings, MCP server, then the validation phase that determines whether Ten's claims hold up under measurement.
Open Research Problems
- Kernel minimality and sufficiency — Is the proposed type kernel minimal? Is it sufficient to express all necessary concepts?
- Convergence proofs — Does the evolution mechanism provably converge toward optimal encoding?
- Composition complexity — What are the computational bounds on each algebraic operation?
- Slang theory — When should a compound concept earn a dedicated short token?
The Name
Ten = Token + Attention ("Attention Is All You Need"). Also evokes base-ten: a small set of symbols from which all quantities compose.
Contributing
This project is in its earliest stage. If you work in formal language theory, abstract algebra, information theory, protocol design, or AI agent systems — or if you just find this interesting — open an issue or start a discussion. The specification is the starting point, not the final word.
License
Apache 2.0 — see LICENSE.
Website: tenlang.org Ten Canonica: tencanonica.org
来源:README.md,提交 27367c3
工具
0版本历史
1- v0.1.0最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分