Uses of Class
ai.acolite.agentsdk.core.Agent
Packages that use Agent
Package
Description
Core framework for building AI agents with OpenAI's API.
-
Uses of Agent in ai.acolite.agentsdk.core
Classes in ai.acolite.agentsdk.core with type parameters of type AgentModifier and TypeInterfaceDescriptioninterfaceRunResultData<TAgent extends Agent<?,? extends AgentOutputType>, THandoffs> RunResultDataclassStreamedRunResult<TContext,TAgent extends Agent<TContext, ? extends AgentOutputType>> StreamedRunResultMethods in ai.acolite.agentsdk.core that return AgentModifier and TypeMethodDescriptionAgent.AgentBuilder.build()Builds the Agent instance with automatic tool validation.Methods in ai.acolite.agentsdk.core that return types with arguments of type AgentModifier and TypeMethodDescriptionAgent.getEnabledHandoffs()Gets the list of enabled handoffs for this agent.static <TContext,TOutput extends AgentOutputType>
StreamedRunResult<TContext, Agent<TContext, TOutput>> Runner.runStreamed(Agent<TContext, TOutput> agent, String input) Static method to run an agent with streaming event emission.static <TContext,TOutput extends AgentOutputType>
StreamedRunResult<TContext, Agent<TContext, TOutput>> Runner.runStreamed(Agent<TContext, TOutput> agent, String input, RunConfig config) Static method to run an agent with streaming and custom configuration.Methods in ai.acolite.agentsdk.core with parameters of type AgentModifier and TypeMethodDescriptionstatic <TContext,TOutput extends AgentOutputType>
RunResult<TContext, ?> Static convenience method to run an agent with a single text input (blocking).static <TContext,TOutput extends AgentOutputType>
RunResult<TContext, ?> Static method to run an agent with custom configuration (blocking).static <TContext,TOutput extends AgentOutputType>
CompletableFuture<RunResult<TContext, ?>> Static method to run an agent asynchronously with a single text input.static <TContext,TOutput extends AgentOutputType>
CompletableFuture<RunResult<TContext, ?>> Static method to run an agent asynchronously with custom configuration.static <TContext,TOutput extends AgentOutputType>
StreamedRunResult<TContext, Agent<TContext, TOutput>> Runner.runStreamed(Agent<TContext, TOutput> agent, String input) Static method to run an agent with streaming event emission.static <TContext,TOutput extends AgentOutputType>
StreamedRunResult<TContext, Agent<TContext, TOutput>> Runner.runStreamed(Agent<TContext, TOutput> agent, String input, RunConfig config) Static method to run an agent with streaming and custom configuration. -
Uses of Agent in ai.acolite.agentsdk.core.runner
Methods in ai.acolite.agentsdk.core.runner with parameters of type AgentModifier and TypeMethodDescriptionstatic FunctionTool<?, ?, ?> ToolExecutionUtils.findToolByName(Agent<?, ?> agent, String toolName) Find a tool by name in the agent's tool list.