Skip to Content
Getting Started

Getting Started

Installation

npm i workflows.do

Usage

import { ai, db } from 'workflows.do' await db.ideas.create({ concept: 'Digital AI Workers' }) await db.ideas.create({ concept: 'Agentic Workflow Platform' }) const ideas = await db.ideas.search('AI Agents') ideas.forEach(async (idea) => { idea.status = 'Evaluating market potential' const leanCanvas = await ai.defineLeanCanvas({ idea }) const marketResearch = await ai.research({ idea, leanCanvas }) await db.ideas.update({ ...idea, leanCanvas, marketResearch }) })

The snippet above shows the simplest workflow: store ideas, let the AI enrich them, and persist the results. The rest of the platform builds on this pattern, letting you compose typed functions, durable workflows, and custom agents.

Last updated on