Interface AgentMetadata
public interface AgentMetadata
Metadata describing discovered AI agent.
Implementations of this interface are typically produced by code generation and used at runtime to identify the agent type, provide a stable logical name, and expose build-time configuration that can be used when wiring the agent into the application.
-
Method Summary
Modifier and TypeMethodDescriptionClass<?> Returns the Java type that represents LangChain4j agent interface.Returns the logical name of the agent.Returns build-time configuration associated with this agent.
-
Method Details
-
agentClass
Class<?> agentClass()Returns the Java type that represents LangChain4j agent interface.- Returns:
- the agent class
-
agentName
String agentName()Returns the logical name of the agent.This name is intended to be stable and can be used for configuration lookups, registration, and reporting.
- Returns:
- agent name
-
buildTimeConfig
AgentsConfig buildTimeConfig()Returns build-time configuration associated with this agent.- Returns:
- build-time agent configuration
-