Go to file
Jeff Emmett 4075840571
Merge pull request #2 from Jeff-Emmett/claude/setup-repo-access-01DTsn4kjq1SceWvSXdVMzxS
Claude/setup repo access 01 d tsn4kjq1 sce wv s xd v mzx s
2025-11-23 13:34:08 -08:00
.claude Update commands. 2025-10-14 19:48:52 -07:00
.githooks Add auto-generated index, SDG visualizations, DevTools, and infrastructure 2025-10-09 18:57:59 -07:00
.github/workflows Add DigitalOcean droplet deployment with GitHub Actions 2025-11-23 21:29:51 +00:00
ai_docs Fix submodule configuration for Cloudflare Pages deployment 2025-11-23 21:26:48 +00:00
claude_code_devtools Complete dashboard integration with all demo categories 2025-10-09 19:54:36 -07:00
d3_test Add web-enhanced infinite agentic loop with progressive learning 2025-10-09 17:37:50 -07:00
deployment Add DigitalOcean droplet deployment with GitHub Actions 2025-11-23 21:29:51 +00:00
images progress 2025-06-08 15:13:35 -05:00
infinite_variants Add variants loop. 2025-10-10 18:33:46 -07:00
legacy progress 2025-06-07 09:44:26 -05:00
mapbox_test Globe with popups. 2025-11-09 10:32:42 -08:00
screenshots Globe with popups. 2025-11-09 10:32:42 -08:00
sdg_viz Complete dashboard integration with all demo categories 2025-10-09 19:54:36 -07:00
specs Globe with popups. 2025-11-09 10:32:42 -08:00
src progress 2025-06-07 11:07:07 -05:00
src_group progress 2025-06-10 11:34:24 -05:00
src_infinite progress 2025-06-07 11:07:07 -05:00
threejs_viz More threejs. 2025-11-08 00:05:03 -08:00
vaccine_timeseries Globe with popups. 2025-11-09 10:32:42 -08:00
.gitignore Fix submodule configuration for Cloudflare Pages deployment 2025-11-23 21:26:48 +00:00
CLAUDE.md Globe with popups. 2025-11-09 10:32:42 -08:00
CNAME Add GitHub Pages deployment configuration 2025-11-23 19:37:55 +00:00
DASHBOARD.md Add automatic screenshot generation and 5 new Three.js demos 2025-10-10 18:27:08 -07:00
README.md Add web-enhanced infinite agentic loop with progressive learning 2025-10-09 17:37:50 -07:00
README_PREVIEW_SYSTEM.md Add variants loop. 2025-10-10 18:33:46 -07:00
SDG_NETWORK_ANALYSIS.md Add SDG network visualization system and write command 2025-10-09 18:27:20 -07:00
SDG_NETWORK_GUIDE.md Add SDG network visualization system and write command 2025-10-09 18:27:20 -07:00
WEB_ENHANCED_GUIDE.md Add web-enhanced infinite agentic loop with progressive learning 2025-10-09 17:37:50 -07:00
capture_vaccine_screenshots.js Globe with popups. 2025-11-09 10:32:42 -08:00
disable_globe_spin.sh Globe with popups. 2025-11-09 10:32:42 -08:00
earth_orbit_simulator.html More threejs. 2025-11-08 00:05:03 -08:00
generate_index.py Globe with popups. 2025-11-09 10:32:42 -08:00
generate_screenshots.js Integrate infinite loop variants into main dashboard 2025-10-10 18:25:07 -07:00
index.html Merge branch 'main' into claude/setup-repo-access-01DTsn4kjq1SceWvSXdVMzxS 2025-11-23 11:43:23 -08:00
mock_data.txt progress 2025-06-06 11:31:34 -05:00
package-lock.json Setup repository: install dependencies and generate dashboard 2025-11-23 07:51:59 +00:00
package.json Integrate infinite loop variants into main dashboard 2025-10-10 18:25:07 -07:00
vaccine_disease_correlation_findings.md Globe with popups. 2025-11-09 10:32:42 -08:00
watch_and_update.sh Complete dashboard integration with all demo categories 2025-10-09 19:54:36 -07:00

README.md

Infinite Agentic Loop POC

Watch the Tutorial: Infinite Agentic Loop with Claude Code

An experimental project demonstrating Infinite Agentic Loop patterns using Claude Code - now with Web-Enhanced Progressive Learning!

Infinite Agentic Loop

Overview

This project provides two powerful slash commands for orchestrating multiple AI agents in parallel:

  1. /project:infinite - Original loop for generating evolving iterations based on specifications
  2. /project:infinite-web - NEW! Web-enhanced loop where each iteration learns from web resources

What's New: Web-Enhanced Learning

The new /project:infinite-web command creates a self-improving knowledge loop where:

  • Each iteration fetches and learns from a different web URL
  • Knowledge progressively accumulates across iterations
  • Agents apply learnings from documentation, tutorials, and examples
  • Output quality improves as the system learns more sophisticated techniques

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.

Web-Enhanced Command (NEW!)

D3 Data Visualization Example

Generate progressively sophisticated D3 visualizations with web-based learning:

# Single visualization with web learning
/project:infinite-web specs/d3_visualization_progressive.md d3_output 1

# Batch of 5 with different web sources
/project:infinite-web specs/d3_visualization_progressive.md d3_output 5

# Progressive learning (20 iterations)
/project:infinite-web specs/d3_visualization_progressive.md d3_output 20 specs/d3_url_strategy.json

# Infinite mode - continuous learning
/project:infinite-web specs/d3_visualization_progressive.md d3_output infinite specs/d3_url_strategy.json

How It Works:

  1. Initial Priming: Fetches 3-5 foundational web resources to build knowledge base
  2. Progressive URL Assignment: Each iteration gets a URL matched to its complexity level
  3. Web Fetch & Learn: Agent fetches URL, extracts techniques, applies learnings
  4. Generate & Document: Creates output demonstrating new technique, documents source
  5. Accumulate Knowledge: Each iteration builds on previous learnings
  6. Infinite Waves: Continues with progressive sophistication until context limits

See WEB_ENHANCED_GUIDE.md for complete documentation and how to create your own web-enhanced loops!

How the Original Loop 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

Directions you can take to enhance this pattern

Original Loop Enhancements

  • Apply this to a use case of your choice
  • Build an MCP Server that enables reuse of the infinite agentic loop
  • Get the .claude/commands/infinite.md into your ~/.claude/commands/ directory for global use
  • Update .claude/commands/infinite.md to generate sets of files instead of a single file

Web-Enhanced Loop Possibilities

  • React Components: Progressive React patterns from official docs, popular libraries, and best practices
  • CSS Techniques: Master CSS animations, layouts, and effects through web tutorials
  • Python Data Science: Learn pandas, matplotlib, seaborn through progressive web examples
  • Machine Learning: Implement progressively complex ML models with paper and tutorial learnings
  • API Development: Build REST/GraphQL APIs learning from official documentation
  • Game Development: Create progressively complex games learning from web tutorials
  • Any Domain: Create your own spec + URL strategy for any progressive learning goal

See WEB_ENHANCED_GUIDE.md for detailed instructions on creating your own web-enhanced loops!

Master AI Coding

Learn to code with AI with foundational Principles of AI Coding

Follow the IndyDevDan youtube channel for more AI coding tips and tricks.

Use the best Agentic Coding tool: Claude Code