openframe-oss-tenant README

项目的 README,来自 github.com/flamingo-stack/openframe-oss-tenant。合并为一个 markdown 文件:README.md。

OpenFrame

License

OpenFrame OSS Tenant

OpenFrame OSS Tenant is the deployable, self-hosted tenant distribution for OpenFrame (openframe.ai), the unified, AI-driven MSP platform built by Flamingo. It assembles nine Spring Boot services (Java), a Rust endpoint agent, shared configuration, and Kubernetes/Helm manifests into one running platform that integrates multiple IT management tools behind a single gateway and a single operational surface.

This repository owns the tenant-specific composition: thin service entry points, runtime configuration, Helm charts, Argo CD application definitions, and the release pipeline that publishes container images and Maven artifacts. Most of the domain logic — authentication, GraphQL and REST APIs, RMM orchestration, stream processing, and more — is consumed from the OpenFrame OSS Library, pinned at version 7.0.11 for Java modules and v0.0.5 / 0.1.0 for the Rust client agent. According to the organization's dependency graph (coverage: full), no other repository currently consumes the artifacts published here — this is a leaf service, not a library.

Getting Started with OpenFrame - Organization Setup Basics

Features

Architecture

flowchart LR
    User["Browser, API Client, or Managed Endpoint"] --> Gateway["OpenFrame Gateway"]

    Gateway --> Auth["Authorization Server"]
    Gateway --> Api["OpenFrame API"]
    Gateway --> ExternalApi["External API"]
    Gateway --> ClientService["Client Service"]
    Gateway --> Frontend["OpenFrame Frontend"]

    Api --> Mongo["MongoDB"]
    Api --> Redis["Redis Cluster"]
    Api --> Cassandra["Cassandra"]
    Api --> Pinot["Pinot"]

    ClientService --> Nats["NATS"]
    ClientService --> Kafka["Kafka"]
    ClientService --> Mongo

    Management["Management Service"] --> Nats
    Management --> Mongo
    Management --> Redis

    Stream["Stream Service"] --> Kafka
    Stream --> Cassandra
    Stream --> Pinot
    Stream --> Mongo

    Config["Config Service"] --> Api
    Config --> ClientService
    Config --> Gateway
    Config --> Stream

    TenantTools["Fleet MDM and MeshCentral"] --> Mongo

The gateway (configs/base/openframe-gateway.yml) is the single entry point: /sas/** routes to the authorization server, /api/** to the main API, /api-docs/** to the External API's documentation surface, /clients/** to the client service, and all remaining browser traffic to the OpenFrame frontend.

This repository pins nine Maven artifacts (all 1.0.0-SNAPSHOT) — com.openframe:openframe-api, openframe-authorization-server, openframe-client, openframe-config, openframe-external-api, openframe-gateway, openframe-management, openframe-stream, and openframe-test — plus the openframe_client cargo crate (0.1.0), and publishes corresponding container images under ghcr.io/flamingo-stack/openframe-oss-tenant. Every one of these is a thin composition layer over the OpenFrame OSS Library, pinned at 7.0.11 (Java) / v0.0.5 (Rust agent library).

Technology Stack

Layer Technology
Backend services Java 25, Spring Boot 4.1.1, Spring Cloud 2025.1.3
Endpoint agent Rust (Cargo edition 2021), openframe-agent-lib from OpenFrame OSS Library
Messaging NATS, Apache Kafka
Data stores MongoDB, Redis Cluster, Cassandra, Apache Pinot, MySQL (Fleet MDM)
Coordination ZooKeeper, Debezium Connect
Deployment Kubernetes, Helm, Argo CD (app-of-apps)
Integrated tools Fleet MDM (osquery-based device management), MeshCentral (remote access)

Quick Start

OpenFrame OSS Tenant is a Kubernetes-deployed platform — nine Spring Boot services plus a Rust endpoint agent, assembled from the pinned OpenFrame OSS Library and deployed through Helm charts and Argo CD. There is no docker-compose up or local npm/yarn entry point in this repository; the fastest path to a running system is the external OpenFrame CLI.

  1. Install the OpenFrame CLI. Follow the installation instructions in its own repository: flamingo-stack/openframe-cli#installation.
  2. Bootstrap a tenant environment with the CLI. The CLI provisions a Kubernetes cluster and deploys the platform's Argo CD application-of-apps (the same manifests/app-of-apps chart this repository's release workflow publishes to oci://ghcr.io/flamingo-stack/openframe-oss-tenant/app-of-apps). Follow the CLI's documented bootstrap steps: flamingo-stack/openframe-cli/tree/main/docs.
  3. Wait for the Argo CD sync waves to settle. Argo CD applies manifests/apps/values.yaml in order: the platform wave (namespace, ingress-nginx, openframe-config, dev-tools), then the datasources wave (Cassandra, Kafka, MongoDB, MongoDB for MeshCentral, MySQL for Fleet MDM, NATS, Pinot, Redis Cluster, ZooKeeper), and finally the tenant application (manifests/tenant), which deploys the OpenFrame services, Fleet MDM, MeshCentral, and the frontend.
  4. Confirm the gateway is reachable. Once the gateway responds on its routed paths (see the table above), your tenant is up.
  5. Explore with the CLI or kubectl. Use the OpenFrame CLI's cluster-inspection commands, or kubectl get pods -A, to confirm the platform and tenant namespaces are healthy.

A minimal unauthenticated health check, once you know your gateway host, uses the shared actuator path defined in configs/base/application.yml:

# Replace <gateway-host> with the address your CLI bootstrap reported
curl -s https://<gateway-host>/api/management/v1/health

A healthy instance returns:

{
  "status": "UP"
}

For the full five-minute walkthrough, including a richer "register a device" example against the Client Service, see Quick Start. Before bootstrapping, review Prerequisites for required tooling (JDK 25, Rust toolchain, Docker with BuildKit, Kubernetes, Helm, Argo CD access) and First Steps for what to check right after your first deployment comes up.

Documentation

📚 See the Documentation for comprehensive guides, or jump directly to:

For the OpenFrame command-line tooling, see the separate OpenFrame CLI repository and its installation guide — it is maintained outside this repository.

This project does not use GitHub Issues or Discussions. Questions and discussion happen on the OpenMSP Slack community (direct invite). Code changes go through pull requests at the repository's pull request page.


Built with 💛 by the Flamingo team

openframe-oss-tenant (flamingo-stack/openframe-oss-tenant)

正在搜索数据库…

这是什么?OpenFrame OSS Tenant 是 OpenFrame 的开源多租户基础。OpenFrame 是一个 AI 驱动的 MSP(托管服务提供商)平台,用智能自动化、设备管理和 AI 辅助支持取代昂贵的专有 RMM/支持软件。
这是一个应用,还是一堆相互连接的服务?它是一个多语言微服务平台:多个 Spring Boot(Java)后端服务(API、Gateway、Auth Server、Stream、Client),外加一个独立的基于 Rust 的端点智能体,全部通过 Kafka、NATS 和共享数据存储连接在一起。
我怎么在本地把它跑起来?克隆仓库,用 Maven 构建 Java 服务、用 Cargo 构建 Rust 智能体,然后按照 Quick Start 部分逐个启动后端服务,并把 Rust 智能体验证/安装为系统服务。
构建之前我需要安装什么?在构建任何组件之前,你需要 JDK 21、Apache Maven 3.9+ 和 Rust 1.78+(通过 rustup 安装)。
自托管它是快速搞定的事,还是一项真正的工程?运行它需要同时照看七个后端服务,外加 MongoDB、Cassandra、Apache Pinot、Redis、Kafka 和 NATS JetStream——没有给出一条 Docker-compose 命令搞定的方案,只有逐个服务的 Maven/Rust 构建步骤,因此自托管需要实打实的基础设施投入。
这个平台是为谁打造的?它面向需要在受管客户端端点上执行远程管理、脚本编写(bash、PowerShell、Python、Nushell)和合规检查的 MSP 技术人员,以及他们所支持的客户。
端点智能体在 Windows、macOS 和 Linux 上的运行方式一样吗?一样。基于 Rust 的 openframe-client 在三者上都作为原生系统服务运行,负责脚本执行、工具管理,并通过 Velopack 自我更新。
不同客户(租户)之间的数据如何保持隔离?每个租户都有自己的 OAuth2 客户端、RSA 签名的 JWT,以及通过 TenantAwareMongoTemplate 实现的租户范围内 MongoDB 访问,因此数据不会跨租户边界泄露。
Mingo AI 是什么?Fae 又是什么?Mingo AI 是面向 MSP 技术人员的 AI 助手,Fae 则是面向终端客户的 AI 助手;两者都由流式 LLM 驱动,实时给出响应。
平台为什么同时使用 Kafka 和 NATS?Apache Kafka(配合 Kafka Streams)处理持久化的大容量事件处理,如设备事件和分析写入;NATS JetStream 则承载延迟更低的智能体消息传递和流式 AI 响应分块。
OpenFrame 的 CLI 工具在哪里?命令行工具不在这个仓库里——它们位于单独的项目 flamingo-stack/openframe-cli 中,有自己的安装指南和文档。
大小
330.4 MB
星标
1K
更新
提交Nov 16
时长
2年
提交 · 90 天