loopx-project/loopx
A self-hosted control plane for agent goals that outlive a session.
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
LoopX separates durable workflow state from agent execution. Its shared TypeScript control plane retains goals, accepted requirements, Todos, decisions, ownership, and evidence, so a new session can resume from recorded state rather than reconstructing the plan from chat. Local workflows use SQLite. Codex CLI, Claude Code, DeepSeek Harness, and custom runners supply the model and tools; the Python package is the installation surface, while the control plane also needs system Node.js.
A single-flight Goal/Todo queue with hard leases limits duplicate execution. Timers and event inboxes wake agents for bounded runs, while protected actions remain subject to human authorization. Extensions are exposed as registered capabilities: for example, loopx capability show change-quality-qualification --format json is an entrypoint for inspecting the final-diff qualification capability and its write boundary.
Key Capabilities & Differentiators
LoopX coordinates work through explicit ownership, dependent artifacts, independent review, and returned results. The Personal Agent Workspace exposes schedules, pending decisions, files, and evidence across sessions. A connected Lark inbox supports explicit Goal/Agent/session routing. Protected changes can go through a typed preview, explicit confirmation, and a receipt.
Decision Context tracks sources, while progressive views and deltas reduce how much state returning agents need to read. Measurements across 213 model-facing wakes put the single-layer progressive view at 32.5% of baseline bytes. Across 112 in-cycle continuations, the stacked first-read entry was 3.0% by body bytes and 5.0% by CLI bytes. These figures describe delivered context bytes, not end-to-end token savings. The research workbench separately exposes citations, native outcome readback, and measured costs; opening a result does not trigger a model call.
Trade-offs & Limitations
Compared with native Codex Goal, LoopX adds a host-neutral record of requirements, approvals, ownership, and evidence. Compared with a plain cron wrapper, guarded wakeups and leases give the workflow better control over when runs start and who owns them. The cost is an additional runtime and state layer to operate, plus host-specific permissions and connector configuration. For a short task on a single host, that extra machinery may not pay off.
On 46 matched LHTB tasks, LoopX 1.0.3 Heartbeat scored 0.4948 mean reward versus 0.4218 for plain Codex and 0.4475 for native Codex Goal. At the strict ≥0.95 threshold, both LoopX and plain Codex solved 7/46. There was one effective trial per task and mode, with unequal runtime budgets and designated replacement trials. The result supports testing for gains on long-running work, not assuming better solve rates or cost efficiency in v2.4.1.
Hardware & Deployment Guide
For a self-hosted CLI setup, install Python 3.11+ and system Node.js 22.22.3+ (Node.js 24 LTS is recommended). Install with python3 -m pip install --upgrade loopx, run loopx workflow-skills --install, and restart the agent host. Codex uses $loopx and Claude Code uses /loopx. The Python package adds tzdata on Windows; pip does not install Node.js.
Start with local SQLite, then validate wakeups, permissions, and evidence capture on the intended host before expanding to multiple agents. Local state does not imply offline inference or offline connectors. Usage statistics default on after first-use disclosure and can be disabled with loopx usage-ping disable or LOOPX_USAGE_PING=0. Stable users can take v2.4.1 from PyPI; exact-revision qualification can use immutable runtime snapshots rather than the mutable runtime-main channel.
Engineering, research, and operations teams that need multi-session or cross-runtime work to retain ownership, approvals, and evidence.
Your tasks finish in one host session, or you need a turnkey, fully offline stack with inference included.
Quick Start & Installation
python3 -m pip install --upgrade loopx && loopx workflow-skills --install
Comparison vs. Top Agents & Frameworks Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| loopx ★ | 6.8k | +35 | Python | Apache-2.0 | A self-hosted control plane for agent goals that outlive a session. |
| hermes-agent | 268.1k | +1.5k | Python | MIT | Self-hosted Python agent with persistent memory and automation across chat and C |
| QwenPaw | 38.5k | +246 | Python | Apache-2.0 | Self-hosted agent workspace for scheduled tasks and chat across apps |
| AutoGPT | 188.3k | +74 | Python | — | Coordinate specialist AI agents through chat and build repeatable visual workflo |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/loopx-project/loopx.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about loopx
Does LoopX replace my agent runtime, and what carries over between sessions?
Does a self-hosted installation need a GPU, and how should I size it?
Can a company self-host or redistribute LoopX?
When is LoopX a better fit than native Codex Goal?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy