Skip to content
MoyaMryiaPublic

About

An Agent build with Go. Inspired by Pi, develop with UNIX Tools.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

38 Commits

Folders and files

Repository files navigation

cpi

轻量终端编码代理:单二进制、秒启、低内存,内置仅 bash/edit/find_tools,恰够自我延伸;其余能力以 manifest+脚本沉淀成工具池;LLM 回复与用户裁定逐轮落账,重放以行为可解释为验收。详见 TARGET.md。

安装

需 Go(实测 go 1.27.0):

go build -o cpi .

用法

./cpi "你的任务"
  • 无参数时打印用法并退出 2(已验)。
  • 当前为 MVP 控制流门禁:未设置 CPI_CONTROL_FD 时拒绝执行并退出 2(已验);常规调用由持账本的上层经控制通道拉起。
  • 配置(模型/协议/端点)位于 ~/.config/cpi/,默认模型 hy3-free。

深入

  • 北极星:TARGET.md
  • 交互契约草案(未冻结):docs/tui_command_surface.md
  • 工具池治理定案:docs/tool_scoring_proposal.md
  • 机械探针脚本见 probe.sh,判定规则见 AGENTS.md 工程约定

许可

AGPLv3,见 LICENSE。

About

An Agent build with Go. Inspired by Pi, develop with UNIX Tools.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages