Yu AI Agent
StaleDescription
A hands-on Java and Spring AI project for building AI agents with RAG, tool calling, MCP, and ReAct-style autonomous planning.
Key Features
- Spring AI + LangChain4j — full-stack Java AI agent development with Spring Boot 3 and Java 21
- RAG knowledge base — end-to-end retrieval-augmented generation with PgVector and document processing
- Tool Calling — implement web search, file operations, PDF generation, and terminal commands as tools
- MCP server development — build and deploy Model Context Protocol services for AI tool integration
- ReAct autonomous agent — YuManus agent with self-planning capabilities using OpenManus patterns
- Serverless deployment — deploy AI services with Serverless compute and SSE async streaming
Use Cases
💡 Building AI-powered dating advisor applications with multi-turn conversation and memory
💡 Creating autonomous planning agents that can research, download resources, and generate documents
💡 Learning enterprise AI development patterns including RAG, tool calling, and MCP
💡 Developing Java-based AI applications with Spring AI framework best practices
💡 Hands-on projects for resume building covering modern AI agent development
Categories
Quick Start
# Clone the repo
git clone https://github.com/liyupi/yu-ai-agent.git
cd yu-ai-agent
# Setup environment variables for your AI provider
# Configure Spring AI with your API key
# Run the application
./mvnw spring-boot:run
# Access at http://localhost:8080