Enable Agents
Deprecated (for removal)
Since version 0.3.1
Enables the Embabel Agent framework with auto-configuration support.
This annotation triggers the import of agent-related configuration classes and activates appropriate Spring profiles based on the specified attributes. It serves as the foundation for more specialized annotations like @EnableAgentShell and @EnableAgentMcp.
Example Usage:
loggingTheme = "starwars",
mcpServers = {"filesystem", "github"}
)
public class MyAgentApplication {
public static void main(String[] args) {
SpringApplication.run(MyAgentApplication.class, args);
}
}
Content copied to clipboard
Profile Activation:
This annotation activates Spring profiles based on the provided attributes:
loggingTheme- Activates a theme-specific profile (e.g., "starwars", "severance")localModels- Activates profiles for local AI model providersmcpServers- Activates profiles for Model Context Protocol
Author
Embabel Team
Since
0.1.0