Skip to main content

BizOSaaS Platform Overview

What is BizOSaaS?

BizOSaaS (Bizoholic SaaS Platform) is an enterprise-grade, AI-powered multi-tenant SaaS platform designed to provide comprehensive business management solutions. The platform combines advanced AI agents, workflow orchestration, and integrated business services to deliver intelligent automation and insights for modern businesses.

Core Value Proposition

  • AI-First Architecture: 24 specialized AI agents powered by state-of-the-art LLMs via OpenRouter
  • Multi-Tenant: Secure, isolated environments for multiple clients
  • Fully Integrated: CRM, Marketing, E-commerce, Analytics, Billing, and more in one platform
  • Workflow Orchestration: Temporal Cloud-powered reliable workflow execution
  • Enterprise Security: SSO via Authentik, secrets management via Vault
  • Observable: Complete metrics and logs via Grafana Cloud

Technology Stack

Backend

  • Language: Python 3.11+
  • Framework: FastAPI
  • AI Orchestration: CrewAI
  • Workflow Engine: Temporal Cloud
  • Database: PostgreSQL (multi-tenant with RLS)
  • Cache: Redis Cloud
  • Message Queue: Redis Streams

Frontend

  • Framework: Next.js 14+ (App Router)
  • UI Library: React 18+
  • Styling: Tailwind CSS + Shadcn UI
  • State Management: React Query + Zustand
  • Authentication: Clerk (integrated with Authentik SSO)

Infrastructure

  • Orchestration: Docker Swarm
  • Reverse Proxy: Traefik
  • Secrets Management: HashiCorp Vault
  • SSO: Authentik
  • Monitoring: Grafana Cloud (Prometheus + Loki)
  • Deployment: Dokploy
  • CI/CD: GitHub Actions

AI & LLMs

  • LLM Gateway: OpenRouter (unified access to OpenAI, Anthropic, Google, etc.)
  • Agent Framework: CrewAI
  • Vector Database: Integrated in client portal

Platform Architecture

┌─────────────────────────────────────────────────────────────┐
│ Traefik (Reverse Proxy) │
│ SSL Termination & Routing │
└──────────────────────┬──────────────────────────────────────┘

┌──────────────┼──────────────┐
│ │ │
┌───────▼──────┐ ┌────▼─────┐ ┌─────▼──────┐
│ Client Portal│ │ Admin │ │ Brain │
│ (Next.js) │ │ Dashboard│ │ Gateway │
└──────┬───────┘ └────┬─────┘ └─────┬──────┘
│ │ │
└──────────────┼──────────────┘

┌────────────▼────────────┐
│ Core Services │
│ - PostgreSQL (RLS) │
│ - Redis Cloud │
│ - Temporal Cloud │
│ - Vault (Secrets) │
│ - Authentik (SSO) │
└─────────────────────────┘

Core Features

1. AI-Powered Agents (24 Specialized Agents)

Marketing Agents

  • SEO Optimization Agent: Keyword research, content optimization, backlink analysis
  • Content Marketing Agent: Blog posts, social media content, email campaigns
  • Social Media Agent: Multi-platform posting, engagement tracking, analytics
  • Ad Campaign Agent: PPC optimization, A/B testing, ROI analysis

CRM Agents

  • Lead Management Agent: Lead scoring, qualification, nurturing
  • Customer Support Agent: Ticket routing, response generation, sentiment analysis
  • Sales Pipeline Agent: Deal tracking, forecasting, opportunity management

E-commerce Agents

  • Product Management Agent: Catalog management, pricing optimization
  • Inventory Agent: Stock tracking, reorder automation, demand forecasting
  • Order Fulfillment Agent: Order processing, shipping coordination

Content & Creative Agents

  • Copywriting Agent: Ad copy, product descriptions, landing pages
  • Design Brief Agent: Creative brief generation, design requirements
  • Video Script Agent: Video content planning and scripting

Business Intelligence Agents

  • Analytics Agent: Data analysis, trend identification, insights generation
  • Reporting Agent: Automated report generation, dashboard creation
  • Forecasting Agent: Revenue forecasting, trend prediction

Technical Agents

  • Code Review Agent: Code quality analysis, best practices enforcement
  • Documentation Agent: Auto-documentation, API reference generation
  • DevOps Agent: Deployment automation, infrastructure monitoring

Operations Agents

  • Workflow Automation Agent: Process automation, task orchestration
  • Quality Assurance Agent: Testing automation, bug detection
  • Project Management Agent: Task assignment, timeline tracking

Gamification Agents

  • Engagement Agent: User engagement strategies, reward systems
  • Achievement Agent: Badge creation, milestone tracking
  • Leaderboard Agent: Competitive ranking, performance tracking

2. Multi-Tenant SaaS Platform

  • Tenant Isolation: Row-level security (RLS) in PostgreSQL
  • Custom Branding: White-label support for each tenant
  • Resource Quotas: CPU, memory, storage limits per tenant
  • Billing Integration: Usage-based billing via Lago

3. Integrated Business Services

CRM & Sales

  • Contact management
  • Deal pipeline
  • Email integration
  • Activity tracking
  • Sales forecasting

Marketing Automation

  • Email campaigns
  • Social media management (Postiz integration)
  • SEO tools (SEO Panel)
  • Analytics & reporting

E-commerce

  • Product catalog
  • Order management
  • Inventory tracking
  • Payment processing

Content Management

  • Wagtail CMS integration
  • Blog management
  • Media library
  • SEO optimization

Business Directory

  • Multi-location support
  • Review management
  • Local SEO
  • Business listings

Gaming Platform (Thrillring)

  • Game hosting
  • Player management
  • Leaderboards
  • Achievements

4. Billing & Subscription Management

  • Platform: Lago (open-source billing)
  • Features:
    • Usage-based billing
    • Subscription management
    • Invoice generation
    • Payment processing
    • Revenue recognition

5. Authentication & Security

  • SSO: Authentik (OIDC/SAML)
  • Secrets: HashiCorp Vault
  • JWT: Token-based authentication
  • RBAC: Role-based access control
  • Audit Logs: Complete activity tracking

6. Observability & Monitoring

  • Metrics: Prometheus (Grafana Cloud)
  • Logs: Loki (Grafana Cloud)
  • Traces: (Planned: Tempo)
  • Dashboards: Pre-built Grafana dashboards
  • Alerts: Automated alerting rules

Service Catalog

Production Services

ServiceDomainStatusDescription
Brain Gatewayapi.bizoholic.com✅ RunningAI orchestration & API gateway
Client Portalapp.bizoholic.com✅ RunningCustomer-facing dashboard
Admin Dashboardadmin.bizoholic.com✅ RunningPlatform administration
Business Directorydirectory.bizoholic.com✅ RunningMulti-location business listings
Thrillring Gamingthrillring.com✅ RunningGaming platform
SEO Panelseo.bizoholic.com⚠️ DebuggingSEO management tools
Lago Billingbilling.bizoholic.com✅ RunningBilling & invoicing
Wagtail CMScms.bizoholic.com✅ RunningContent management
Marketing Suite-✅ RunningSocial media management (Postiz)
Vaultvault.bizoholic.com✅ RunningSecrets management
Authentik SSOauth-sso.bizoholic.com✅ RunningSingle sign-on
Grafana-✅ RunningObservability (Cloud-hosted)

Infrastructure Services

  • PostgreSQL: Shared database (Dokploy-managed)
  • Redis Cloud: Caching & sessions
  • Temporal Cloud: Workflow orchestration
  • Traefik: Reverse proxy & SSL

AI Agents Deep Dive

Agent Architecture

All agents extend the BaseAgent class and follow a consistent pattern:

class BaseAgent:
- LLM integration (via OpenRouter)
- Tool execution
- Memory management
- Event publishing
- Error handling
- Logging & monitoring

Agent Capabilities

Each agent has:

  • Specialized Knowledge: Domain-specific expertise
  • Tool Access: APIs, databases, external services
  • Memory: Short-term and long-term memory
  • Collaboration: Can work with other agents
  • Learning: Cross-client learning capabilities

Workflow Orchestration

Agents are orchestrated via:

  • CrewAI: Multi-agent collaboration
  • Temporal: Reliable workflow execution
  • Event Bus: Asynchronous communication

Integration Points

Cloud Services

ServicePurposeConfiguration
OpenRouterUnified LLM accessAPI key in Vault
Temporal CloudWorkflow orchestrationEndpoint, namespace, API key
Redis CloudCaching & sessionsEndpoint, username, password
Grafana CloudMetrics & logsPush URLs, API key

External Integrations

  • Email: SMTP/SendGrid
  • SMS: Twilio
  • Payment: Stripe/PayPal
  • Storage: S3-compatible
  • CDN: Cloudflare

Deployment Architecture

Production Environment

  • Server: VPS (194.238.16.237)
  • Orchestration: Docker Swarm
  • Deployment Tool: Dokploy
  • Reverse Proxy: Traefik
  • SSL: Let's Encrypt (automatic)

Domain Structure

bizoholic.com
├── api.bizoholic.com → Brain Gateway
├── app.bizoholic.com → Client Portal
├── admin.bizoholic.com → Admin Dashboard
├── directory.bizoholic.com → Business Directory
├── seo.bizoholic.com → SEO Panel
├── billing.bizoholic.com → Lago Billing
├── cms.bizoholic.com → Wagtail CMS
├── vault.bizoholic.com → Vault
├── auth-sso.bizoholic.com → Authentik SSO
└── thrillring.com → Gaming Platform

Development Workflow

Code Organization

bizosaas-platform/
├── bizosaas-brain-core/ # AI agents & core services
│ ├── ai-agents/ # 24 specialized agents
│ ├── client-portal/ # Next.js client app
│ ├── admin-portal/ # Next.js admin app
│ └── shared/ # Shared libraries
├── configs/ # Docker Compose files
├── portals/ # Portal configurations
└── docs/ # Documentation (planned)

Deployment Process

  1. Code pushed to GitHub
  2. CI/CD pipeline runs tests
  3. Docker images built
  4. Deployed via Dokploy
  5. Health checks verify deployment
  6. Metrics/logs sent to Grafana Cloud

Security & Compliance

Security Measures

  • Secrets Management: All secrets in Vault
  • SSO: Centralized authentication via Authentik
  • Network Isolation: Docker networks
  • SSL/TLS: All traffic encrypted
  • RBAC: Role-based access control
  • Audit Logs: Complete activity tracking

Data Protection

  • Encryption at Rest: Database encryption
  • Encryption in Transit: TLS 1.3
  • Backup: Automated daily backups
  • Disaster Recovery: Multi-region planned

Roadmap

Q1 2026

  • ✅ Complete Vault integration
  • ✅ Seed all cloud credentials
  • ⏳ Fix SEO Panel
  • ⏳ Implement documentation agent
  • ⏳ Set up Docusaurus docs site

Q2 2026

  • Implement tracing (Tempo)
  • Add more AI agents
  • Mobile app (React Native)
  • Advanced analytics dashboard

Q3 2026

  • Multi-region deployment
  • Advanced workflow templates
  • Marketplace for agents
  • Partner integrations

Support & Resources

Documentation

  • Technical Docs: (Planned: docs.bizoholic.com)
  • API Reference: (Planned: api-docs.bizoholic.com)
  • User Guides: (Planned: help.bizoholic.com)

Support Channels

  • AI Support Agent: 24/7 automated support
  • Email: [email protected]
  • Slack: Community workspace

Conclusion

BizOSaaS is a comprehensive, AI-powered platform that brings together cutting-edge technology, intelligent automation, and integrated business services. With 24 specialized AI agents, robust infrastructure, and enterprise-grade security, it provides businesses with the tools they need to scale and succeed in the digital age.

Last Updated: 2026-02-12
Version: 1.0.0
Status: Production (with ongoing enhancements)