Actions As Services

Define Your Business, One Verb at a Time.

Transform every business operation into a standardized, observable, and executable 'verb'. From 'signup' to 'purchase' to 'ship', codify your entire business logic as a service.

Join waitlist

verbs.do

import { Do } from '@do/sdk';

const signup = Do.define('verb', {
  name: 'signup',
  description: 'Registers a new user in the system.',
  subject: { type: 'User' },
  properties: {
    email: { type: 'string', required: true },
    password: { type: 'string', required: true, sensitive: true },
    source: { type: 'string' }
  },
  effects: [
    { type: 'createEntity', entity: 'User', data: { email: '{{properties.email}}' } },
    { type: 'sendEmail', template: 'welcome', to: '{{properties.email}}' }
  ]
});

// Now, simply execute the action
await signup.run({ 
  subject: { id: 'new-user-id' },
  properties: { email: 'test@example.com', password: '...' }
});

Deliver economically valuable work

Frequently Asked Questions

Do Work. With AI.