chees-cn

Topcode — AI skill for Claude Code

AI community

topcode is a The next-generation CLI agent framework — model-agnostic, context-entropy-resistant, built on State Manifold Projection.

How to install Topcode

This entry records only its repository, not the path inside it, so there is no exact command to give. Open chees-cn/topcode and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Topcode does

topcode is a The next-generation CLI agent framework — model-agnostic, context-entropy-resistant, built on State Manifold Projection. Underlying paradigm: Topological Wavefront Execution · Positioning: a direct competitor to Claude Code.

Alternatives in AI

  • Hindsight — State-of-the-art long-term memory for AI agents by Vectorize 6.7k ★
  • Segmental Model — 分业务收入 bottom-up 建模 (v2.10) — 拆产品线 × 3 情景 × 3 年 projection,对 DCF 自上而下做反向校验 6.6k ★
  • Osaurus — Own your AI. The native macOS harness for AI agents -- any model, persistent memory, autonomous execution, cry 5.1k ★

README

TopCode

[中文](README.zh.md) | **English**

The next-generation CLI agent framework — model-agnostic, context-entropy-resistant, built on **State Manifold Projection**.

Underlying paradigm: **Topological Wavefront Execution** · Positioning: a direct competitor to Claude Code.

**Current version: v0.7.0** · License: AGPL-3.0 · Runtime: Node.js + NestJS + TypeScript


Table of Contents


Philosophy: Why We Overthrow the Old Paradigm

Every existing CLI agent shares one old axiom:

"An agent's state = a one-dimensional tape of conversation tokens."

This produces four inevitable pathologies:

  1. Irreversible context entropy — compression means loss, loss means amnesia, amnesia means repeating mistakes;
  2. One-dimensional time — a serial while-loop; trial-and-error cost = wall-clock time × serial iterations;
  3. No world model — knowledge has no confidence structure; every re-observation is paid for again;
  4. No intelligence accumulation — the hundredth identical operation burns the same tokens as the first.

TopCode's new axiom:

**An agent's state is an evolvable, verifiable, projectable State Manifold. The LLM is not the container of state — it is a state-transition operator on the manifold. Context is not a log; it is a view computed on demand from the manifold.**

Full argumentati