# @dxos/compute

> Umbrella package for AI-aware DXOS compute primitives.

Latest version **0.16.0** (published 2026-10-19) · FSL-1.1-Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @dxos/compute
pnpm add @dxos/compute
yarn add @dxos/compute
bun add @dxos/compute
```

## Health

**Score 70/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; has provenance; recently updated; high maintenance score.

Warnings: low downloads; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.16.0 |
| Published | 2026-10-19 |
| First published | 2025-01-07 |
| Weekly downloads | 0 |
| License | FSL-1.1-Apache-2.0 |
| TypeScript types | bundled |
| Module format | ESM |
| Dependencies | 12 |
| Unpacked size | 1.4 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 531 |
| Author | DXOS.org |
| Maintainers | richburdon, marik_d, wittjosiah, dxos-bot, mykola-vrmchk |

## Links

- npm: https://www.npmjs.com/package/@dxos/compute
- Repository: https://github.com/dxos/dxos
- Homepage: https://dxos.org
- Issues: https://github.com/dxos/dxos/issues
- npm.io page: https://npm.io/package/@dxos/compute

## Dependencies (12)

- [@dxos/ai](https://npm.io/package/@dxos/ai.md) 0.16.0
- [@dxos/log](https://npm.io/package/@dxos/log.md) 0.16.0
- [@dxos/echo](https://npm.io/package/@dxos/echo.md) 0.16.0
- [@dxos/keys](https://npm.io/package/@dxos/keys.md) 0.16.0
- [@dxos/link](https://npm.io/package/@dxos/link.md) 0.16.0
- [@dxos/types](https://npm.io/package/@dxos/types.md) 0.16.0
- [@dxos/effect](https://npm.io/package/@dxos/effect.md) 0.16.0
- [@dxos/errors](https://npm.io/package/@dxos/errors.md) 0.16.0
- [@dxos/schema](https://npm.io/package/@dxos/schema.md) 0.16.0
- [@dxos/invariant](https://npm.io/package/@dxos/invariant.md) 0.16.0
- [@dxos/protocols](https://npm.io/package/@dxos/protocols.md) 0.16.0
- [@dxos/vendor-kbn-handlebars](https://npm.io/package/@dxos/vendor-kbn-handlebars.md) 0.16.0

## Recent versions

- 0.16.0 (latest) — 2026-10-19
- 0.16.0-next-60712ab191a99ba90316cc4be753e9e11b17100a (next) — 2026-10-19
- 0.9.1-main.c7dcc2e112 (main) — 2026-06-19
- 0.7.5-labs.d199c0f (labs) — 2025-03-12
- 0.16.0-next-b440559823fb87ed1a4590dab21ae924d4d76c3a — 2026-10-19
- 0.14.0 — 2026-10-10
- 0.13.0 — 2026-10-07
- 0.12.0-next-73daef452f1464b62efdbca75fb0067c1066f264 — 2026-08-27
- 0.12.0-next-2800d0376abcc62d5544afdd744b16b2b960434e — 2026-08-27
- 0.12.0-next-2be9f24c465d98f4bd186aa03ece788902e6c17a — 2026-08-27
- 1.0.0-next-bbabc02363f18d7643ea4160e3a7a7809870fd0d — 2026-08-10
- 0.11.1 — 2026-08-05
- 0.11.0 — 2026-08-05
- 0.10.0 — 2026-07-02
- 0.9.1-staging.ee54ba693a — 2026-07-02
- … 138 more at https://npm.io/package/@dxos/compute/versions

## README

# @dxos/compute

Umbrella package for AI-aware DXOS compute primitives.

## Usage

Importing from `@dxos/compute` is equivalent to importing from the underlying
source packages. Namespaces preserve their nesting — there is no extra wrapping
or unwrapping:

```ts
import { Skill, Operation, Instructions, Process, Script, Trace, Trigger } from '@dxos/compute';

Skill.make({ /* ... */ });
Operation.lazy(() => /* ... */);
Trace.write(Trace.OperationStart, { /* ... */ });
```

This single surface subsumes:

| Re-exported from   | Includes                                                        |
| ------------------ | --------------------------------------------------------------- |
| `@dxos/operation`  | `Operation`, `OperationInvoker`, `OperationHandlerSet`, `OperationRegistry`, errors |
| `@dxos/compute`    | `Skill`, `Instructions`, `Template`                             |
| `@dxos/functions`  | `Process`, `Trigger`, `TriggerEvent`, `Script`, `Trace`, `ServiceResolver`, `StorageService`, `CredentialsService`, `ExampleHandlers`, services, errors, sdk |

The HyperFormula-based compute graph that previously lived here moved to
[`@dxos/compute-hyperformula`](../compute-hyperformula).

## Roadmap

- Stage 1 (current): re-exports — consumers depend only on `@dxos/compute`
  while the source packages stay in place.
- Stage 2: migrate source into `@dxos/compute` and remove
  `@dxos/operation` and `@dxos/functions`.
- A companion `@dxos/compute-runtime-local` package will host the local
  implementations of the services defined here (currently in
  `@dxos/functions-runtime`).

---
_Source: https://npm.io/package/@dxos/compute · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
