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.