OpenManus Structure
Repository Overview
Project Structure
OpenManus/
βββ app/ # Core application modules
β βββ agents/ # Agent implementations
β βββ core/ # Core framework components
β βββ tools/ # Agent tools and utilities
β βββ protocols/ # Communication protocols
βββ assets/ # Project assets
β βββ logos/ # Brand assets
β βββ images/ # Documentation images
βββ config/ # Configuration management
β βββ config.example.toml # Configuration template
β βββ agent_configs/ # Agent-specific configurations
βββ examples/ # Usage examples and demos
β βββ basic_agent.py # Simple agent example
β βββ multi_agent.py # Multi-agent coordination
β βββ custom_tools.py # Custom tool integration
βββ protocol/ # Communication protocols
β βββ a2a/ # Agent-to-agent communication
β βββ messages.py # Message definitions
β βββ handlers.py # Message handlers
βββ tests/ # Testing infrastructure
β βββ sandbox/ # Sandbox testing environment
β βββ unit/ # Unit tests
β βββ integration/ # Integration tests
βββ workspace/ # Agent workspace management
β βββ shared/ # Shared resources
β βββ agents/ # Agent-specific workspaces
βββ main.py # Primary entry point
βββ run_flow.py # Multi-agent workflow runner
βββ run_mcp.py # MCP (Main Control Process) runner
βββ requirements.txt # Python dependencies
βββ setup.py # Package setup configuration
βββ README.md # Project documentation
βββ LICENSE # Open-source licenseDirectory Analysis
Core Application (app/)
app/)Configuration (config/)
config/)Protocol System (protocol/a2a/)
protocol/a2a/)Entry Points
main.py - Single Agent Runner
main.py - Single Agent Runnerrun_flow.py - Multi-Agent Workflow
run_flow.py - Multi-Agent Workflowrun_mcp.py - MCP Tool Integration
run_mcp.py - MCP Tool IntegrationTesting Infrastructure (tests/)
tests/)Workspace Management (workspace/)
workspace/)Architecture Insights
Modular Design
Configuration-Driven Architecture
Multi-Modal Entry Points
Production-Ready Features
Pattern Implementation Analysis
Primary Patterns in Structure
Supporting Patterns
Last updated