my-ai-agent

MCP.Pizza Chef: Cunninger

This is a starting point for developers building their own assistant on Java, using Spring Boot and Spring AI. Out of the box it handles conversation history so context survives between sessions, supports image search as a separate piece, and connects to Alibaba Cloud's models as well as locally run ones. It is a project you build on rather than an app you install, so expect to write code. You need a cloud account and key.

Unmaintained · No commits in 12 months.
Coding
Images/Design
Writing

Use This MCP client To

Build my own assistant on Java Keep conversation history between sessions Add image search to my assistant Connect a model that runs on my own machine Start from a working example instead of scratch

README

My AI Agent 🤖

项目介绍

My AI Agent 是一个基于 Spring Boot 和 Spring AI 框架构建的智能代理服务,集成了现代大模型能力,提供对话记忆、多模态交互等功能。本项目通过整合阿里云灵积大模型服务,实现了智能化的人机交互体验。

系统架构

项目采用模块化设计,主要包括:

  • 核心服务模块:基于 Spring Boot 的 Web 服务
  • AI 对话模块:集成 Spring AI 与阿里云大模型能力
  • 记忆持久化模块:实现会话状态的本地文件持久化
  • 图像搜索服务:独立的 MCP 服务模块

核心功能

  • ✅ 智能对话:接入阿里云灵积模型,支持自然语言交互
  • ✅ 对话记忆:基于文件系统的会话记忆持久化,保持上下文连贯性
  • ✅ 健康检测:提供服务状态监控接口
  • ✅ 图像搜索:独立模块支持基于图像的搜索功能

技术栈

  • 后端框架:Spring Boot 3.4.x
  • AI 框架:Spring AI (1.0.0-M6.x)
  • 大模型接入:
    • 阿里云 DashScope SDK (2.19.1)
    • Spring AI Alibaba (1.0.0-M6.1)
    • Ollama 集成
  • 序列化工具:Kryo
  • 构建工具:Maven 3.9.9
  • 其他工具:
    • Hutool (5.8.37)
    • Lombok
  • 运行环境:Java 21

快速开始

环境要求

  • JDK 21+
  • Maven 3.9+
  • 阿里云账号和 API Key(用于灵积模型访问)

my-ai-agent FAQ

Is this something I install and use, or code I build on?
It is a starting project for developers — you build and extend it rather than installing a finished app.
Do I need an account or key?
Yes, it connects to Alibaba Cloud's model service, so you need an account and key for it.
Can I use a model that runs on my own machine?
Yes, local models are supported alongside the cloud service.
Does it remember earlier conversations?
Yes — conversation history is saved to disk, so context carries across sessions.
What do I need installed to run it?
A recent Java setup and Maven, so this is squarely a developer project.