Skip to content

🎩 Magic - Next Generation Enterprise AI Application Innovation Engine

License

Magic is a powerful enterprise-grade AI application innovation engine designed to help developers quickly build and deploy AI applications. It provides a complete development framework, rich toolchain, and best practices, making AI application development simple and efficient.

flow

✨ Features

  • 🚀 High-Performance Architecture: Developed with PHP+Swow+hyperf, providing excellent performance and scalability
  • 🧩 Modular Design: Flexible plugin system, supporting rapid extension and customization
  • 🔌 Multi-Model Support: Seamless integration with mainstream AI models, including GPT, Claude, Gemini, etc.
  • 🛠️ Development Toolchain: Complete development, testing, and deployment toolchain
  • 🔒 Enterprise-Grade Security: Comprehensive security mechanisms, supporting organizational structure and permission management

🚀 Quick Start

System Requirements

  • Docker 24.0+
  • Docker Compose 2.0+

Installation

bash
# Clone repository
git clone https://github.com/dtyq/magic.git
cd magic

# Start service
./bin/magic.sh start

Using Docker

bash
# Start service in foreground
./bin/magic.sh start

# Start service in background
./bin/magic.sh daemon

# Check service status
./bin/magic.sh status

# View logs
./bin/magic.sh logs
Configure Environment Variables
bash
# Configure Magic environment variables, must configure at least one large language model's environment variables to use Magic normally
cp .env.example .env

# Configure Super Magic environment variables, must configure any large language model that supports OpenAI format to use it normally
./bin/magic.sh status
cp config/.env_super_magic.example .env_super_magic

Access Services

📚 Documentation

For detailed documentation, please visit Magic Documentation Center.

🤝 Contribution

We welcome contributions in various forms, including but not limited to:

  • Submitting issues and suggestions
  • Improving documentation
  • Submitting code fixes
  • Contributing new features

📞 Contact Us

🙏 Acknowledgements

Thanks to all developers who have contributed to Magic!

Star History Chart

Released under the Apache 2.0 License