|
| 1 | +--- |
| 2 | +title: Monkeys Architecture Design |
| 3 | +description: Monkeys Architecture Design |
| 4 | +--- |
| 5 | + |
| 6 | +## Monkeys Architecture Design |
| 7 | + |
| 8 | +Monkeys is designed with a modular architecture to provide flexibility and scalability. The core components include Monkeys Server, Monkeys UI, and Conductor. These components work together to provide core workflow capabilities and an OpenAI-compatible large language model interface. |
| 9 | + |
| 10 | +### Core Components |
| 11 | + |
| 12 | +#### Monkeys Server |
| 13 | + |
| 14 | +Monkeys Server is the core service that provides the main functionalities of Monkeys. It handles the execution of workflows, manages the state of tasks, and provides an API for external integrations. |
| 15 | + |
| 16 | +#### Monkeys UI |
| 17 | + |
| 18 | +Monkeys UI is the web-based user interface for Monkeys. It allows users to create, manage, and monitor workflows. The UI is designed to be user-friendly and provides a visual representation of workflows. |
| 19 | + |
| 20 | +#### Conductor |
| 21 | + |
| 22 | +Conductor is the workflow orchestration engine used by Monkeys. It is responsible for scheduling and executing tasks within a workflow. Conductor provides a scalable and reliable way to manage complex workflows. |
| 23 | + |
| 24 | +### Deployment Architecture |
| 25 | + |
| 26 | +Monkeys can be deployed in various environments, including cloud services and on-premises. The deployment architecture includes the following components: |
| 27 | + |
| 28 | +- **Nginx**: Used as a reverse proxy to route requests to the Monkeys frontend and backend services. |
| 29 | +- **Monkeys Proxy**: Provides external services and acts as a gateway for incoming requests. |
| 30 | +- **Tools**: Pluggable components that provide additional functionalities, such as sandbox tools, knowledge base tools, and image processing tools. |
| 31 | + |
| 32 | +### Integration with External Services |
| 33 | + |
| 34 | +Monkeys can be integrated with various external services to extend its capabilities. Some of the common integrations include: |
| 35 | + |
| 36 | +- **Prometheus & Grafana**: Used for monitoring the performance and health of Monkeys services. |
| 37 | +- **VLLM**: Used to deploy and manage large language models compatible with OpenAI's API. |
| 38 | + |
| 39 | +### Conclusion |
| 40 | + |
| 41 | +The modular architecture of Monkeys allows for easy customization and scalability. By leveraging core components and integrating with external services, Monkeys provides a powerful platform for building workflow-centric AI applications. |
0 commit comments