Skip to content

System Overview

The system is composed of four kinds of capabilities: platform integration, shared orchestration, foundational packages, and local state.

System structure

LayerPurposeTypical directories
PlatformReceives platform events and handles platform-specific interactionssrc/feishu/*, src/slack/*
Shared L1 + ServicesIntent dispatch, thread management, backend scheduling, approvals, authorization, persistencesrc/common/*, services/*
PackagesProtocol clients, git operations, logging, fundamental typespackages/*
Local StateDatabase storage, logs, config, workspace statedata/*, local workspace

Key system objects

ObjectPurpose
Platform EventIM platform input such as messages, cards, and menu events
ThreadThe main axis of collaboration; binds backend and session
UnifiedAgentEventUnified streaming event that hides backend transport differences
Local StateThread registry, user repository, approval records, audit data, snapshots

External-facing capabilities

AudienceCapability
UsersTrigger commands in IM, view streaming results, approve actions
AdministratorsManage backends, projects, members, and system configuration
DevelopersExtend platforms, backends, and shared capabilities through the unified paths