.do
Business Roles

cfo

Deploy AI CFO agents that manage finances, track cash flow, and optimize spend autonomously. 10x faster financial operations with 90% less code and full compliance.

cfo

CFO.do

Overview

The cfo 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 cfo operations follow the semantic $.Cfo.verb.Object pattern:

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

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

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

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

Quick Start

import { cfo } from 'sdk.do'

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

Access Methods

The cfo primitive is accessible through multiple interfaces:

SDK

TypeScript/JavaScript library for programmatic access:

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

SDK Documentation

CLI

Command-line interface for terminal operations:

do cfo <command> [options]

CLI Documentation

API

REST/RPC endpoints for HTTP integration:

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

API Documentation

MCP

Model Context Protocol for AI assistant integration:

Use cfo primitives with AI assistants via MCP

MCP Documentation

See other primitives in the business-roles category.