diff --git a/ai-docs/business-logic.md b/ai-docs/business-logic.md new file mode 100644 index 0000000..e4dec1a --- /dev/null +++ b/ai-docs/business-logic.md @@ -0,0 +1,43 @@ +# Business Logic: n8n Ecosystem Installer + +## 1. General Product Idea + +The **n8n Ecosystem Installer** is an open-source project that provides a Docker Compose-based template to rapidly deploy a comprehensive, self-hosted development and automation environment. The core of this environment is **n8n**, a powerful workflow automation tool, augmented by **Flowise**, a low-code platform for building Large Language Model (LLM) applications. + +The product's main idea is to offer a turnkey solution that bundles n8n and Flowise with a suite of essential supporting services. These services include: + +- **Open WebUI**: A user-friendly interface for interacting with n8n agents and LLMs. +- **Supabase**: An open-source Firebase alternative, providing database, vector storage, and authentication capabilities. +- **Qdrant**: A high-performance vector database for AI applications. +- **Langfuse**: An LLM engineering platform for observability and debugging of LLM applications. +- **SearXNG**: A private metasearch engine. +- **Crawl4ai**: A web crawler optimized for AI data extraction. +- **Prometheus & Grafana**: For monitoring and visualizing system metrics. +- **Caddy**: A web server that automatically handles HTTPS/SSL for all exposed services. + +By pre-configuring these tools to work together, the installer significantly reduces the complexity and time required to set up such an integrated environment from scratch. + +## 2. Target Users + +The primary target users for the n8n Ecosystem Installer are: + +- **Developers and Engineers**: Individuals who need a robust, self-hosted platform for building, testing, and deploying workflow automations and AI-powered applications. +- **AI Enthusiasts and Researchers**: Users who want to experiment with n8n's AI capabilities, Flowise, and various LLM tools in a private and controlled environment. +- **Low-code/No-code Builders**: Citizen developers or power users who want to leverage the visual interfaces of n8n and Flowise to create sophisticated automations and AI agents without extensive coding. +- **Users Prioritizing Self-Hosting and Data Privacy**: Individuals or organizations that prefer to host their tools and data on their own infrastructure for security, customization, or compliance reasons. +- **Small to Medium-sized Businesses (SMBs)**: Companies looking for a cost-effective way to implement powerful automation and AI solutions without relying on expensive SaaS subscriptions for each individual tool. + +## 3. Problems Solved + +The n8n Ecosystem Installer addresses several key challenges: + +- **Complexity of Setup**: Manually installing and configuring multiple interconnected services (n8n, databases, AI tools, reverse proxies, monitoring) is time-consuming, error-prone, and requires significant technical expertise. The installer automates this process. +- **Integration Effort**: Ensuring that different tools work seamlessly together often involves custom scripting and configuration. The installer provides a pre-integrated stack. +- **Time to Value**: By simplifying setup and integration, users can get their development environment up and running quickly, allowing them to focus on building automations and AI applications rather than on infrastructure management. +- **Accessibility of Advanced AI Tools**: It makes a suite of powerful AI development tools (vector stores, LLM observability, AI agent builders) more accessible by bundling them in an easy-to-deploy package. +- **Secure Hosting**: With Caddy's automatic HTTPS, the project provides a secure way to expose services, which is often a hurdle for self-hosted solutions. +- **Learning Curve for n8n**: For new n8n users, it offers an environment where they can immediately start exploring advanced features, including AI agents and community workflows (with an option to auto-import hundreds of them). +- **Vendor Lock-in**: By promoting open-source tools, it provides an alternative to proprietary platforms, giving users more control and flexibility. +- **Resource Management**: Using Docker Compose allows for efficient management of the various services, making it easier to start, stop, and update components of the ecosystem. + +In essence, the project democratizes access to a powerful, integrated n8n-centered automation and AI development stack by radically simplifying its deployment and initial configuration.