Skip to content

Documentation Map ​

Developer handbook (中文): project structure, Graph/Loop, tools, MCP, skills, database algorithms and Worker extensions.

Start with the architecture and development guides, then follow the references for Worker communication, configuration, and capability extensions. Every guide is available in English and Simplified Chinese.

Guides ​

DocumentEnglish简体中文Contents
npm package guideRead阅读Installation, public API, real model, Redis/Memory, complete examples and consumer verification
Project overviewRead阅读Project goals, capabilities, and setup
ArchitectureRead阅读Worker ownership, internal Nodes, Graph/Loop execution, scaling, and module boundaries
Development and IntegrationRead阅读Installation, checks, package entry points, and custom Workers and Nodes
Implemented Worker APIsRead阅读CONTEXT, INFER, MEMORY, INTERACTION and optional RETRIEVAL APIs
Runtime / Graph / LoopRead阅读Graph bindings, loops, worker services, IPC / HTTP
Checkpoints and budgetsRead阅读Portable Graph/Loop state, isolated branches, token admission and settlement
Worker CommunicationRead阅读Local and remote calls, HTTP deployment, lifecycle, events, and artifacts
Interaction and Runtime ConfigurationRead阅读Providers, models, credentials, tools, MCP, Skills, and Sandbox permissions
Node Taxonomy and API ContractRead阅读Final capability tree, common public types, 21 executable leaf Contracts, and Runtime predefined flows
Node CoverageRead阅读Current 21 Core leaves, optional retrieval and practical call chains
Worker composition / 组合Read阅读Node/Worker、resources/dispose、EventFabric、ArtifactStore、PayloadCodec
Predefined flows / 预定义流程Read阅读RAG / Skill / Tool / MCP / ReAct
Configuration / 配置Read阅读YAML/env、参数分组、优先级、显式加载

The environment variable template uses bilingual comments.

Source Reference ​

SourceGuide
src/contracts/Architecture: shared data types and the Node contract interface
src/worker/*/contracts.ts, src/worker/node.tsDevelopment and Integration: Worker-owned contracts and typed handlers
src/worker/define-worker.ts, src/runtime/graph.ts, src/runtime/router.tsArchitecture: composition, execution, and routing
src/runtime/loop.tsArchitecture: state, per-round Graph selection, and bounded execution
src/runtime/communication/, src/runtime/artifact.tsWorker Communication
src/runtime/config.ts, src/runtime/services.ts, src/runtime/sandbox/Interaction and Runtime Configuration: configuration and permissions
src/worker/infer/providers/Interaction and Runtime Configuration: vendor-neutral model Provider adapters
src/worker/interaction/Interaction and Runtime Configuration: leaf tool/MCP capabilities and application Graph + Loop composition

Language Convention ​

Use .md for English and .zh-CN.md for Simplified Chinese. Each document links to its counterpart at the top. Update both versions together, preserving matching sections, API definitions, and examples. Keep navigation focused on user-facing documentation.

Ditto · @codesoul-co/ditto · Node.js 24+