.do
Business Roles

exec

Deploy autonomous executive agents that analyze business metrics, make strategic decisions, and coordinate teams 24/7. Automate leadership workflows with 90% less manual oversight and full audit trails.

exec

Exec.do

Overview

The exec primitive is part of the .do platform's semantic API system. It follows the $.Subject.verb.Object pattern for consistent, intuitive interactions across SDK, CLI, API, and MCP interfaces.

Semantic Pattern

All exec operations follow the semantic $.Exec.verb.Object pattern:

import { $, exec } from 'sdk.do'

// Create resources
await $.Exec.create.Resource({ /* config */ })

// Query data
await $.Exec.get.Data({ /* params */ })

// Update state
await $.Exec.update.Status({ /* changes */ })

Quick Start

import { exec } from 'sdk.do'

// Initialize and use the primitive
const result = await exec.operation({
  // configuration parameters
})

Access Methods

The exec primitive is accessible through multiple interfaces:

SDK

TypeScript/JavaScript library for programmatic access:

import { exec } from 'sdk.do'
await exec.method({ /* ... */ })

SDK Documentation

CLI

Command-line interface for terminal operations:

do exec <command> [options]

CLI Documentation

API

REST/RPC endpoints for HTTP integration:

curl -X POST https://api.do/v1/exec \
  -H "Content-Type: application/json" \
  -d '{"key":"value"}'

API Documentation

MCP

Model Context Protocol for AI assistant integration:

Use exec primitives with AI assistants via MCP

MCP Documentation

See other primitives in the business-roles category.