Interface: AssemblyConfig
Defined in: src/types/assembly-config.ts:6
Properties
agentId?
optionalagentId?:string
Defined in: src/types/assembly-config.ts:30
apiKey?
optionalapiKey?:string
Defined in: src/types/assembly-config.ts:29
API key. When omitted, initAssembly resolves it via
AA_API_KEY (with the deprecated AAASM_API_KEY alias as a
fallback), the config file, or defaults to an empty string
(local mode is unauth-accepting).
controlPlaneUrl?
optionalcontrolPlaneUrl?:string
Defined in: src/types/assembly-config.ts:22
Control-plane HTTP base URL. When set, the gateway client routes its HTTP
traffic here instead of gatewayUrl; when omitted it falls back to the
resolved gatewayUrl (backwards-compatible). initAssembly also reads
the AA_CONTROL_PLANE_URL environment variable as a fallback when this
field is not set. The gRPC transport continues to use gatewayUrl.
delegationReason?
optionaldelegationReason?:string
Defined in: src/types/assembly-config.ts:48
Human-readable explanation for why this agent was delegated to.
Must be ≤ 256 characters; throws RangeError otherwise.
enforcementMode?
optionalenforcementMode?:EnforcementMode
Defined in: src/types/assembly-config.ts:62
Per-agent governance posture override sent to the gateway at registration.
When omitted, the field is left off the registration body and the gateway
applies its server-side default (live "enforce") — the pre-feature wire
shape is preserved. Pass "observe" to register this agent in dry-run /
sandbox mode (every action proceeds; the gateway records would-be
violations as shadow audit events surfaced by aa audit list --dry-run-only).
Unknown string values are rejected at runtime with a RangeError.
gatewayClient?
optionalgatewayClient?:GatewayClient
Defined in: src/types/assembly-config.ts:38
gatewayUrl?
optionalgatewayUrl?:string
Defined in: src/types/assembly-config.ts:14
Gateway URL. When omitted, initAssembly resolves it via
AA_GATEWAY_URL (with the deprecated AAASM_GATEWAY_URL alias as a
fallback), ~/.aasm/config.yaml, or the local default
(http://localhost:7391, auto-started if absent). See
agent_assembly/core/gateway-resolver for the precedence chain.
langchain?
optionallangchain?:LangChainAdapterConfig
Defined in: src/types/assembly-config.ts:39
mode?
optionalmode?:AssemblyMode
Defined in: src/types/assembly-config.ts:37
name?
optionalname?:string
Defined in: src/types/assembly-config.ts:36
Human-readable agent name recorded by the gateway at registration
(AAASM-3400). Descriptive metadata only; when omitted it falls back to
agentId.
parentAgentId?
optionalparentAgentId?:string
Defined in: src/types/assembly-config.ts:41
ID of the parent agent that delegated work to this agent.
spawnedByTool?
optionalspawnedByTool?:string
Defined in: src/types/assembly-config.ts:50
Name of the tool that spawned this agent, if applicable.
teamId?
optionalteamId?:string
Defined in: src/types/assembly-config.ts:43
Team this agent belongs to for budget and policy scoping.