Uses of Package
com.agentforge4j.runtime.llm
Packages that use com.agentforge4j.runtime.llm
Package
Description
Public bootstrap entry point — framework-agnostic defaults for AgentForge4j.
-
Classes in com.agentforge4j.runtime.llm used by com.agentforge4j.bootstrapClassDescriptionDrives a single agent invocation: resolves the agent definition, picks the first enabled provider preference, renders the input context as JSON, executes against the resolved
LlmClient, and parses the structured command output.Renders the subset of the shared context exposed to an agent as a JSON object — filtering byContextMapping.inputKeys()when a mapping is provided.Observes each completed LLM call: emits aWorkflowEventType.LLM_CALL_COMPLETEDevent and maintains theReservedContextKeys.LLM_TOKENS_TOTALrunning total inWorkflowStatecontext.Parses raw LLM output text into a list ofLlmCommands, validating each command's type against the agent'sCommandResponseSchemaand required fields before binding.Selects whichProviderPreferenceto use for an initial LLM invocation. -
Classes in com.agentforge4j.runtime.llm used by com.agentforge4j.runtimeClassDescriptionDrives a single agent invocation: resolves the agent definition, picks the first enabled provider preference, renders the input context as JSON, executes against the resolved
LlmClient, and parses the structured command output. -
Classes in com.agentforge4j.runtime.llm used by com.agentforge4j.runtime.llmClassDescriptionThe parsed result of a single LLM call: the raw response text plus the parsed list of commands.Fluent builder for
AgentInvocationResult.Drives a single agent invocation: resolves the agent definition, picks the first enabled provider preference, renders the input context as JSON, executes against the resolvedLlmClient, and parses the structured command output.Builder forAgentInvoker.Renders the subset of the shared context exposed to an agent as a JSON object — filtering byContextMapping.inputKeys()when a mapping is provided.Observes each completed LLM call: emits aWorkflowEventType.LLM_CALL_COMPLETEDevent and maintains theReservedContextKeys.LLM_TOKENS_TOTALrunning total inWorkflowStatecontext.Parses raw LLM output text into a list ofLlmCommands, validating each command's type against the agent'sCommandResponseSchemaand required fields before binding.Selects whichProviderPreferenceto use for an initial LLM invocation.How the concrete model for an LLM call was determined, recorded as audit metadata onAgentInvocationResultand theLLM_CALL_COMPLETEDevent.