Uses of Class
com.agentforge4j.bootstrap.AgentForge4jBootstrap.Builder
Packages that use AgentForge4jBootstrap.Builder
Package
Description
Public bootstrap entry point — framework-agnostic defaults for AgentForge4j.
-
Uses of AgentForge4jBootstrap.Builder in com.agentforge4j.bootstrap
Methods in com.agentforge4j.bootstrap that return AgentForge4jBootstrap.BuilderModifier and TypeMethodDescriptionAgentForge4jBootstrap.defaults()Returns a newAgentForge4jBootstrap.Builderpre-populated with all framework defaults.AgentForge4jBootstrap.Builder.withAgentInvoker(AgentInvoker agentInvoker) Overrides theAgentInvokerused for agent and SPAR steps.AgentForge4jBootstrap.Builder.withAgentRepository(AgentRepository agentRepository) Overrides the agent definition repository.AgentForge4jBootstrap.Builder.withAgentsDir(Path agentsDir) Opts in to loading agents from the given filesystem directory at build time.AgentForge4jBootstrap.Builder.withAllowPrivateNetworks(boolean allowPrivateNetworks) Lifts the outbound-egress guard's private/loopback/link-local/cloud-metadata blocks for HTTP and MCP streamable-HTTP tools.AgentForge4jBootstrap.Builder.withArtifactValidators(List<ArtifactValidator> artifactValidators) Registers additionalArtifactValidators aVALIDATEstep may select by id.AgentForge4jBootstrap.Builder.withCacheEnabled(boolean cacheEnabled) Enables or disables prompt-layer caching on the defaultAgentInvoker.Overrides the clock used for timestamps on state updates and events.AgentForge4jBootstrap.Builder.withContextAggregators(List<ContextAggregator> contextAggregators) Registers additionalContextAggregators anAGGREGATEstep may select by id.AgentForge4jBootstrap.Builder.withContextRenderer(ContextRenderer contextRenderer) Overrides the agent input context renderer.AgentForge4jBootstrap.Builder.withEventRecorder(EventRecorder eventRecorder) Overrides the shared workflow event recorder.AgentForge4jBootstrap.Builder.withFileSink(FileSink fileSink) Overrides whereCreateFileCommandcontent is written.AgentForge4jBootstrap.Builder.withFileSinkPath(Path fileSinkPath) Overrides whereCreateFileCommandcontent is written.AgentForge4jBootstrap.Builder.withIntegrationConfigLoader(IntegrationConfigLoader integrationConfigLoader) Overrides the integration definition loader.AgentForge4jBootstrap.Builder.withIntegrationRepository(MutableIntegrationRepository integrationRepository) Overrides the integration repository that loaded definitions are saved into and the capability resolver reads from.AgentForge4jBootstrap.Builder.withIntegrationsDir(Path integrationsDir) Opts in to loading integration definitions from top-level*.jsonfiles in the given directory at build time.AgentForge4jBootstrap.Builder.withLlmCallObserver(LlmCallObserver llmCallObserver) Overrides the observer invoked after each completed LLM call.AgentForge4jBootstrap.Builder.withLlmClientResolver(LlmClientResolver llmClientResolver) Overrides the LLM client resolver.AgentForge4jBootstrap.Builder.withLlmCommandParser(LlmCommandParser llmCommandParser) Overrides the LLM command response parser.AgentForge4jBootstrap.Builder.withLlmProvider(LlmProviderConfig config) Adds or replaces programmatic LLM provider configuration.AgentForge4jBootstrap.Builder.withLlmProviderSelectionStrategy(LlmProviderSelectionStrategy strategy) Overrides the strategy for selecting an LLM provider from agent preferences.AgentForge4jBootstrap.Builder.withLlmRetryPolicy(LlmRetryPolicy llmRetryPolicy) Configures the LLM retry policy.AgentForge4jBootstrap.Builder.withLlmSecretResolver(LlmSecretResolver llmSecretResolver) Overrides theLlmSecretResolverused to resolve provider credential references.AgentForge4jBootstrap.Builder.withLoadShippedAgents(boolean loadShippedAgents) Enables or disables loading shipped agents from the classpath.AgentForge4jBootstrap.Builder.withLoadShippedWorkflows(boolean loadShippedWorkflows) Enables or disables loading shipped workflows from the classpath.AgentForge4jBootstrap.Builder.withMaxNestingDepth(int maxNestingDepth) Sets the maximum nested workflow depth forwarded toWorkflowRuntimeBuilder.AgentForge4jBootstrap.Builder.withModelTierResolver(ModelTierResolver modelTierResolver) Overrides the resolver that maps a capability tier to a concrete model per provider.AgentForge4jBootstrap.Builder.withObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper) Overrides the JacksonObjectMapperused for configuration loading and LLM parsing.AgentForge4jBootstrap.Builder.withPendingToolInvocationStore(PendingToolInvocationStore pendingToolInvocationStore) Overrides the pending tool invocation store.AgentForge4jBootstrap.Builder.withRequirementResolver(RequirementResolver requirementResolver) Overrides the resolver consulted for declared workflow requirements at the run-start checkpoint and at deferred first use.AgentForge4jBootstrap.Builder.withRunExecutionInterceptor(RunExecutionInterceptor runExecutionInterceptor) Registers a control interceptor fired before a run enters main execution and before each LLM call.AgentForge4jBootstrap.Builder.withSecretResolver(SecretResolver secretResolver) Overrides the resolver that turns a secret-reference key into its live value at invoke time (for example an HTTP integration'ssecretHeaders).AgentForge4jBootstrap.Builder.withToolExecutionOptions(ToolExecutionOptions toolExecutionOptions) Overrides the tool execution options (authoritative timeout, retries, backoff).AgentForge4jBootstrap.Builder.withToolPolicy(ToolPolicy toolPolicy) Overrides the tool policy.AgentForge4jBootstrap.Builder.withToolProviderFactory(ToolProviderFactory toolProviderFactory) Overrides the factory that realises integration definitions as tool providers.AgentForge4jBootstrap.Builder.withToolProviderResolver(ToolProviderResolver toolProviderResolver) Overrides the capability resolver (for example a binding-aware resolver supplied by the embedding application).AgentForge4jBootstrap.Builder.withToolProviders(List<ToolProvider> toolProviders) Provides pre-built tool providers (for example MCP servers) to expose to the runtime.AgentForge4jBootstrap.Builder.withWorkflowEventLog(WorkflowEventLog workflowEventLog) Overrides the append-only workflow event log.AgentForge4jBootstrap.Builder.withWorkflowRepository(WorkflowRepository workflowRepository) Overrides the workflow definition repository.AgentForge4jBootstrap.Builder.withWorkflowsDir(Path workflowsDir) Opts in to loading workflows from the given filesystem directory at build time.AgentForge4jBootstrap.Builder.withWorkflowStateRepository(WorkflowStateRepository workflowStateRepository) Overrides persistence for workflow state between drives.