Packages
NPM packages implementing the Primitives.org.ai abstractions
All packages work together seamlessly. Install what you need.
Core
| Package | Description | Primitive |
|---|---|---|
| ai-functions | Call AI like a function | Function |
| ai-database | Schema-first with vectors | Database |
| ai-workflows | Durable execution | Workflow |
| autonomous-agents | Agents with identity | Agent |
| human-in-the-loop | Human integration | Human |
| digital-tasks | Task management | Task |
Products
| Package | Description | Primitive |
|---|---|---|
| digital-products | Compose into products | Product |
| services-as-software | AI-delivered services | Service |
| business-as-code | Business processes | Business |
Infrastructure
| Package | Description |
|---|---|
| language-models | Unified LLM interface |
| ai-providers | Provider integrations |
| digital-workers | Worker execution |
| digital-tools | Tools for agents |
Quick Start
npm install ai-functionsimport { ai, list, is } from 'ai-functions'
const summary = await ai`summarize ${article}`
const ideas = await list`blog post ideas`
const spam = await is`${message} spam?`Was this page helpful?