alibaba/UnifiedModel
The semantic layer that makes enterprise data understandable to AI agents — model entities and relations once, query through SPL/MCP/REST, and connect telemetry, services, and business objects in one object graph.
📦 Project: alibaba/UnifiedModel (UModel)
UModel (Unified Model) is an open‑source, vendor‑neutral semantic runtime that lets enterprises expose their data, services, and topology as a single, queryable graph. It is designed so that human users, software systems, and AI agents can all read and act on the same shared model via a local service, REST API, CLI, SDKs, or a web UI.
🎯 What it does
- Model Packs – Define enterprise objects (entities, datasets, links, storage, topology) in a declarative package.
- Unified Query Surface – One query language (
.umodel,.entity,.topo) that returns model definitions, runtime entities, and topology relations. - Agent Integration – Built‑in AgentGateway and MCP (Model Control Protocol) let LLM‑based agents discover services, follow relationships, and run model‑guided root‑cause analysis without hand‑written queries.
- Local Service + UI – Runs as a single local process (or Docker/Compose) exposing a React web UI for exploring the workspace.
- Public Contracts – OpenAPI spec, CLI (
umctl), and generated SDKs (Go, Python, Java) let any client interact without touching internal code.
🛠️ Core components (as described in the README)
| Component | Role |
|---|---|
| Model Packs | Vocabulary of entities, datasets, links, storage, and semantics. |
| EntityStore | Persists runtime entities and topology edges that instantiate the model. |
| Query Service | Unified read‑only surface for the three SPL domains (.umodel, .entity, .topo). |
| AgentGateway / MCP | Exposes discovery, resource, and safe‑tool endpoints for AI agents. |
| Web UI | Browser‑based explorer for models, entities, queries, data stores, and agent views. |
CLI (umctl) |
Command‑line interface for managing workspaces, agents, and queries. |
| SDKs | Auto‑generated Go, Python, and Java clients that wrap the public REST contracts. |
🚀 Quick‑start (5 minutes)
- Prerequisites – Go 1.22+, Node 22+,
make, andpnpm(or npm). Verify withmake check‑env. - Launch –
make quickstartspins up the API, the UI, and loads a demo workspace (GRAPHSTORE=memory). - Explore – Open
http://localhost:5173, pick thedemoworkspace, and browse the Explorer, Query, Data Store, and Agent tabs. - Agent demo – Run
umctl agent discover demoand connect an MCP client (umodel-mcp) to see an AI agent walk the graph, pull metrics, and fetch logs automatically. - Shutdown –
make stop-allstops everything and cleans up the in‑memory data.
Full guides are linked in the repo (installation, web‑UI, query service, MCP reference).
🤖 Agent Skills
UModel ships loadable skill files (SKILL.md) for popular LLM‑based agents (Claude Code, Qoder, Codex, Cursor, etc.). Installing the skill package enables the agent to:
- Read any entity, relation, or model definition.
- Follow
RunbookSetlinks to execute operational runbooks. - Perform model‑guided root‑cause analysis across the enterprise graph.
Installation example for Claude Code:
/plugin marketplace add alibaba/UnifiedModel
/plugin install umodel@unifiedmodel
(Other agents copy the same SKILL.md files into their skill directories.)
📚 Documentation & Examples
- Bilingual docs – English and Chinese indexes (
docs/README.md). - Concepts – Object‑graph semantic layer, model authoring, entity writes, query service.
- Examples – Multi‑domain quick‑start pack, incident‑investigation demo, service‑localization demo (all show AI agents using the model).
- Deployments – Docker and Docker‑Compose scripts for local or containerized runs.
🏗️ Architecture snapshot
UModel runs a workspace‑scoped graph in memory or persisted via a GraphStore provider (memory, file.memory, local.ladybug).
- Model Packs → define schema.
- EntityStore writes runtime data.
- Query Service offers the unified SPL surface.
- AgentGateway / MCP expose discovery and safe tool endpoints for agents.
- Clients (Web UI, CLI, REST, SDKs) all talk to the same public contracts.
The README includes a diagram (images/architecture.png) and deeper docs on runtime flow and query/agent interaction.
📦 Build & Contribute
- Build –
make install-env && make build. - Test –
make guard,make test-service,make verify,make example-validate. - CI –
make ciruns the full gate. - SDK generation – Go and Python SDKs under
sdk/; Java SDK undergenerated/java/. - License – Apache‑2.0, with contribution and security policies provided.
🌟 Who might use this?
- Enterprise AI teams needing a shared, vendor‑neutral semantic layer for data, services, and observability.
- Ops / SRE groups that want AI agents to automatically discover services, trace dependencies, and run root‑cause analysis.
- Product engineers building multi‑agent workflows that require a common “world model”.
- Developers looking for a local, extensible graph runtime with public contracts and language SDKs.
📌 Bottom line
UModel is a full‑featured, open‑source platform that turns disparate enterprise schemas into a single, queryable graph usable by humans, programs, and AI agents. It provides the runtime, UI, CLI, REST API, and language SDKs needed to build semantic, agent‑driven operations without locking into any specific vendor stack.
Related
- Project
- Project
- Project
- Project
- Project