centaurloop

半人马环 Centaur Loop:AI 员工的最小工作单元框架。把复杂岗位拆解为可由 AI 接管、由人类治理、由反馈和记忆持续进化的循环工作流 / The smallest work unit for building AI employees.

100
Stars
16
Forks
TypeScript
语言
2026/8/24
添加时间

⚠️ 第三方软件声明

本 Skill 为第三方开源软件,独立托管于 GitHub。SkillTip 仅为信息目录,不控制或维护底层仓库。所显示的安全检查为自动化且范围有限,安装前请自行审查源码。

阅读服务条款

安装

添加到你的 Claude Code skills 目录:

# Add to your Claude Code skills
git clone https://github.com/finewood2008/centaurloop

快速入门

使用 centaurloop 等 Skills 的指南。

安全报告

已验证

上次扫描:—

{
  "status": "PASSED",
  "issues": []
}

README.md

Centaur Loop / 半人马环

MIT License TypeScript React CI GitHub Pages

English | 简体中文 | Website | Technical Design | 中文定位

Centaur Loop is an open-source framework for building AI employees from governable work loops.

半人马环是 AI 员工的最小工作单元框架。

A digital worker is not one big Agent. It is a set of governable, composable, evolving Centaur Loops.

Each Centaur Loop is the smallest AI-takable unit of work: a repeatable loop with a clear goal, context, AI execution, human gates, real-world feedback, confirmed memory, and next-cycle improvement.

中文简述:AI 员工不是一个大而全的 Agent,而是由多个可治理、可组合、可持续进化的半人马环组成。每个半人马环都是一个可被 AI 接管的最小循环工作流。

Digital Worker
  = Research Loop
  + Draft Loop
  + Review / Publish Loop
  + Feedback Memory Loop
  + more governable loops

The loop is the unit of digital labor.

数字劳动的基本单位不是 prompt、task 或 workflow,而是可治理的工作闭环。

Why This Exists

Most AI systems still optimize the wrong layer:

  • Prompt tools optimize single outputs.
  • Workflow engines move steps forward.
  • Agent frameworks plan and execute tasks.
  • Cron wakes jobs up.

But an AI employee needs more than execution. It needs bounded responsibility, human judgment, feedback, memory, and the ability to improve across cycles.

Centaur Loop turns work into small, governable loops that can be gradually taken over by AI while keeping humans in control of judgment, risk, publishing, and memory.

中文说明:半人马环关注的不是“让 AI 做一次任务”,而是“如何把岗位拆成可治理、可验证、可逐步交给 AI 的工作单元”。

Core Definition

A Centaur Loop contains:

PartMeaning
GoalThe business outcome this loop owns.
Context & InputData, tools, constraints, history, and memory.
AI ExecutionThe work that can be delegated to a model, agent, or runtime.
Human GatesJudgment points for plan approval, quality, risk, compliance, publishing, and memory.
FeedbackReal-world outcomes, metrics, screenshots, notes, and corrections.
Confirmed MemoryLessons approved by humans and reused in the next cycle.
Next CycleThe loop runs again with better context.

In short:

Goal -> Context -> AI Execution -> Human Gates -> Feedback -> Memory -> Next Cycle

Product Shape

LayerRole
Digital WorkerA long-running AI work system composed of multiple Centaur Loops.
Centaur LoopThe smallest AI-takable work unit.
Loop StudioThe UI for designing, driving, and observing loops.
Loop RuntimeThe execution layer: model, agent, workflow, or external runtime.
Human GatesExplicit approval and judgment checkpoints.
Feedback MemoryThe layer that turns real outcomes into reusable capability.

Current repo status:

  • Working local React/Vite workbench.
  • TypeScript loop state machine.
  • Chat-first loop protocol.
  • Runtime connectors for demo and OpenAI-compatible/local model paths.
  • Built-in starter loops for content growth, customer support, and product iteration.

Demo

Centaur Loop content growth loop demo

The flagship demo is Content Growth Worker / Content Growth Loop. It demonstrates how one digital worker can be decomposed into loops for planning, drafting, human review, publishing, feedback, retrospective review, memory confirmation, and next-cycle improvement.

中文说明:当前旗舰 demo 是内容增长 AI 员工的雏形,用多个半人马环证明“岗位能力如何被拆解、治理、反馈和记忆”。

Starter Digital Workers

Digital WorkerExample Loops
Content Growth WorkerResearch loop, draft loop, review/publish loop, performance feedback loop, memory loop.
Customer Support WorkerTicket triage loop, answer draft loop, escalation gate, satisfaction feedback loop, policy memory loop.
Product Iteration WorkerFeedback mining loop, requirement synthesis loop, prioritization gate, release review loop, outcome memory loop.

What It Is Not

  • Not a generic workflow canvas.
  • Not a cron scheduler.
  • Not a publishing bot.
  • Not one autonomous super-agent.
  • Not a replacement for LangGraph, Temporal, Inngest, n8n, Mastra, or agent frameworks.

Those systems can execute work. Centaur Loop defines the governable unit of work that can become part of an AI employee.

Architecture

ModuleRole
src/core/loopEngine.tsExplicit state machine that advances loops and stops at human gates.
src/core/loopPlanner.tsTurns goals, memory, business context, and tools into structured plans.
src/core/loopExecutor.tsGenerates reviewable outputs and keeps failures inside the loop record.
src/core/loopReviewer.tsConverts feedback into retrospective review, lessons, and next-cycle suggestions.
src/protocol/loopChat.tsMaps runtime state to chat messages, cards, and user actions.
src/adapters/*Runtime, model, tool, feedback, and memory boundaries.
src/ui/*Chat-first workbench, embedded action cards, runtime dropdown, feedback and memory surfaces.

Runtime Connectors

Centaur Loop runs without an API key through the deterministic demo runtime. For real models, the browser calls the local Vite proxy; API keys do not enter the frontend bundle.

Supported runtime paths today:

  • local-demo: built-in deterministic demo runtime.
  • openai-compatible-env: any OpenAI-compatible /chat/completions endpoint configured through environment variables.
  • ollama-local: detected through 127.0.0.1:11434/api/tags and called through /api/chat.
  • lm-studio-local: detected through 127.0.0.1:1234/v1/models.
  • vllm-local: detected through 127.0.0.1:8000/v1/models.
  • llamacpp-local: detected through 127.0.0.1:8080/v1/models.

Planned adapters include LangGraph, Temporal, Inngest, Mastra, and n8n-style approval flows.

Quick Start

npm install
npm run dev

Open the Vite URL printed in your terminal. The app works immediately with the demo runtime.

Real Model Setup

Create .env.local:

cp .env.example .env.local

Configure an OpenAI-compatible endpoint:

CENTAUR_MODEL_BASE_URL=https://api.openai.com/v1
CENTAUR_MODEL_API_KEY=your_key_here
CENTAUR_MODEL_NAME=gpt-4o-mini

Restart the dev server and select the runtime from the floating runtime menu.

Development

npm run typecheck
npm run build

Roadmap

  • Loop Unit Framework: make Centaur Loop a clear reusable unit for building AI employees.
  • Core Package: extract @centaur-loop/core from the demo workbench.
  • Adapter Ecosystem: add storage, notifier, model, memory, LangGraph, Mastra, Inngest, Temporal, and n8n-style adapters.
  • Digital Worker Studio: compose multiple loops into one role-level worker.
  • Team Workspace: shared loop history, team review, organizational memory, and loop analytics.
  • Centaur Loop Cloud: hosted runtime management, durable execution, managed memory, and observability.

Project Status

Centaur Loop is early. The current codebase is a working MVP and product design reference, not a stable library API yet. The goal is to make AI employees concrete: not a vague autonomous agent, but a system of inspectable, governable, improving work loops.

中文说明:当前版本是可运行的开源工作台 MVP;长期方向是用半人马环构建 AI 员工。

Contributing

Focused issues and small PRs are welcome. See CONTRIBUTING.md before opening larger design changes.

License

MIT

常见问题

What is centaurloop?

centaurloop is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by finewood2008. 半人马环 Centaur Loop:AI 员工的最小工作单元框架。把复杂岗位拆解为可由 AI 接管、由人类治理、由反馈和记忆持续进化的循环工作流 / The smallest work unit for building AI employees. It has 100 GitHub stars.

Is centaurloop safe to use?

centaurloop returned warnings in SkillsLLM's automated security scan. It has no critical vulnerabilities, but review the flagged issues in the Security Report section before adding it to your workflow.

How do I install centaurloop?

Clone the repository with "git clone https://github.com/finewood2008/centaurloop" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is centaurloop written in?

centaurloop is primarily written in TypeScript. It is open-source under finewood2008 on GitHub, so you can review or fork the full source.

Are there alternatives to centaurloop?

Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh centaurloop against similar tools.

评论 (0)

暂无评论,成为第一个分享想法的人!

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情

claude-code

by anthropics

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

120,03119,897Shell
AI 智能体
查看详情

开发者还喜欢

基于喜欢此 Skill 的开发者投票和收藏

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP 服务器apisai-tools
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情