Skip to content

Make Claude Code truly intelligent and way more autonomous!

License

pawanb24/intelligent-claude-code

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Intelligent Claude Code - Agent-Driven Development

Transform Claude Code into an intelligent development team with 14+ specialized agent roles using Product Requirement Blueprints (PRBs) for predictable, autonomous execution.

Quick Start (30 seconds)

# Install
git clone https://github.com/intelligentcode-ai/intelligent-claude-code.git
cd intelligent-claude-code
make install

# Initialize
/icc-init-system

# Start working with agents
@PM Build a user authentication system
# System: Generates PRB β†’ Creates specialist agents β†’ Agents execute β†’ Work completes

What You Get

πŸ€– Agent-Driven Architecture

Complete virtual development team with 14+ specialized agent roles that work together autonomously. Each agent has deep domain expertise and behavioral patterns optimized for their specialty.

🎯 PRB-Driven Execution

Self-contained blueprints replace complex workflows. Each PRB includes everything needed for single-pass execution: context, standards, examples, validation, and agent coordination.

πŸ‘₯ 14+ Specialist Agent Roles

Core Agents:

  • @PM, @Architect, @Developer, @AI-Engineer
  • @System-Engineer, @DevOps-Engineer, @Database-Engineer
  • @Security-Engineer, @QA-Engineer, @Backend-Tester
  • @Requirements-Engineer, @Web-Designer, @User-Role

Dynamic Agent Creation:

  • Unlimited specialists for any technology (@React-Developer, @AWS-Engineer, @ML-Specialist)
  • Domain experts created automatically based on project needs
  • All agents have 10+ years of expertise in their specialization

🧠 Self-Learning Agent System

  • Agent execution generates learnings automatically
  • Successful patterns captured and shared between agents
  • Agents apply previous learnings to new tasks
  • Continuous improvement through cross-agent knowledge sharing

🧠 Memory-First Operations

  • All agent operations check memory before action
  • Automatic pattern capture and storage across agent interactions
  • Memory pattern application tracking
  • Version-controlled in memory/ directory
  • Topic-based organization with auto-pruning

πŸ“‹ Dynamic Best-Practices Injection

  • Add methodological approaches to best-practices/ directory
  • Auto-discovery during PRB generation and agent coordination
  • Support for ANY methodology (GitOps, DevSecOps, TDD, Clean Architecture, etc.)
  • Template placeholders replaced with your project's practices
  • Zero system modification required

⚑ Autonomous Agent Operation

  • L1: Manual approval required for all agent actions
  • L2: Agent coordination with architect approval (default)
  • L3: Fully autonomous multi-agent execution

πŸ”§ Adapts to YOUR Project

Configure in CLAUDE.md where your docs/standards are. Agents find and include them automatically in PRBs and execution patterns.

How It Works

  1. Request Work β†’ "@PM Implement OAuth2 login"
  2. Agent Activation β†’ @PM analyzes and creates specialist agents as needed
  3. Memory Check β†’ Agents search for existing patterns/learnings
  4. Best-Practices Discovery β†’ Agents find relevant methodological approaches
  5. Analyze Complexity β†’ Agent team scores complexity (@PM + @Architect for Large/Mega)
  6. Generate PRB β†’ Self-contained blueprint with embedded context + practices + agent coordination
  7. Agent Execution β†’ Multi-agent collaborative implementation
  8. Git Integration β†’ Auto version bump + commit + push
  9. Cross-Agent Learning β†’ Capture new patterns shared across agent memory

Agent-Driven Story Management

Transform natural language stories into executable PRBs with multi-agent coordination:

  1. Story Creation β†’ Write stories in stories/ directory
  2. @PM Analysis β†’ "@PM break down authentication story"
  3. Agent Collaboration β†’ @PM + @Architect + domain specialists collaborate
  4. PRB Generation β†’ Ready-to-execute blueprints with agent assignments in prbs/ready/
  5. Agent Execution β†’ Specialized agents execute PRBs collaboratively
  6. Story Selection β†’ "@PM what story should we work on next?"

Story Directory Structure

stories/
β”œβ”€β”€ user-authentication.md    # Business requirements
β”œβ”€β”€ payment-system.md         # Feature specifications  
└── drafts/                   # Work-in-progress stories
    └── api-redesign.md

Multi-Agent Story Process

  • Story Analysis: @PM reads business goals, specialist agents evaluate technical approaches
  • Agent Team Assembly: Dynamic creation of domain specialists (@Auth-Engineer, @Frontend-Developer, etc.)
  • Priority Setting: Multi-agent evaluation of business value + technical complexity
  • PRB Creation: @PM generates complexity-appropriate PRBs with agent assignments
  • Agent Coordination: Collaborative execution across specialized agent team
  • Next Selection: Agent team considers dependencies, risk, current application state

<<<<<<< HEAD

Key Commands & Agent Interactions

# System Initialization
/icc-init-system              # Initialize agent system

# Agent Interaction Commands
@PM Build a [project]         # Start any project with PM agent coordination
@Architect Design the API     # Request architecture design from architect agent
@Developer Implement auth     # Assign implementation task to developer agent
@Security-Engineer Review     # Request security review from security agent

# Story & PRB Management
@PM break down [story]        # Convert story to PRBs with agent assignments
@PM what story next?          # Agent-driven story selection with priorities
/icc-create-prb               # Generate PRB with agent coordination

# Memory & Learning (Cross-Agent)
/icc-store-memory            # Save learnings shared across agents (auto-prunes)
/icc-search-memory           # Search agent knowledge base

# Advanced Agent Operations
# Agents automatically create specialists when needed - no manual commands required
=======
## Essential Commands (Lean System)

```bash
/icc-init-system              # Initialize virtual team system
/icc-get-setting [key]        # Access configuration values
/icc-search-memory [query]    # Search stored learnings
>>>>>>> feature/enhance-pm-placeholder-process

Everything else is automatic:

  • PRB generation happens on work detection
  • Specialist creation via <70% capability matching
  • Memory storage during PRB execution
  • Story management through @PM natural language

MCP Server Integration

Install with automatic MCP server configuration:

# Create MCP configuration
cat > config/mcps.json << 'EOF'
{
  "mcpServers": {
    "sequential-thinking": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-sequential-thinking"]
    },
    "playwright": {
      "command": "npx", 
      "args": ["-y", "@modelcontextprotocol/server-playwright"]
    },
    "custom-api": {
      "command": "node",
      "args": ["/path/to/custom-mcp.js"],
      "env": {
        "API_KEY": "${OPENAI_API_KEY}",
        "DATABASE_URL": "${DB_CONNECTION}"
      }
    }
  }
}
EOF

# Install with MCP integration
make install MCP_CONFIG=./config/mcps.json

Environment Variable Support

  • Use ${VARIABLE_NAME} placeholders in MCP configurations
  • Variables resolved from environment or API keys file
  • Validation and backup included automatically
  • Rollback on failure to previous settings

Error Handling Features

  • JSON Syntax Validation: Comprehensive JSON structure checking
  • Backup & Rollback: Automatic settings.json backup before changes
  • Permission Handling: Graceful file permission error handling
  • Environment Resolution: Safe environment variable substitution
  • Detailed Logging: Complete error logs with troubleshooting steps

Configuration (CLAUDE.md)

# Tell system where YOUR files are
prb_configuration:
  best_practices_paths:
    - "docs/standards/"        # Your location
    - "engineering/patterns/"  # Your location
    
  code_pattern_search:
    paths: ["src/", "lib/"]    # Your code
    
  behavioral_overrides:
    testing_approach: "tdd"    # Your preferences

# Memory configuration - where AI agents store learnings
memory_configuration:
  external_path: "~/claude-memory"    # External memory location
  # Or use project-local (default): "./memory/"

Memory Configuration

The AI agents can store their learnings in different locations:

Default (Project-Local)

# Memory stored in ./memory/ within your project
# No configuration needed - this is the default

External Memory Path

# In CLAUDE.md
memory_configuration:
  external_path: "~/claude-memory"     # Home directory
  external_path: "../shared-memory"   # Relative to project
  external_path: "/path/to/memory"    # Absolute path

Benefits of External Memory:

  • Privacy: Keep learnings separate from project code
  • Sharing: Use same memory across multiple projects
  • Git Integration: When .git exists in memory path, system auto-commits changes
  • Flexibility: Store anywhere accessible to the AI agents

Directory Structure

your-project/
β”œβ”€β”€ CLAUDE.md                  # Your config
β”œβ”€β”€ docs/                      # Your docs (anywhere)
β”œβ”€β”€ src/                       # Your code
β”œβ”€β”€ stories/                   # User stories for PRB generation
β”‚   └── drafts/                # Work-in-progress stories
β”œβ”€β”€ memory/                    # Version-controlled learnings (default)
└── prbs/                      # Version-controlled PRBs
    β”œβ”€β”€ ready/                 # Ready to execute
    └── completed/             # Executed PRBs

Work in YOUR structure - system adapts!

Documentation

Why PRBs with Agents?

  • No workflow interruptions - Single-pass multi-agent execution
  • Token-optimized - Load only what each agent needs
  • Project-adaptive - Agent team respects YOUR structure
  • Truly autonomous - Agent specialists have full context and coordination
  • Predictable - Same input β†’ Same quality multi-agent output
  • Agent collaboration - Cross-specialist knowledge sharing and coordination

License

MIT - See LICENSE file


Ready for autonomous agent-driven development? Install and let your specialized agent team handle the implementation details.

About

Make Claude Code truly intelligent and way more autonomous!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Makefile 85.8%
  • Shell 11.4%
  • Jinja 2.8%