Go to file
IndyDevDan 3e98c89590 progress 2025-06-07 11:07:07 -05:00
.claude progress 2025-06-07 08:47:33 -05:00
ai_docs progress 2025-06-06 10:26:50 -05:00
legacy progress 2025-06-07 09:44:26 -05:00
specs progress 2025-06-07 11:07:07 -05:00
src progress 2025-06-07 11:07:07 -05:00
src_infinite progress 2025-06-07 11:07:07 -05:00
README.md progress 2025-06-07 11:07:07 -05:00
mock_data.txt progress 2025-06-06 11:31:34 -05:00

README.md

Infinite Agentic Loop POC

An experimental project demonstrating infinite agentic loop in a two prompt system using Claude Code.

Overview

This project uses a custom Claude Code slash command (/project:infinite) to orchestrate multiple AI agents in parallel, generating evolving iterations of content based on specifications.

Usage

Read .claude/settings.json to see the permissions and commands allowed.

Start Claude Code: claude

Type slash command /project:infinite to start the infinite agentic loop.

The infinite command takes three arguments:

/project:infinite <spec_file> <output_dir> <count>

4 Command Variants

1. Single Generation

/project:infinite specs/invent_new_ui_v3.md src 1

Generate one new iteration using the UI specification.

2. Small Batch (5 iterations)

/project:infinite specs/invent_new_ui_v3.md src_new 5

Deploy 5 parallel agents to generate 5 unique iterations simultaneously.

3. Large Batch (20 iterations)

/project:infinite specs/invent_new_ui_v3.md src_new 20

Generate 20 iterations in coordinated batches of 5 agents for optimal resource management.

4. Infinite Mode

/project:infinite specs/invent_new_ui_v3.md infinite_src_new/ infinite

Continuous generation in waves until context limits are reached, with progressive sophistication.

How It Works

  1. Specification Analysis: Reads and understands the spec file requirements
  2. Directory Reconnaissance: Analyzes existing iterations to determine starting point
  3. Parallel Coordination: Deploys Sub Agents with unique creative directions
  4. Quality Assurance: Ensures each iteration is unique and spec-compliant
  5. Wave Management: For infinite mode, manages successive waves of agents

File Structure

  • ai_docs/ - Claude Code documentation
  • specs/ - Markdown specification files defining generation requirements
  • .claude/commands/infinite.md - The custom slash command implementation
  • .claude/commands/prime.md - Setup claude code for the project

Requirements

  • Claude Code
  • Project with .claude/commands/ directory structure
  • Specification files in markdown format in specs/

This experimental approach demonstrates advanced AI coordination patterns for scalable content generation.