Skip to content

Commit 8eb56b0

Browse files
os-zhuangclaude
andauthored
docs(readme): reposition as the developer framework (vs the ObjectOS runtime) (#2297)
ObjectStack describes apps; ObjectOS runs them. Refocus the README on the framework/protocol story and hand the runtime narrative to ObjectOS. - Dev/protocol hero tagline + an ObjectStack-vs-ObjectOS boundary box - Lead with the architecture (metadata -> surfaces) diagram instead of a runtime dashboard screenshot - Replace "See it in action" with "Author your app" — a Zod ObjectSchema sample + Studio object/flow designers; move the runtime gallery (dashboard, kanban, Gantt, calendar, gallery, AI) to the ObjectOS README - Add a "Use the generated API" section (REST + SDK/plugin pointers) - Point runtime/governance claims (RBAC/RLS/audit) to ObjectOS - Remove the 6 runtime screenshots now hosted in objectos Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
1 parent e062b95 commit 8eb56b0

7 files changed

Lines changed: 33 additions & 42 deletions

File tree

README.md

Lines changed: 33 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,23 @@
55
![Version](https://img.shields.io/badge/version-v4.0.1-green.svg)
66
![Tests](https://img.shields.io/badge/tests-6%2C507%20passing-brightgreen.svg)
77

8-
> **Open-source, AI-native backend for real business apps.** Describe a business app and AI builds the whole thing — objects, APIs, UI, workflows, and permissions — as version-controlled Zod metadata on a database you own. Self-host it; AI agents then operate it within RBAC / RLS and audit.
8+
> **A metadata protocol and TypeScript toolkit for AI-native business apps.** Describe your objects, permissions, workflows, APIs, UI, and AI tools once as typed, version-controlled Zod metadata — and ObjectStack derives the TypeScript types, REST API, client SDK, UI, and MCP tools from that single definition.
99
10-
**Try it in ~30s** — boot the [HotCRM](https://github.com/objectstack-ai/hotcrm) reference app on [StackBlitz](https://stackblitz.com/github/objectstack-ai/hotcrm) (no install). · Hosted platform: **[ObjectOS](https://cloud.objectos.app)**.
10+
```
11+
ObjectStack (this repo) → how a business app is described — the protocol + toolkit
12+
ObjectOS → where it runs, and where AI plugs in — the runtime
13+
```
14+
15+
This repo is the **framework**: the protocol, kernel, SDK, and CLI you build with. To *run* apps and let AI operate them under your permissions, deploy on **[ObjectOS](https://github.com/objectstack-ai/objectos)**. · Try a live app in ~30s on [StackBlitz](https://stackblitz.com/github/objectstack-ai/hotcrm) (no install).
1116

1217
<p align="center">
13-
<img src="docs/screenshots/dashboard.png" width="900" alt="ObjectStack Console rendering an executive dashboard — KPI cards for revenue, accounts, contacts and leads, a revenue-trend area chart, and a revenue-by-industry donut, all defined as metadata">
14-
<br><sub>The runtime <b>Console</b> rendering a dashboard defined entirely in metadata — KPI cards, charts, and scheduled reports.</sub>
18+
<img src="docs/screenshots/architecture.png" width="940" alt="ObjectStack architecture: author typed Zod metadata (objects, flows, views, policies); the microkernel compiles it into a versioned JSON artifact and loads plugins, drivers, and services; it generates a REST API, client SDK, Console and Studio UI, and MCP tools used by developers and AI agents, governed by Auth, RBAC, RLS, FLS, and audit, over PostgreSQL, MySQL, SQLite, or MongoDB">
19+
<br><sub>One typed definition → TypeScript types, REST API, client SDK, UI, and MCP tools.</sub>
1520
</p>
1621

1722
## What is ObjectStack?
1823

19-
ObjectStack is an **open-source**, metadata-driven backend for building business applications that AI agents can understand, operate, and audit safely — self-hostable, with your data on your own database.
24+
ObjectStack is an **open-source** metadata protocol and toolkit for *describing* business applications — so one typed definition powers your data model, API, UI, and AI tools. Apps run, and AI operates them under your permissions, on the [ObjectOS](https://github.com/objectstack-ai/objectos) runtime.
2025

2126
Instead of hiding business logic inside ad-hoc SQL queries, UI state, or JavaScript strings, ObjectStack makes the business system explicit:
2227

@@ -25,7 +30,7 @@ Instead of hiding business logic inside ad-hoc SQL queries, UI state, or JavaScr
2530
- **Business logic** is represented as analyzable metadata: flows, conditions, policies, and artifacts.
2631
- **Business runtime** is a microkernel that loads plugins, drivers, services, and compiled environment artifacts.
2732

28-
The goal is not to be another low-code UI builder. ObjectStack is the structured execution layer for AI-native business software: agent-ready, permission-aware, versioned, and auditable.
33+
The goal is not to be another low-code UI builder. ObjectStack is the structured *definition* layer for AI-native business softwareagent-ready, versioned, and analyzable; permissions and audit are enforced at runtime by ObjectOS.
2934

3035
ObjectStack is built around three protocol layers:
3136

@@ -37,40 +42,9 @@ All core definitions start with **Zod schemas** (1,600+ exported schemas across
3742

3843
See [ARCHITECTURE.md](./ARCHITECTURE.md) for the full microkernel and layer architecture documentation, and [content/docs/concepts/north-star.mdx](./content/docs/concepts/north-star.mdx) for the product north star (metadata protocols · environment-aware runtime · compiled app artifacts).
3944

40-
## See it in action
41-
42-
ObjectStack ships a runtime **Console** and a visual **Studio** on top of the same metadata — every object, view, dashboard, flow, and permission you declare in code is immediately explorable, editable, and operable in the browser.
43-
44-
**One object, every view.** The same `task` records — rendered as a board, a Gantt schedule, a calendar, or a cover gallery. View types are metadata, and the per-view bindings (kanban group-by, Gantt start/end/progress, calendar date, gallery cover) are auto-derived from the object, so switching layout takes no extra UI code.
45-
46-
<p align="center">
47-
<img src="docs/screenshots/kanban.png" width="49%" alt="Kanban board grouping tasks across Backlog, To Do, In Progress, In Review, and Done columns">
48-
<img src="docs/screenshots/gantt.png" width="49%" alt="Gantt schedule with colored task bars, milestone diamonds, and a today marker">
49-
</p>
50-
<p align="center">
51-
<img src="docs/screenshots/calendar.png" width="49%" alt="Month calendar with task events placed on their due dates">
52-
<img src="docs/screenshots/gallery.png" width="49%" alt="Gallery of task cards with cover images, assignees, and status badges">
53-
</p>
54-
<p align="center"><sub><b>Board</b> · <b>Gantt</b> · <b>Calendar</b> · <b>Gallery</b> — the same records, four visualizations, zero extra UI code (grid, timeline, and map ship too).</sub></p>
55-
56-
**Model and automate.**
57-
58-
<p align="center">
59-
<img src="docs/screenshots/modeling.png" width="49%" alt="Studio object designer showing the Opportunity object's typed fields, lookups, and layout sections">
60-
<img src="docs/screenshots/automation.png" width="49%" alt="Studio flow designer showing a visual DAG that enrolls leads into a campaign">
61-
</p>
62-
<p align="center"><sub><b>Model</b> business objects as typed metadata — fields, relations, validation, sections &nbsp;·&nbsp; <b>Automate</b> with flows that compile to analyzable metadata.</sub></p>
45+
## Author your app — in code or in Studio
6346

64-
**Ask your data.**
65-
66-
<p align="center">
67-
<img src="docs/screenshots/ask-ai.png" width="860" alt="AI assistant answering questions about records using the same metadata and permissions">
68-
<br><sub>AI agents act through the same objects, actions, and permissions you defined — agent-ready by construction, not bolted on.</sub>
69-
</p>
70-
71-
## How it works
72-
73-
Everything is **typed metadata**. Author a business object once — fields, a color-coded picklist, validation, all declarative:
47+
Everything is **typed metadata**. Define a business object once — fields, a color-coded picklist, validation — all declarative:
7448

7549
```ts
7650
import { ObjectSchema, Field } from '@objectstack/spec/data';
@@ -93,11 +67,17 @@ export const Task = ObjectSchema.create({
9367
});
9468
```
9569

96-
From that single schema, ObjectStack compiles a running backend — the database table, an auto-generated REST API and typed client SDK, the Console &amp; Studio UI (list, board, calendar, Gantt…), and MCP tools for agents — all behind the same permissions, over a database you host.
70+
From that single schema, ObjectStack derives the database table, an auto-generated REST API and typed client SDK, UI views (list, board, calendar, Gantt…), and MCP tools for agents — all from one definition.
71+
72+
Prefer clicking? Author the same metadata visually in **Studio** — objects, relations, validation, and flows — and it compiles to the exact same artifacts:
9773

9874
<p align="center">
99-
<img src="docs/screenshots/architecture.png" width="940" alt="ObjectStack architecture: author typed Zod metadata (objects, flows, views, policies); the microkernel runtime compiles it into a versioned JSON artifact and loads plugins, drivers, and services; it generates a REST API, client SDK, Console and Studio UI, and MCP tools used by developers and AI agents — all governed by Auth, RBAC, RLS, FLS, and audit, over PostgreSQL, MySQL, SQLite, or MongoDB">
75+
<img src="docs/screenshots/modeling.png" width="49%" alt="Studio object designer showing the Opportunity object's typed fields, lookups, and layout sections">
76+
<img src="docs/screenshots/automation.png" width="49%" alt="Studio flow designer showing a visual DAG that enrolls leads into a campaign">
10077
</p>
78+
<p align="center"><sub><b>Model</b> objects as typed metadata &nbsp;·&nbsp; <b>Automate</b> with visual flows — both produce the same analyzable metadata.</sub></p>
79+
80+
> **Want to see it running?** Deploy on **[ObjectOS](https://github.com/objectstack-ai/objectos)** for the live Console — dashboards, boards, calendars, records, and AI working your data under your permissions.
10181
10282
## Key Features
10383

@@ -125,7 +105,7 @@ The point isn't lines of code. The point is **fit in an agent's context window.*
125105
| AI maintainability | Agents must crawl sprawling app code | Whole app fits in an agent's context window |
126106
| Governance | App-level conventions | Auth, RBAC, RLS, FLS, audit, and versioned artifacts |
127107

128-
This makes ObjectStack a backend substrate for AI-native business applications: CRM agents, support agents, operations agents, workflow agents, and internal tools that must act on real business data without bypassing permissions or audit trails.
108+
Described in ObjectStack and deployed on [ObjectOS](https://github.com/objectstack-ai/objectos), this is the substrate for AI-native business apps — CRM, support, operations, and workflow agents acting on real business data without bypassing permissions or audit.
129109

130110
## Quick Start
131111

@@ -199,6 +179,17 @@ os explain # Explain protocol concepts on the command line
199179

200180
Cloud, package registry, and environment management subcommands (`os publish`, `os rollback`, `os package`, `os login`, `os whoami`, `os cloud …`) are available when targeting an ObjectStack Cloud control plane.
201181

182+
## Use the generated API
183+
184+
Every object ships a REST API automatically — no controllers to write:
185+
186+
```bash
187+
# CRUD endpoints for the `todo_task` object you defined above
188+
curl http://localhost:3000/api/v1/todo_task
189+
```
190+
191+
For the browser, the typed client SDK and React hooks (`useQuery` / `useMutation` / `usePagination`) live in [`@objectstack/client-react`](packages/client-react). Need a new capability? Write a plugin, driver, or service against the same kernel APIs — every built-in is one (see below).
192+
202193
## Package Directory
203194

204195
<details>

docs/screenshots/ask-ai.png

-227 KB
Binary file not shown.

docs/screenshots/calendar.png

-294 KB
Binary file not shown.

docs/screenshots/dashboard.png

-430 KB
Binary file not shown.

docs/screenshots/gallery.png

-1.04 MB
Binary file not shown.

docs/screenshots/gantt.png

-310 KB
Binary file not shown.

docs/screenshots/kanban.png

-340 KB
Binary file not shown.

0 commit comments

Comments
 (0)