Aleph

Terminology

Standardized terminology and translations for Aleph concepts

Terminology

This page establishes canonical names for Aleph concepts to ensure consistency across documentation, code, and UI.

Panel top-level modes (顶层模式): the desktop panel has seven, in nav order — Chat (/chat), Dashboard (/dashboard), Memory (/memory), Agents (/agents), Teams (/teams), Extensions (/extensions), Settings (/settings). Settings groups MCP / Plugins / Skills under an Advanced group; the ClawHub settings tab was removed.

Core Concepts

EnglishChineseDefinition
Agent智能体An AI instance with a specific configuration (model, tools, prompts)
Harness执行驱动The Think→Act loop that drives agent execution
Thinker思考器The LLM interaction layer — prompt building, model routing, streaming
Orchestrator编排器Resolves AgentDef + FlowSpec, assembles dependencies, dispatches to Harness
Gateway网关WebSocket control plane — routing, sessions, events, authentication
Session会话A persistent conversation context identified by a session key
Turn轮次One complete Think→Act cycle within a session
Flow流程A single execution request from ingress to completion
FlowSpec流程规范Defines execution parameters for a single flow
AgentDef智能体定义Static configuration defining an agent's behavior

The Three Twins (user-adjustable)

EnglishChineseDefinition
exec_tier执行等级Determines which tools may execute and how they're approved; the permission axis
think_level思考等级LLM reasoning budget and extended-thinking toggle; the inference axis
session_mode会话模式chat / work / code — statically partitions the tool presentation surface (progressive-disclosure core set + deferred-tool tier); does not affect permissions
session_set_mode模式切换工具Runtime tool called by the model to switch mode; the new value must be carried on the same send

Loop-Graph Governance

EnglishChineseDefinition
Loop Graph治理拓扑The governance topology layer on top of the Harness (src/loop_graph/); a topological answer to the four single-loop failure modes (Goodhart, reference blindness, ring conflict, measurement decay)
Team Node团队节点Node kind fusing the multi-agent system into the graph; disband triggers victory-claim watchers
Audit Ring审计环Closed-set audit action log; objective ACL source for graph audits
Objective ACL客观 ACLAccess control list authorized objectively by graph node identity
Victory Claim胜利声明The action by which a team/loop declares completion; triggers watchers and audit
Watcher观察器Listens for governance events (victory claim, goal settled, team disbanded) and initiates audit
loop-auditor循环审计员Built-in protected agent; audit/supervision templates default to independent-context evidence
Goal目标Persistent goal managed by GoalStore; loop settlement can trigger it
LoopState循环状态State machine of the looping/ subsystem (Active / Paused / …)
Pause / Resume暂停 / 恢复Cross-session lifecycle control over loops and goals

Memory System

EnglishChineseDefinition
Memory记忆系统Persistent knowledge storage (SQLite + sqlite-vec + markdown notes)
Memory Hub记忆中心Unified memory panel hosting Graph view and Table view in one toggle (/memory); node identity == note path
Graph View图谱视图Radial node-link canvas of memory notes (formerly the /memory canvas)
Table View表格视图Faceted list of memory notes (formerly the /dashboard/memory vault)
Card View卡片视图Card list with batch-action bar (the Vault panel's post-refactor list shape)
Deep Link深链In-page anchor that locates a specific note from a card or evidence chain
Evidence Chain证据链Sequence of notes that cite the current note; rendered in the Vault drawer
Cross-Agent Selection跨代理选择Memory selection across multiple agent views; must go through atomic consistency
Provenance来源Source record for a note/evidence (writer, timestamp, source event)
Batch Export批量导出Export multiple cards at once as a deliverable
Dream Insights梦境洞察Read-only panel (Settings > Memory) backed by dreaming.list_insights — recent daily synthesis notes + dream-run history
Corrections纠正记录Read-only panel (Settings > Memory) backed by memory.list_corrections — surfaces the correction → distillation lifecycle
Raw Memory (L0)原始记忆Ephemeral session data before compression
Note (L1)笔记Persistent markdown knowledge files
Wikilink维基链接Obsidian-compatible [[note-name]] cross-references
Compression压缩Converting raw memories into structured notes
Dream Daemon梦境守护进程Background memory consolidation process
Scratchpad草稿板Per-session working memory (discarded on session end)
User Profile用户画像Dialectic user model (USER.md)
SkillOpt技能优化Self-evolution discipline — the memory side that bakes "good-enough stop" into the self-evolution pipeline

Tool System

EnglishChineseDefinition
Tool工具A callable capability exposed to the LLM
ToolService工具服务Unified façade over all tool sources
Builtin Tool内置工具Native Rust tool implementation
MCP ToolMCP 工具External tool via Model Context Protocol
Extension Tool扩展工具Plugin-provided tool (WASM / Node.js)
Skill技能A learned or installed capability that adds tools
Skill System技能系统Framework for skill discovery, registration, and lifecycle
Dispatcher调度器Tool registry, risk evaluation, and semantic retrieval
Hydrationhydrated toolsSemantic tool retrieval based on query context
Parallel Group并行组A bucket of tool calls in the Act phase, partitioned by resource claim and dispatched concurrently; groups are serial, intra-group concurrent
Resource Claim资源声明A tool's concurrency-conflict declaration over fs/network/process
Memo / Cross-batch Dedup备忘 / 跨批次去重Reuse of the first result for a duplicate (name, args) within or across batches
session_compact会话压缩session.compact tool — equivalent to /compact available on every surface
Slash Command斜杠命令Reference-driven single-source alias table supporting /help and friendly shortcuts

Extensions

EnglishChineseDefinition
Extension扩展User-facing umbrella for Skill + Plugin + MCP server — exactly one kind per Extension. See Extensions Store
Extensions Store扩展商店Top-level panel mode (/extensions) for browsing/installing Extensions by functional category, with trust tiers and pre-install disclosure
ExtensionKind扩展类型Store-facing kind enum {Skill, Plugin, Mcp} — distinct from plugin-host runtime PluginKind {Wasm, Mcp, Static}
Aleph HubAleph HubSingle extension catalog source aleph-hub (hub.heyaleph.com/catalog.json), cold-start projected by hub::primer into ~/.aleph/hub_catalog.db
Hub toolsHub 工具hub_catalog_sync / hub_fetch_docs / hub_resolve_spec / hub_install_run / hub_install_verify, registered in the main built-in tool registry and constrained by trust and user-consent gates
Trust Tier信任层级Source trust level: Official / Verified / Community / Unverified
Disclosure披露Mandatory pre-install summary (command+args, secrets, network/fs reach, pinned version + SHA256, tier)
SourceA catalog provider (plugin marketplaces, Official MCP Registry, Docker MCP Catalog) cached in SQLite for offline browse
Plugin.install (unified)插件统一入口plugin.install no longer guesses source; classifies the source (marketplace / zip / path) and routes uniformly
Plugin Marketplace插件市场Indexable directory exposed via plugin.marketplace.list / plugin.marketplace.add

Security

EnglishChineseDefinition
Sandbox沙箱Per-session execution isolation with capability enforcement
Capability能力Permission declaration (filesystem, network, process)
Capability Ledger能力账本Per-install visible capability list rebuilt from disk (used in pre-install disclosure)
Approval Gate审批门Human-in-the-loop approval for elevated permissions
fail-closed失败关闭Refuses authorization when a policy file is missing or permissive_default disagrees with Default::default()
IdentityContext身份上下文Immutable identity snapshot flowing through execution
Per-Agent Signing Key每代理签名密钥Each agent owns an independent signing key that writes the operation ledger
Operation Ledger操作账本Signed operation sequence owned by the signer; replayable against the agent's identity chain
Delegated Role Chain委托角色链Delegation chain; lifecycle is closed within the chain
Signer Ownership签名者所有权The private key is held by the corresponding agent; the ledger is replayable against the chain
PolicyEngine策略引擎Stateless permission checker
GuestScope访客范围Tool-level restrictions for guest sessions
Pairing配对Device trust establishment via PIN/code
TOFU首次使用信任Trust-on-First-Use: first encounter with a self-signed cert prompts the user to approve and pin fingerprint + SAN
SAN DriftSAN 漂移Change in the host's non-loopback interface IP set; triggers atomic cert regen (never bricks boot)
Self-Signed TLS自签名 TLSThe gateway terminates TLS in-process; remote connections must use wss://
Trusted Proxy可信代理Reverse-proxy trust list — decides whether the gateway reads the real client IP
Trusted Origin可信来源Origin allowlist — used by browsers and WebViews for cert trust and microphone permission
Guardian Judge守护者判官The LLM judge used by heartbeat probes; its payload must mask secrets

Communication

EnglishChineseDefinition
Interface接口A client connection type (CLI, Telegram, Discord, iMessage, etc.)
Channel频道A specific conversation endpoint within an interface
Session Key会话密钥Unique identifier for a session (e.g., agent:main:main)
Event Bus事件总线Pub/sub system for real-time event distribution; broadcast::RecvError::Lagged must recover rather than die permanently
JSON-RPCJSON-RPCRequest/response protocol over WebSocket
Trace追踪Execution event stream for observability
Error Receipt错误回执Single-sourced user-readable error returned by the gateway; the raw error chain never leaks out
Dead Letter死信Messages that failed to deliver via channel.*; re-drivable from the Panel
Webhook BackpressureWebhook 反压Webhook receiver returns 503 under congestion rather than silently dropping

AI/LLM

EnglishChineseDefinition
Provider提供商LLM API vendor (OpenAI, Anthropic, Gemini, etc.)
Protocol协议Adapter for a specific LLM API format
Model模型A specific LLM instance (e.g., gpt-4o, claude-sonnet)
Prompt提示词Input text sent to the LLM
PromptLayer提示层One section of the assembled system prompt
Streaming流式传输Real-time token-by-token response delivery
Thinking思考Extended reasoning mode (Claude's extended thinking)
In-core Pricing核心定价session.usage is computed in-core from a single pricing table; the shell no longer carries a duplicate price table

Advanced Features

EnglishChineseDefinition
A2AA2AAgent-to-Agent protocol for inter-agent communication
ACPACPAgent Client Protocol for agent discovery and delegation
ClawHubClawHubLegacy registry — no longer a first-class Extensions source; settings tab removed, subsumed into the Extensions Store (long-tail only, read via the Store Agent)
Team团队A leader + members group; on first message the leader plans first ("Team Strata") and the plan is welded into every member's prompt
Team Strata团队战略协调Leader-first strategic planning that coordinates a team's members
Coord Task协调任务A member's assigned task with status Pending → InProgress → WaitingReview → Completed, reviewed by the leader via task_review
Group Chat群聊The three-panel team chat window (roster · attribution-bubble message flow · workspace), powered by the durable per-team thread (teams.chat.*)
WorldModel世界模型Environmental state tracking for proactive behavior
Proactive Dispatcher主动调度器Daemon that dispatches proactive tasks based on world state
Desktop Bridge桌面桥UDS JSON-RPC protocol for desktop automation
Deliverable交付物Work product produced by the artifact_publish tool — landed as ArtifactOrigin::Deliverable; Panel "Deliverables" pane pins and opens it
Artifact Store工件存储src/artifacts/ — unified backend for deliverables (MAX_ARTIFACT_BYTES = 50 MB + MAX_ARTIFACTS_PER_SESSION = 200)
ArtifactOrigin工件来源Inbound / Outbound / Export / Deliverable four origins (wire-vocabulary single source: aleph_protocol::artifact)
Export Subsystem导出子系统src/export/ — renders deliverables as standalone HTML / Markdown documents (self-contained CSS)
Voice Subsystem语音子系统Streaming ASR (Deepgram / WhisperLiveKit, local aleph-voice sherpa-onnx + mock engine) + TTS (multi-provider + fallback cap 2)
TranscriptDelta转写增量Streaming transcript contract (committed / interim / utterance_end / error); Panel VAD authoritative
Vocabulary Biasing域词偏置[voice] vocabulary config — translated per ASR backend to hotwords / initial_prompt / prompt / keywords
StreamingTranscriber流式转写器 traitProvider-neutral contract in src/gateway/voice/streaming/mod.rs
Voice-as-Context语音即上下文ASR-transcribed signal into context aggregation (per-turn transient recall), not persisted as user message
Loop循环src/looping/ — current-session sustained repetition (9 actions); LoopRegistry is in-process only
Goal目标src/goal/ — autonomous objective pursuit (persisted GoalStore + objective gate + TreeBudget)
Strategy策略src/strategy/ — team or naked-loop plan (composite-keyed StrategyStore)
LoopState循环状态Active / Paused / Stopped three-state (in-process)
GoalStatus目标状态Active / Paused / Completed / Aborted
GateOutcome门判定Goal subsystem objective gate type-state (maker / checker dual confirmation)
TreeBudget预算树Goal and loop shared budget tree; any sub-goal exceeding budget forces entire tree to stop
Composite Key复合键goal_key / loop_key / session_key / team_key four namespaces
Plan Team / Naked Loop团队/裸循环策略[strategy] plan_team / plan_naked_loop config switches
Atomic Put-if-Absent原子首发StrategyStore fire-once mechanism (race protection)
Run Mode Pin运行模式钉Leader stamps usage_mode; subagents inherit; rejects session_set_mode mid-run
Loop Auditor循环审计员Built-in protected agent; audit / supervision templates default to independent-context evidence
loadable可加载容器data.rs + loader.rs — all fetches route through it; failed fetch unrepresentable as empty
Vault Card ViewVault 卡片视图cards.rs — three-state shell (Loading / Empty / Content)
Evidence Chain证据链notes_citing — render reverse links into drawer
Provenance来源三元组writer / timestamp / source event (provenance.rs)
notes_sources / notes_provenance笔记溯源表26.7.22+ new; basis of graph cache and insights
LouvainLouvain 社区检测Hand-rolled implementation (no external crate, R3 compliant)
4-signal Recall四信号召回Node relevance + Leiden refinement + wikilink skeleton + co-recall
Phone / Tablet Platform手机 / 平板平台interfaces/webchat/src/platform/{phone,tablet}/phone has 8 submodules; tablet currently mainly skeleton
UnifiedSaveBar统一保存条interfaces/webchat/src/platform/wide/views/settings/ — unified save mode for all settings pages
Phase 3 / Phase 4 Settings第三 / 四阶段设置SearchRegistry UI + PII migration + Provider Presets Swift UI
behavior.input_mode输入行为模式cut / copy / halo three options (CGEventTap hotkey + clipboard context)

Naming Conventions

Code → Docs Mapping

Code SymbolDocument Name
AgentHarnessHarness / 执行驱动
HarnessDepsHarness Dependencies
HarnessRunnerHarness Runner
FlowRequestFlow Request
FlowOutcomeFlow Outcome
SessionServiceSession Service
ToolServiceTool Service
AiProviderAI Provider
StopHookHandlerStop Hook
ContextBudgetContext Budget
SkillPrefetcherSkill Prefetcher
TraceSinkTrace Sink
InProcessActorSessionServiceIn-Process Session Service
WorkspaceSandboxWorkspace Sandbox
OsSandboxDriverOS Sandbox Driver
ApprovalGateApproval Gate
PolicyEnginePolicy Engine
IdentityContextIdentity Context
GuestScopeGuest Scope
MultiProviderRegistryMulti Provider Registry
ProtocolRegistryProtocol Registry
PromptPipelinePrompt Pipeline
MemoryEnvelopeMemory Envelope
WorkingMemoryAssemblerWorking Memory Assembler
HybridAssemblerHybrid Assembler
NoteFactRetrievalNote Fact Retrieval
CompressionServiceCompression Service
DreamDaemonDream Daemon
DesktopBridgeClientDesktop Bridge Client
LoopGraphLoop-Graph Governance
GoalStoreGoal Store
LoopStateLoop State
ArtifactStoreArtifact Store
ProjectStoreProject Store
HubHub (Extensions / Secrets / Trust catalog)
SignerKeyPer-Agent Signing Key
OperationLedgerOperation Ledger
VerificationVerifier / Turn-verify context
GuardrailGuardrail (Block / Sanitize / Pass)

Deprecated Terms (Do Not Use)

Old TermReplacementReason
OTAFThink→ActArchitecture changed from OTAF to Harness
Agent LoopHarnessUnified under Harness terminology
src/agent_loop/src/harness/Harness migration; the old directory has been removed
LanceDBSQLite + sqlite-vecStorage backend changed
JSON5 configTOML configConfig format changed
aleph binaryaleph-serverBinary renamed
Skill System v1Skill System v2Complete rewrite
EvolutionTrackerRegistryPart of old skill system
SolidificationDetectorEligibilityServicePart of old skill system
SubagentTool(retained as the sub-agent spawn tool)Coexists with FlowRunTool (src/orchestrator/flow_run_tool.rs); the former handles sub-agent spawn, the latter handles flow orchestration
LoopToolRegistryToolServiceUnified tool façade
ClawHub settings tabExtensions StoreClawHub demoted to long-tail; settings tab removed
teams.runteams.chat.send / Coord TasksMethod never existed — teams use the chat thread + tasks
coordination: sequential|parallel|hierarchicalTeam Strata (leader-first planning)Coordination modes were fictional
DiminishingReturnsDetector(removed)Harness ratchet tightened to the current CEILING (src/harness/tests/budget.rs:335); the hard stop inside the loop violates R10
Telegram local pairing storeRouter-singleton pairing storeChannel-local store never took effect
Discord parallel nested config layersRouter-singleton configParallel layers removed
Provider failover deep-clone whole sessionAtomic regen marker + single clonePerformance and correctness fix
aleph.svg hardcoded static pathcore_path("/aleph.svg")Follows the core migration
Hard stops outside max_iterationsmax_iterations + tool-loop verifier onlyR10 forbids deterministic completion judgments inside the loop
EphemeralSession / dual-layer sessionSessionEventRecord + TurnIdSessionEvent system

See Also

On this page