Skip to content
中文

Shared contracts & helpers ​

Support · Recommended implementations & strategies · Back to layer index

SymbolKindPurpose
agentfunctionInstantiate an Engine configuration class without creating an Engine, budget or request.
AgenttypeOriginal Engine configuration; union branches retain their required App/model relationships.
AgentOptionstypeAgent id is an external pool identity, not an override of Core branch or request identity.
agentPoolconstant
AssociatedRegistrationinterfaceOwners retain their business fields; Support only reads model interface associations.
AssociationOptionsinterfaceShared independent tools and a default projection from existing contracts.
AssociationSourceinterfaceLocal provenance, never an extra model input requirement.
ClassDecorationtype
DecorationOptionsinterfaceNamespaces group external registration without changing Core options.
defineAssociatedCatalogfunctionCompile independent and owner-derived Tool declarations, validating all references eagerly.
DefinitionReaderinterfaceRead-only roots. A typed read describes the expected contract, not a static id/type lookup.
fragmentfunctionInstantiate a self-describing fragment class; the original builder owns formatting checks. Bind a host's formatter method into an original fragment configuration.
FragmenttypeA formatter and its original provenance, trust and budget configuration.
fragmentPoolconstant
IdentifiedDefinitioninterfaceRegistration identity; ids are unique within one kind and namespace.
IntentfunctionMark a WorkflowTool for demand discovery; alone this decorator registers nothing.
MethodDecorationtype
modelfunctionInstantiate and validate model options without creating a Runner or consuming calls.
ModeltypeOriginal Runner configuration; the decorator's pool id is not a model identity override.
ModelOptionstypeModel id is only a pool key; Core still owns the configured model/transport identities.
modelPoolconstant
nodefunctionInstantiate a node definition class once, injecting its id; graph validation stays in Workflow. Bind a named host method as run without renaming or manually binding the original object.
NodetypeA node implementation; its public id is supplied by
nodePoolconstant
Supportnamespace
toolfunctionInstantiate a tool definition class; schema and authorization stay with existing defineTool. Bind an existing host method as the tool's execute callback. A model-only tool method provides its synchronous resolver.
TooltypeA tool implementation with the original schema, authorization and execution contracts.
ToolAssociationtypeExplicit tool references or inline overrides of the owner's default model interface.
toolPoolconstant
workflowfunctionInstantiate and validate workflow options, leaving actual execution with the original Engine.
WorkflowtypeA complete graph definition whose workflow id is supplied by
workflowPoolconstant

API reference, usage examples and developer guides.