Λογότυπο Autonomous Loops

Autonomous Loops

Κοινότητα
Fmarzochi
autonomous-loops

Patterns and architectures for autonomous AI coding loops: from simple sequential pipelines to RFC-driven multi-agent DAG systems.

Επισκόπηση

ΕκδότηςFmarzochi
ΑποθετήριοEGC
Όνομα δεξιότηταςautonomous-loops
Αστέρια
68
Διακλαδώσεις
49
Συνοδευτικά αρχεία
Μόνο οδηγίες
Άδεια χρήσηςApache-2.0
Σύνδεσμοι
  • Οδηγίες σε Markdown

    Ένα αρχείο SKILL.md που το μοντέλο φορτώνει όταν χρειάζεται, ώστε να καταναλώνει token μόνο όταν ένα αίτημα είναι πράγματι σχετικό.

  • Λειτουργεί με οποιοδήποτε LLM

    Οι δεξιότητες AI είναι απλό Markdown, όχι κώδικας για συγκεκριμένο πάροχο, επομένως αυτή η δεξιότητα λειτουργεί με GPT, Claude, Gemini, Grok ή ένα τοπικό μοντέλο.

  • Αυτοτελής

    Όλα όσα χρειάζεται το μοντέλο περιλαμβάνονται στις οδηγίες — χωρίς επιπλέον αρχεία για συγχρονισμό.

  • Ανοιχτού κώδικα

    Δημοσιεύτηκε στο GitHub από τον λογαριασμό Fmarzochi. Ελέγξτε τα αρχεία της δεξιότητας στο αποθετήριο πριν την εγκαταστήσετε.

Εγκατάσταση

Εγκαταστήστε τη δεξιότητα AI Autonomous Loops στο TypingMind για να τη χρησιμοποιείτε με οποιοδήποτε LLM ή προσθέστε τη σε άλλον πράκτορα AI που διαβάζει αρχεία SKILL.md.

1

Εγκατάσταση στο TypingMind

Το TypingMind εγκαθιστά μια δεξιότητα απευθείας από τον φάκελό της στο GitHub — διαβάζει το SKILL.md, συγκεντρώνει τα συνοδευτικά αρχεία σε πακέτο και αποθηκεύει το αποτέλεσμα τοπικά.

  1. Ανοίξτε την εφαρμογή και μεταβείτε στα Πρόσθετα → Δεξιότητες.
  2. Επιλέξτε «Εγκατάσταση από GitHub».
  3. Επικολλήστε το παρακάτω URL του φακέλου της δεξιότητας και επιβεβαιώστε.
    https://github.com/Fmarzochi/EGC/tree/main/skills/ai/autonomous-loops
  4. Ενεργοποιήστε τη δεξιότητα σε κάθε συνομιλία όπου θέλετε να είναι διαθέσιμη.
Πρόσθετα → Δεξιότητες → Προσθήκη δεξιότητας → Από URL του GitHub, έπειτα επικολλήστε το URL του φακέλου και πατήστε «Συνέχεια».
2

Εγκατάσταση σε άλλον πράκτορα AI

Κάθε πράκτορας AI που υποστηρίζει τη μορφή Agent Skills μπορεί να χρησιμοποιήσει αυτή τη δεξιότητα — αντιγράψτε τον φάκελο στον κατάλογο δεξιοτήτων του.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Fmarzochi/EGC.git /tmp/EGC
mkdir -p .claude/skills
cp -r /tmp/EGC/skills/ai/autonomous-loops .claude/skills/autonomous-loops
Επανεκκινήστε το Claude Code μετά την αντιγραφή, ώστε να εντοπίσει τη νέα δεξιότητα.

Χρησιμοποιήστε τη στο TypingMind

Ενεργοποιήστε τη δεξιότητα Autonomous Loops σε οποιαδήποτε συνομιλία στο TypingMind και το μοντέλο αναλαμβάνει τα υπόλοιπα. Το όνομα και η περιγραφή της περιλαμβάνονται στην προτροπή συστήματος και, μόλις προκύψει ένα σχετικό αίτημα, το μοντέλο φορτώνει μόνο του τις πλήρεις οδηγίες — δεν χρειάζεται ποτέ να την καλείτε χειροκίνητα και δεν καταναλώνει token μέχρι να χρησιμοποιηθεί πραγματικά.

Το μοντέλο φορτώνει αυτόματα τη δεξιότητα Autonomous Loops μόλις λάβει ένα σχετικό αίτημα.

Λειτουργεί με οποιοδήποτε μοντέλο AI

Οι δεξιότητες AI είναι οδηγίες σε απλό κείμενο Markdown και όχι κώδικας για συγκεκριμένο πάροχο, οπότε η δεξιότητα Autonomous Loops δεν περιορίζεται στο μοντέλο για το οποίο γράφτηκε. Εγκαταστήστε τη μία φορά στο TypingMind και χρησιμοποιήστε τη με GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ή ένα τοπικό μοντέλο που εκτελείτε εσείς — πάντα με τα δικά σας κλειδιά API.

  • Φόρτωση μόνο όταν χρειάζεται

    Η προτροπή συστήματος περιλαμβάνει μόνο το όνομα και την περιγραφή. Οι οδηγίες ανακτώνται με το πρώτο σχετικό αίτημα, οπότε μια δεξιότητα που δεν χρησιμοποιείται δεν έχει κόστος.

  • Αλλάξτε μοντέλο κατά τη διάρκεια της συνομιλίας

    Επειδή η δεξιότητα αποτελείται από οδηγίες και όχι από κώδικα, η αλλαγή μοντέλου δεν επηρεάζει τη λειτουργία της — το επόμενο μοντέλο διαβάζει το ίδιο αρχείο SKILL.md.

Οδηγίες δεξιότητας

Αυτό είναι το περιεχόμενο του αρχείου SKILL.md που φορτώνει το μοντέλο. Διαβάστε το πριν από την εγκατάσταση — μια δεξιότητα αποτελείται από οδηγίες που θα ακολουθήσει το μοντέλο σας.

Autonomous Loops Skill

Compatibility note: autonomous-loops is kept as a legacy alias. The canonical skill name is continuous-agent-loop. New loop guidance should be authored there, while this skill remains available to avoid breaking existing workflows.

Patterns, architectures, and reference implementations for running your AI coding tool autonomously in loops. Covers everything from simple egc -p pipelines to full RFC-driven multi-agent DAG orchestration.

When to Use

  • Setting up autonomous development workflows that run without human intervention
  • Choosing the right loop architecture for your problem (simple vs complex)
  • Building CI/CD-style continuous development pipelines
  • Running parallel agents with merge coordination
  • Implementing context persistence across loop iterations
  • Adding quality gates and cleanup passes to autonomous workflows

Loop Pattern Spectrum

From simplest to most sophisticated:

PatternComplexityBest For
Sequential PipelineLowDaily dev steps, scripted workflows
NanoClaw REPLLowInteractive persistent sessions
Infinite Agentic LoopMediumParallel content generation, spec-driven work
Continuous Gemini PR LoopMediumMulti-day iterative projects with CI gates
De-Sloppify PatternAdd-onQuality cleanup after any Implementer step
Ralphinho / RFC-Driven DAGHighLarge features, multi-unit parallel work with merge queue

1. Sequential Pipeline (egc -p)

The simplest loop. Break daily development into a sequence of non-interactive egc -p calls. Each call is a focused step with a clear prompt.

Core Insight

If you can't figure out a loop like this, it means you can't even drive the LLM to fix your code in interactive mode.

The egc -p flag runs your AI coding tool non-interactively with a prompt, exits when done. Chain calls to build a pipeline:

bash
#!/bin/bash
# daily-dev.sh: Sequential pipeline for a feature branch

set -e

# Step 1: Implement the feature
egc -p "Read the spec in docs/auth-spec.md. Implement OAuth2 login in src/auth/. Write tests first (TDD). Do NOT create any new documentation files."

# Step 2: De-sloppify (cleanup pass)
egc -p "Review all files changed by the previous commit. Remove any unnecessary type tests, overly defensive checks, or testing of language features (e.g., testing that TypeScript generics work). Keep real business logic tests. Run the test suite after cleanup."

# Step 3: Verify
egc -p "Run the full build, lint, type check, and test suite. Fix any failures. Do not add new features."

# Step 4: Commit
egc -p "Create a conventional commit for all staged changes. Use 'feat: add OAuth2 login flow' as the message."

Key Design Principles

  1. Each step is isolated: A fresh context window per egc -p call means no context bleed between steps.
  2. Order matters: Steps execute sequentially. Each builds on the filesystem state left by the previous.
  3. Negative instructions are dangerous: Don't say "don't test type systems." Instead, add a separate cleanup step (see De-Sloppify Pattern).
  4. Exit codes propagate: set -e stops the pipeline on failure.

Variations

With model routing:

bash
# Research with Opus (deep reasoning)
egc -p --model gemini-2.5-pro "Analyze the codebase architecture and write a plan for adding caching..."

# Implement with Sonnet (fast, capable)
egc -p "Implement the caching layer according to the plan in docs/caching-plan.md..."

# Review with Opus (thorough)
egc -p --model gemini-2.5-pro "Review all changes for security issues, race conditions, and edge cases..."

With environment context:

bash
# Pass context via files, not prompt length
echo "Focus areas: auth module, API rate limiting" > .gemini-context.md
egc -p "Read .gemini-context.md for priorities. Work through them in order."
rm .gemini-context.md

With --allowedTools restrictions:

bash
# Read-only analysis pass
egc -p --allowedTools "Read,Grep,Glob" "Audit this codebase for security vulnerabilities..."

# Write-only implementation pass
egc -p --allowedTools "Read,Write,Edit,Bash" "Implement the fixes from security-audit.md..."

2. NanoClaw REPL

EGC's built-in persistent loop. A session-aware REPL that calls egc -p synchronously with full conversation history.

bash
# Start the default session
node scripts/claw.js

# Named session with skill context
CLAW_SESSION=my-project CLAW_SKILLS=tdd-workflow,security-review node scripts/claw.js

How It Works

  1. Loads conversation history from ~/.gemini/claw/{session}.md
  2. Each user message is sent to egc -p with full history as context
  3. Responses are appended to the session file (Markdown-as-database)
  4. Sessions persist across restarts

When NanoClaw vs Sequential Pipeline

Use CaseNanoClawSequential Pipeline
Interactive explorationYesNo
Scripted automationNoYes
Session persistenceBuilt-inManual
Context accumulationGrows per turnFresh each step
CI/CD integrationPoorExcellent

See the /claw command documentation for full details.


3. Infinite Agentic Loop

A two-prompt system that orchestrates parallel sub-agents for specification-driven generation.

Architecture: Two-Prompt System

PROMPT 1 (Orchestrator)              PROMPT 2 (Sub-Agents)
┌─────────────────────┐             ┌──────────────────────┐
│ Parse spec file      │             │ Receive full context  │
│ Scan output dir      │  deploys   │ Read assigned number  │
│ Plan iteration       │────────────│ Follow spec exactly   │
│ Assign creative dirs │  N agents  │ Generate unique output │
│ Manage waves         │             │ Save to output dir    │
└─────────────────────┘             └──────────────────────┘

The Pattern

  1. Spec Analysis: Orchestrator reads a specification file (Markdown) defining what to generate
  2. Directory Recon: Scans existing output to find the highest iteration number
  3. Parallel Deployment: Launches N sub-agents, each with:
    • The full spec
    • A unique creative direction
    • A specific iteration number (no conflicts)
    • A snapshot of existing iterations (for uniqueness)
  4. Wave Management: For infinite mode, deploys waves of 3-5 agents until context is exhausted

Implementation via slash commands

Create .gemini/commands/infinite.md:

markdown
Parse the following arguments from $ARGUMENTS:
1. spec_file: path to the specification markdown
2. output_dir: where iterations are saved
3. count: integer 1-N or "infinite"

PHASE 1: Read and deeply understand the specification.
PHASE 2: List output_dir, find highest iteration number. Start at N+1.
PHASE 3: Plan creative directions: each agent gets a DIFFERENT theme/approach.
PHASE 4: Deploy sub-agents in parallel (Task tool). Each receives:
  - Full spec text
  - Current directory snapshot
  - Their assigned iteration number
  - Their unique creative direction
PHASE 5 (infinite mode): Loop in waves of 3-5 until context is low.

Invoke:

bash
/project:infinite specs/component-spec.md src/ 5
/project:infinite specs/component-spec.md src/ infinite

Batching Strategy

CountStrategy
1-5All agents simultaneously
6-20Batches of 5
infiniteWaves of 3-5, progressive sophistication

Key Insight: Uniqueness via Assignment

Don't rely on agents to self-differentiate. The orchestrator assigns each agent a specific creative direction and iteration number. This prevents duplicate concepts across parallel agents.


4. Continuous Gemini PR Loop

A production-grade shell script that runs your AI coding tool in a continuous loop, creating PRs, waiting for CI, and merging automatically.

Core Loop

┌─────────────────────────────────────────────────────┐
│  CONTINUOUS GEMINI ITERATION                        │
│                                                     │
│  1. Create branch (continuous-egc/iteration-N)   │
│  2. Run egc -p with enhanced prompt              │
│  3. (Optional) Reviewer pass: separate egc -p   │
│  4. Commit changes (egc generates message)       │
│  5. Push + create PR (gh pr create)                 │
│  6. Wait for CI checks (poll gh pr checks)          │
│  7. CI failure? → Auto-fix pass (egc -p)         │
│  8. Merge PR (squash/merge/rebase)                  │
│  9. Return to main → repeat                         │
│                                                     │
│  Limit by: --max-runs N | --max-cost $X             │
│            --max-duration 2h | completion signal     │
└─────────────────────────────────────────────────────┘

Installation

Warning: Install continuous-egc from its repository after reviewing the code. Do not pipe external scripts directly to bash.

Usage

bash
# Basic: 10 iterations
continuous-egc --prompt "Add unit tests for all untested functions" --max-runs 10

# Cost-limited
continuous-egc --prompt "Fix all linter errors" --max-cost 5.00

# Time-boxed
continuous-egc --prompt "Improve test coverage" --max-duration 8h

# With code review pass
continuous-egc \
  --prompt "Add authentication feature" \
  --max-runs 10 \
  --review-prompt "Run npm test && npm run lint, fix any failures"

# Parallel via worktrees
continuous-egc --prompt "Add tests" --max-runs 5 --worktree tests-worker &
continuous-egc --prompt "Refactor code" --max-runs 5 --worktree refactor-worker &
wait

Cross-Iteration Context: SHARED_TASK_NOTES.md

The critical innovation: a SHARED_TASK_NOTES.md file persists across iterations:

markdown
## Progress
- [x] Added tests for auth module (iteration 1)
- [x] Fixed edge case in token refresh (iteration 2)
- [ ] Still need: rate limiting tests, error boundary tests

## Next Steps
- Focus on rate limiting module next
- The mock setup in tests/helpers.ts can be reused

Gemini reads this file at iteration start and updates it at iteration end. This bridges the context gap between independent egc -p invocations.

CI Failure Recovery

When PR checks fail, Continuous Gemini automatically:

  1. Fetches the failed run ID via gh run list
  2. Spawns a new egc -p with CI fix context
  3. Gemini inspects logs via gh run view, fixes code, commits, pushes
  4. Re-waits for checks (up to --ci-retry-max attempts)

Completion Signal

Gemini can signal "I'm done" by outputting a magic phrase:

bash
continuous-egc \
  --prompt "Fix all bugs in the issue tracker" \
  --completion-signal "CONTINUOUS_GEMINI_PROJECT_COMPLETE" \
  --completion-threshold 3  # Stops after 3 consecutive signals

Three consecutive iterations signaling completion stops the loop, preventing wasted runs on finished work.

Key Configuration

FlagPurpose
--max-runs NStop after N successful iterations
--max-cost $XStop after spending $X
--max-duration 2hStop after time elapsed
--merge-strategy squashsquash, merge, or rebase
--worktree <name>Parallel execution via git worktrees
--disable-commitsDry-run mode (no git operations)
--review-prompt "..."Add reviewer pass per iteration
--ci-retry-max NAuto-fix CI failures (default: 1)

5. The De-Sloppify Pattern

An add-on pattern for any loop. Add a dedicated cleanup/refactor step after each Implementer step.

The Problem

When you ask an LLM to implement with TDD, it takes "write tests" too literally:

  • Tests that verify TypeScript's type system works (testing typeof x === 'string')
  • Overly defensive runtime checks for things the type system already guarantees
  • Tests for framework behavior rather than business logic
  • Excessive error handling that obscures the actual code

Why Not Negative Instructions?

Adding "don't test type systems" or "don't add unnecessary checks" to the Implementer prompt has downstream effects:

  • The model becomes hesitant about ALL testing
  • It skips legitimate edge case tests
  • Quality degrades unpredictably

The Solution: Separate Pass

Instead of constraining the Implementer, let it be thorough. Then add a focused cleanup agent:

bash
# Step 1: Implement (let it be thorough)
egc -p "Implement the feature with full TDD. Be thorough with tests."

# Step 2: De-sloppify (separate context, focused cleanup)
egc -p "Review all changes in the working tree. Remove:
- Tests that verify language/framework behavior rather than business logic
- Redundant type checks that the type system already enforces
- Over-defensive error handling for impossible states
- Console.log statements
- Commented-out code

Keep all business logic tests. Run the test suite after cleanup to ensure nothing breaks."

In a Loop Context

bash
for feature in "${features[@]}"; do
  # Implement
  egc -p "Implement $feature with TDD."

  # De-sloppify
  egc -p "Cleanup pass: review changes, remove test/code slop, run tests."

  # Verify
  egc -p "Run build + lint + tests. Fix any failures."

  # Commit
  egc -p "Commit with message: feat: add $feature"
done

Key Insight

Rather than adding negative instructions which have downstream quality effects, add a separate de-sloppify pass. Two focused agents outperform one constrained agent.


6. Ralphinho / RFC-Driven DAG Orchestration

The most sophisticated pattern. An RFC-driven, multi-agent pipeline that decomposes a spec into a dependency DAG, runs each unit through a tiered quality pipeline, and lands them via an agent-driven merge queue.

Architecture Overview

RFC/PRD Document
       │
       ▼
  DECOMPOSITION (AI)
  Break RFC into work units with dependency DAG
       │
       ▼
┌──────────────────────────────────────────────────────┐
│  RALPH LOOP (up to 3 passes)                         │
│                                                      │
│  For each DAG layer (sequential, by dependency):     │
│                                                      │
│  ┌── Quality Pipelines (parallel per unit) ───────┐  │
│  │  Each unit in its own worktree:                │  │
│  │  Research → Plan → Implement → Test → Review   │  │
│  │  (depth varies by complexity tier)             │  │
│  └────────────────────────────────────────────────┘  │
│                                                      │
│  ┌── Merge Queue ─────────────────────────────────┐  │
│  │  Rebase onto main → Run tests → Land or evict │  │
│  │  Evicted units re-enter with conflict context  │  │
│  └────────────────────────────────────────────────┘  │
│                                                      │
└──────────────────────────────────────────────────────┘

RFC Decomposition

AI reads the RFC and produces work units:

typescript
interface WorkUnit {
  id: string;              // kebab-case identifier
  name: string;            // Human-readable name
  rfcSections: string[];   // Which RFC sections this addresses
  description: string;     // Detailed description
  deps: string[];          // Dependencies (other unit IDs)
  acceptance: string[];    // Concrete acceptance criteria
  tier: "trivial" | "small" | "medium" | "large";
}

Decomposition Rules:

  • Prefer fewer, cohesive units (minimize merge risk)
  • Minimize cross-unit file overlap (avoid conflicts)
  • Keep tests WITH implementation (never separate "implement X" + "test X")
  • Dependencies only where real code dependency exists

The dependency DAG determines execution order:

Layer 0: [unit-a, unit-b]     ← no deps, run in parallel
Layer 1: [unit-c]             ← depends on unit-a
Layer 2: [unit-d, unit-e]     ← depend on unit-c

Complexity Tiers

Different tiers get different pipeline depths:

TierPipeline Stages
trivialimplement → test
smallimplement → test → code-review
mediumresearch → plan → implement → test → PRD-review + code-review → review-fix
largeresearch → plan → implement → test → PRD-review + code-review → review-fix → final-review

This prevents expensive operations on simple changes while ensuring architectural changes get thorough scrutiny.

Separate Context Windows (Author-Bias Elimination)

Each stage runs in its own agent process with its own context window:

StageModelPurpose
ResearchSonnetRead codebase + RFC, produce context doc
PlanOpusDesign implementation steps
ImplementCodexWrite code following the plan
TestSonnetRun build + test suite
PRD ReviewSonnetSpec compliance check
Code ReviewOpusQuality + security check
Review FixCodexAddress review issues
Final ReviewOpusQuality gate (large tier only)

Critical design: The reviewer never wrote the code it reviews. This eliminates author bias: the most common source of missed issues in self-review.

Merge Queue with Eviction

After quality pipelines complete, units enter the merge queue:

Unit branch
    │
    ├─ Rebase onto main
    │   └─ Conflict? → EVICT (capture conflict context)
    │
    ├─ Run build + tests
    │   └─ Fail? → EVICT (capture test output)
    │
    └─ Pass → Fast-forward main, push, delete branch

File Overlap Intelligence:

  • Non-overlapping units land speculatively in parallel
  • Overlapping units land one-by-one, rebasing each time

Eviction Recovery: When evicted, full context is captured (conflicting files, diffs, test output) and fed back to the implementer on the next Ralph pass:

markdown
## MERGE CONFLICT: RESOLVE BEFORE NEXT LANDING

Your previous implementation conflicted with another unit that landed first.
Restructure your changes to avoid the conflicting files/lines below.

{full eviction context with diffs}

Data Flow Between Stages

research.contextFilePath ──────────────────→ plan
plan.implementationSteps ──────────────────→ implement
implement.{filesCreated, whatWasDone} ─────→ test, reviews
test.failingSummary ───────────────────────→ reviews, implement (next pass)
reviews.{feedback, issues} ────────────────→ review-fix → implement (next pass)
final-review.reasoning ────────────────────→ implement (next pass)
evictionContext ───────────────────────────→ implement (after merge conflict)

Worktree Isolation

Every unit runs in an isolated worktree (uses jj/Jujutsu, not git):

/tmp/workflow-wt-{unit-id}/

Pipeline stages for the same unit share a worktree, preserving state (context files, plan files, code changes) across research → plan → implement → test → review.

Key Design Principles

  1. Deterministic execution: Upfront decomposition locks in parallelism and ordering
  2. Human review at leverage points: The work plan is the single highest-leverage intervention point
  3. Separate concerns: Each stage in a separate context window with a separate agent
  4. Conflict recovery with context: Full eviction context enables intelligent re-runs, not blind retries
  5. Tier-driven depth: Trivial changes skip research/review; large changes get maximum scrutiny
  6. Resumable workflows: Full state persisted to SQLite; resume from any point

When to Use Ralphinho vs Simpler Patterns

SignalUse RalphinhoUse Simpler Pattern
Multiple interdependent work unitsYesNo
Need parallel implementationYesNo
Merge conflicts likelyYesNo (sequential is fine)
Single-file changeNoYes (sequential pipeline)
Multi-day projectYesMaybe (continuous-egc)
Spec/RFC already writtenYesMaybe
Quick iteration on one thingNoYes (NanoClaw or pipeline)

Choosing the Right Pattern

Decision Matrix

Is the task a single focused change?
├─ Yes → Sequential Pipeline or NanoClaw
└─ No → Is there a written spec/RFC?
         ├─ Yes → Do you need parallel implementation?
         │        ├─ Yes → Ralphinho (DAG orchestration)
         │        └─ No → Continuous Gemini (iterative PR loop)
         └─ No → Do you need many variations of the same thing?
                  ├─ Yes → Infinite Agentic Loop (spec-driven generation)
                  └─ No → Sequential Pipeline with de-sloppify

Combining Patterns

These patterns compose well:

  1. Sequential Pipeline + De-Sloppify: The most common combination. Every implement step gets a cleanup pass.

  2. Continuous Gemini + De-Sloppify: Add --review-prompt with a de-sloppify directive to each iteration.

  3. Any loop + Verification: Use EGC's /verify command or verification-loop skill as a gate before commits.

  4. Ralphinho's tiered approach in simpler loops: Even in a sequential pipeline, you can route simple tasks to Haiku and complex tasks to Opus:

    bash
    # Simple formatting fix
    egc -p --model haiku "Fix the import ordering in src/utils.ts"
    
    # Complex architectural change
    egc -p --model gemini-2.5-pro "Refactor the auth module to use the strategy pattern"

Anti-Patterns

Common Mistakes

  1. Infinite loops without exit conditions: Always have a max-runs, max-cost, max-duration, or completion signal.

  2. No context bridge between iterations: Each egc -p call starts fresh. Use SHARED_TASK_NOTES.md or filesystem state to bridge context.

  3. Retrying the same failure: If an iteration fails, don't just retry. Capture the error context and feed it to the next attempt.

  4. Negative instructions instead of cleanup passes: Don't say "don't do X." Add a separate pass that removes X.

  5. All agents in one context window: For complex workflows, separate concerns into different agent processes. The reviewer should never be the author.

  6. Ignoring file overlap in parallel work: If two parallel agents might edit the same file, you need a merge strategy (sequential landing, rebase, or conflict resolution).


References

ProjectAuthorLink
NanoClawEGC/claw command in this repo
Verification LoopEGCskills/verification-loop/ in this repo

Συχνές ερωτήσεις

Τι κάνει η δεξιότητα AI Autonomous Loops;

Patterns and architectures for autonomous AI coding loops: from simple sequential pipelines to RFC-driven multi-agent DAG systems.

Γιατί να χρησιμοποιήσετε τη δεξιότητα Autonomous Loops στο TypingMind;

Επειδή την εγκαθιστάτε μία φορά και τη χρησιμοποιείτε με οποιοδήποτε μοντέλο. Η Autonomous Loops είναι απλό Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως η ίδια δεξιότητα λειτουργεί με GPT-5, Claude, Gemini, Grok ή ένα τοπικό μοντέλο — και μπορείτε να αλλάξετε μοντέλο κατά τη διάρκεια της συνομιλίας χωρίς να διακοπεί η λειτουργία της. Το TypingMind λειτουργεί με τα δικά σας κλειδιά API, οπότε πληρώνετε απευθείας τους παρόχους αντί για συνδρομή ανά θέση χρήστη, ενώ οι δεξιότητες και οι συνομιλίες σας παραμένουν στον δικό σας χώρο αποθήκευσης.

Πώς εγκαθιστώ τη δεξιότητα Autonomous Loops στο TypingMind;

Στο TypingMind, ανοίξτε Πρόσθετα → Δεξιότητες → Εγκατάσταση από το GitHub και επικολλήστε τη διεύθυνση https://github.com/Fmarzochi/EGC/tree/main/skills/ai/autonomous-loops. Το TypingMind διαβάζει το αρχείο SKILL.md και εγκαθιστά τη δεξιότητα, την οποία μπορείτε να ενεργοποιείτε ανά συνομιλία.

Ποια μοντέλα AI μπορούν να χρησιμοποιήσουν τη δεξιότητα Autonomous Loops;

Οποιοδήποτε μοντέλο συνδέετε στο TypingMind. Οι δεξιότητες AI είναι απλές οδηγίες Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως τα GPT, Claude, Gemini, Grok και τα τοπικά μοντέλα μπορούν όλα να φορτώσουν αυτή τη δεξιότητα όταν ένα αίτημα αντιστοιχεί σε αυτή.

Με πόσα μοντέλα AI μπορώ να χρησιμοποιήσω τη δεξιότητα Autonomous Loops;

Με όσα θέλετε. Στο TypingMind μπορείτε να χρησιμοποιήσετε τη δεξιότητα Autonomous Loops με οποιοδήποτε μοντέλο υποστηρίζει δεξιότητες, όπως τα GPT, Claude, Gemini, Grok, DeepSeek, Mistral και Llama, χρησιμοποιώντας τα δικά σας κλειδιά API.

Είναι δωρεάν η δεξιότητα AI Autonomous Loops;

Ναι. Δημοσιεύεται στο GitHub από τον λογαριασμό Fmarzochi με την άδεια χρήσης Apache-2.0. Πληρώνετε μόνο τον δικό σας πάροχο AI για τα token που χρησιμοποιείτε.

Τι είναι οι δεξιότητες AI;

Μια δεξιότητα AI είναι ένα επαναχρησιμοποιήσιμο πακέτο οδηγιών που διδάσκει σε ένα μοντέλο AI πώς να εκτελεί μια συγκεκριμένη εργασία. Ακολουθεί την ανοιχτή μορφή Agent Skills: ένα αρχείο SKILL.md με όνομα και περιγραφή, μαζί με τυχόν σενάρια κώδικα, πρότυπα ή αρχεία αναφοράς που μπορεί να χρειαστεί το μοντέλο. Το μοντέλο διαβάζει τις οδηγίες μόνο όταν το αίτημά σας αντιστοιχεί στη δεξιότητα, οπότε μια εγκατεστημένη δεξιότητα δεν κοστίζει τίποτα μέχρι να χρησιμοποιηθεί.

Σε τι διαφέρουν οι δεξιότητες AI από τα πρόσθετα ή τους συνδέσμους MCP;

Ένα πρόσθετο ή ένας σύνδεσμος MCP παρέχει στο μοντέλο νέα εργαλεία που μπορεί να καλέσει — κώδικα που εκτελείται κάπου και επιστρέφει ένα αποτέλεσμα. Μια δεξιότητα AI παρέχει αντί γι’ αυτό γνώσεις και διαδικασίες στο μοντέλο: πώς να προσεγγίσει μια εργασία, ποια βήματα να ακολουθήσει και ποια χαρακτηριστικά έχει ένα καλό αποτέλεσμα. Οι δεξιότητες είναι απλό Markdown, επομένως δεν χρειάζονται διακομιστή, κλειδί API ή περιβάλλον εκτέλεσης και λειτουργούν με οποιοδήποτε μοντέλο.

Προβολή όλων

Δημιουργήστε τώρα τον δικό σας χώρο εργασίας AI

Εγγραφείτε στο ενημερωτικό μας δελτίο για να ενημερώνεστε για νέες λειτουργίες και μελλοντικές κληρώσεις δώρων 👇