Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 53 additions & 0 deletions agents/disler__infinite-agentic-loop/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# Infinite Agentic Loop

**Orchestrate parallel Claude Code sub-agents in waves to generate evolving, unique content iterations — indefinitely.**

## What It Does

`infinite-agentic-loop` is a Claude Code slash-command agent (`/project:infinite`) that coordinates multiple sub-agents in parallel to produce spec-driven content iterations. It is both an architectural pattern and a working proof-of-concept for high-throughput, creative AI generation.

## Key Capabilities

- **Specification-driven generation** — reads a Markdown spec file to understand content format, naming conventions, quality standards, and creative constraints.
- **Directory reconnaissance** — inspects existing output before generating, ensuring every new iteration is unique and continues the trajectory.
- **Parallel sub-agent coordination** — deploys multiple Claude Code Task agents simultaneously:
- 1–5 iterations → all at once
- 6–20 iterations → batches of 5
- `infinite` mode → successive waves of 3–5 agents until context limits are reached
- **Progressive sophistication** — each wave builds on the last, avoiding duplication while advancing creative evolution.

## Usage

```bash
# Start Claude Code in the repo
claude

# Then invoke the slash command
/project:infinite <spec_file> <output_dir> <count>

# Examples:
/project:infinite specs/invent_new_ui_v3.md src 1 # single
/project:infinite specs/invent_new_ui_v3.md src_new 5 # batch of 5
/project:infinite specs/invent_new_ui_v3.md src_new 20 # batch of 20
/project:infinite specs/invent_new_ui_v3.md infinite_src/ infinite # forever
```

## Architecture

The agent is defined by two files in the repo root:

| File | Purpose |
|------|---------|
| `agent.yaml` | GAP manifest — model, runtime, skills, compliance |
| `SOUL.md` | Persona & instructions — orchestration philosophy and constraints |

The command logic lives in `.claude/commands/infinite.md` and is invoked through Claude Code's custom slash-command system.

## Requirements

- [Claude Code](https://docs.anthropic.com/en/docs/claude-code/overview) installed and authenticated
- An Anthropic API key with sufficient context budget for parallel sub-agents

## Author

[disler](https://github.com/disler) — [IndyDevDan on YouTube](https://www.youtube.com/@indydevdan)
13 changes: 13 additions & 0 deletions agents/disler__infinite-agentic-loop/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"name": "infinite-agentic-loop",
"author": "disler",
"description": "Orchestrates parallel Claude Code sub-agents in waves to generate evolving, unique content iterations from a spec file — supporting single, batch, or infinite-mode generation.",
"repository": "https://github.com/shreyas-lyzr/infinite-agentic-loop",
"version": "1.0.0",
"category": "developer-tools",
"tags": ["multi-agent", "parallel-agents", "claude-code", "code-generation", "agentic-loop", "wave-orchestration", "content-generation", "ui-generation"],
"license": "MIT",
"model": "claude-sonnet-4-6",
"adapters": ["claude-code", "system-prompt"],
"icon": false
}