
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 分