Automation
bots
Build intelligent chatbots that handle customer support, sales, and operations autonomously. Deploy across Slack, Discord, web chat, and SMS with natural language understanding.
bots
Bots.do
Overview
The bots 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 bots operations follow the semantic $.Bots.verb.Object pattern:
import { $, bots } from 'sdk.do'
// Create resources
await $.Bots.create.Resource({ /* config */ })
// Query data
await $.Bots.get.Data({ /* params */ })
// Update state
await $.Bots.update.Status({ /* changes */ })Quick Start
import { bots } from 'sdk.do'
// Initialize and use the primitive
const result = await bots.operation({
// configuration parameters
})Access Methods
The bots primitive is accessible through multiple interfaces:
SDK
TypeScript/JavaScript library for programmatic access:
import { bots } from 'sdk.do'
await bots.method({ /* ... */ })CLI
Command-line interface for terminal operations:
do bots <command> [options]API
REST/RPC endpoints for HTTP integration:
curl -X POST https://api.do/v1/bots \
-H "Content-Type: application/json" \
-d '{"key":"value"}'MCP
Model Context Protocol for AI assistant integration:
Use bots primitives with AI assistants via MCPRelated Primitives
See other primitives in the automation category.