Agentwise is a comprehensive development platform that transforms project creation through intelligent automation. It extends Claude Code's capabilities with complete end-to-end project setup including requirements planning, database integration, GitHub configuration, and automated security protection.
- Agents: Dynamically loaded from
.claude/agents/folder - Commands: Custom commands in
.claude/commands/folder - Workspace: Each project isolated in
workspace/[project-name]/ - Registry:
projects.jsontracks all projects with metadata - Context 3.0: Dual-context system combining AGENTS.md (OpenAI spec) with CodebaseContextManager
Agentwise implements a groundbreaking dual-context system:
- Universal Interface: Based on OpenAI's open specification for AI guidance
- Any CLI Compatible: Allows Crush CLI, Qwen Coder, Gemini CLI, etc. to understand projects
- Human-Readable: Clear documentation for both humans and AI
- Auto-Generated: Created for every project with setup, testing, and conventions
- Living Context Graph: Real-time understanding of entire codebase structure
- Deep Analysis: Extracts imports, exports, classes, functions, dependencies
- File Watching: Automatic updates when files change
- Modular Updates: Only refreshes changed portions through context injection
- Hierarchical Understanding: Maintains relationships between files and folders
- AGENTS.md: Provides universal guidance that any AI tool can read
- CodebaseContextManager: Provides deep, real-time understanding for Agentwise agents
- Result: Comprehensive context system combining universal compatibility + deep awareness
Note: While we call this "Context 3.0", other tools like Cursor and GitHub Copilot Workspace also have advanced context systems. Our approach is specifically optimized for multi-agent coordination.
- Requirements Planning System: AI-powered project specifications with visual generation
- Database Integration: Zero-config Supabase/Neon/PlanetScale setup with type generation
- GitHub Integration: Complete repository, CI/CD, and secrets management
- Automated Protection: Continuous backup, security scanning, and code review
- Unified Project Wizard: One-command complete project setup
- Comprehensive Test Suite: 184 tests across all new features
- Flexible Work Modes: Optional features, local-only support
- CodebaseContextManager: Full codebase awareness without relying on MD files
- ProjectStructureValidator: Ensures all projects follow workspace conventions
- ProjectIntegrationManager: Centralized integration for all commands
- AGENTS.md Generation: Auto-creates AI guidance following OpenAI spec
- Real-Time Updates: File watching with automatic context refresh
- Proper Project Folder Creation: Now creates dedicated project folder in
workspace/just like/create - Planning Workspace: Uses temporary
.planningfolder for collaborative planning - Automatic Cleanup: Removes planning folder after successful completion
- Smart Agent Selection: Only creates agent-todo folders for agents needed by the project
- Full Project Structure: Generates complete project structure with specs, phase files, and status tracking
- Error Handling: Cleans up planning folder even on failure
- SharedContextServer: Centralized context management on port 3003
- AgentContextInjector: Creates optimized agent files with shared references
- Differential Updates: Agents only send/receive changes, not full context
- Context Injection: Temporarily replaces agent files with optimized versions
- Token Reduction: 15-20% reduction in real-world testing:
- 5 agents: 15% reduction (7,140 vs 8,400 tokens)
- 10 agents: 23% reduction (12,936 vs 16,800 tokens)
- Shared context references instead of duplication
- Differential updates for changes only
- Intelligent context windowing
- Automatic file restoration after use
- DynamicAgentManager: Replaces hardcoded agents
- Auto-discovers agents from
.claude/agents/ - Supports custom agent registration
- Re-scans for new agents every 5 seconds
- Optimized batch launching with token savings
- Auto-discovers agents from
- ProjectContextManager: Maintains active project state
- Auto-activates projects for commands
- Persists context for 24 hours
- Enables
/taskwithout project specification - Tracks project metadata and phase
- StyleValidator: Ensures proper CSS/styling
- Tailwind configuration checks
- Dark mode validation
- CSS module verification
- Auto-fixes common issues
- SyntaxValidator: Comprehensive error checking
- TypeScript/JavaScript syntax validation
- Import verification
- Dependency checking
- Auto-installs missing packages
- CodeValidator: Prevents phantom code
- Detects empty functions
- Identifies fake tests
- Validates actual implementations
- HallucinationDetector: Ensures agent accuracy
- Checks for logical impossibilities
- Detects contradictions
- Identifies fabricated information
- Monitors context drift
- EnhancedPhaseManager: Fixes multi-phase task tracking
- Monitors all phase files for all agents
- Auto-marks completed tasks
- Handles phase transitions
- Tracks progress across all phases
- BackupManager: Project protection
- Automatic backups before operations
- Manual backup/restore
- Integrity checking with SHA-256
- Keeps last 10 backups per project
- AgentSelector: Smart agent assignment
- Analyzes task requirements
- Selects appropriate specialists
- Asks for confirmation when unsure
- Supports all agents option
/create-project <project idea>: Complete project setup wizard with all features/requirements <project idea>: Generate comprehensive project requirements/requirements-visualize: Create visual HTML specifications/database-wizard: Interactive database setup with auto-configuration/github-setup: Complete GitHub repository and CI/CD setup/enable-protection: Enable automated backup, security, and review/protection-status: View real-time protection status
/create <project idea>: Initiates new project with smart agent selection/create-plan <project idea>: Collaborative planning mode with dedicated project folder- Creates project folder in
workspace/[project-name]/ - Uses temporary
.planningfolder during planning phase - Automatically cleans up planning folder after completion
- Creates agent-todo folders only for required agents
- Generates phase files and specifications
- Creates project folder in
/projects: Lists and selects projects/task <feature>: Adds features to active project (context-aware)/task-[project] <feature>: Direct project targeting/init-import: Import external project/task-import: Copy and integrate project/generate-agent <specialization>: Creates new agents/image: Visual context with file browser/security-review: Security analysis/setup-ollama: Install and configure Ollama/setup-lmstudio: Configure LM Studio integration/local-models: List available local models/configure-routing: Configure smart model routing/upload <file>: Upload documents or Figma files/clone-website <url>: Clone and customize websites/monitor: Real-time monitoring dashboard and global install/docs: Open local documentation hub/figma: Figma Dev Mode integration commands/setup-mcps: Configure MCPs for Claude Codesetup-mcps- Interactive setup wizardsetup-mcps list- List all available MCPssetup-mcps check- Check MCP configuration statussetup-mcps env- Generate .env template for API keyssetup-mcps help- Show help for MCP setup
/github: (LOCAL ONLY) GitHub repository management
- Dynamic Agent Discovery: Auto-discovers ALL agents from
.claude/agents/folder - Smart Agent Selection: Only creates agent-todo folders for agents needed by project
- Project-Based Loading: Analyzes project requirements to determine required agents
- Custom Agent Support: Automatically includes custom agents like code-review-specialist
- No Hardcoding: Removed all hardcoded agent references from system
- Token Optimization: Context 3.0 with 15-30% reduction
- MCP Future: Each agent will use role-specific MCPs
- DynamicTaskDistributor: Analyzes project specs to determine needed agents
- Smart Detection: Identifies if project needs frontend, backend, database, etc.
- Custom Agent Recognition: Detects needs for code review, deployment, etc.
- Folder Creation: Only creates agent-todo folders for selected agents
- Scalable: Works with any number of custom agents added to system
- Token-Optimized Execution: 15-30% reduction through Context 3.0
- Multi-Phase Support: All phases properly tracked
- Auto-Validation: Syntax and style checks before completion
- Context Persistence: Projects stay active between commands
- Smart Selection: Agents chosen based on task analysis
- Visual Testing: Playwright MCP integration for UI validation
When implementing frontend changes, perform automatic visual validation:
- Identify Changes: Detect modified components and affected pages
- Navigate to Pages: Use Playwright MCP to visit each changed view
- Capture Evidence: Take screenshots of current implementation
- Compare Design: Validate against design principles and specifications
- Check Console: Monitor for JavaScript errors or warnings
- Report Issues: Document any visual or functional problems
For major changes or before merging:
- Test Interactive States: Default, hover, active, focus, disabled, loading, error
- Verify Responsiveness: Mobile (375px), Tablet (768px), Desktop (1440px), Wide (1920px)
- Check Accessibility: Color contrast, keyboard nav, screen readers, ARIA labels
- Test Edge Cases: Long content, missing images, slow network, browser compatibility
- Validate Performance: Load time, animations, interactions, Core Web Vitals
A specialized agent that performs comprehensive visual testing:
- Uses all 21 Playwright MCP tools for browser automation
- Tests across multiple viewports and devices
- Validates against design principles
- Auto-fixes common responsive issues
- Generates detailed review reports with screenshots
- Pre-Execution: Syntax validation, dependency checks, tech stack validation
- During Execution: Hallucination detection, phantom code prevention
- Visual Validation: Playwright MCP browser testing and screenshot verification
- Post-Execution: Style validation, build verification
- Completion: Test validation, console error checking
- Library Compatibility Check: Validates libraries don't conflict before project starts
- Best Practices Research: Researches current best libraries for project requirements
- Version Compatibility: Ensures selected versions work together
- Framework Validation: Confirms frameworks are appropriate for project goals
- Dependency Analysis: Checks for conflicting dependencies before development
- Implementation: Run during spec generation phase to prevent issues early
- Dynamic MCP Assignment: Each agent gets role-specific MCP tools
- Verified Coverage: 25 actually existing MCPs integrated
- Automatic Configuration:
/setup-mcpscommand configures all MCPs for Claude Code - Smart Selection: MCPs assigned based on agent expertise
- Project Optimization: MCPs selected based on project requirements
- New MCPs Added:
- Upstash Context: Redis-based context storage for distributed sessions
- Playwright MCP: Browser automation with 21 tools for visual testing and validation
- Figma Context MCP: Enhanced Figma file context and component analysis
- Verified MCPs by Category:
- Core Official (7): Filesystem, Memory, Fetch, Puppeteer, Brave Search, Sequential Thinking, Everything
- Design (4): Figma Dev Mode, Figma Personal, Shadcn, Canva
- Development (4): GitHub, Git-MCP, Docker-MCP, Context7
- Database (4): PostgreSQL, MySQL, Postgres Advanced, Database Multi
- Testing (4): Playwright, TestSprite, MCP Inspector, MCP Tester
- Infrastructure (2): Kubernetes, Azure DevOps
- Additional (3): Firecrawl, Upstash Context, REST API
- Syntax validation before marking complete
- CSS/Tailwind validation for web projects
- Phantom code detection and prevention
- Auto npm install for missing packages
- Phase task tracking across all agents
- Projects auto-activate based on commands
/taskworks without project specification when active- New agents auto-discovered from
.claude/agents/ - Token usage optimized regardless of agent count
- All phases tracked, not just phase 1
- ✅ Context Sharing MEASURED: 15-20% token reduction
- ✅ Smart Caching MEASURED: 10-15% additional reduction
- Bug Prevention: 20-30% improvement
- Dev Speed: 15-25% improvement
- Agent Accuracy: 10-15% improvement
- ✅ Combined Systems MEASURED: 15-30% total token reduction
- ✅ Agent Claim Verification OPERATIONAL: Automatic validation working
- ✅ Dynamic agent management working
- ✅ Dynamic agent-todo folder creation based on project needs
- ✅ Dynamic agent generation for specialized needs
- ✅ Project context persistence active
- ✅ All validation systems operational
- ✅ Phase tracking fixed for all phases
- ✅ MCP Integration fully implemented with 64+ servers
- ✅ Web UI Monitor Dashboard fully operational
- ✅ Designer agent created for UI/UX work
- ✅ Performance Analytics system implemented
- ✅ Self-Improving Agents with learning capabilities
- ✅ Local Model Support (Ollama, LM Studio, OpenRouter)
- ✅ Smart Model Routing with automatic selection
- ✅ Document Upload System (PDF, Word, Figma)
- ✅ Website Cloning with Firecrawl MCP
- ✅ Figma Dev Mode Integration - Direct desktop connection
- ✅ Security hardening completed
- ✅ Project Registry Synchronization system implemented
- ✅ Documentation live at https://agentwise-docs.vercel.app
- ✅ Modern Documentation Site with dark/light themes (Next.js 15)
- ✅ Repository is public with branch protection and rulesets
- ✅ Automated PR management with Dependabot integration
- ✅ Local-only GitHub management commands (/github)
- ✅ Claude Desktop MCP integration for enhanced local development
- ✅ Task Completion Validation System with automatic MD file updates
- ✅ Enhanced Task Monitor with real-time status tracking
- ✅ Playwright MCP integrated for visual testing and browser automation
- ✅ Design Review Agent with comprehensive visual validation
- ✅ All agents enhanced with visual testing capabilities
src/context/SharedContextServer.ts- Context sharing server (15-20% reduction)src/context/AgentContextInjector.ts- Context injection systemsrc/knowledge/KnowledgeGraphGenerator.ts- Smart caching (10-15% reduction)src/knowledge/KnowledgeGraphStore.ts- Graph storage and persistencesrc/knowledge/KnowledgeGraphQuery.ts- Semantic search capabilities
src/verification/ClaimVerificationSystem.ts- Main verification systemsrc/verification/ClaimDebunker.ts- False claim detectionsrc/verification/ClaimTracker.ts- Claim extraction and trackingsrc/verification/PerformanceValidator.ts- Performance claim validation
src/context/CodebaseContextManager.ts- Context 3.0 real-time awarenesssrc/validation/ProjectStructureValidator.ts- Workspace validationsrc/integration/ProjectIntegrationManager.ts- Project integrationsrc/context/startContextServer.js- Server startup scriptsrc/orchestrator/DynamicAgentManager.ts- Dynamic agent loadingsrc/orchestrator/DynamicTaskDistributor.ts- Smart agent selection and task distributionsrc/agents/DynamicAgentGenerator.ts- Dynamic agent creationsrc/agents/AgentVisualTestingEnhancer.ts- Visual testing capabilities for all agentssrc/validation/TechSpecValidator.ts- Tech stack validationsrc/mcp/MCPIntegrationManager.ts- MCP server management (25 verified servers)src/integrations/PlaywrightMCPIntegration.ts- Playwright browser automationsrc/testing/VisualTestingManager.ts- Visual testing coordinationsrc/design/DesignPrinciples.ts- Design system and validation rulessrc/context/ProjectContextManager.ts- Project persistencesrc/validation/StyleValidator.ts- CSS/style validationsrc/validation/SyntaxValidator.ts- Syntax checkingsrc/orchestrator/EnhancedPhaseManager.ts- Multi-phase trackingsrc/monitor/- Web UI monitoring dashboardsrc/analytics/PerformanceAnalytics.ts- Performance tracking systemsrc/learning/SelfImprovingAgent.ts- Agent learning capabilitiessrc/models/LocalModelSupport.ts- Local model integrationsrc/models/SmartModelRouter.ts- Intelligent model routingsrc/commands/UploadHandler.ts- Document and Figma upload processingsrc/commands/ModelCommands.ts- Model management commandssrc/monitoring/WebSocketIntegration.ts- Real-time monitor integrationsrc/project-registry/ProjectRegistrySync.ts- Registry synchronization system.claude/agents/designer-specialist.md- Designer agent definition.claude/agents/design-review-specialist.md- Design review agent with visual testing
npm run lint # Check code style
npm run typecheck # Verify TypeScript types
npm test # Run test suite
npm run monitor # Start monitoring system- Local Model Support Research: Investigate deeper integration with local model providers
- Research Ollama model optimization for agent-specific tasks
- Explore LM Studio capabilities for specialized agents
- Investigate OpenRouter routing strategies for cost optimization
- Test hybrid local/cloud model strategies for optimal performance
- Advanced Agent Marketplace:
- Community-driven agent sharing platform
- Agent performance benchmarking system
- Automated agent quality verification
- Enterprise Features:
- SSO integration for corporate environments
- Audit logging for compliance requirements
- Role-based access control for teams
- Visual Workflow Editor:
- Drag-and-drop agent orchestration
- Real-time visual debugging
- Performance bottleneck visualization