Atomic Business Logic

Encapsulate Business Logic with function.do

Define atomic, reusable units of action that power your agentic workflows.

Join waitlist

function.do

export const createService = agent(async (input: { name: string, description?: string }) => {
  // Logic to create a new service
  const newService = {
    id: generateId(),
    name: input.name,
    description: input.description || '',
    createdAt: new Date()
  };
  console.log(`Created service: ${newService.name}`);
  return newService;
});

Deliver economically valuable work

Frequently Asked Questions

Do Work. With AI.