openframe-oss-lib is the shared library foundation behind OpenFrame, the unified, AI-driven MSP platform built by Flamingo. It is not a standalone application: it is a multi-ecosystem collection of libraries — Java/Maven modules, a TypeScript/npm frontend design-system package, and Rust/Cargo agent libraries — that the rest of the OpenFrame stack builds on top of.
It publishes reusable modules for API contracts and domain services, MongoDB/Redis/Kafka/NATS/Loki/Pinot integrations, event publishing and processing, audit, security, authorization, notification, machine delivery, Fleet MDM SDK bindings, the OpenFrame frontend component library, and the Rust agent code that runs on managed endpoints.
OpenFrame OSS Tenant assembles the running platform (API, gateway, authorization server, and backend services) on top of this library's Maven and Cargo artifacts, OpenFrame OSS Frontend consumes its npm design-system package, and the OpenFrame CLI drives self-hosted deployment of the resulting platform.
- Shared API and domain contracts —
openframe-api-libandopenframe-api-service-coredefine the DTOs, validation, mappers, and services for devices, tickets, RMM, software, knowledge base, and time tracking, used consistently by every API consumer. - Data and messaging integrations — dedicated modules for MongoDB (
openframe-data-mongo-common,-sync,-reactive), Redis, Kafka, NATS, Loki, and Apache Pinot keep persistence and messaging conventions consistent across services. - Security, authorization, and audit —
openframe-security-core,openframe-security-oauth,openframe-authorization-service-core, andopenframe-auditprovide JWT, OAuth 2.0/OIDC, PKCE, and method/authorization auditing shared by every tenant service. - Event-driven architecture —
openframe-event-publishing,openframe-event-processing,openframe-event-jobs, andopenframe-debezium-initializerimplement a transactional outbox, Kafka projections, retries, and resumable backfills. - Machine delivery and agent integration —
openframe-machine-delivery,openframe-client-core, andopenframe-tool-agent-nats-installationconnect backend workflows to OpenFrame agents over NATS. - Frontend design system —
@flamingo-stack/openframe-frontend-coreships the chat protocol, UI components, hooks, contexts, and shared types consumed by OpenFrame frontends. - Rust agent libraries —
openframe_agent_libandopenframe_commonunderclients/provide the system-management agent and code shared with desktop apps, including NATS connectivity, notifications, and platform-specific execution. - Fleet MDM SDK — the
fleetmdmmodule gives typed access to Fleet MDM's REST API for inventory, policies, software, and vulnerabilities.
Every Java module is versioned together under one Maven revision property (currently 7.3.41), so consuming services upgrade the whole library family in lockstep rather than tracking dozens of independent versions.
OpenFrame applications combine the reusable frontend, edge, service, domain, persistence, messaging, and agent-facing modules published from this repository. Transport and infrastructure concerns stay separate: API modules define service-facing contracts, data modules provide persistence and messaging boundaries, event modules maintain asynchronous projections, and client or delivery modules connect backend workflows to OpenFrame agents.
flowchart LR
User["Technician or Client"] --> Frontend["Frontend Core Components"]
Frontend --> Chat["Chat Protocol and Runtime"]
Frontend --> Gateway["Gateway Service Core"]
Gateway --> Auth["Authorization and Security"]
Gateway --> Api["API Service Core"]
Gateway --> External["External API Service Core"]
Api --> ApiLib["API Lib Core"]
External --> ApiLib
ApiLib --> Domain["Core, Audit, Notification, and Management Libraries"]
Domain --> Mongo["MongoDB Data Modules"]
Domain --> Redis["Redis Data Module"]
Domain --> Kafka["Kafka Data Module"]
Domain --> Nats["NATS Data Module"]
Kafka --> Stream["Stream Service Core"]
Kafka --> Events["Event Publishing and Processing"]
Events --> Debezium["Debezium Initializer"]
Nats --> Delivery["Machine Delivery"]
Delivery --> Client["Client Core"]
Client --> Agent["OpenFrame Agent"]
Agent --> Rust["Rust Agent Libraries"]
Domain --> Fleet["Fleet MDM SDK"]
Domain --> Pinot["Pinot Query and Initialization Modules"]
Domain --> Loki["Loki Data Module"]
According to the organization's repository graph, this library publishes Maven artifacts under com.openframe.oss (currently 7.3.41), the npm package @flamingo-stack/openframe-frontend-core (0.0.108), and the Cargo crates openframe_agent_lib and openframe_common (0.1.0). It in turn pins async_nats 0.53.1 from the NATS Rust Client.
Downstream, OpenFrame OSS Tenant pins the Maven modules (including fleetmdm) at 7.0.11 and the openframe_agent_lib crate at v0.0.5, while OpenFrame OSS Frontend pins a pkg.pr.new preview build of @flamingo-stack/openframe-frontend-core.
flowchart LR
Lib["OpenFrame OSS Library"] -->|"cargo 0.53.1"| Nats["NATS Rust Client"]
Tenant["OpenFrame OSS Tenant"] -->|"maven 7.0.11"| Lib
Frontend["OpenFrame OSS Frontend"] -->|"npm pkg.pr.new snapshot"| Lib
Frontend -->|"cargo"| Nats
Index coverage for this graph is partial: one repository in the organization is not currently indexed, so an empty consumer list elsewhere does not prove a module is unused.
| Ecosystem | Role | Representative Modules |
|---|---|---|
Java / Maven (Spring Boot 4.1.1, Java 25) |
API, security, data, event, delivery, notification services | openframe-api-lib, openframe-api-service-core, openframe-authorization-service-core, openframe-client-core, openframe-audit, fleetmdm |
| TypeScript / npm | Frontend design system and chat protocol | @flamingo-stack/openframe-frontend-core |
| Rust / Cargo | OpenFrame agent and shared client code | openframe_agent_lib (clients/openframe-client), openframe_common (clients/openframe-common) |
Key infrastructure dependencies pinned in the root pom.xml include Spring Cloud 2025.1.3, Netflix DGS 12.1.0 for GraphQL, the Apache Pinot client 1.5.1, JJWT 0.11.5, Lombok 1.18.48, and MapStruct 1.6.3.
This repository is a library collection, not a deployable application. The fastest path to a working build depends on which part you are touching.
If you only want to run the full OpenFrame platform (services, UI, agents together), use the OpenFrame CLI or OpenFrame OSS Tenant instead. This repository is a dependency of those, not a replacement for them.
git clone https://github.com/flamingo-stack/openframe-oss-lib.git
cd openframe-oss-libThe root pom.xml is a parent POM (com.openframe.oss:openframe-oss-lib, packaging pom) with Spring Boot 4.1.1 as its parent and Java 25 as the target language level, declaring around 40 modules.
mvn -version
mvn clean install -DskipTestsTo build and test a single module while iterating:
mvn -pl openframe-api-lib -am clean installThe agent code lives under clients/: openframe-agent-lib (clients/openframe-client) and openframe-common (clients/openframe-common).
cd clients/openframe-client
cargo build --release --lockedOr use the provided Makefile targets (make build, make build-bin, make test).
The design system package @flamingo-stack/openframe-frontend-core lives in openframe-frontend-core/.
cd openframe-frontend-core
npm install
npm run buildreact-embedding-example/ is a small standalone React SPA that shows how to embed @flamingo-stack/openframe-frontend-core chat and content surfaces behind a /content reverse proxy.
cd react-embedding-example
cp .env.example .env
npm install
npm run devEdit .env to point HUB_ORIGIN at your running OpenFrame hub. Platform API keys and the act-as email used by this example are entered on the app's /debug page and stored in the browser's localStorage, not set as environment variables.
See the Quick Start guide for verification steps, expected output, and troubleshooting tips, and Prerequisites for the exact tool versions required (Java 25, a Maven compatible with Spring Boot 4.1.1, Node.js, Rust with Cargo, and Docker for Mongo-backed integration tests).
📚 See the Documentation for comprehensive guides, including the full Reference Architecture covering every module (API, data, events, security, delivery, and frontend), the Getting Started tutorials, and the Development guides for setup, testing, security, and contributing.