cobusgreyling/loop-engineering

TypeScriptcobusgreyling.github.io/loop-engineering/

Practical patterns, starters & CLI tools for loop engineering with AI coding agents. Design systems that prompt and orchestrate agents (inspired by Addy Osmani and Boris Cherny). Includes loop-audit, loop-init, loop-cost.

agentic-aiai-agentsclaude-codecodexdevops-automationgithub-actionsgrokllmmcpai-codingautomationloop-engineering
Crecimiento de estrellas
Estrellas
11.1k
Forks
1.5k
Crecimiento semanal
+304
Issues
8
6k8k10k
jun 26jul 26ago 26sept 26
Artefactosnpm
README

Loop Engineering

Showcase GitHub stars loop npm last triage MIT

Loop Engineering logo

Stop prompting. Design the loop. Get a score.

Loop Engineering — design the system that prompts your agents

Start in 5 minutes · Quickstart · What do you want to do? · Refactor path · 中文 · Pattern picker

npx @cobusgreyling/loop init . --pattern daily-triage --tool claude
npx @cobusgreyling/loop doctor .

--tool defaults to claude if you omit it. Swap for grok, codex, or opencode. Week one is report-only.

Loop Ready score climbing

You design a system that discovers work, hands it to agents, verifies results, and persists state — instead of typing the next prompt yourself.

New here? Quickstart · Refactor a project · Thin GitHub Action loop (no STATE.md required)

What do you want to do?

This is a pattern library for operating agents around a codebase. It is not a “rewrite the module” button.

I want to… Start here
Keep the repo healthy (issues, CI, deps) Quickstartdaily-triage
Land and babysit PRs PR Babysitter
Run a loop in GitHub Actions with almost no files Thin loop
Ship a feature or refactor (todos → small PRs) Refactor / change path

Full jobs table: docs/jobs.md.

Patterns

Pattern Cadence Week 1 Cost
Daily Triage 1d–2h L1 report Low
Thin loop event + 1d L1 snapshot Very low
PR Babysitter 5–15m L1 watch High
CI Sweeper 5–15m L2 cautious Very high
Dependency Sweeper 6h–1d L2 patch-only Medium
Changelog Drafter 1d or tag L1 draft Low
Post-Merge Cleanup 1d–6h L1 off-peak Low
Issue Triage 2h–1d L1 propose-only Low

Interactive picker: showcase. Index: patterns/registry.yaml.

Getting started

npx @cobusgreyling/loop init . --pattern daily-triage --tool claude
npx @cobusgreyling/loop doctor .
npx @cobusgreyling/loop cost --pattern daily-triage --level L1

Empty repo → first STATE.md walkthrough: scripts/empty-to-state-demo.sh.

Roll out L1 report → L2 assisted → L3 unattended only after the verifier has been right for a week. See loop-design-checklist.

Loop Ready now weights recent runs harder than files on disk. A 30-day-old STATE.md is not L3.

Examples by tool

Claude Code (including the plugin) · Grok · Codex · OpenClaw · Opencode · GitHub Actions

Operating & safety

Failure modes · Anti-patterns · Safety · Operating loops · Stories (wins and failures)

Loop engineering amplifies judgment. Token costs can explode. Unattended loops make unattended mistakes. Read what the loop ships.

Help wanted

Docs and small PRs: first response within 48 hours.

See CONTRIBUTING.md.

CLI packages and companion repos (optional — not required for week one)

Unified front door: npx @cobusgreyling/loop (init · doctor · status · audit · cost). Older packages (loop-init, loop-audit, …) stay supported.

Companions exist for later: memory-engineering, harness-foundry, outerloop, fleet-engineering, goal-engineering. Do not add them until a loop has actually run.

Sources

License

MIT

Repositorios relacionados
Significant-Gravitas/AutoGPT

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

PythonPyPIOtheraiopenai
agpt.co
187.2k46k
langgenius/dify

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

TypeScriptnpmskillOtheraigpt
dify.ai
155.1k24.5k
infiniflow/ragflow

RAGFlow is a leading open-source Retrieval-Augmented Generation (RAG) engine that fuses cutting-edge RAG with Agent capabilities to create a superior context layer for LLMs

GoGo ModulesApache License 2.0aiai-agents
ragflow.io
90.3k10.7k
microsoft/ai-agents-for-beginners

18 Lessons to Get Started Building AI Agents

Jupyter NotebooktutorialMIT Licenseagentic-aiagentic-framework
aka.ms/ai-agents-beginners
74.2k24.5k
ruvnet/ruflo

🌊 The original agent meta-harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, RAG integration, and native Claude Code / Codex / Hermes and many more Integrated

TypeScriptnpmskillMIT Licenseclaude-codeswarm
cognitum.one
71.7k8.5k
Mintplex-Labs/anything-llm

Stop renting your intelligence. Own it with AnythingLLM. Everything you need for a powerful local-first agent experience

JavaScriptnpmMIT Licenseraglocalai
anythingllm.com
65.8k7.3k
shanraisshan/claude-code-best-practice

from vibe coding to agentic engineering - practice makes claude perfect

HTMLtutorialMIT Licenseclaude-aiclaude-code
linkedin.com/in/shanraisshan
65.8k6.5k
calesthio/OpenMontage

World's first open-source, agentic video production system. 12 production pipelines, 100+ tools, 700+ agent skill and production-knowledge files. Turn your AI coding assistant into a full video production studio.

PythonPyPIGNU Affero General Public License v3.0agentagentic-ai
openmontage.video
56.7k7.1k
FlowiseAI/Flowise

Build AI Agents, Visually

TypeScriptnpmOtherartificial-intelligencechatgpt
flowiseai.com
55.4k25k
siyuan-note/siyuan

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

TypeScriptnpmappGNU Affero General Public License v3.0note-takinglocal-first
b3log.org/siyuan
46.2k3k
wshobson/agents

Multi-harness agentic plugin marketplace for Claude Code, Codex, Cursor, OpenCode, GitHub Copilot, and Google Antigravity

PythonPyPIskillMIT Licenseagentsanthropic
sethhobson.com
39.5k4.2k
CopilotKit/CopilotKit

The Frontend Stack for Agents & Generative UI. React, Angular, Mobile, Slack, and more. Makers of the AG-UI Protocol

TypeScriptnpmMIT Licenseaillm
docs.copilotkit.ai
37.3k4.6k