# Magic: The All-in-One Open-Source AI Productivity Platform

This repository profile is provided by osrepos.com, an open source repository discovery platform.

Source: osrepos.com
Repository profile: https://osrepos.com/repo/dtyq-magic
Generated for open source discovery and AI-assisted research.

Magic is the first open-source all-in-one AI productivity platform, integrating a generalist AI agent, workflow engine, instant messaging, and collaborative office system. It aims to help enterprises build and deploy AI applications to achieve significant productivity increases, offering a comprehensive suite of tools for intelligent automation and collaboration.

GitHub: https://github.com/dtyq/magic
OSRepos URL: https://osrepos.com/repo/dtyq-magic

## Summary

Magic is the first open-source all-in-one AI productivity platform, integrating a generalist AI agent, workflow engine, instant messaging, and collaborative office system. It aims to help enterprises build and deploy AI applications to achieve significant productivity increases, offering a comprehensive suite of tools for intelligent automation and collaboration.

## Topics

- AI Agent
- Workflow Engine
- Instant Messaging
- Collaborative Office
- Open Source
- PHP
- Productivity Platform
- LLM

## Repository Information

Last analyzed by OSRepos: Fri Oct 31 2025 12:01:57 GMT+0000 (Western European Standard Time)
Detail views: 6
GitHub clicks: 5

## Safety Notice

OSRepos shares public repositories for knowledge and discovery only. Review source code, dependencies, licenses, and security implications before running or installing anything.

## Content

## Introduction

Magic is presented as the first open-source all-in-one AI productivity platform, designed to empower enterprises of all sizes to quickly build and deploy AI applications, aiming for a 100x increase in productivity. It's not just a single AI product, but a comprehensive product matrix with rich capabilities, including:

*   **Super Magic**: A general-purpose AI Agent for complex task scenarios, supporting autonomous task understanding, planning, action, and error correction.
*   **Magic Flow**: A powerful visual AI workflow orchestration system for building complex AI Agent workflows without coding.
*   **Magic IM**: An enterprise-grade instant messaging system that integrates AI Agent conversations with internal enterprise communication.
*   **Teamshare OS**: An upcoming enterprise-grade online collaborative office system, featuring intelligent document management, Magic Table, and project collaboration.

Additionally, Magic open-sources infrastructure components like Agentlang (AI Agent Framework), Magic Lens (HTML to Markdown conversion), and upcoming tools like Magic Use (browser operation for AI Agents) and Sandbox OS.

## Installation

To get started with the self-hosted Community Edition of Magic, you'll need Docker 24.0+ and Docker Compose 2.0+. The installation process is straightforward using Docker:

1.  **Clone the repository**:
    bash
git clone https://github.com/dtyq/magic.git
cd magic
    

2.  **Start the service**:
    bash
./bin/magic.sh start
    
    For background operation, use `./bin/magic.sh daemon`. You can check the status with `./bin/magic.sh status` and view logs with `./bin/magic.sh logs`.

3.  **Configure Environment Variables**:
    Copy the example environment files and configure them. You must configure at least one large language model's environment variables for Magic to function normally.
    bash
cp .env.example .env
cp config/.env_super_magic.example .env_super_magic
    

4.  **Access Services**:
    *   API Service: `http://localhost:9501`
    *   Web Application: `http://localhost:8080` (Default accounts: `13812345678` / `letsmagic.ai`, `13912345678` / `letsmagic.ai`)
    *   RabbitMQ Management Interface: `http://localhost:15672` (Username: `admin`, Password: `magic123456`)

## Examples

Magic offers a wide range of functionalities demonstrated through various components:

*   **Super Magic Case Studies**: Explore how Super Magic handles complex tasks like "[Analysis of Investment Insights from Buffett's 2025 Shareholders Meeting](https://www.letsmagic.cn/share/777665156986277889)" or "[SKU Sales Forecast Requirements](https://www.letsmagic.cn/share/771022574397648897)". More examples are available on the [Official Website](https://www.letsmagic.ai).
*   **Visual Workflows**: Magic Flow provides an intuitive drag-and-drop interface for designing complex AI workflows, as illustrated in its product matrix images.
*   **Collaborative AI Chat**: Magic IM showcases enterprise-grade instant messaging with AI Agent integration, including group chat capabilities and knowledge base management.
*   **Intelligent Office**: Teamshare OS, with components like Magic Table and Magic Doc, integrates AI into document management and data organization, enhancing team collaboration.

## Why Use Magic?

Magic stands out as a comprehensive solution for AI-driven productivity due to several key advantages:

*   **All-in-One Platform**: It consolidates multiple critical AI and collaboration tools, reducing the need for disparate systems.
*   **Open Source Flexibility**: Being open source, it offers transparency, extensibility, and the ability to self-host, providing greater control and customization.
*   **Powerful AI Agents**: Super Magic provides advanced general-purpose AI agent capabilities for complex task automation and intelligent decision-making.
*   **Visual Workflow Orchestration**: Magic Flow simplifies the creation of sophisticated AI workflows through a user-friendly visual interface, accessible even without coding.
*   **Enterprise-Grade Features**: From secure instant messaging (Magic IM) to intelligent collaborative office systems (Teamshare OS), Magic is built with enterprise needs in mind, focusing on data security, knowledge management, and team efficiency.
*   **Rapid AI Application Deployment**: The platform is designed to help businesses quickly build and deploy AI applications, significantly boosting productivity across various operations.

## Links

*   **Official Website**: [https://www.letsmagic.ai](https://www.letsmagic.ai)
*   **Documentation**: [https://docs.letsmagic.cn/en](https://docs.letsmagic.cn/en)
*   **GitHub Repository**: [https://github.com/dtyq/magic](https://github.com/dtyq/magic)
*   **Contribution Guide**: [https://github.com/dtyq/magic/blob/master/CONTRIBUTING.md](https://github.com/dtyq/magic/blob/master/CONTRIBUTING.md)