UModel

中文版本:README_CN.md
UModel (Unified Model) is a vendor-neutral semantic runtime for enterprise AI, data governance, and operational intelligence. It turns fragmented schemas, entities, business objects, telemetry links, and topology relations into workspace-scoped graph context that humans, systems, and AI agents can understand and use through one local service.
With UModel, you can:
- Author and import model packs that define enterprise objects, operational objects, datasets, links, storage, and topology semantics.
- Query models, entities, and topology through one SPL surface:
.umodel, .entity, and .topo.
- Explore the workspace through a local Web UI.
- Connect agent clients through AgentGateway and MCP.
- Use public REST, CLI, and SDK contracts without depending on server internals.
Demo
An AI agent reads across the object graph in the quickstart-multidomain workspace (90 seconds): it discovers services, walks cross-domain topology, and pulls metrics and logs through model-scoped query plans, without hand-writing a single query.
Why UModel
- Accelerate enterprise AI at scale. A unified semantic standard helps AI models understand data meaning across platforms, departments, tools, and domains, improving the path to intelligent operations, customer service, analytics, prediction, and agent workflows.
- Reduce data governance cost. A shared language for multi-source enterprise data frees data teams from repetitive metric alignment, field translation, and context reconstruction, so more effort goes into extracting value from data.
- Preserve vendor neutrality and choice. UModel is independent of any single platform, data tool, observability stack, or AI vendor, helping organizations avoid semantic lock-in while building digital infrastructure.
- Build an enterprise semantic operating system. UModel moves beyond a passive data dictionary toward a live, programmable semantic runtime that AI agents can query, reason over, and use as shared context for future multi-agent collaboration.
Project Scope
This repository includes the local UModel service, umctl CLI, MCP server, OpenAPI contract, React Web UI, generated SDK assets, example packs, Docker/Compose assets, and test suites.
The open-source core focuses on local operation, public contracts, semantic modeling, agent integration, and contributor-friendly extension points. Cloud-hosted control planes, multi-tenant authorization, Aliyun internal frontend packages, and domain-specific read APIs outside Query Service are outside the public core.
Five-Minute Quick Start
Requirements:
- Go 1.22 or newer.
- Make.
- Node.js 22 or newer for the Web UI.
- pnpm 9 or newer is preferred;
corepack or npm exec fallback is supported by the Makefile.
Check the local toolchain:
make check-env
Start the API and Web UI with a preloaded demo workspace:
make quickstart
make quickstart starts a local API, starts the Web UI, preloads the demo workspace with GRAPHSTORE=memory, and leaves no local demo data behind after the process stops.
Next steps:
- Open
http://localhost:5173, select demo, and inspect the workspace through Explorer, Query, Data Store, and Agent views.
- Integrate an agent through AgentGateway or MCP. Start with
umctl agent discover demo, then connect an MCP client through umodel-mcp.
- Query models, entities, and topology through CLI or REST using Query Service.
Detailed flows:
Stop local services:
make stop-all
Agent Skills
Loadable skills let a skill-aware agent drive UModel directly — read entities, relations, topology, and the model itself; discover and follow entity-linked RunbookSet Skills; then run model-guided root-cause analysis over the object graph. In Claude Code, install all three skills in one command:
/plugin marketplace add alibaba/UnifiedModel
/plugin install umodel@unifiedmodel
Qoder, Codex, Cursor, and other agents load the same three SKILL.md files — copy them into the agent's skills directory (.qoder/skills/ for Qoder, .agents/skills/ for Codex, .claude/skills/ for Claude Code). See Agent Skills for the catalog and the skills quickstart for per-agent install.
Architecture