AI Decision System
Replayable, offline-verifiable records for AI-assisted go/no-go decisions: experiment promotions, typed model answers and human-approved actions.
翻譯準備中
在所有服務之間共享的程式庫
AI 翻譯
Shared libraries between all services
開發工具TypeScript · JavaGitHub @flamingo-stack自行安裝營運者未確認
試用過了嗎? 點一下就好,不需要登入。
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
安裝型專案無需部署網域也可驗證。個人儲存庫可透過 GitHub 登入驗證,組織儲存庫可使用上方的儲存庫驗證檔案。
製作者的介紹僅有上面的一句話。 更多詳情請閱讀儲存庫 README。 儲存庫 README ↗
正在載入完整 README。
檢視完整 README ↗OpenFrame OSS Lib is the core backend shared library collection of the OpenFrame platform — the AI-driven unified MSP (Managed Service Provider) infrastructure built by Flamingo.
This monorepo provides the reusable Spring Boot modules that power every OpenFrame service. It delivers multi-tenant authentication, reactive API routing, event-driven stream processing, agent lifecycle management, and more — all packaged as independently versionable Maven artifacts.
Note: This repository contains shared library modules, not a standalone deployable service. It is intended for use by openframe-oss-tenant and related OpenFrame services.
TenantContext, scoped repositories, and JWT claims/api/v1/** endpoints for third-party integrations with OpenAPI documentationclients/openframe-client) built on the Tokio async runtimeOpenFrame OSS Lib follows a layered, multi-tenant, event-driven architecture:
flowchart TD
Client["Browser / Agent / External System"] --> Gateway["Gateway Service Core"]
Gateway --> Authz["Authorization Service Core"]
Gateway --> Api["API Service Core (REST + GraphQL)"]
Gateway --> ExternalApi["External REST API Service"]
Gateway --> ClientAgent["Client Agent Service Core"]
Api --> Repos["Data Mongo Sync Repositories"]
ExternalApi --> Repos
ClientAgent --> Repos
Repos --> Domain["Data Mongo Domain Model"]
Domain --> Mongo[("MongoDB")]
ClientAgent --> Kafka["Apache Kafka"]
Gateway --> Kafka
Kafka --> Stream["Stream Processing Core"]
Stream --> Mongo
ClientAgent --> NATS["NATS / JetStream"]
NATS --> ClientAgent
| Layer | Module | Purpose |
|---|---|---|
| Edge | openframe-gateway-service-core | Reactive JWT/API-key gateway |
| Identity | openframe-authorization-service-core | OAuth2 + OIDC authorization server |
| API | openframe-api-service-core | Internal GraphQL + REST API |
| External API | openframe-external-api-service-core | Public REST API surface |
| Agent | openframe-client-core | Agent registration + RMM |
| Domain | openframe-data-mongo-common | MongoDB document model |
| Repositories | openframe-data-mongo-sync | Sync MongoDB repositories |
| Streaming | openframe-stream-service-core | Kafka event processing |
java -version)mvn -version)# Clone the repository
git clone https://github.com/flamingo-stack/openframe-oss-lib.git
cd openframe-oss-lib
# Build all modules (skip tests for speed)
mvn clean install -DskipTests
# Verify the build succeeded
mvn dependency:resolve -DincludeArtifactIds=openframe-core
After installing locally, add a dependency to your Spring Boot service's pom.xml:
<!-- Core data layer -->
<dependency>
<groupId>com.openframe.oss</groupId>
<artifactId>openframe-data-mongo-sync</artifactId>
<version>999-SNAPSHOT</version>
</dependency>
<!-- API service infrastructure -->
<dependency>
<groupId>com.openframe.oss</groupId>
<artifactId>openframe-api-service-core</artifactId>
<version>999-SNAPSHOT</version>
</dependency>
<!-- Gateway module -->
<dependency>
<groupId>com.openframe.oss</groupId>
<artifactId>openframe-gateway-service-core</artifactId>
<version>999-SNAPSHOT</version>
</dependency>
# Build only one module and its upstream dependencies
mvn clean install -pl openframe-data-mongo-sync -am -DskipTests
cd openframe-frontend-core
npm install
npm run build
cd clients/openframe-client
cargo build --release
# Binary: target/release/openframe-client
| Layer | Technology |
|---|---|
| Java framework | Spring Boot 3.3, Spring Cloud 2023 |
| Authorization | Spring Authorization Server 1.3.1 |
| API (GraphQL) | Netflix DGS 9.0.3 |
| Gateway | Spring Cloud Gateway (WebFlux + Netty) |
| Messaging | NATS / JetStream, Apache Kafka, Kafka Streams |
| Database | MongoDB, Redis |
| Testing | JUnit 5, Testcontainers 1.21.4, Mockito |
| Frontend | React, TypeScript, Tailwind CSS, Storybook |
| Agent | Rust (stable), Tokio async runtime |
| Build | Maven 3.9+, Node.js 18+, Cargo |
openframe-oss-lib/
├── openframe-exception/ # Exception hierarchy
├── openframe-core/ # Core utilities and validation
├── openframe-core-crypto/ # Encryption service
├── openframe-security-core/ # JWT security config
├── openframe-security-oauth/ # OAuth BFF service
├── openframe-authorization-service-core/ # OAuth2/OIDC server
├── openframe-gateway-service-core/ # Reactive API gateway
├── openframe-api-service-core/ # Internal GraphQL + REST API
├── openframe-api-lib/ # API contracts & DTO library
├── openframe-external-api-service-core/ # External REST API
├── openframe-client-core/ # Agent service core
├── openframe-data-mongo-common/ # MongoDB domain documents
├── openframe-data-mongo-sync/ # Synchronous repositories
├── openframe-data-mongo-reactive/ # Reactive repositories
├── openframe-data-redis/ # Redis caching
├── openframe-data-kafka/ # Kafka producer utilities
├── openframe-data-nats/ # NATS messaging
├── openframe-stream-service-core/ # Kafka Streams processing
├── openframe-notification-mail/ # Email notifications
├── openframe-notification-push/ # Push notifications
├── openframe-frontend-core/ # React/TypeScript UI library
├── clients/openframe-client/ # Rust agent client
└── sdk/fleetmdm/ # Fleet MDM SDK
Published artifacts are available from GitHub Packages. Configure your Maven ~/.m2/settings.xml:
<servers>
<server>
<id>github</id>
<username>YOUR_GITHUB_USERNAME</username>
<password>YOUR_GITHUB_TOKEN</password>
</server>
</servers>
Replace
YOUR_GITHUB_TOKENwith a GitHub Personal Access Token with theread:packagesscope.
| Project | Description |
|---|---|
| openframe-oss-tenant | Main OpenFrame platform application |
| openframe-cli | CLI tool for self-hosted deployment |
| Flamingo | Commercial MSP platform powered by OpenFrame |
| OpenFrame | Unified AI-driven MSP platform |
📚 See the Documentation for comprehensive guides including getting started tutorials, development setup, architecture reference, and security best practices.
OpenFrame is developed in the open. Questions, ideas, and contributions are welcome on the OpenMSP Slack community:
https://join.slack.com/t/openmsp/shared_invite/zt-36bl7mx0h-3~U2nFH6nqHqoTPXMaHEHA
We do not use GitHub Issues or GitHub Discussions — all coordination happens on Slack.
Contributions are welcome! Please read the Contributing Guidelines before submitting a pull request. Discuss your idea on Slack first for non-trivial changes.