Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@
"@objectstack/nextjs",
"@objectstack/nuxt",
"@objectstack/sveltekit",
"@objectstack/service-ai",
"@objectstack/service-analytics",
"@objectstack/service-automation",
"@objectstack/service-cache",
Expand Down
2 changes: 2 additions & 0 deletions content/docs/guides/ai-capabilities.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ description: "Complete guide to leveraging AI agents, RAG pipelines, and intelli

Complete guide to leveraging AI agents, knowledge retrieval, and intelligent automation in ObjectStack.

> **Note — the open edition exposes AI via MCP (BYO-AI).** Per ADR-0025, the in-UI AI runtime (`@objectstack/service-ai`: agents, the `ask`/`build` assistants, in-product chat) ships in the **cloud / Enterprise** distribution, not the open framework. A self-hosted **open** runtime instead exposes its objects, queries, and business actions to *your own* AI — Claude, Cursor, any MCP client, or a local model — through **`@objectstack/mcp`** (bring-your-own-AI, zero platform AI cost). The `@objectstack/service-ai` examples below therefore describe the cloud/EE distribution.

## Table of Contents

1. [AI Architecture](#ai-architecture)
Expand Down
15 changes: 3 additions & 12 deletions content/docs/guides/packages.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ ObjectStack is organized into **70 package manifests** across multiple categorie
| **Framework adapters** | 7 | `express`, `fastify`, `hono`, `nestjs`, `nextjs`, `nuxt`, `sveltekit` |
| **Drivers** | 4 | `driver-memory`, `driver-sql`, `driver-sqlite-wasm`, `driver-mongodb` |
| **Plugins** | 22 | `plugin-auth`, `plugin-security`, `plugin-org-scoping`, `plugin-audit`, `plugin-approvals`, `plugin-sharing`, `plugin-email`, `plugin-webhooks`, `plugin-reports`, `plugin-hono-server`, `mcp`, `plugin-msw`, `plugin-dev`, trigger plugins, and knowledge/embedder plugins |
| **Platform services** | 17 | `service-ai`, `service-analytics`, `service-automation`, `service-cache`, `service-cluster`, `service-cluster-redis`, `service-datasource`, `service-feed`, `service-i18n`, `service-job`, `service-knowledge`, `service-messaging`, `service-package`, `service-queue`, `service-realtime`, `service-settings`, `service-storage` |
| **Platform services** | 16 | `service-analytics`, `service-automation`, `service-cache`, `service-cluster`, `service-cluster-redis`, `service-datasource`, `service-feed`, `service-i18n`, `service-job`, `service-knowledge`, `service-messaging`, `service-package`, `service-queue`, `service-realtime`, `service-settings`, `service-storage` |


## Core Packages
Expand Down Expand Up @@ -194,15 +194,6 @@ const driver = new SqliteWasmDriver({ filename: ':memory:' });

All services implement contracts from `@objectstack/spec/contracts` and are kernel-managed singletons.

### @objectstack/service-ai

**AI Service** — LLM adapter layer, conversation management, tool registry.

- **Supports**: OpenAI, Anthropic, Google, custom providers via Vercel AI SDK
- **Features**: Multi-model support, streaming, tool calling, conversation history
- **When to use**: AI-powered features, chatbots, agents, RAG pipelines
- **README**: [View README](/packages/services/service-ai/README.md)

### @objectstack/service-analytics

**Analytics Service** — Multi-driver analytics with NativeSQL, ObjectQL, InMemory strategies.
Expand Down Expand Up @@ -515,11 +506,11 @@ The snippets below illustrate which **runtime** packages you typically reach for
// Host bootstrap (pseudocode — exact shape depends on adapter)
import { ObjectKernel } from '@objectstack/core';
import { SqliteWasmDriver } from '@objectstack/driver-sqlite-wasm';
import { createServiceAiPlugin } from '@objectstack/service-ai';
// Open edition: AI is exposed via @objectstack/mcp (BYO-AI), not an in-process plugin.

const kernel = new ObjectKernel();
await kernel.use(new SqliteWasmDriver({ filename: ':memory:' }));
await kernel.use(createServiceAiPlugin({ /* model providers */ }));
// Point your own AI (Claude/Cursor/local model) at objects, queries & actions over MCP.
await kernel.bootstrap();
```

Expand Down
1 change: 0 additions & 1 deletion examples/app-todo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
"@objectstack/objectql": "workspace:^",
"@objectstack/knowledge-memory": "workspace:*",
"@objectstack/runtime": "workspace:^",
"@objectstack/service-ai": "workspace:*",
"@objectstack/service-knowledge": "workspace:*",
"@objectstack/spec": "workspace:*"
},
Expand Down
201 changes: 0 additions & 201 deletions examples/app-todo/test/ai-action.test.ts

This file was deleted.

129 changes: 0 additions & 129 deletions examples/app-todo/test/ai-agent.test.ts

This file was deleted.

Loading