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({ /* ... */ })CLI
Command-line interface for terminal operations:
do exec <command> [options]API
REST/RPC endpoints for HTTP integration:
curl -X POST https://api.do/v1/exec \
-H "Content-Type: application/json" \
-d '{"key":"value"}'MCP
Model Context Protocol for AI assistant integration:
Use exec primitives with AI assistants via MCPRelated Primitives
See other primitives in the business-roles category.
cto
Deploy AI CTO agents that monitor production, triage incidents, and manage engineering operations autonomously. Handle exceptions, deployments, and team coordination with 90% less overhead.
management
Automate management tasks with AI agents. Track team performance, automate reporting, manage resources, and make data-driven decisions in real-time.