Index

A B C D E F G H I J L M N O P R S T U V 
All Classes and Interfaces|All Packages|Serialized Form

A

ABORT - Enum constant in enum class com.aispect.agent.enumeration.NodeExceptionStrategy
Terminate the entire Graph execution.
AbstractGraphAgent<T,R,F> - Class in com.aispect.agent.core
abstract schema agent (Graph Agent) Handle base classes.
AbstractGraphAgent() - Constructor for class com.aispect.agent.core.AbstractGraphAgent
 
AbstractUnitAgent<T,R> - Class in com.aispect.agent.core
Abstract non-streaming agent processing base class.
AbstractUnitAgent() - Constructor for class com.aispect.agent.core.AbstractUnitAgent
 
AFTER - Enum constant in enum class com.aispect.agent.enumeration.AiExecutePhase
Runs after the target method has successfully executed. It is suitable for scenarios such as summarizing, format conversion, and secondary processing of returned results. can pass `AiInvocationContext.getProceedResult()` Get the execution result of the original method.
AgentInterceptor - Class in com.aispect.core.engine.runtime.interceptor
JDK The core interceptor of dynamic proxy, which belongs torunning phase (Runtime)Responsibilities.
AgentInterceptor(Object, Class<?>, AiOperations) - Constructor for class com.aispect.core.engine.runtime.interceptor.AgentInterceptor
Interceptor constructor.
AgentInvocationCache<V extends AiAgentFilter> - Interface in com.aispect.api
Global scheduling cache interface for agents and node resources
AgentInvocationCacheImpl<H extends AiAgentFilter> - Class in com.aispect.core.engine.bootstrap.registry
The default implementation class for proxy call caching.
AgentInvocationCacheImpl() - Constructor for class com.aispect.core.engine.bootstrap.registry.AgentInvocationCacheImpl
 
aiAgentBeanPostProcessor(ObjectProvider<AiOperations>) - Static method in class com.aispect.engine.spring.config.AiSpectConfiguration
register AiAgentBeanPostProcessor Example.
AiAgentBeanPostProcessor - Class in com.aispect.engine.spring
Spring BeanPostProcessor extension, used for applications with @AiNode or @AiGraphAgent annotated Bean Automatically create agents. Note: In order to be able to escape Spring Context-dependent compilation, this is just a simplified implementation.
AiAgentBeanPostProcessor(ObjectProvider<AiOperations>) - Constructor for class com.aispect.engine.spring.AiAgentBeanPostProcessor
 
AiAgentCdiInterceptor - Class in com.aispect.engine.quarkus
Quarkus / CDI Interceptor for handling with AI Annotated method calls.
AiAgentCdiInterceptor() - Constructor for class com.aispect.engine.quarkus.AiAgentCdiInterceptor
 
AiAgentExecutionException - Exception in com.aispect.common.exception
when AI Thrown when the agent fails to execute logic.
AiAgentExecutionException(String) - Constructor for exception com.aispect.common.exception.AiAgentExecutionException
 
AiAgentExecutionException(String, Throwable) - Constructor for exception com.aispect.common.exception.AiAgentExecutionException
 
AiAgentFilter - Interface in com.aispect.api
AI Global interceptor for agent execution flow/filter.
AiAgentInterceptorBinding - Annotation Interface in com.aispect.engine.quarkus
Interceptor binding annotation. Cooperate @AiAgentCdiInterceptor exist CDI Containers (such as Quarkus)Implement method interception in .
AiAnnotationUtils - Class in com.aispect.common.util
AI A dedicated annotation retrieval tool within the framework. Support without Spring The environment handles interface inheritance and meta-annotation (multiple annotation) lookups.
AiAnnotationUtils() - Constructor for class com.aispect.common.util.AiAnnotationUtils
 
aiClient(AiClient) - Method in class com.aispect.engine.se.AiSpect.Builder
Set up a client implementation for interacting with the underlying large model.
AiClient - Interface in com.aispect.api
AI Client adapter interface.
AiClientConfig - Record Class in com.aispect.core.client.config
AI Client configuration parameter entity.
AiClientConfig(String, String, String, Double, Integer) - Constructor for record class com.aispect.core.client.config.AiClientConfig
Creates an instance of a AiClientConfig record class.
AiComponentScanner - Class in com.aispect.core.engine.bootstrap.scanner
AI Component scanner, belonging tostartup phase (Bootstrap)Responsibilities.
AiComponentScanner() - Constructor for class com.aispect.core.engine.bootstrap.scanner.AiComponentScanner
 
AiExceptionProxy<T,R> - Interface in com.aispect.api
Exception orchestration agent interface for agents.
AiExecutePhase - Enum Class in com.aispect.agent.enumeration
logo AI The stage of the execution life cycle when the proxy intercepts the proxied method.
AiExecutionProxy<T,R> - Interface in com.aispect.api
The core orchestration agent interface for agents.
AiGraphAgent - Annotation Interface in com.aispect.agent.annotation
Mark a backbone route or main process method as a schema AI acting(Graph Agent)entrance.
AiGraphAgentConsoleLauncher - Class in com.aispect.engine.se
against Java SE console project Graph Agent launcher.
AiGraphAgentConsoleLauncher(AiOperations) - Constructor for class com.aispect.engine.se.AiGraphAgentConsoleLauncher
 
AiGraphAgentHandler<T,R,F> - Interface in com.aispect.api
graph agent processor (Graph Agent Handler)
AiGraphAgents - Annotation Interface in com.aispect.agent.annotation
Mark a class or interface corresponding to multiple schemas AI acting(Graph Agent)。
AiGraphAgentSpringLauncher - Class in com.aispect.engine.spring.launcher
Spring environment Graph Agent Initiators and route distributors.
AiGraphAgentSpringLauncher(AiOperations) - Constructor for class com.aispect.engine.spring.launcher.AiGraphAgentSpringLauncher
Constructor, given by Spring Automatically inject dependencies AiOperations。
AiGraphBehaviorOrchestrator<F> - Interface in com.aispect.api
AI Agent graph (Graph)Orchestrator interface.
AiGraphCompleteHook - Interface in com.aispect.api
Figure task sequence successfully completes the callback interface.
AiGraphEngine - Interface in com.aispect.api
Basic graph engine (Graph Engine)interface.
AiGraphExecutionException - Exception in com.aispect.common.exception
Graph Agent Blocking exception thrown during the execution of the task sequence during the run phase.
AiGraphExecutionException(String) - Constructor for exception com.aispect.common.exception.AiGraphExecutionException
 
AiGraphExecutionException(String, Throwable) - Constructor for exception com.aispect.common.exception.AiGraphExecutionException
 
AiGraphStartHook - Interface in com.aispect.api
Callback interface before the graph task sequence starts.
AiGraphTimeoutHook - Interface in com.aispect.api
Figure task sequence timeout callback interface.
AiGraphValidationException - Exception in com.aispect.common.exception
Graph Agent Exception thrown when verification fails during startup and registration phases.
AiGraphValidationException(String) - Constructor for exception com.aispect.common.exception.AiGraphValidationException
 
AiGraphValidationException(String, Throwable) - Constructor for exception com.aispect.common.exception.AiGraphValidationException
 
AiInvocationContext<T> - Interface in com.aispect.api
AI The context interface for method proxy calls.
AiNetworkException - Exception in com.aispect.common.exception
and AI Exception thrown when there is a network problem in model provider communication. Includes connection timeouts, read timeouts, rate limits, and server-side errors.
AiNetworkException(String) - Constructor for exception com.aispect.common.exception.AiNetworkException
 
AiNetworkException(String, Throwable) - Constructor for exception com.aispect.common.exception.AiNetworkException
 
AiNode - Annotation Interface in com.aispect.agent.annotation
Mark a method, field or parameter as a diagram (Graph)Functional node resources in the engine.
AiNodeExceptionHook - Interface in com.aispect.api
Node exception handling callback interface.
AiNodes - Annotation Interface in com.aispect.agent.annotation
Container annotations to support AiNode of reusable. Allows a class or method to belong to multiple Stream Agent Graph node mapping.
AiNodeStatusHook - Interface in com.aispect.api
Node status detection callback interface.
aiOperations(Environment) - Method in class com.aispect.engine.spring.config.AiSpectConfiguration
 
AiOperations - Interface in com.aispect.api
Exposed to developers for manual control AI Interactive basic service facade interface.
AiOperationsWrapper - Class in com.aispect.core.engine.runtime.context
AiOperations wrapper, belongs torunning phase (Runtime)Responsibilities.
AiOperationsWrapper(AiOperations, String) - Constructor for class com.aispect.core.engine.runtime.context.AiOperationsWrapper
 
AiPostExecutionProxy<T,R> - Interface in com.aispect.api
Post-execution orchestration agent interface for agents.
AiPreExecutionProxy<T> - Interface in com.aispect.api
Pre-execution orchestration agent interface for agents.
AiScanException - Exception in com.aispect.common.exception
Thrown when one or more configuration errors are found during the scanning phase.
AiScanException(List<String>) - Constructor for exception com.aispect.common.exception.AiScanException
 
AiScanResult - Interface in com.aispect.api
Scan results interface contract.
AiSpect - Class in com.aispect.engine.se
pure Java SE The initialization and calling entrance of the orchestration engine in the environment.
AiSpect.Builder - Class in com.aispect.engine.se
AiSpect Constructor class. allowed in pure Java SE Manual assembly in the environment AiClient and configured into the engine.
AiSpectConfiguration - Class in com.aispect.engine.spring.config
AiSpect Spring Automatic configuration class. Responsible for initialization based on environment variables or application configuration AiOperations and related AI client adapter, and register AiAgentBeanPostProcessor so that in Spring Automatic proxy in container AI relevant Bean。
AiSpectConfiguration() - Constructor for class com.aispect.engine.spring.config.AiSpectConfiguration
 
AiSpectContextHolder - Class in com.aispect.common.context
based on ThreadLocal A context holder for passing implicit parameters throughout the framework chain.
AiSpectException - Exception in com.aispect.common.exception
AiSpect The framework's base exception class.
AiSpectException(String) - Constructor for exception com.aispect.common.exception.AiSpectException
 
AiSpectException(String, Throwable) - Constructor for exception com.aispect.common.exception.AiSpectException
 
AiUnitAgent - Annotation Interface in com.aispect.agent.annotation
Mark a method or class as an independent unit AI proxy method (Unit Agent/Skill)。
AiUnitAgentHandler<T,R> - Interface in com.aispect.api
unit agent processor (Unit Agent Handler)
AiUnitAgents - Annotation Interface in com.aispect.agent.annotation
AiUnitAgent container annotation, allowing multiple definitions on the same method or class AiUnitAgent annotation.
AiUnitEngine - Interface in com.aispect.api
Unit Agent Execution Engine (Unit Engine)interface.
ALL - Enum constant in enum class com.aispect.agent.enumeration.AiExecutePhase
Orbiting around. AI The agent is responsible for fully taking over the call chain and deciding for itself whether and when to pass `ctx.proceed()` Call the original method. This is the most flexible way and is the default.
apiKey() - Method in record class com.aispect.core.client.config.AiClientConfig
Returns the value of the apiKey record component.
arguments() - Method in record class com.aispect.core.client.model.ToolCall.FunctionCall
Returns the value of the arguments record component.
ASSISTANT - Enum constant in enum class com.aispect.core.client.model.Role
 

B

BEFORE - Enum constant in enum class com.aispect.agent.enumeration.AiExecutePhase
Runs before the target method is executed. Suitable for parameter verification, security review, logging and other scenarios. AI The return value of usually does not affect the normal flow of execution unless explicitly short-circuited in a particular implementation.
belongTo() - Element in annotation interface com.aispect.agent.annotation.AiNode
 
build() - Method in class com.aispect.engine.se.AiSpect.Builder
Build and return AiSpect Example.
builder() - Static method in class com.aispect.engine.se.AiSpect
Created for initialization AiSpect of Builder Example.
Builder() - Constructor for class com.aispect.engine.se.AiSpect.Builder
 

C

clear() - Method in interface com.aispect.api.AgentInvocationCache
Destroy or clear the cache and release related resources.
clear() - Static method in class com.aispect.common.context.AiSpectContextHolder
Clean up the context of the current thread. must be in finally block to prevent memory leaks when using the thread pool.
clear() - Method in class com.aispect.core.engine.bootstrap.registry.AgentInvocationCacheImpl
Clear all data in cache.
com.aispect.agent.annotation - package com.aispect.agent.annotation
 
com.aispect.agent.core - package com.aispect.agent.core
 
com.aispect.agent.enumeration - package com.aispect.agent.enumeration
 
com.aispect.agents.data - package com.aispect.agents.data
 
com.aispect.agents.flow - package com.aispect.agents.flow
 
com.aispect.agents.graph - package com.aispect.agents.graph
 
com.aispect.agents.security - package com.aispect.agents.security
 
com.aispect.api - package com.aispect.api
 
com.aispect.common.context - package com.aispect.common.context
 
com.aispect.common.exception - package com.aispect.common.exception
 
com.aispect.common.util - package com.aispect.common.util
 
com.aispect.core.client.adapter.gemini - package com.aispect.core.client.adapter.gemini
 
com.aispect.core.client.adapter.llamacpp - package com.aispect.core.client.adapter.llamacpp
 
com.aispect.core.client.adapter.ollama - package com.aispect.core.client.adapter.ollama
 
com.aispect.core.client.adapter.openai - package com.aispect.core.client.adapter.openai
 
com.aispect.core.client.config - package com.aispect.core.client.config
 
com.aispect.core.client.model - package com.aispect.core.client.model
 
com.aispect.core.engine.bootstrap.proxy - package com.aispect.core.engine.bootstrap.proxy
 
com.aispect.core.engine.bootstrap.registry - package com.aispect.core.engine.bootstrap.registry
 
com.aispect.core.engine.bootstrap.scanner - package com.aispect.core.engine.bootstrap.scanner
 
com.aispect.core.engine.runtime.context - package com.aispect.core.engine.runtime.context
 
com.aispect.core.engine.runtime.executor.graph - package com.aispect.core.engine.runtime.executor.graph
 
com.aispect.core.engine.runtime.executor.unit - package com.aispect.core.engine.runtime.executor.unit
 
com.aispect.core.engine.runtime.interceptor - package com.aispect.core.engine.runtime.interceptor
 
com.aispect.engine.quarkus - package com.aispect.engine.quarkus
 
com.aispect.engine.se - package com.aispect.engine.se
 
com.aispect.engine.spring - package com.aispect.engine.spring
 
com.aispect.engine.spring.annotation - package com.aispect.engine.spring.annotation
 
com.aispect.engine.spring.config - package com.aispect.engine.spring.config
 
com.aispect.engine.spring.launcher - package com.aispect.engine.spring.launcher
 
completionTokens() - Method in record class com.aispect.core.client.model.Response.Usage
Returns the value of the completionTokens record component.
computeHash(Method, AiExecutePhase) - Method in interface com.aispect.api.AgentInvocationCache
Compute cached hash value
computeHash(Method, AiExecutePhase) - Method in class com.aispect.core.engine.bootstrap.registry.AgentInvocationCacheImpl
Computes a cache's unique hash value (key) based on method and execution phase.
content() - Method in record class com.aispect.core.client.model.Message
Returns the value of the content record component.
ContentModerationAgent - Class in com.aispect.agents.security
Content moderation Agent。
ContentModerationAgent() - Constructor for class com.aispect.agents.security.ContentModerationAgent
 
createProxy(T, Class<T>, AiOperations) - Static method in class com.aispect.core.engine.bootstrap.proxy.ProxyFactory
Create a proxy instance.

D

DataCleanAgent - Class in com.aispect.agents.data
Data cleaning Agent。
DataCleanAgent() - Constructor for class com.aispect.agents.data.DataCleanAgent
 
DefaultAiInvocationContext<T> - Class in com.aispect.core.engine.runtime.context
The default calling context implementation class belongs torunning phase (Runtime)Responsibilities.
DefaultAiInvocationContext(Object, Method, Object[], Map<String, Object>, Callable<T>, AiOperations, String, String, String, String) - Constructor for class com.aispect.core.engine.runtime.context.DefaultAiInvocationContext
 
description() - Element in annotation interface com.aispect.agent.annotation.AiGraphAgent
 
description() - Element in annotation interface com.aispect.agent.annotation.AiNode
 
description() - Element in annotation interface com.aispect.agent.annotation.AiUnitAgent
 
determineNextNode(Object, Map<String, ?>, AiInvocationContext<?>) - Method in interface com.aispect.api.AiGraphEngine
According to the current status and AI The inference results determine the next node that should be executed.
determineNextNode(Object, Map<String, ?>, AiInvocationContext<?>) - Method in class com.aispect.core.engine.runtime.executor.graph.GraphEngine
 
doFilter(AiInvocationContext<T>, AiExecutionProxy<T, R>) - Method in interface com.aispect.api.AiAgentFilter
filter/intercept the current AI Proxy request.
doFilter(AiInvocationContext<T1>, AiExecutionProxy<T1, R1>) - Method in class com.aispect.agent.core.AbstractGraphAgent
Interception and filtering logic for proxy calls.
doFilter(AiInvocationContext<T1>, AiExecutionProxy<T1, R1>) - Method in class com.aispect.agent.core.AbstractUnitAgent
 
DynamicWorkflowGraphAgent - Class in com.aispect.agents.graph
Universal Graph Agent Orchestration engine. It uses reflection to load the AiNode Metadata, call the large model to generate execution task sequence, Then schedule these task sequences in an internal loop, while connecting various life cycles and exceptions. Hook。
DynamicWorkflowGraphAgent() - Constructor for class com.aispect.agents.graph.DynamicWorkflowGraphAgent
 
DynamicWorkflowGraphAgent.ExecutionStep - Class in com.aispect.agents.graph
Represents a single execution step planned by the large model, corresponding to JSON A task object in the array.

E

EnableAiSpect - Annotation Interface in com.aispect.engine.spring.annotation
enable AiSpect Notes on core functionality. exist Spring Boot or Spring Use this annotation on the project's configuration class, will be automatically imported AiSpectConfiguration Configure the class to initialize and enable AI Agent function.
endpoint() - Method in record class com.aispect.core.client.config.AiClientConfig
Returns the value of the endpoint record component.
equals(Object) - Method in record class com.aispect.core.client.config.AiClientConfig
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.aispect.core.client.model.Message
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.aispect.core.client.model.PromptContext
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.aispect.core.client.model.Response
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.aispect.core.client.model.Response.Usage
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.aispect.core.client.model.ToolCall
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.aispect.core.client.model.ToolCall.FunctionCall
Indicates whether some other object is "equal to" this one.
EXCEPTION - Enum constant in enum class com.aispect.agent.enumeration.AiExecutePhase
Runs when the target method execution throws an exception. It is suitable for scenarios such as exception classification, return of hidden data, self-healing and retry, etc. can pass `AiInvocationContext.getError()` Get the exception thrown.
execute(AiInvocationContext<Object>) - Method in class com.aispect.agents.data.DataCleanAgent
Execute interception logic for data cleaning.
execute(AiInvocationContext<Object>) - Method in class com.aispect.agents.data.ImageProcessAgent
Execute the core logic of image processing.
execute(AiInvocationContext<Object>) - Method in class com.aispect.agents.data.ImageStoryAgent
Execute the logic of looking at pictures and telling stories.
execute(AiInvocationContext<Object>) - Method in class com.aispect.agents.data.JsonExtractorAgent
implement JSON Extract the core logic.
execute(AiInvocationContext<T>) - Method in class com.aispect.agent.core.AbstractUnitAgent
 
execute(AiInvocationContext<T>) - Method in interface com.aispect.api.AiExecutionProxy
Arrange the entire AI The calling process completely replaces the execution of native methods.
execute(Class<T>, Object) - Method in class com.aispect.engine.se.AiGraphAgentConsoleLauncher
Execute the specified Graph Agent kind
executeAgent(String, String) - Method in class com.aispect.engine.spring.launcher.AiGraphAgentSpringLauncher
Trigger designation Graph Agent execution process. Users can Controller or RouterFunction Receive in HTTP request and then call this method.
executePhase() - Element in annotation interface com.aispect.agent.annotation.AiNode
 
executePhase() - Element in annotation interface com.aispect.agent.annotation.AiUnitAgent
 
executeUnitAgents(AiUnitAgentHandler<?, ?>[], Object, Method, Object[], AiInvocationContext<Object>) - Method in interface com.aispect.api.AiUnitEngine
execution unit agent logic
executeUnitAgents(AiUnitAgentHandler<?, ?>[], Object, Method, Object[], AiInvocationContext<Object>) - Method in class com.aispect.core.engine.runtime.executor.unit.UnitEngine
 
ExecutionStep() - Constructor for class com.aispect.agents.graph.DynamicWorkflowGraphAgent.ExecutionStep
 

F

fallback() - Element in annotation interface com.aispect.agent.annotation.AiGraphAgent
 
fallback() - Element in annotation interface com.aispect.agent.annotation.AiUnitAgent
 
FALLBACK - Enum constant in enum class com.aispect.agent.enumeration.NodeExceptionStrategy
Perform downgraded nodes or alternative routes.
FallbackAgent - Class in com.aispect.agents.flow
Used for disaster recovery and graceful downgrade Fallback Agent。
FallbackAgent() - Constructor for class com.aispect.agents.flow.FallbackAgent
 
findAnnotatedMethods(Class<?>, Class<? extends Annotation>) - Static method in class com.aispect.common.util.ReflectionUtils
Find all methods in a class that are marked with a specific annotation.
findAnnotation(Class<?>, Class<A>) - Static method in class com.aispect.common.util.AiAnnotationUtils
Find specific annotations on a class (supports inheritance from interfaces and parent classes, supports simple meta-annotations)
findAnnotation(Method, Class<A>) - Static method in class com.aispect.common.util.AiAnnotationUtils
Find specific annotations on methods (supports inheritance from methods of interfaces and parent classes, supports simple meta-annotations)
function() - Method in record class com.aispect.core.client.model.ToolCall
Returns the value of the function record component.
FunctionCall(String, String) - Constructor for record class com.aispect.core.client.model.ToolCall.FunctionCall
Creates an instance of a FunctionCall record class.

G

GeminiAdapter - Class in com.aispect.core.client.adapter.gemini
adaptation Google Gemini API client implementation.
GeminiAdapter() - Constructor for class com.aispect.core.client.adapter.gemini.GeminiAdapter
 
generate(PromptContext, AiClientConfig) - Method in interface com.aispect.api.AiClient
Generates a single response in a blocking manner.
generate(PromptContext, AiClientConfig) - Method in class com.aispect.core.client.adapter.gemini.GeminiAdapter
 
generate(PromptContext, AiClientConfig) - Method in class com.aispect.core.client.adapter.llamacpp.LlamaCppAdapter
 
generate(PromptContext, AiClientConfig) - Method in class com.aispect.core.client.adapter.ollama.OllamaAdapter
 
generate(PromptContext, AiClientConfig) - Method in class com.aispect.core.client.adapter.openai.OpenAiAdapter
 
get(Method, AiExecutePhase) - Method in interface com.aispect.api.AgentInvocationCache
Quickly retrieve the corresponding resources through the specified joint primary key.
get(Method, AiExecutePhase) - Method in class com.aispect.core.engine.bootstrap.registry.AgentInvocationCacheImpl
Gets the filter resource for the specified method and stage from the cache.
get(String) - Static method in class com.aispect.common.context.AiSpectContextHolder
Gets the value from the current context.
getAgentDescription() - Method in interface com.aispect.api.AiInvocationContext
get Agent Functional description to assist reasoning.
getAgentDescription() - Method in class com.aispect.core.engine.runtime.context.DefaultAiInvocationContext
 
getAgentFallback() - Method in interface com.aispect.api.AiInvocationContext
get Agent The name of the downgrade processing method.
getAgentFallback() - Method in class com.aispect.core.engine.runtime.context.DefaultAiInvocationContext
 
getAgentName() - Method in interface com.aispect.api.AiInvocationContext
Get the logical name of the current agent.
getAgentName() - Method in class com.aispect.core.engine.runtime.context.DefaultAiInvocationContext
 
getAiOperations() - Method in interface com.aispect.api.AiInvocationContext
get AI Operation facade.
getAiOperations() - Method in class com.aispect.core.engine.runtime.context.DefaultAiInvocationContext
 
getAiOperations(AiInvocationContext<?>) - Method in class com.aispect.agent.core.AbstractGraphAgent
Extract core large model interactions from context API。
getAiOperations(AiInvocationContext<T>) - Method in class com.aispect.agent.core.AbstractUnitAgent
 
getArgs() - Method in interface com.aispect.api.AiInvocationContext
Get the original parameter list passed to this method.
getArgs() - Method in class com.aispect.core.engine.runtime.context.DefaultAiInvocationContext
 
getClient() - Method in interface com.aispect.api.AiOperations
Expose underlying bindings AiClient Client adapter instance.
getClient() - Method in class com.aispect.core.engine.runtime.context.AiOperationsWrapper
 
getContext() - Static method in class com.aispect.common.context.AiSpectContextHolder
Get the entire context mapping dictionary.
getEnv() - Method in interface com.aispect.api.AiInvocationContext
Get the currently executed set of mounted environment variables (context implicit data).
getEnv() - Method in class com.aispect.core.engine.runtime.context.DefaultAiInvocationContext
 
getEnv(String) - Method in interface com.aispect.api.AiInvocationContext
Gets the value of a specific environment variable set in the context.
getEnv(String) - Method in class com.aispect.core.engine.runtime.context.DefaultAiInvocationContext
 
getError() - Method in interface com.aispect.api.AiInvocationContext
Gets the exception thrown during the execution of the target method (if any).
getError() - Method in class com.aispect.core.engine.runtime.context.DefaultAiInvocationContext
 
getErrors() - Method in interface com.aispect.api.AiScanResult
Get the complete error list information collected during the scan.
getErrors() - Method in exception com.aispect.common.exception.AiScanException
Returns a detailed list of all scan errors (immutable).
getErrors() - Method in class com.aispect.core.engine.bootstrap.scanner.ScanResult
 
getInvocationCache() - Method in interface com.aispect.api.AiScanResult
get unified Agent Cache the registry.
getInvocationCache() - Method in class com.aispect.core.engine.bootstrap.scanner.ScanResult
 
getMethod() - Method in interface com.aispect.api.AiInvocationContext
Get the reflection reference of the currently executing method.
getMethod() - Method in class com.aispect.core.engine.runtime.context.DefaultAiInvocationContext
 
getModelName() - Method in interface com.aispect.api.AiInvocationContext
Get the preferred model name.
getModelName() - Method in class com.aispect.core.engine.runtime.context.DefaultAiInvocationContext
 
getProceedResult() - Method in interface com.aispect.api.AiInvocationContext
Get the return result of the target method execution (if it has been executed).
getProceedResult() - Method in class com.aispect.core.engine.runtime.context.DefaultAiInvocationContext
 
getTarget() - Method in interface com.aispect.api.AiInvocationContext
Get the currently proxied target object instance.
getTarget() - Method in class com.aispect.core.engine.runtime.context.DefaultAiInvocationContext
 
GraphEngine - Class in com.aispect.core.engine.runtime.executor.graph
Basic graph engine (Graph Engine)Implementation class, belonging torunning phase (Runtime)Responsibilities.
GraphEngine() - Constructor for class com.aispect.core.engine.runtime.executor.graph.GraphEngine
 

H

hasErrors() - Method in interface com.aispect.api.AiScanResult
Determine whether any configuration or parsing errors were found during the scan.
hasErrors() - Method in class com.aispect.core.engine.bootstrap.scanner.ScanResult
 
hashCode() - Method in record class com.aispect.core.client.config.AiClientConfig
Returns a hash code value for this object.
hashCode() - Method in record class com.aispect.core.client.model.Message
Returns a hash code value for this object.
hashCode() - Method in record class com.aispect.core.client.model.PromptContext
Returns a hash code value for this object.
hashCode() - Method in record class com.aispect.core.client.model.Response
Returns a hash code value for this object.
hashCode() - Method in record class com.aispect.core.client.model.Response.Usage
Returns a hash code value for this object.
hashCode() - Method in record class com.aispect.core.client.model.ToolCall.FunctionCall
Returns a hash code value for this object.
hashCode() - Method in record class com.aispect.core.client.model.ToolCall
Returns a hash code value for this object.

I

id() - Method in record class com.aispect.core.client.model.ToolCall
Returns the value of the id record component.
ImageProcessAgent - Class in com.aispect.agents.data
image processing Agent,Used to demonstrate multi-modality, multi-parameters and diverse parameter transfer.
ImageProcessAgent() - Constructor for class com.aispect.agents.data.ImageProcessAgent
 
ImageStoryAgent - Class in com.aispect.agents.data
Tell stories through pictures Agent。
ImageStoryAgent() - Constructor for class com.aispect.agents.data.ImageStoryAgent
 
inlineData() - Method in record class com.aispect.core.client.model.Message
Returns the value of the inlineData record component.
instruction() - Element in annotation interface com.aispect.agent.annotation.AiGraphAgent
 
intercept(InvocationContext) - Method in class com.aispect.engine.quarkus.AiAgentCdiInterceptor
Interception with AI Annotated method calls. After interception, it will be based on @AiNode or @AiGraphAgent Annotation extracts relevant parameters (such as agent name, model name, etc.), build AiInvocationContext and handed over to the corresponding UnitAgent or GraphAgent Orchestrate and execute.
invoke(Object, Method, Object[]) - Method in class com.aispect.core.engine.runtime.interceptor.AgentInterceptor
Interception entry during running phase: According to the cached Agent Resources to route calls to the appropriate engine.
invokeMethod(Method, Object, Object...) - Static method in class com.aispect.common.util.ReflectionUtils
Safely execute methods reflectively.
isBlank(CharSequence) - Static method in class com.aispect.common.util.StringUtils
Check the given CharSequence Is it empty ("")、for null or contain only whitespace characters.
isNotBlank(CharSequence) - Static method in class com.aispect.common.util.StringUtils
Check the given CharSequence Whether it is not empty ("")、Not for null And not all whitespace characters.

J

JsonExtractorAgent - Class in com.aispect.agents.data
JSON extract Agent。
JsonExtractorAgent() - Constructor for class com.aispect.agents.data.JsonExtractorAgent
 
JsonUtils - Class in com.aispect.common.util
based on Jackson of JSON Serialization and deserialization tool classes.

L

link() - Element in annotation interface com.aispect.agent.annotation.AiGraphAgent
 
LlamaCppAdapter - Class in com.aispect.core.client.adapter.llamacpp
adaptation Llama.cpp compatible API client implementation (based on OkHttp)。
LlamaCppAdapter() - Constructor for class com.aispect.core.client.adapter.llamacpp.LlamaCppAdapter
 

M

maxTokens() - Method in record class com.aispect.core.client.config.AiClientConfig
Returns the value of the maxTokens record component.
message() - Method in record class com.aispect.core.client.model.Response
Returns the value of the message record component.
Message - Record Class in com.aispect.core.client.model
Abstract conversation message entity.
Message(Role, String) - Constructor for record class com.aispect.core.client.model.Message
 
Message(Role, String, List<ToolCall>, String) - Constructor for record class com.aispect.core.client.model.Message
 
Message(Role, String, List<ToolCall>, String, byte[], String) - Constructor for record class com.aispect.core.client.model.Message
Creates an instance of a Message record class.
messages() - Method in record class com.aispect.core.client.model.PromptContext
Returns the value of the messages record component.
mimeType() - Method in record class com.aispect.core.client.model.Message
Returns the value of the mimeType record component.
modelName() - Element in annotation interface com.aispect.agent.annotation.AiGraphAgent
 
modelName() - Element in annotation interface com.aispect.agent.annotation.AiNode
 
modelName() - Element in annotation interface com.aispect.agent.annotation.AiUnitAgent
 
modelName() - Method in record class com.aispect.core.client.config.AiClientConfig
Returns the value of the modelName record component.

N

name() - Element in annotation interface com.aispect.agent.annotation.AiGraphAgent
 
name() - Element in annotation interface com.aispect.agent.annotation.AiNode
 
name() - Method in record class com.aispect.core.client.model.ToolCall.FunctionCall
Returns the value of the name record component.
node - Variable in class com.aispect.agents.graph.DynamicWorkflowGraphAgent.ExecutionStep
The name of the target node (method)
NodeExceptionStrategy - Enum Class in com.aispect.agent.enumeration
The handling strategy when an exception (blocking exception) is thrown when the graph node runs.

O

OllamaAdapter - Class in com.aispect.core.client.adapter.ollama
adaptation Ollama local API client implementation.
OllamaAdapter() - Constructor for class com.aispect.core.client.adapter.ollama.OllamaAdapter
 
onApplicationEvent(ContextRefreshedEvent) - Method in class com.aispect.engine.spring.launcher.AiGraphAgentSpringLauncher
monitor Spring The container refreshes the completed event and performs scanning and initialization work.
onException(AiInvocationContext<String>, Throwable) - Method in class com.aispect.agents.flow.FallbackAgent
When the target method or upstream and downstream Agent This fallback logic is triggered when execution throws an exception.
onException(AiInvocationContext<T>, Throwable) - Method in class com.aispect.agent.core.AbstractUnitAgent
 
onException(AiInvocationContext<T>, Throwable) - Method in interface com.aispect.api.AiExceptionProxy
Called when the original method execution throws an exception, used for exception recovery, log collection, or downgrade response.
onGraphComplete(AiInvocationContext<?>, Object) - Method in class com.aispect.agent.core.AbstractGraphAgent
A hook that triggers graph execution completion.
onGraphComplete(AiInvocationContext<?>, Object) - Method in interface com.aispect.api.AiGraphCompleteHook
Triggered when the graph task sequence completes successfully.
onGraphStart(AiInvocationContext<?>) - Method in class com.aispect.agent.core.AbstractGraphAgent
A hook that triggers the start of graph execution.
onGraphStart(AiInvocationContext<?>) - Method in interface com.aispect.api.AiGraphStartHook
Triggered before the graph task sequence starts executing.
onGraphTimeout(AiInvocationContext<?>, long) - Method in class com.aispect.agent.core.AbstractGraphAgent
A hook that triggers a timeout for the entire graph execution.
onGraphTimeout(AiInvocationContext<?>, long) - Method in interface com.aispect.api.AiGraphTimeoutHook
when the whole Graph Triggered when the running time exceeds the preset threshold.
onNodeException(String, Throwable, AiInvocationContext<?>) - Method in class com.aispect.agent.core.AbstractGraphAgent
Trigger the node to execute the hook when an exception occurs, and decide on the exception handling strategy.
onNodeException(String, Throwable, AiInvocationContext<?>) - Method in interface com.aispect.api.AiNodeExceptionHook
when someone Node Triggered when a blocking exception (non-business processing exception) is thrown during operation. Returns a policy enumeration that guides Engine Next action.
onNodeStatusChange(String, String, AiInvocationContext<?>) - Method in class com.aispect.agent.core.AbstractGraphAgent
Hooks that trigger status changes of specific nodes.
onNodeStatusChange(String, String, AiInvocationContext<?>) - Method in interface com.aispect.api.AiNodeStatusHook
when Node When the status of PENDING become RUNNING,or SUCCESS/FAILED)trigger.
OpenAiAdapter - Class in com.aispect.core.client.adapter.openai
adaptation OpenAI compatible API client implementation (based on OkHttp)。
OpenAiAdapter() - Constructor for class com.aispect.core.client.adapter.openai.OpenAiAdapter
 
orchestrateGraph(Map<String, Object>, AiInvocationContext<?>) - Method in class com.aispect.agent.core.AbstractGraphAgent
Core method: Coordinating and orchestrating schema behaviors.
orchestrateGraph(Map<String, Object>, AiInvocationContext<?>) - Method in class com.aispect.agents.graph.DynamicWorkflowGraphAgent
Execute the orchestration logic of the graph agent. This method is responsible for parsing the available node resources, calling the large model to generate an execution plan, and scheduling each node in the execution graph in sequence according to the plan. At the same time, corresponding life cycle hooks are triggered at different stages (Hook)and exception handling strategies.
orchestrateGraph(Map<String, Object>, AiInvocationContext<?>) - Method in interface com.aispect.api.AiGraphBehaviorOrchestrator
Arrange and schedule agent node resources in the graph.

P

params - Variable in class com.aispect.agents.graph.DynamicWorkflowGraphAgent.ExecutionStep
A dictionary of parameters passed to the target node (optional)
parseObject(String, Class<T>) - Static method in class com.aispect.common.util.JsonUtils
Will JSON Deserializes the string into the specified object type.
postExecute(AiInvocationContext<T>, R) - Method in class com.aispect.agent.core.AbstractUnitAgent
 
postExecute(AiInvocationContext<T>, R) - Method in interface com.aispect.api.AiPostExecutionProxy
Called after the original method is executed, it is used for post-processing, summarization or format conversion, etc.
postProcessAfterInitialization(Object, String) - Method in class com.aispect.engine.spring.AiAgentBeanPostProcessor
exist Bean Post-processing is performed after initialization. scanning Bean For all methods in , check whether it contains @AiNode、@AiGraphAgent or @AiUnitAgent annotation. If included, attempts to create a proxy object for its first interface, thus injecting AI Orchestration capabilities.
preExecute(AiInvocationContext<Object>) - Method in class com.aispect.agents.security.ContentModerationAgent
Parameter review is performed before the target method is executed.
preExecute(AiInvocationContext<T>) - Method in class com.aispect.agent.core.AbstractUnitAgent
 
preExecute(AiInvocationContext<T>) - Method in interface com.aispect.api.AiPreExecutionProxy
Called before the original method is executed, it is used for content review or pre-processing.
proceed() - Method in interface com.aispect.api.AiInvocationContext
Release the method call and execute the original Java Method implements logic.
proceed() - Method in class com.aispect.core.engine.runtime.context.DefaultAiInvocationContext
 
prompt(PromptContext) - Method in interface com.aispect.api.AiOperations
Manually initiate a synchronization AI Prompt word call.
prompt(String, PromptContext) - Method in interface com.aispect.api.AiOperations
Manually initiate a synchronization AI Prompt word call with Agent Name so that the underlying layer can configure routing.
prompt(String, String, PromptContext) - Method in interface com.aispect.api.AiOperations
Manually initiate a synchronization AI Prompt word call with model name override.
prompt(String, String, PromptContext) - Method in class com.aispect.core.engine.runtime.context.AiOperationsWrapper
 
PromptContext - Record Class in com.aispect.core.client.model
Encapsulate a single AI Prompt contextual information during interaction.
PromptContext(String, List<Message>) - Constructor for record class com.aispect.core.client.model.PromptContext
 
PromptContext(String, List<Message>, List<Object>) - Constructor for record class com.aispect.core.client.model.PromptContext
Creates an instance of a PromptContext record class.
promptStream(PromptContext) - Method in interface com.aispect.api.AiOperations
Manually initiate a streaming AI Prompt word call.
promptStream(String, PromptContext) - Method in interface com.aispect.api.AiOperations
Manually initiate a streaming AI Prompt word call with Agent Name so that the underlying layer can configure routing.
promptStream(String, String, PromptContext) - Method in interface com.aispect.api.AiOperations
Manually initiate a streaming AI Prompt word call with model name override.
promptStream(String, String, PromptContext) - Method in class com.aispect.core.engine.runtime.context.AiOperationsWrapper
 
promptTokens() - Method in record class com.aispect.core.client.model.Response.Usage
Returns the value of the promptTokens record component.
proxy(T, Class<T>) - Method in class com.aispect.engine.se.AiSpect
Creates a proxy for the given target object, handling the AI annotation.
ProxyCreationException - Exception in com.aispect.common.exception
When the frame is @AiAgent Exception thrown when creating the proxy fails.
ProxyCreationException(String) - Constructor for exception com.aispect.common.exception.ProxyCreationException
 
ProxyCreationException(String, Throwable) - Constructor for exception com.aispect.common.exception.ProxyCreationException
 
ProxyFactory - Class in com.aispect.core.engine.bootstrap.proxy
AI Agent factory class, which belongs tostartup phase (Bootstrap)Responsibilities.
ProxyFactory() - Constructor for class com.aispect.core.engine.bootstrap.proxy.ProxyFactory
 
put(Method, AiExecutePhase, H) - Method in class com.aispect.core.engine.bootstrap.registry.AgentInvocationCacheImpl
Put the filter resource into cache. If the same key already exists in the cache, an exception will be thrown to prevent overwriting.
put(Method, AiExecutePhase, V) - Method in interface com.aispect.api.AgentInvocationCache
Register the parsed resource into the internal cache.

R

ReflectionUtils - Class in com.aispect.common.util
Utility class that encapsulates reflection operations.
remove(Method, AiExecutePhase) - Method in interface com.aispect.api.AgentInvocationCache
Remove resources from cache.
remove(Method, AiExecutePhase) - Method in class com.aispect.core.engine.bootstrap.registry.AgentInvocationCacheImpl
Removes the filter resource for the specified method and stage from the cache.
Response - Record Class in com.aispect.core.client.model
AI Response encapsulation of model interface calls.
Response(Message, Response.Usage) - Constructor for record class com.aispect.core.client.model.Response
Creates an instance of a Response record class.
Response.Usage - Record Class in com.aispect.core.client.model
AI During the model request process Token Consumption metering entity.
RETRY - Enum constant in enum class com.aispect.agent.enumeration.NodeExceptionStrategy
Re-execute the current node (can be combined with the retry limit).
role() - Method in record class com.aispect.core.client.model.Message
Returns the value of the role record component.
Role - Enum Class in com.aispect.core.client.model
Message sender role definition.

S

scan(Object, Class<?>) - Method in class com.aispect.core.engine.bootstrap.scanner.AiComponentScanner
Scan the target interface and remove all Agent Resources are uniformly registered to ScanResult.invocationCache and return scan results.
ScanResult - Class in com.aispect.core.engine.bootstrap.scanner
AiComponentScanner Scan result carrier.
ScanResult() - Constructor for class com.aispect.core.engine.bootstrap.scanner.ScanResult
 
set(String, Object) - Static method in class com.aispect.common.context.AiSpectContextHolder
Sets a key-value pair in the current context.
setApplicationContext(ApplicationContext) - Method in class com.aispect.engine.spring.launcher.AiGraphAgentSpringLauncher
accomplish ApplicationContextAware,Get the current Spring Application context.
setContext(Map<String, Object>) - Static method in class com.aispect.common.context.AiSpectContextHolder
Override the entire context mapping dictionary.
setError(Throwable) - Method in interface com.aispect.api.AiInvocationContext
Set the exception thrown during the execution of the target method.
setError(Throwable) - Method in class com.aispect.core.engine.runtime.context.DefaultAiInvocationContext
 
setProceedResult(Object) - Method in interface com.aispect.api.AiInvocationContext
Set the return result of the target method execution.
setProceedResult(Object) - Method in class com.aispect.core.engine.runtime.context.DefaultAiInvocationContext
 
shouldProcess(Object[]) - Method in class com.aispect.agent.core.AbstractGraphAgent
Determine whether the current agent needs to intercept and process the call to this method.
shouldProcess(Object[]) - Method in class com.aispect.agent.core.AbstractUnitAgent
 
shouldProcess(Object[]) - Method in interface com.aispect.api.AiAgentFilter
Assertion filter: Based on the input parameters of the native method, determine whether the current call needs to go through AI Agent processing.
SKIP - Enum constant in enum class com.aispect.agent.enumeration.NodeExceptionStrategy
Skip this node and continue downward (if the process allows).
streamGenerate(PromptContext, AiClientConfig) - Method in interface com.aispect.api.AiClient
via streaming (Server-Sent Events mode) generates a response.
streamGenerate(PromptContext, AiClientConfig) - Method in class com.aispect.core.client.adapter.gemini.GeminiAdapter
 
streamGenerate(PromptContext, AiClientConfig) - Method in class com.aispect.core.client.adapter.llamacpp.LlamaCppAdapter
 
streamGenerate(PromptContext, AiClientConfig) - Method in class com.aispect.core.client.adapter.ollama.OllamaAdapter
 
streamGenerate(PromptContext, AiClientConfig) - Method in class com.aispect.core.client.adapter.openai.OpenAiAdapter
 
StringUtils - Class in com.aispect.common.util
Public utility class for string processing.
SYSTEM - Enum constant in enum class com.aispect.core.client.model.Role
 
systemPrompt() - Method in record class com.aispect.core.client.model.PromptContext
Returns the value of the systemPrompt record component.

T

temperature() - Method in record class com.aispect.core.client.config.AiClientConfig
Returns the value of the temperature record component.
toBoolean(String, boolean) - Static method in class com.aispect.common.util.StringUtils
Safely convert a string to boolean。If the string is "true"(Ignoring case), return true。 If the string is empty, the default value is returned.
toInt(String, int) - Static method in class com.aispect.common.util.StringUtils
Safely convert a string to int,If the conversion fails or the string is empty, the default value is returned.
toJsonString(Object) - Static method in class com.aispect.common.util.JsonUtils
Serialize the object to JSON string.
toLong(String, long) - Static method in class com.aispect.common.util.StringUtils
Safely convert a string to long,If the conversion fails or the string is empty, the default value is returned.
TOOL - Enum constant in enum class com.aispect.core.client.model.Role
 
ToolCall - Record Class in com.aispect.core.client.model
AI A tool call request initiated by the model.
ToolCall(String, String, ToolCall.FunctionCall) - Constructor for record class com.aispect.core.client.model.ToolCall
Creates an instance of a ToolCall record class.
ToolCall.FunctionCall - Record Class in com.aispect.core.client.model
 
toolCallId() - Method in record class com.aispect.core.client.model.Message
Returns the value of the toolCallId record component.
toolCalls() - Method in record class com.aispect.core.client.model.Message
Returns the value of the toolCalls record component.
tools() - Method in record class com.aispect.core.client.model.PromptContext
Returns the value of the tools record component.
toString() - Method in record class com.aispect.core.client.config.AiClientConfig
Returns a string representation of this record class.
toString() - Method in record class com.aispect.core.client.model.Message
Returns a string representation of this record class.
toString() - Method in record class com.aispect.core.client.model.PromptContext
Returns a string representation of this record class.
toString() - Method in record class com.aispect.core.client.model.Response
Returns a string representation of this record class.
toString() - Method in record class com.aispect.core.client.model.Response.Usage
Returns a string representation of this record class.
toString() - Method in record class com.aispect.core.client.model.ToolCall.FunctionCall
Returns a string representation of this record class.
toString() - Method in record class com.aispect.core.client.model.ToolCall
Returns a string representation of this record class.
totalTokens() - Method in record class com.aispect.core.client.model.Response.Usage
Returns the value of the totalTokens record component.
type() - Method in record class com.aispect.core.client.model.ToolCall
Returns the value of the type record component.

U

UnitEngine - Class in com.aispect.core.engine.runtime.executor.unit
Unit Agent Execution engine, belonging torunning phase (Runtime)Responsibilities.
UnitEngine() - Constructor for class com.aispect.core.engine.runtime.executor.unit.UnitEngine
 
usage() - Method in record class com.aispect.core.client.model.Response
Returns the value of the usage record component.
Usage(int, int, int) - Constructor for record class com.aispect.core.client.model.Response.Usage
Creates an instance of a Usage record class.
USER - Enum constant in enum class com.aispect.core.client.model.Role
 

V

value() - Element in annotation interface com.aispect.agent.annotation.AiGraphAgent
 
value() - Element in annotation interface com.aispect.agent.annotation.AiGraphAgents
 
value() - Element in annotation interface com.aispect.agent.annotation.AiNodes
 
value() - Element in annotation interface com.aispect.agent.annotation.AiUnitAgent
 
value() - Element in annotation interface com.aispect.agent.annotation.AiUnitAgents
 
valueOf(String) - Static method in enum class com.aispect.agent.enumeration.AiExecutePhase
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.aispect.agent.enumeration.NodeExceptionStrategy
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.aispect.core.client.model.Role
Returns the enum constant of this class with the specified name.
values() - Static method in enum class com.aispect.agent.enumeration.AiExecutePhase
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.aispect.agent.enumeration.NodeExceptionStrategy
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.aispect.core.client.model.Role
Returns an array containing the constants of this enum class, in the order they are declared.
A B C D E F G H I J L M N O P R S T U V 
All Classes and Interfaces|All Packages|Serialized Form