Skip to main content
Load canonical configuration without credentials or Docker first. At composition, explicitly resolve CredentialRef or inject the teaching provider. Use the composition as a context manager: it owns environment, store and scheduler cleanup. Session methods return the public Session facade. Ephemeral configuration cannot restore or fork. Invalid config, missing extensions or a closed composition fail before useful execution. 完整可运行教程 / Complete tutorial · API index Signatures and fields below are extracted from the pinned source. Signatures are reference material, not standalone programs. Source links bind the same runtime baseline. Any does not imply arbitrary objects are supported; use the behavioral contract above and the linked tutorial.

FakeCredentialResolver

Source @ d000a42 Usage and executable example Usage fragment: continues with objects from the linked complete tutorial; not a standalone program.

AgentComposition

Source @ d000a42 Usage and executable example Usage fragment: continues with objects from the linked complete tutorial; not a standalone program.

AgentComposition.session

Source

AgentComposition.restore

Source

AgentComposition.fork

Source

AgentComposition.close

Source

build_agent_composition

Source @ d000a42 Usage and executable example Usage fragment: continues with objects from the linked complete tutorial; not a standalone program.

load_agent_config

Source @ d000a42 Usage and executable example Usage fragment: continues with objects from the linked complete tutorial; not a standalone program.

AgentConfig

Source @ d000a42 Usage and executable example Usage fragment: continues with objects from the linked complete tutorial; not a standalone program.

AgentConfig.to_dict

Source

AgentConfig.digest

Source

CredentialRef

Source @ d000a42 Usage and executable example Usage fragment: continues with objects from the linked complete tutorial; not a standalone program.

LocalCredentialFileResolver

Source @ d000a42 Usage and executable example Usage fragment: continues with objects from the linked complete tutorial; not a standalone program.

LocalCredentialFileResolver.resolve

Source

BudgetConfig

Source @ d000a42 Usage and executable example Usage fragment: continues with objects from the linked complete tutorial; not a standalone program.

EnvironmentConfig

Source @ d000a42 Usage and executable example Usage fragment: continues with objects from the linked complete tutorial; not a standalone program.

ModelConfig

Source @ d000a42 Usage and executable example Usage fragment: continues with objects from the linked complete tutorial; not a standalone program.

RuntimeConfig

Source @ d000a42 Usage and executable example Usage fragment: continues with objects from the linked complete tutorial; not a standalone program.

TrajectoryConfig

Source @ d000a42 Usage and executable example Usage fragment: continues with objects from the linked complete tutorial; not a standalone program.