.do
Development

swe

Deploy AI software engineers that write code, fix bugs, and ship features autonomously. Accelerate development 10x with 90% less manual coding while maintaining full quality and type safety.

swe

Swe.do

Overview

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

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

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

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

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

Quick Start

import { swe } from 'sdk.do'

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

Access Methods

The swe primitive is accessible through multiple interfaces:

SDK

TypeScript/JavaScript library for programmatic access:

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

SDK Documentation

CLI

Command-line interface for terminal operations:

do swe <command> [options]

CLI Documentation

API

REST/RPC endpoints for HTTP integration:

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

API Documentation

MCP

Model Context Protocol for AI assistant integration:

Use swe primitives with AI assistants via MCP

MCP Documentation

See other primitives in the development category.