Welcome to the Claude PHP Agent Framework documentation!
- ReAct Agent - General-purpose autonomous tasks
- Reflex Agent - Rule-based responses
- Dialog Agent - Conversational AI
- Chain of Thought Agent - Step-by-step reasoning
- Tree of Thoughts Agent - Exploration-based reasoning
- Reflection Agent - Self-improving with refinement
- Plan-Execute Agent - Multi-step planning
- RAG Agent - Retrieval-Augmented Generation
- Learning Agent - Adaptive behavior with feedback
- Model-Based Agent - State-aware decision making
- Utility-Based Agent - Optimization and trade-offs
- Intent Classifier Agent - Intent recognition
- Environment Simulator Agent - What-if analysis
- Hierarchical Agent - Master-worker pattern
- Multi-Agent Collaboration - Team coordination
- Coordinator Agent - Agent orchestration
- Worker Agent - Specialized task execution
- Debate System - Multi-perspective reasoning
- Monitoring Agent - System monitoring
- Scheduler Agent - Task scheduling
- Alert Agent - Intelligent alerting
- Autonomous Agent - Long-running autonomy
- MAKER Agent - Million-step reliable tasks (MDAP)
- Adaptive Agent Service - Intelligent agent selection
- Task Prioritization Agent - BabyAGI-inspired
- Solution Discriminator Agent - Solution evaluation
- Memory Manager Agent - Knowledge management
- Micro Agent - Lightweight task-specific agents
- MCP Server Integration - Model Context Protocol for Claude Desktop
- Component Validation Service - Runtime validation by instantiation
- Code Generation Guide - AI-powered code generation with validation
- Services System - Enterprise service management with dependency injection
- Validation System - Comprehensive validation framework
- Design Patterns Overview - Production-ready patterns
- Factory Pattern - Consistent agent creation
- Builder Pattern - Fluent configuration API
- Observer Pattern (Events) - Lifecycle monitoring
- Best Practices - Production patterns and guidelines
- Tools - Creating and using tools
- Built-in Tools - Pre-built tool library
- Memory Systems - Persistent state management
- Advanced Memory Types - Vector, conversation, semantic
- Context Management - Managing context windows
- Chains - Sequential, parallel, and router chains
- Parsers - Structured output extraction (includes Strategy pattern)
- Prompts - Prompt engineering and templates (includes Template pattern)
- Observability - Monitoring, logging, and metrics
- Streaming - Real-time response streaming
- Conversation Enhancements - Context tracking and history
- Conversation Quick Reference - API reference
- RAG Advanced Features - Vector stores, embeddings, reranking
- Contracts - Interfaces and abstractions
- ENHANCEMENTS - Future enhancements
π Complete Tutorial Index - Browse all 36+ tutorials with learning paths
- Adaptive Agent Service
- Alert Agent
- Autonomous Agent
- Chain of Thought
- Chains
- Coordinator Agent
- Debate System
- Dialog Agent
- Environment Simulator
- Hierarchical Agent
- Intent Classifier
- Learning Agent
- MAKER Agent
- Memory Manager
- Micro Agent
- Model-Based Agent
- Monitoring Agent
- Multi-Agent Systems
- Plan-Execute Agent
- Prompts
- RAG Agent
- ReAct Agent
- Reflection Agent
- Reflex Agent
- Scheduler Agent
- Solution Discriminator
- Task Prioritization
- Tree of Thoughts
- Utility-Based Agent
- Worker Agent
- Component Validation - Runtime validation by instantiation (45min)
- Services System - Enterprise service management (50min)
- MCP Server Integration - Claude Desktop connectivity (55min)
- Code Generation - AI-powered code generation (50min)
- Production Patterns - Production deployment (60min)
- Testing Strategies - Comprehensive testing (55min)
π‘ 42 runnable examples included in
examples/tutorials/- Each new tutorial comes with 7 working code samples!
Check the examples directory for 110+ complete working examples:
Core Examples (70+ files):
- Basic agent usage
- Multi-tool agents
- Hierarchical systems
- Production setups
- Async/parallel execution
- Output parsing
- Chain composition
- MAKER agent demonstrations
- Adaptive agent service
π Tutorial Examples (42 files in examples/tutorials/):
- Component validation patterns (7 examples)
- Services system usage (7 examples)
- MCP server integration (7 examples)
- Code generation workflows (7 examples)
- Production deployment (7 examples)
- Testing strategies (7 examples)
Run any example: php examples/tutorials/component-validation/01-basic-validation.php
Building a Chatbot? β Start with Dialog Agent
Need to Search & Answer? β Check out RAG Agent
Complex Multi-Step Tasks? β Use Plan-Execute Agent or Hierarchical Agent
High-Quality Output? β Try Reflection Agent
System Monitoring? β Use Monitoring Agent or Alert Agent
Million-Step Tasks? β Use MAKER Agent
Don't Know Which Agent? β Use Adaptive Agent Service
Component Validation? β Check Component Validation Service
Enterprise Services? β See Services System
Claude Desktop Integration? β Use MCP Server
AI Code Generation? β Read Code Generation Guide
Production Deployment? β Follow Production Patterns Tutorial
Testing Strategies? β Learn from Testing Strategies Tutorial
- Beginner: ReAct, Reflex, Dialog
- Intermediate: Plan-Execute, Reflection, Hierarchical, Component Validation, Services
- Advanced: Multi-Agent, MAKER, Coordinator, Adaptive Service, MCP Server, Code Generation
Want to improve the documentation?
- Check CONTRIBUTING.md
- Documentation is in Markdown format
- Include code examples where helpful
- Test all code examples before submitting
All code examples should:
- Be complete and runnable
- Include necessary imports
- Follow PSR-12 coding standards
- Include comments for clarity
Documentation should include:
- Clear title and description
- Table of contents for long docs
- Code examples with explanations
- Best practices and tips
- Related documentation links
- Documentation Issues: Open an issue on GitHub
- Questions: Use GitHub Discussions
- Bugs: Report in the issue tracker
- Security: See SECURITY.md
- β¨ Component Validation Service - Runtime validation by instantiation
- β¨ Code Generation Agent - AI-powered code generation with validation pipelines
- π New tutorials: Component Validation, Code Generation, Production Patterns, Testing Strategies
- π 42 new tutorial examples in
examples/tutorials/ - π Enhanced documentation with step-by-step guides
- β¨ Services System - Enterprise service management with dependency injection
- β¨ MCP Server - Model Context Protocol integration for Claude Desktop and IDEs
- π New tutorials: Services System, MCP Server Integration
- π§ Enhanced observability and monitoring capabilities
- π Comprehensive service layer documentation
See CHANGELOG.md for complete version history.
The documentation is part of the Claude PHP Agent Framework and is licensed under the MIT License.
Tip: Use the search function (Ctrl/Cmd + F) to quickly find what you're looking for!
New to the framework? Start with the Tutorial Index to find the perfect learning path!