项目 / huangruiteng/loopx

huangruiteng/loopx

暂无行业标签
语言 Python标签 agent-control-planeai-agentscodexagent-harnesslong-horizon-agentsclaude-codelocal-firstmulti-agentagentic-softwarersiauto-researchalways-on-agentsautonomous-agentscontext-engineering数据更新 2026-11-25 06:49:28 · 仓库 2026-11-24

一段话介绍

轻量循环工程状态内核,给长跑 AI 团队管 agent loop。

本站整理,非 GitHub 官方 description。

官方 description(GitHub API 原样)
The control plane for 24/7 always-on agents. Turn long-horizon goals into verifiable results across Codex, Claude Code, and custom runtimes—from local SQLite to team scale.
3,945累计星
314Fork
—峰值日增
1上榜次数

官方快照(gh_history.db,2026-11-25):总榜 未进 Top50 · 日榜 未进 Top50 · 周榜未满 7 天基线(官方不生成) · 月榜暂无官方口径;下方四卡为站内趋势聚合(周卡按上榜次数,非官方 7 日增量窗)。

行业与场景 — 暂未挂到行业场景库

更多信息

以下三段按该项目自己的 GitHub README 章节摘录(可合理截断并标明);README 没有对应章节的留空,不编造。

我的用法
当前仓库已指向 [loopx-project/loopx](https://github.com/loopx-project/loopx)。打开[中文 README](https://github.com/loopx-project/loopx/blob/main/README.zh-CN.md),执行 `pip install --upgrade loopx` 后运行 `loopx workflow-skills --install`。更细说明见[项目文档](https://loopx-project.github.io/loopx/docs/)。
特点或设计要点
LoopX 采用目标优先的设计,用户只需描述期望结果,Agent 负责生成计划;它支持跨会话与重启保留目标、已确认需求、决策和证据,并通过看板衔接委派任务、依赖产物与评审结果,使责任边界清晰、进度以交付物变化来衡量。
星标走势近 18 天
本站点评(非项目 README 原文)
评估智能体/助手能力时,把 loopx 放进短名单:先小范围试工具调用与权限边界,再决定是否纳入正式流程。
首次发现 2026-08-11 · 最近在榜 2026-08-11 · 语言 Python · 贡献者 huangruiteng、cocolord、ZaynJarvis、steven-kid、Hoey041
agentllm

GitHub 项目主页介绍

来自 GitHub 仓库 README / 主页介绍正文,正文较长,已截断:保留前 20000 字符(原始 61,517 字节),完整内容见 GitHub 仓库。

<div align="center">

<h1 align="center">LoopX 2.0</h1>

<a href="https://trendshift.io/repositories/102379"><img src="https://trendshift.io/api/badge/repositories/102379" alt="LoopX — #1 on GitHub Trending, tracked by Trendshift" width="220" height="48"></a>

**Start with one goal. Keep long-running agent work verifiable.**

Tell your agent what you want to accomplish. LoopX preserves goals,
progress, decisions and verifiable results so work can continue across sessions.<br>
<sub>An open, harness-neutral control plane for 24/7 always-on agents across Codex, Claude Code, DeepSeek Harness and other runtimes—scaling from local SQLite workflows to multi-agent teams.</sub>

[![Release](https://img.shields.io/github/v/release/loopx-project/loopx?color=brightgreen)](https://github.com/loopx-project/loopx/releases/latest) [![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](LICENSE) [![TypeScript core](https://img.shields.io/badge/core-TypeScript-3178C6?logo=typescript&logoColor=white)](docs/architecture/rfcs/typescript-control-plane-migration-v0.md) [![Python](https://img.shields.io/badge/python-3.11%2B-blue.svg)](pyproject.toml)

[![Local-first state](https://img.shields.io/badge/local--first-state-brightgreen.svg)](docs/public-private-boundary.md) [![Loop Agents](https://img.shields.io/badge/status-loop%20agents%20supported-brightgreen.svg)](docs/product/release-readiness.md) [![GitHub contributors](https://img.shields.io/github/contributors-anon/loopx-project/loopx?color=blue)](https://github.com/loopx-project/loopx/graphs/contributors) [![Discord](https://img.shields.io/badge/Discord-Join-5865F2?logo=discord&logoColor=white)](https://discord.gg/XmGgQyCFZd) [![Listed on dsh-plugin.org](https://dsh-plugin.org/badges/listed.svg)](https://dsh-plugin.org/plugins/loopx-project/loopx)

[Get started](#quick-start) · [Why LoopX](#why-loopx) · [24/7 Always-On](#always-on-agents) · [See it in action](#see-loopx-in-action) · [Evidence](#evidence) · [Contribute](#contributing) · [Docs](https://loopx-project.github.io/loopx/docs/) · [简体中文](README.zh-CN.md) · [日本語](README.ja.md)

</div>

https://github.com/user-attachments/assets/6d459488-4834-40ef-90bc-d6649c4f0ef1

<p align="center"><sub><b>60-second overview</b> — one sentence sets a long-horizon goal across Codex, Claude Code, Gemini &amp; DeepSeek; LoopX keeps Todos, replanning, human sign-off, and 3% first-read session recovery verifiable across 200+ hour runs (community film by <a href="https://x.com/lemomo_ai">@lemomo_ai</a> · <a href="#see-loopx-in-action">more product recordings below</a>).</sub></p>

---

<a id="quick-start"></a>

## Start with one goal

**1. Install LoopX once.** Requires Python 3.11+ and
Node.js 22.22.3+ (24 LTS recommended).

```bash
python3 -m pip install --upgrade loopx && loopx workflow-skills --install
```

[Install options and upgrades](docs/guides/installing-loopx.md)

**2. Tell your Agent the outcome.** Restart your Agent host, open your project,
then send one natural-language goal:

```text
$loopx speed up this project's slowest workflow; compare approaches and verify the gains
```

LoopX turns that into a visible plan, decisions that need you, and verification
as needed. Claude Code uses `/loopx <complex task>`; see
[host setup](#start-from-your-agent) for other runtimes. Prefer a guided first
run? [Choose a task below](#try-loopx).

## 📰 News

<!-- Curate major product/architecture releases, research findings, consequential
     engineering lessons and substantive community milestones. Each needs a public
     source and a distinct reader takeaway; version bumps or PR merges alone are
     not news. Keep both languages aligned, newest first, using verified publication
     dates (UTC). -->

- **2026-11-01 · 📘 [Progressive context delivery for 24/7 agents](https://loopx-project.github.io/loopx/blog/context-delivery/)** — Compaction-cycle structured deltas and progressive views cut control-plane bytes across 213 model-facing wakes (`32.5%` single-layer progressive view; `3.0%` body / `5.0%` CLI stacked first-read entry across 112 in-cycle continuations) while preserving lossless baseline recovery.
- **2026-10-25 · 🤝 [Long-horizon agent research: collaborators welcome](https://loopx-project.github.io/loopx/blog/edgebench-feedback-and-memory/)** — Exploring **breakthroughs in long-horizon outcomes under equal budgets**, through feedback, replanning and reproducible evaluation on EdgeBench and real-world tasks. Academic labs and industry teams are welcome to collaborate, comparing outcomes and total cost. [Discuss collaboration](https://github.com/loopx-project/loopx/discussions).
- **2026-10-20 · 🚀 [LoopX 2.0](https://github.com/loopx-project/loopx/releases/tag/v2.0.0)** — A shared TypeScript state layer and long-horizon research workbench. [Migration guide](docs/product/releases/v2.0.0.md) · [Engineering story](https://loopx-project.github.io/loopx/blog/typescript-control-plane-refactor/).
- **2026-10-14 · 🤖 [Agentic software](https://loopx-project.github.io/loopx/blog/semantic-software-development/)** — Connecting goals, evidence and human feedback to engineering delivery.
- **2026-10-02 · 🧠 [Long-horizon bootstrapping & RSI](https://loopx-project.github.io/loopx/blog/long-horizon-rsi/)** — Four months of developing LoopX with LoopX: public project history and a design perspective on system-level self-improvement.
- **2026-09-18 · 🧪 [LoopX × LHTB](https://loopx-project.github.io/loopx/benchmarks/lhtb/)** — A 46-task, same-model study provides empirical support for **trading more compute for better outcomes**: LoopX 1.0.3 Heartbeat continued runs reach mean reward 17.3% above Plain Codex and 10.6% above native Goal.
- **2026-09-06 · 🎉 [LoopX 1.0](https://github.com/loopx-project/loopx/releases/tag/v1.0.0)** — A Personal Agent Workspace to follow agent work, act on decisions, and inspect delivered results across sessions. [Workspace guide](https://github.com/loopx-project/loopx/blob/v1.0.0/docs/guides/personal-workspace-user-guide.md).
- **2026-08-02 · ⏱️ [200+ hour trajectories shared on X](https://x.com/huangruiteng/status/2083904257494024425)** — Early owner-run examples spanning 200+ elapsed hours drew broad attention on X, showing work across execution, waits, human decisions and recovery. [Trajectories and limits](#open-source-issue-fix).

[All releases](https://github.com/loopx-project/loopx/releases)

<a id="how-it-works"></a>

## Why LoopX

You should not have to learn LoopX internals before the first useful action.
The default path is goal-first: describe the outcome, let the Agent prepare the
plan, and inspect the machinery only when a decision or debugging need calls
for it.

An agent can finish a task in one session. Long-running work is harder:
objectives change, owner decisions appear, evidence goes stale, and agents
hand work to peers. A timer can keep a loop running without making it useful.

- **Continue without starting over.** Keep the Goal, accepted requirements,
  decisions and evidence across sessions and restarts.
- **[Coordinate without dropping context.](https://loopx-project.github.io/loopx/blog/agent-facing-kanban/#walkthrough)** Connect delegated work, dependent
  artifacts, review and returned results while keeping responsibility explicit.
- **Judge progress by what changed.** Inspect deliverables, supporting and
  refuting evidence, costs and the next decision—not just activity.

Your Agent runtime supplies the model and tools. LoopX’s durable state layer
preserves goals, acceptance, decisions, ownership and evidence across sessions
and runtimes for engineering, research and operations. Agents and people use
those facts to reassess what to do next. Human authorization still governs
protected actions.

<a id="learn-loopx"></a>

| What you want to do | Start here |
| --- | --- |
| Keep a coding or research agent working across sessions | [Install and start](#quick-start) |
| Manage personal projects, schedules and decisions in one place | [Personal Agent Workspace](#meet-the-personal-agent-workspace) |
| Wire up a 24/7 always-on agent without hand-rolling infra | [24/7 Always-On Agent Control Plane](#always-on-agents) |
| Let agents collaborate and deliver verifiable results | [Agent collaboration guide](docs/product/use-cases/cross-runtime/README.md) |

LoopX keeps the durable work state in one compact layer:

<picture>
  <source media="(max-width: 640px)" srcset="docs/assets/harness-neutral.en.mobile.svg">
  <img src="docs/assets/harness-neutral.en.svg" alt="Your harness runs the turn. LoopX carries the work." width="1200">
</picture>

Agent runtimes execute the work. LoopX keeps the state that lets engineering,
research, discovery, and operations loops continue across runs. It is not
another agent framework or a provider-specific orchestration runtime.

<details>
<summary>Advanced: how the control layer works and where it fits</summary>

<picture>
  <source media="(max-width: 640px)" srcset="docs/assets/control-plane-board.en.mobile.svg">
  <img src="docs/assets/control-plane-board.en.svg" alt="Advanced view of a governed state transition, not just a timer." width="1200">
</picture>

A useful mental model is an
**[agent-native Kanban for long-running work](docs/development/control-plane-course/00-concept-primer.md)**.
Cards carry identity, authority, evidence, and continuation. Moves are validated
operators such as claim, gate, monitor, and writeback. The board is a
projection; LoopX state remains the source of truth.

Registered agents are peers. Claims, leases, task boundaries, capabilities, and
typed continuation decide who acts next; no durable leader identity is
required.

LoopX is useful when you run:

- multi-day engineering, research, benchmark, or experiment objectives;
- issue and PR loops that must preserve scope, evidence, and review state;
- recurring heartbeat or monitor work;
- projects with owner, safety, publication, or private-data gates;
- peer-agent teams where ownership, leases, and handoff matter;
- creator, research, or operations workflows whose progress must remain
  legible to a non-engineering operator.

LoopX is not an autonomous production controller. Dangerous permissions,
publishing, production writes, and final ownership stay with the human.

</details>

<a id="always-on-agents"></a>

### Building 24/7 Always-On Agents Without Hand-Rolling the 5 Subsystems

[Anthropic's *Building always-on agents*](https://claude.com/resources/articles/building-always-on-agents)
notes that effective persistent agents spend most of their wall-clock life
asleep at zero tokens and wake for bounded runs across five surrounding
subsystems: **Event Inbox**, **Timers**, **Memory**, **Permissions**, and an
**Outbox**. In practice, teams often re-build fragile glue—cron scripts, JSON
queues, prompt compaction, and ad-hoc approval checks—for every agent host, only
to hit silent staleness, duplicate writes, or noisy status spam by week two.

LoopX packages that open, harness-neutral control layer so the runtimes you
already use (Codex CLI, Claude Code, DeepSeek Harness, or custom runners) can
operate 24/7 with explicit durability and human gates:

| Always-on primitive | LoopX control-plane subsystem | What it prevents in multi-week runs |
| --- | --- | --- |
| **Event Inbox** | Single-flight **Goal / Todo / Hard Lease** queue, async app inbox, and connected Lark / GitHub listeners | Duplicate workers mutating the same repo state; dropped human inputs mid-run |
| **Timers & Wakeups** | **Guarded Heartbeat** and safe recurring presets (`daily-triage`, `changelog-draft`, `pr-watch`; inspect via `loopx preset list`) | Blind cron loops burning tokens when nothing changed or a gate is still waiting on a human |
| **Memory & Compaction** | [`Decision Context`](loopx/capabilities/decision_context/README.md) source tracking, compaction-cycle **Progressive + Delta** [`context_delivery`](https://loopx-project.github.io/loopx/blog/context-delivery/) (`32.5%` view across 213 wakes; `3.0% / 5.0%` first-read entry across 112 in-cycle wakes), and optional [`Reward Memory`](loopx/capabilities/reward_memory/README.md) | Silent source staleness; compounding prompt replay or broken deltas across compaction |
| **Permissions & Deferred Calls** | Explicit **owner, safety, publication, and private-data gates**, isolated worktrees, and review-ready handoffs | Autonomous cron runs publishing externally, forcing merges, or leaking private context |
| **Outbox** | Shared Workspace & Lark Goal/Decision/Evidence views surfacing genuine completions, blockers, and open gates | Fragmented terminal logs and high-noise pings that force humans to babysit runs |

**Solo local to team & organizational scale—on one set of contracts:**

| Scale | How LoopX runs | Authority, collaboration & governance posture |
| --- | --- | --- |
| **Solo developer & local agent** | `python3 -m pip install --upgrade loopx` with zero external infrastructure; connect your existing CLI/Desktop runtime | Canonical local **SQLite** store with hard leases (plus existing File setups), surviving restarts and compaction at zero idle tokens |
| **Engineering team & enterprise path** | Peer workers claim todos and return reviewed artifacts on shared Goals via Desktop Workspace, GitHub, and Lark ([three-agent demo](examples/collaboration-delivery/README.md)) | Preserves worker ownership and human approval gates; extends to staged **PostgreSQL** remote authority ([provider](loopx/control_plane/coordination/postgresql_authority_store.ts)) and planned org governance—RBAC, SSO, quotas, signed audit—in the [adoption & SaaS roadmap](docs/product/roadmaps/saas-opportunity-assessment.md) |

## See LoopX in Action

<a href="https://github.com/user-attachments/assets/543af0b1-c3d4-4cfb-aedd-a68563a20601"><img src="docs/assets/personal-workspace/research-workbench-hero.webp" alt="LoopX 2.0, the long-horizon research workbench for enterprise teams, research organizations and independent builders; recorded research history with count ribbons redrawn to scale in a labelled App frame" width="960"></a><br>
<sub><a href="https://github.com/user-attachments/assets/543af0b1-c3d4-4cfb-aedd-a68563a20601">Watch the research-workbench film · 86s</a> · <a href="docs/assets/personal-workspace/loopx-research-films.md">transcripts, subtitles and sources</a>. Recorded App excerpts, synthetic examples and illustrations are labelled.</sub>

<a id="research-workbench"></a>

### Research that can continue

Open a Goal to inspect its work, responsible Agents and recorded Explore history.
Use **Deep analysis** to inspect a registered trajectory, its citations, native
outcome readback and separately measured costs. Research also shows source-bound
[human attention](docs/reference/trajectory-assessment.md#human-attention-in-research-optional),
with recorded inputs, timing coverage and inspectable optimization points. An Agent prepares the source;
opening a page or reading a result does not start a model call. Explicit analysis
uses the configured host and account.

Keep supported, refuted and unknown findings visible. Inspect why an approach
changed or continued, then carry the evidence into the next attempt.

### Meet the Personal Agent Workspace

Keep long-horizon goals in one local-first workspace. Goals, attention,
conversations, tasks, files, schedules, and recovery stay durable across days,
restarts, and harnesses. Reopen a project, inspect the previous turn’s state
and evidence, and continue the next permitted action.

For a new default Codex Goal, review the task and workspace permission before
confirming **Create Goal and start first run**. The original task continues in
its original conversation when independent checks and allowance are ready;
ordinary messages remain read-only. Follow the [workspace guide](docs/guides/personal-workspace-user-guide.md#在原对话执行已检查的任务--run-the-checked-original-task)
for waiting, result readback and recovery.

LoopX brings these long-horizon control states into the Personal Workspace. It gives you one place to:

- see what needs you, what is running, what is being watched, and what is
  scheduled or stopped;
- configure Goal capabilities, distinguish machine defaults from Goal overrides,
  and preview changes before applying them;
- steer a live turn, queue a message, or use the async inbox from a connected
  Lark conversation with explicit Goal/Agent/session routing;
- inspect deliverable files, periodic reports, and their supporting evidence;
- continue across Codex, Claude Code, direct-model, and other registered Agent
  sessions without losing Goal state or evidence;
- review protected changes through typed preview, explicit confirmation, and
  receipts while LoopX state—not the browser—remains authoritative.

For Manager group conversations, LoopX keeps message visibility separate from
Turn authority; see the bilingual [Lark Manager context and authority
contract](docs/reference/protocols/lark-manager-context-authority-v0.md).

```bash
loopx dashboard
```

For the optional [Workbench](apps/workbench/README.md#统一启动命令), use
`loopx workbench start`, `loopx workbench status`, and `loopx workbench stop`
after installing its separate application. These commands preserve its data and
leave independently managed Core services running. Opt in to current-user login
startup and crash recovery with `loopx workbench start --autostart` (macOS launchd
or Linux systemd); `stop --disable-autostart` removes that registration and keeps data.

`loopx dashboard` is the supported browser/PWA launch path. You can also download
native desktop previews from the [current release](https://github.com/loopx-project/loopx/releases/latest);
they reuse the same loopback services and Goal state. Apple Silicon macOS supports
signed App updates that pair the shell with its bundled runtime, plus repair and
recovery. Python 3.11+ is required; the App is ad-hoc signed, not notarized.
Windows NSIS preview installers support the same signed update flow on the main
channel, with a separately installed CLI; the stable channel and MSI installs stay
manual, App rollback and repair are unavailable, and the installer carries no
Authenticode certificate (Windows may show a SmartScreen prompt).
[Desktop installation, updates, and source development](apps/desktop/loopx-control-plane/README.md).

<img src="docs/assets/personal-workspace/capability-1.0.webp" alt="Real Workspace recording: configure child-task capacity and allowed responsibility domains" width="960">

<details>
<summary>Capability settings and reproducible workspace scenarios</summary>

From a source checkout, run `python -m demo.workspace serve` to explore a community
event, a home-energy comparison, and a neighborhood website release. Each has four
work roles, 18 tasks, two decisions, and two watches. The screenshot above comes
from this reproducible workspace. [Scenarios and replay instructions](demo/workspace/README.md).

</details>

[Watch the full 32-second walkthrough](docs/assets/personal-workspace/loopx-dashboard-launch.mp4)
· [Read the workspace guide](docs/guides/personal-workspace-user-guide.md)
· [Try the five-minute tour](docs/guides/personal-workspace-trial-guide.md)

## Try LoopX

Choose a walkthrough with a result you can inspect:

| Start with | What you'll do |
| --- | --- |
| [Your first bug-fixing loop](docs/guides/first-bugfix-loop.md) | Reproduce two bugs in a small Python project, let the Agent fix them, then check the tests and patch. |
| [Long-running coding work](docs/guides/long-running-coding-agents.md) | Fix an issue or keep improving your own repository, with review, evidence and recovery across sessions. |
| [Personal Agent Workspace (中文)](docs/guides/personal-workspace-user-guide.md) | Follow the illustrated guide to manage projects, conversations, tasks and delivered results in the App. |

### Start From Your Agent

After the [two-step setup](#quick-start), use the entry for your host in a
session 
↑