经 AI Skill Hub 精选评估,Spring AI AgentCore 获评「推荐使用」。这款Agent工作流在功能完整性、社区活跃度和易用性方面表现出色,AI 评分 7.5 分,适合有一定技术背景的用户使用。
Spring AI AgentCore 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
Spring AI AgentCore 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
# 克隆仓库 git clone https://github.com/spring-ai-community/spring-ai-agentcore cd spring-ai-agentcore # 查看安装说明 cat README.md # 按 README 完成环境依赖安装后即可使用
# 查看帮助 spring-ai-agentcore --help # 基本运行 spring-ai-agentcore [options] <input> # 详细使用说明请查阅文档 # https://github.com/spring-ai-community/spring-ai-agentcore
# spring-ai-agentcore 配置说明 # 查看配置选项 spring-ai-agentcore --config-example > config.yml # 常见配置项 # output_dir: ./output # log_level: info # workers: 4 # 环境变量(覆盖配置文件) export SPRING_AI_AGENTCORE_CONFIG="/path/to/config.yml"
The SDK supports two deployment models:
See examples/terraform/ for infrastructure-as-code with IAM and OAuth2 authentication.
The examples/ tree is a separate multi-module Maven build that depends on the AgentCore modules. Run mvn -DskipTests install at the repo root first so the examples can resolve the 1.1.0-SNAPSHOT artifacts locally, then:
mvn clean verify -f examples/pom.xml
Each module also has an AGENTS.md file providing context for AI coding assistants (project structure, conventions, key classes).
Add the BOM and the modules you need:
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springaicommunity</groupId>
<artifactId>spring-ai-agentcore-bom</artifactId>
<version>1.0.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springaicommunity</groupId>
<artifactId>spring-ai-agentcore-runtime-starter</artifactId>
</dependency>
<dependency>
<groupId>org.springaicommunity</groupId>
<artifactId>spring-ai-agentcore-memory</artifactId>
</dependency>
<dependency>
<groupId>org.springaicommunity</groupId>
<artifactId>spring-ai-agentcore-browser</artifactId>
</dependency>
<dependency>
<groupId>org.springaicommunity</groupId>
<artifactId>spring-ai-agentcore-code-interpreter</artifactId>
</dependency>
</dependencies>
Create an agent with memory, browser, and code interpreter:
@Service
public class MyAgent {
private final ChatClient chatClient;
private final AgentCoreMemory agentCoreMemory;
public MyAgent(
ChatClient.Builder builder,
AgentCoreMemory agentCoreMemory,
@Qualifier("browserToolCallbackProvider") ToolCallbackProvider browserTools,
@Qualifier("codeInterpreterToolCallbackProvider") ToolCallbackProvider codeInterpreterTools) {
this.agentCoreMemory = agentCoreMemory;
this.chatClient = builder
.defaultToolCallbacks(browserTools, codeInterpreterTools)
.build();
}
@AgentCoreInvocation
public Flux<String> chat(PromptRequest request, AgentCoreContext context) {
String sessionId = context.getHeader(AgentCoreHeaders.SESSION_ID);
return chatClient.prompt()
.user(request.prompt())
.advisors(agentCoreMemory.advisors)
.advisors(a -> a.param(ChatMemory.CONVERSATION_ID, "user:" + sessionId))
.stream()
.content();
}
}
record PromptRequest(String prompt) {}
This gives you a production-ready agent with streaming, conversation memory, web browsing, and code execution — deployed to AgentCore Runtime or standalone.
| Example | Description |
|---|---|
| [simple-spring-boot-app](examples/simple-spring-boot-app/) | Minimal agent with request handling |
| [spring-ai-sse-chat-client](examples/spring-ai-sse-chat-client/) | Streaming responses with SSE |
| [spring-ai-memory-integration](examples/spring-ai-memory-integration/) | Short-term and long-term memory |
| [spring-ai-extended-chat-client](examples/spring-ai-extended-chat-client/) | OAuth auth with per-user memory isolation |
| [spring-ai-browser](examples/spring-ai-browser/) | Web browsing and screenshots |
| [spring-ai-simple-chat-client](examples/spring-ai-simple-chat-client/) | Traditional Spring AI (without runtime starter) |
| [spring-ai-override-invocations](examples/spring-ai-override-invocations/) | Custom controller override |
An open-source library that brings Amazon Bedrock AgentCore capabilities into Spring AI through familiar patterns: annotations, auto-configuration, and composable advisors.
| Module | Description |
|---|---|
| [Runtime Starter](spring-ai-agentcore-runtime-starter/) | Auto-configures /invocations and /ping endpoints, SSE streaming, health checks, rate limiting |
| [Memory](spring-ai-agentcore-memory/) | Short-term (conversation history) and long-term memory (semantic, preferences, summaries, episodic) |
| [Browser](spring-ai-agentcore-browser/) | Web navigation, content extraction, screenshots, form interaction via Playwright |
| [Code Interpreter](spring-ai-agentcore-code-interpreter/) | Secure Python/JavaScript/TypeScript execution with file retrieval |
| [Artifact Store](spring-ai-agentcore-artifact-store/) | Session-scoped, TTL-based storage for generated files |
| [Common](spring-ai-agentcore-common/) | Shared utilities — automatic User-Agent tagging for AWS SDK clients |
| [BOM](spring-ai-agentcore-bom/) | Bill of Materials for version alignment |
高质量的AI工作流开源项目
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ Apache 2.0 — 宽松开源协议,可商用,需保留版权声明和 NOTICE 文件,含专利授权条款。
AI Skill Hub 点评:Spring AI AgentCore 的核心功能完整,质量良好。对于自动化工程师和运维人员来说,这是一个值得纳入个人工具库的选择。建议先在非生产环境试用,再逐步推广。
| 原始名称 | spring-ai-agentcore |
| 原始描述 | 开源AI工作流:Spring Boot integrations for Amazon Bedrock AgentCore。⭐39 · Java |
| Topics | aiawsbedrockspringjava |
| GitHub | https://github.com/spring-ai-community/spring-ai-agentcore |
| License | Apache-2.0 |
| 语言 | Java |
收录时间:2026-05-27 · 更新时间:2026-05-30 · License:Apache-2.0 · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端